Lines Matching full:cur_info
653 ModeInfoListItem *cur_info=&mode_info_list;
655 while (cur_info->mode != VBE_VESA_MODE_END_OF_LIST)
657 if (cur_info->mode == mode)
661 return cur_info;
663 else if (cur_info->info.ModeAttributes & VBE_MODE_ATTRIBUTE_LINEAR_FRAME_BUFFER_MODE)
665 return cur_info;
669 cur_info++;
674 cur_info++;
779 ModeInfoListItem *cur_info=&mode_info_list;
860 size_64k = (Bit16u)((Bit32u)cur_info->info.XResolution * cur_info->info.XResolution * cur_info->info.BitsPerPixel) >> 19;
862 if ((cur_info->info.XResolution <= dispi_get_max_xres()) &&
863 (cur_info->info.BitsPerPixel <= dispi_get_max_bpp()) &&
866 printf("VBE found mode %x => %x\n", cur_info->mode,cur_mode);
868 write_word(ES, DI + cur_ptr, cur_info->mode);
873 printf("VBE mode %x (xres=%x / bpp=%02x) not supported \n", cur_info->mode,cur_info->info.XResolution,cur_info->info.BitsPerPixel);
876 cur_info++;
877 } while (cur_info->mode != VBE_VESA_MODE_END_OF_LIST);
880 write_word(ES, DI + cur_ptr, cur_info->mode);
904 ModeInfoListItem *cur_info;
916 cur_info = mode_info_find_mode(CX, using_lfb, &cur_info);
918 if (cur_info != 0)
924 memcpyb(ss, &info, 0xc000, &(cur_info->info), sizeof(ModeInfoBlockCompact));
971 ModeInfoListItem *cur_info;
998 cur_info = mode_info_find_mode(BX, using_lfb, &cur_info);
1000 if (cur_info != 0)
1005 cur_info->info.XResolution,
1006 cur_info->info.YResolution,
1007 cur_info->info.BitsPerPixel);
1013 if (cur_info->info.BitsPerPixel == 4)
1018 dispi_set_bpp(cur_info->info.BitsPerPixel);
1019 dispi_set_xres(cur_info->info.XResolution);
1020 dispi_set_yres(cur_info->info.YResolution);