Lines Matching refs:fb_info

68 static int vivid_fb_ioctl(struct fb_info *info, unsigned cmd, unsigned long arg)  in vivid_fb_ioctl()
169 static int vivid_fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_check_var()
177 static int vivid_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_pan_display()
182 static int vivid_fb_set_par(struct fb_info *info) in vivid_fb_set_par()
196 struct fb_info *info) in vivid_fb_setcolreg()
230 static int vivid_fb_blank(int blank_mode, struct fb_info *info) in vivid_fb_blank()
310 dev->fb_info.node = -1; in vivid_fb_init_vidmode()
311 dev->fb_info.par = dev; in vivid_fb_init_vidmode()
312 dev->fb_info.var = dev->fb_defined; in vivid_fb_init_vidmode()
313 dev->fb_info.fix = dev->fb_fix; in vivid_fb_init_vidmode()
314 dev->fb_info.screen_base = (u8 __iomem *)dev->video_vbase; in vivid_fb_init_vidmode()
315 dev->fb_info.fbops = &vivid_fb_ops; in vivid_fb_init_vidmode()
318 dev->fb_info.monspecs.hfmin = 8000; in vivid_fb_init_vidmode()
319 dev->fb_info.monspecs.hfmax = 70000; in vivid_fb_init_vidmode()
320 dev->fb_info.monspecs.vfmin = 10; in vivid_fb_init_vidmode()
321 dev->fb_info.monspecs.vfmax = 100; in vivid_fb_init_vidmode()
324 if (fb_alloc_cmap(&dev->fb_info.cmap, 256, 1)) { in vivid_fb_init_vidmode()
330 dev->fb_info.pseudo_palette = kmalloc_array(16, sizeof(u32), GFP_KERNEL); in vivid_fb_init_vidmode()
332 return dev->fb_info.pseudo_palette ? 0 : -ENOMEM; in vivid_fb_init_vidmode()
342 if (dev->fb_info.cmap.len) in vivid_fb_release_buffers()
343 fb_dealloc_cmap(&dev->fb_info.cmap); in vivid_fb_release_buffers()
346 kfree(dev->fb_info.pseudo_palette); in vivid_fb_release_buffers()
376 if (register_framebuffer(&dev->fb_info) < 0) { in vivid_fb_init()
382 vivid_fb_set_par(&dev->fb_info); in vivid_fb_init()