Lines Matching refs:fb_info
57 struct fb_info *info);
140 static struct fb_info fb_info; variable
153 struct fb_info *info) in dafb_setpalette()
199 struct fb_info *info) in v8_brazil_setpalette()
233 struct fb_info *info) in rbv_setpalette()
270 struct fb_info *info) in mdc_setpalette()
293 struct fb_info *info) in toby_setpalette()
321 struct fb_info *info) in jet_setpalette()
351 struct fb_info *info) in civic_setpalette()
432 struct fb_info *info) in csc_setpalette()
450 struct fb_info *fb_info) in macfb_setcolreg() argument
459 if (regno >= fb_info->cmap.len) in macfb_setcolreg()
462 if (fb_info->var.bits_per_pixel <= 8) { in macfb_setcolreg()
463 switch (fb_info->var.bits_per_pixel) { in macfb_setcolreg()
472 blue >> 8, fb_info); in macfb_setcolreg()
478 switch (fb_info->var.bits_per_pixel) { in macfb_setcolreg()
480 if (fb_info->var.red.offset == 10) { in macfb_setcolreg()
482 ((u32*) (fb_info->pseudo_palette))[regno] = in macfb_setcolreg()
489 ((u32*) (fb_info->pseudo_palette))[regno] = in macfb_setcolreg()
504 ((u32 *)(fb_info->pseudo_palette))[regno] = in macfb_setcolreg()
505 (red << fb_info->var.red.offset) | in macfb_setcolreg()
506 (green << fb_info->var.green.offset) | in macfb_setcolreg()
507 (blue << fb_info->var.blue.offset); in macfb_setcolreg()
589 fb_info.screen_base = ioremap(mac_bi_data.videoaddr, in macfb_init()
591 if (!fb_info.screen_base) in macfb_init()
595 macfb_fix.smem_start, fb_info.screen_base, in macfb_init()
901 fb_info.fbops = &macfb_ops; in macfb_init()
902 fb_info.var = macfb_defined; in macfb_init()
903 fb_info.fix = macfb_fix; in macfb_init()
904 fb_info.pseudo_palette = pseudo_palette; in macfb_init()
905 fb_info.flags = FBINFO_DEFAULT; in macfb_init()
907 err = fb_alloc_cmap(&fb_info.cmap, video_cmap_len, 0); in macfb_init()
911 err = register_framebuffer(&fb_info); in macfb_init()
915 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id); in macfb_init()
920 fb_dealloc_cmap(&fb_info.cmap); in macfb_init()
922 iounmap(fb_info.screen_base); in macfb_init()