Lines Matching refs:fb_info

55 static struct fb_info fb_info;  variable
88 struct fb_info *info);
89 static int mc68x328fb_set_par(struct fb_info *info);
91 u_int transp, struct fb_info *info);
93 struct fb_info *info);
94 static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma);
130 struct fb_info *info) in mc68x328fb_check_var()
262 static int mc68x328fb_set_par(struct fb_info *info) in mc68x328fb_set_par()
276 u_int transp, struct fb_info *info) in mc68x328fb_setcolreg()
364 struct fb_info *info) in mc68x328fb_pan_display()
389 static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma) in mc68x328fb_mmap()
435 fb_info.screen_base = (void *)videomemory; in mc68x328fb_init()
436 fb_info.fbops = &mc68x328fb_ops; in mc68x328fb_init()
437 fb_info.var = mc68x328fb_default; in mc68x328fb_init()
438 fb_info.fix = mc68x328fb_fix; in mc68x328fb_init()
439 fb_info.fix.smem_start = videomemory; in mc68x328fb_init()
440 fb_info.fix.smem_len = videomemorysize; in mc68x328fb_init()
441 fb_info.fix.line_length = in mc68x328fb_init()
443 fb_info.fix.visual = (mc68x328fb_default.bits_per_pixel) == 1 ? in mc68x328fb_init()
445 if (fb_info.var.bits_per_pixel == 1) { in mc68x328fb_init()
446 fb_info.var.red.length = fb_info.var.green.length = fb_info.var.blue.length = 1; in mc68x328fb_init()
447 fb_info.var.red.offset = fb_info.var.green.offset = fb_info.var.blue.offset = 0; in mc68x328fb_init()
449 fb_info.pseudo_palette = &mc68x328fb_pseudo_palette; in mc68x328fb_init()
450 fb_info.flags = FBINFO_HWACCEL_YPAN; in mc68x328fb_init()
452 if (fb_alloc_cmap(&fb_info.cmap, 256, 0)) in mc68x328fb_init()
455 if (register_framebuffer(&fb_info) < 0) { in mc68x328fb_init()
456 fb_dealloc_cmap(&fb_info.cmap); in mc68x328fb_init()
460 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id); in mc68x328fb_init()
461 fb_info(&fb_info, "%dx%dx%d at 0x%08lx\n", in mc68x328fb_init()
475 unregister_framebuffer(&fb_info); in mc68x328fb_cleanup()
476 fb_dealloc_cmap(&fb_info.cmap); in mc68x328fb_cleanup()