Lines Matching refs:info
126 static struct fb_info info; variable
150 static int xxxfb_open(struct fb_info *info, int user) in xxxfb_open() argument
169 static int xxxfb_release(struct fb_info *info, int user) in xxxfb_release() argument
210 static int xxxfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in xxxfb_check_var() argument
255 static int xxxfb_set_par(struct fb_info *info) in xxxfb_set_par() argument
257 struct xxx_par *par = info->par; in xxxfb_set_par()
286 struct fb_info *info) in xxxfb_setcolreg() argument
295 if (info->var.grayscale) { in xxxfb_setcolreg()
363 red = CNVT_TOHW(red, info->var.red.length); in xxxfb_setcolreg()
364 green = CNVT_TOHW(green, info->var.green.length); in xxxfb_setcolreg()
365 blue = CNVT_TOHW(blue, info->var.blue.length); in xxxfb_setcolreg()
366 transp = CNVT_TOHW(transp, info->var.transp.length); in xxxfb_setcolreg()
376 if (info->fix.visual == FB_VISUAL_DIRECTCOLOR || in xxxfb_setcolreg()
377 info->fix.visual == FB_VISUAL_TRUECOLOR) in xxxfb_setcolreg()
395 if (info->fix.visual == FB_VISUAL_TRUECOLOR || in xxxfb_setcolreg()
396 info->fix.visual == FB_VISUAL_DIRECTCOLOR) { in xxxfb_setcolreg()
402 v = (red << info->var.red.offset) | in xxxfb_setcolreg()
403 (green << info->var.green.offset) | in xxxfb_setcolreg()
404 (blue << info->var.blue.offset) | in xxxfb_setcolreg()
405 (transp << info->var.transp.offset); in xxxfb_setcolreg()
407 ((u32*)(info->pseudo_palette))[regno] = v; in xxxfb_setcolreg()
426 struct fb_info *info) in xxxfb_pan_display() argument
464 static int xxxfb_blank(int blank_mode, struct fb_info *info) in xxxfb_blank() argument
580 int xxxfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in xxxfb_cursor() argument
627 void xxxfb_rotate(struct fb_info *info, int angle) in xxxfb_rotate() argument
644 int xxxfb_sync(struct fb_info *info) in xxxfb_sync() argument
683 struct fb_info *info; in xxxfb_probe() local
691 info = framebuffer_alloc(sizeof(struct xxx_par), device); in xxxfb_probe()
693 if (!info) { in xxxfb_probe()
697 par = info->par; in xxxfb_probe()
705 info->screen_base = framebuffer_virtual_memory; in xxxfb_probe()
706 info->fbops = &xxxfb_ops; in xxxfb_probe()
707 info->fix = xxxfb_fix; in xxxfb_probe()
708 info->pseudo_palette = pseudo_palette; /* The pseudopalette is an in xxxfb_probe()
730 info->flags = FBINFO_DEFAULT; in xxxfb_probe()
746 info->pixmap.addr = kmalloc(PIXMAP_SIZE, GFP_KERNEL); in xxxfb_probe()
747 if (!info->pixmap.addr) { in xxxfb_probe()
751 info->pixmap.size = PIXMAP_SIZE; in xxxfb_probe()
761 info->pixmap.flags = FB_PIXMAP_SYSTEM; in xxxfb_probe()
767 info->pixmap.scan_align = 4; in xxxfb_probe()
774 info->pixmap.buf_align = 4; in xxxfb_probe()
782 info->pixmap.access_align = 32; in xxxfb_probe()
792 retval = fb_find_mode(&info->var, info, mode_option, NULL, 0, NULL, 8); in xxxfb_probe()
798 if (fb_alloc_cmap(&info->cmap, cmap_len, 0)) in xxxfb_probe()
805 info->var = xxxfb_var; in xxxfb_probe()
810 xxxfb_check_var(&info->var, info); in xxxfb_probe()
823 if (register_framebuffer(info) < 0) { in xxxfb_probe()
824 fb_dealloc_cmap(&info->cmap); in xxxfb_probe()
827 fb_info(info, "%s frame buffer device\n", info->fix.id); in xxxfb_probe()
828 pci_set_drvdata(dev, info); /* or platform_set_drvdata(pdev, info) */ in xxxfb_probe()
838 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_remove() local
841 if (info) { in xxxfb_remove()
842 unregister_framebuffer(info); in xxxfb_remove()
843 fb_dealloc_cmap(&info->cmap); in xxxfb_remove()
845 framebuffer_release(info); in xxxfb_remove()
860 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_suspend() local
861 struct xxxfb_par *par = info->par; in xxxfb_suspend()
875 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_resume() local
876 struct xxxfb_par *par = info->par; in xxxfb_resume()
939 struct fb_info *info = platform_get_drvdata(dev); in xxxfb_suspend() local
940 struct xxxfb_par *par = info->par; in xxxfb_suspend()
954 struct fb_info *info = platform_get_drvdata(dev); in xxxfb_resume() local
955 struct xxxfb_par *par = info->par; in xxxfb_resume()