Lines Matching refs:cur_info

193     vmode = in_word(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, mode)/*&cur_info->mode*/);
196 attrs = in_word(VBE_EXTRA_PORT, /*&cur_info->info.ModeAttributes*/cur_info_ofs + offsetof(ModeInfoListItem, info.ModeAttributes) );
206 vmode = in_word(VBE_EXTRA_PORT, /*&cur_info->mode*/cur_info_ofs + offsetof(ModeInfoListItem, mode));
210 vmode = in_word(VBE_EXTRA_PORT, /*&cur_info->mode*/cur_info_ofs + offsetof(ModeInfoListItem, mode));
218 ModeInfoListItem *cur_info = &mode_info_list;
220 while (cur_info->mode != VBE_VESA_MODE_END_OF_LIST)
222 if (cur_info->mode == mode)
225 return cur_info;
226 else if (cur_info->info.ModeAttributes & VBE_MODE_ATTRIBUTE_LINEAR_FRAME_BUFFER_MODE)
227 return cur_info;
229 cur_info++;
231 cur_info++;
276 ModeInfoListItem *cur_info = &mode_info_list;
358 data_b = in_byte(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, info.BitsPerPixel) /*&cur_info->info.BitsPerPixel*/);
361 vmode = in_word(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, mode)/*&cur_info->mode*/);
370 vmode = in_word(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, mode)/*&cur_info->mode*/);
378 if (cur_info->info.BitsPerPixel <= max_bpp) {
380 printf("VBE found mode %x => %x\n", cur_info->mode,cur_mode);
382 write_word(ES, DI + cur_ptr, cur_info->mode);
386 cur_info++;
387 } while (cur_info->mode != VBE_VESA_MODE_END_OF_LIST);
390 write_word(ES, DI + cur_ptr, cur_info->mode);
411 ModeInfoListItem *cur_info;
429 cur_info = mode_info_find_mode(CX, using_lfb);
431 if (cur_info != 0) {
441 b = in_byte(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, info) + i/*(char *)(&(cur_info->info)) + i*/);
445 memcpyb(ES, DI, 0xc000, &(cur_info->info), sizeof(ModeInfoBlockCompact));
484 ModeInfoListItem *cur_info;
518 xres = in_word(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, info.XResolution) /*&cur_info->info.XResolution*/);
519 yres = in_word(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, info.YResolution) /*&cur_info->info.YResolution*/);
520 bpp = in_byte(VBE_EXTRA_PORT, cur_info_ofs + offsetof(ModeInfoListItem, info.BitsPerPixel) /*&cur_info->info.BitsPerPixel*/);
527 cur_info = mode_info_find_mode(BX, using_lfb);
529 if (cur_info != 0)
534 cur_info->info.XResolution,
535 cur_info->info.YResolution,
536 cur_info->info.BitsPerPixel);
546 if (cur_info->info.BitsPerPixel == 4)
557 dispi_set_bpp(cur_info->info.BitsPerPixel);
558 dispi_set_xres(cur_info->info.XResolution);
559 dispi_set_yres(cur_info->info.YResolution);