Lines Matching refs:fb_info
57 } fb_info = { variable
77 fb_info.hit_videobase = CONFIG_HD64461_IOBASE + 0x02000000; in hitfb_detect()
78 fb_info.hit_videosize = (MACH_HP680 || MACH_HP690) ? 1024*1024 : 512*1024; in hitfb_detect()
99 hitfb_encode_var(&fb_info.default_var, &par, NULL); in hitfb_detect()
111 fix->smem_start = fb_info.hit_videobase; in hitfb_encode_fix()
112 fix->smem_len = fb_info.hit_videosize; in hitfb_encode_fix()
215 *(struct hitfb_par *)par = fb_info.current_par; in hitfb_get_par()
222 fb_info.current_par = *par; in hitfb_set_par()
223 fb_info.current_par_valid = 1; in hitfb_set_par()
229 struct fb_info *info) in hitfb_getcolreg()
246 struct fb_info *info) in hitfb_setcolreg()
257 switch(fb_info.current_par.bpp) { in hitfb_setcolreg()
260 fb_info.fbcon_cmap.cfb16[regno] = in hitfb_setcolreg()
276 if (!fb_info.current_par_valid) in hitfb_pan_display()
285 if (!fb_info.current_par_valid) in hitfb_blank()
297 disp->screen_base = (void *)fb_info.hit_videobase; in hitfb_set_disp()
309 disp->dispsw_data = fb_info.fbcon_cmap.cfb16; in hitfb_set_disp()
346 strcpy(fb_info.gen.info.modename, "Hitachi HD64461"); in hitfb_init()
347 fb_info.gen.info.node = -1; in hitfb_init()
348 fb_info.gen.info.flags = FBINFO_FLAG_DEFAULT; in hitfb_init()
349 fb_info.gen.info.fbops = &hitfb_ops; in hitfb_init()
350 fb_info.gen.info.disp = &fb_info.disp; in hitfb_init()
351 fb_info.gen.info.changevar = NULL; in hitfb_init()
352 fb_info.gen.info.switch_con = &fbgen_switch; in hitfb_init()
353 fb_info.gen.info.updatevar = &fbgen_update_var; in hitfb_init()
354 fb_info.gen.info.blank = &fbgen_blank; in hitfb_init()
355 fb_info.gen.parsize = sizeof(struct hitfb_par); in hitfb_init()
356 fb_info.gen.fbhw = &hitfb_switch; in hitfb_init()
357 fb_info.gen.fbhw->detect(); in hitfb_init()
359 fbgen_get_var(&fb_info.disp.var, -1, &fb_info.gen.info); in hitfb_init()
360 fb_info.disp.var.activate = FB_ACTIVATE_NOW; in hitfb_init()
361 fbgen_do_set_var(&fb_info.disp.var, 1, &fb_info.gen); in hitfb_init()
362 fbgen_set_disp(-1, &fb_info.gen); in hitfb_init()
363 fbgen_install_cmap(0, &fb_info.gen); in hitfb_init()
365 if(register_framebuffer(&fb_info.gen.info)<0) return -EINVAL; in hitfb_init()
368 GET_FB_IDX(fb_info.gen.info.node), fb_info.gen.info.modename); in hitfb_init()
374 void hitfb_cleanup(struct fb_info *info) in hitfb_cleanup()