Lines Matching refs:vminfo

23 static struct vesa_mode_info vminfo;  variable
65 memset(&vminfo, 0, sizeof vminfo); /* Just in case... */ in vesa_probe()
69 ireg.di = (size_t)&vminfo; in vesa_probe()
75 if ((vminfo.mode_attr & 0x15) == 0x05) { in vesa_probe()
81 mi->x = vminfo.h_res; in vesa_probe()
82 mi->y = vminfo.v_res; in vesa_probe()
84 } else if ((vminfo.mode_attr & 0x99) == 0x99 && in vesa_probe()
85 (vminfo.memory_layout == 4 || in vesa_probe()
86 vminfo.memory_layout == 6) && in vesa_probe()
87 vminfo.memory_planes == 1) { in vesa_probe()
95 mi->depth = vminfo.bpp; in vesa_probe()
96 mi->x = vminfo.h_res; in vesa_probe()
97 mi->y = vminfo.v_res; in vesa_probe()
112 memset(&vminfo, 0, sizeof vminfo); /* Just in case... */ in vesa_set_mode()
117 ireg.di = (size_t)&vminfo; in vesa_set_mode()
123 if ((vminfo.mode_attr & 0x15) == 0x05) { in vesa_set_mode()
127 } else if ((vminfo.mode_attr & 0x99) == 0x99) { in vesa_set_mode()
215 boot_params.screen_info.vesa_attributes = vminfo.mode_attr; in vesa_store_mode_params_graphics()
216 boot_params.screen_info.lfb_linelength = vminfo.logical_scan; in vesa_store_mode_params_graphics()
217 boot_params.screen_info.lfb_width = vminfo.h_res; in vesa_store_mode_params_graphics()
218 boot_params.screen_info.lfb_height = vminfo.v_res; in vesa_store_mode_params_graphics()
219 boot_params.screen_info.lfb_depth = vminfo.bpp; in vesa_store_mode_params_graphics()
220 boot_params.screen_info.pages = vminfo.image_planes; in vesa_store_mode_params_graphics()
221 boot_params.screen_info.lfb_base = vminfo.lfb_ptr; in vesa_store_mode_params_graphics()
223 &vminfo.rmask, 8); in vesa_store_mode_params_graphics()
228 if (vminfo.bpp <= 8) in vesa_store_mode_params_graphics()