Lines Matching refs:vminfo

21 static struct vesa_mode_info vminfo;  variable
63 memset(&vminfo, 0, sizeof(vminfo)); /* Just in case... */ in vesa_probe()
67 ireg.di = (size_t)&vminfo; in vesa_probe()
73 if ((vminfo.mode_attr & 0x15) == 0x05) { in vesa_probe()
79 mi->x = vminfo.h_res; in vesa_probe()
80 mi->y = vminfo.v_res; in vesa_probe()
82 } else if ((vminfo.mode_attr & 0x99) == 0x99 && in vesa_probe()
83 (vminfo.memory_layout == 4 || in vesa_probe()
84 vminfo.memory_layout == 6) && in vesa_probe()
85 vminfo.memory_planes == 1) { in vesa_probe()
93 mi->depth = vminfo.bpp; in vesa_probe()
94 mi->x = vminfo.h_res; in vesa_probe()
95 mi->y = vminfo.v_res; in vesa_probe()
110 memset(&vminfo, 0, sizeof(vminfo)); /* Just in case... */ in vesa_set_mode()
115 ireg.di = (size_t)&vminfo; in vesa_set_mode()
121 if ((vminfo.mode_attr & 0x15) == 0x05) { in vesa_set_mode()
125 } else if ((vminfo.mode_attr & 0x99) == 0x99) { in vesa_set_mode()
213 boot_params.screen_info.vesa_attributes = vminfo.mode_attr; in vesa_store_mode_params_graphics()
214 boot_params.screen_info.lfb_linelength = vminfo.logical_scan; in vesa_store_mode_params_graphics()
215 boot_params.screen_info.lfb_width = vminfo.h_res; in vesa_store_mode_params_graphics()
216 boot_params.screen_info.lfb_height = vminfo.v_res; in vesa_store_mode_params_graphics()
217 boot_params.screen_info.lfb_depth = vminfo.bpp; in vesa_store_mode_params_graphics()
218 boot_params.screen_info.pages = vminfo.image_planes; in vesa_store_mode_params_graphics()
219 boot_params.screen_info.lfb_base = vminfo.lfb_ptr; in vesa_store_mode_params_graphics()
221 &vminfo.rmask, 8); in vesa_store_mode_params_graphics()
226 if (vminfo.bpp <= 8) in vesa_store_mode_params_graphics()