Lines Matching refs:display
47 static struct display disp;
174 struct display *display; in vfb_set_var() local
176 display = &fb_display[con]; in vfb_set_var()
178 display = &disp; /* used during initialization */ in vfb_set_var()
187 var->xoffset = display->var.xoffset; in vfb_set_var()
188 var->yoffset = display->var.yoffset; in vfb_set_var()
228 oldxres = display->var.xres; in vfb_set_var()
229 oldyres = display->var.yres; in vfb_set_var()
230 oldvxres = display->var.xres_virtual; in vfb_set_var()
231 oldvyres = display->var.yres_virtual; in vfb_set_var()
232 oldbpp = display->var.bits_per_pixel; in vfb_set_var()
233 display->var = *var; in vfb_set_var()
240 display->screen_base = (char *)videomemory; in vfb_set_var()
241 display->visual = fix.visual; in vfb_set_var()
242 display->type = fix.type; in vfb_set_var()
243 display->type_aux = fix.type_aux; in vfb_set_var()
244 display->ypanstep = fix.ypanstep; in vfb_set_var()
245 display->ywrapstep = fix.ywrapstep; in vfb_set_var()
246 display->line_length = fix.line_length; in vfb_set_var()
247 display->can_soft_blank = 1; in vfb_set_var()
248 display->inverse = 0; in vfb_set_var()
252 display->dispsw = &fbcon_mfb; in vfb_set_var()
257 display->dispsw = &fbcon_cfb2; in vfb_set_var()
262 display->dispsw = &fbcon_cfb4; in vfb_set_var()
267 display->dispsw = &fbcon_cfb8; in vfb_set_var()
272 display->dispsw = &fbcon_cfb16; in vfb_set_var()
273 display->dispsw_data = fbcon_cmap.cfb16; in vfb_set_var()
278 display->dispsw = &fbcon_cfb24; in vfb_set_var()
279 display->dispsw_data = fbcon_cmap.cfb24; in vfb_set_var()
284 display->dispsw = &fbcon_cfb32; in vfb_set_var()
285 display->dispsw_data = fbcon_cmap.cfb32; in vfb_set_var()
289 display->dispsw = &fbcon_dummy; in vfb_set_var()
296 if ((err = fb_alloc_cmap(&display->cmap, 0, 0))) in vfb_set_var()