• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/

Lines Matching defs:fb_info

148 static struct fb_info *fb_info;
203 unsigned int transp, struct fb_info *info);
204 static int pvr2fb_blank(int blank, struct fb_info *info);
207 static int pvr2fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info);
208 static int pvr2fb_set_par(struct fb_info *info);
209 static void pvr2_update_display(struct fb_info *info);
210 static void pvr2_init_display(struct fb_info *info);
217 static ssize_t pvr2fb_write(struct fb_info *info, const char *buf,
268 struct pvr2fb_par *par = (struct pvr2fb_par *)fb_info->par;
280 static int pvr2fb_blank(int blank, struct fb_info *info)
319 unsigned int transp, struct fb_info *info)
360 static int pvr2fb_set_par(struct fb_info *info)
419 static int pvr2fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
519 static void pvr2_update_display(struct fb_info *info)
537 static void pvr2_init_display(struct fb_info *info)
607 struct fb_info *info = dev_id;
651 static ssize_t pvr2fb_write(struct fb_info *info, const char *buf,
678 dst = (unsigned long)fb_info->screen_base + *ppos;
686 if ((*ppos + len) > fb_info->fix.smem_len) {
700 if ((*ppos + (i << PAGE_SHIFT)) > fb_info->fix.smem_len) {
747 fb_info->screen_base = ioremap_nocache(pvr2_fix.smem_start,
750 if (!fb_info->screen_base) {
762 fb_memset(fb_info->screen_base, 0, pvr2_fix.smem_len);
767 fb_info->fbops = &pvr2fb_ops;
768 fb_info->fix = pvr2_fix;
769 fb_info->par = currentpar;
770 fb_info->pseudo_palette = (void *)(fb_info->par + 1);
771 fb_info->flags = FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN;
779 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb,
781 fb_info->var = pvr2_var;
783 fb_alloc_cmap(&fb_info->cmap, 256, 0);
785 if (register_framebuffer(fb_info) < 0)
788 modememused = get_line_length(fb_info->var.xres_virtual,
789 fb_info->var.bits_per_pixel);
790 modememused *= fb_info->var.yres_virtual;
795 fb_info->node, fb_info->fix.id, (rev >> 4) & 0x0f, rev & 0x0f,
796 modememused >> 10, (unsigned long)(fb_info->fix.smem_len >> 10));
798 fb_info->node, fb_info->var.xres, fb_info->var.yres,
799 fb_info->var.bits_per_pixel,
800 get_line_length(fb_info->var.xres, fb_info->var.bits_per_pixel),
805 printk(KERN_NOTICE "fb%d: registering with SQ API\n", fb_info->node);
807 pvr2fb_map = sq_remap(fb_info->fix.smem_start, fb_info->fix.smem_len,
808 fb_info->fix.id, pgprot_val(PAGE_SHARED));
811 fb_info->node, pvr2fb_map);
817 if (fb_info->screen_base)
818 iounmap(fb_info->screen_base);
833 fb_info->monspecs.hfmin = 30000;
834 fb_info->monspecs.hfmax = 70000;
835 fb_info->monspecs.vfmin = 60;
836 fb_info->monspecs.vfmax = 60;
839 fb_info->monspecs.hfmin = 15469;
840 fb_info->monspecs.hfmax = 15781;
841 fb_info->monspecs.vfmin = 49;
842 fb_info->monspecs.vfmax = 51;
863 "pvr2 VBL handler", fb_info)) {
879 if (fb_info->screen_base) {
880 iounmap(fb_info->screen_base);
881 fb_info->screen_base = NULL;
922 fb_info->device = &pdev->dev;
929 if (fb_info->screen_base) {
930 iounmap(fb_info->screen_base);
931 fb_info->screen_base = NULL;
1057 size = sizeof(struct fb_info) + sizeof(struct pvr2fb_par) + 16 * sizeof(u32);
1059 fb_info = kmalloc(size, GFP_KERNEL);
1060 if (!fb_info) {
1061 printk(KERN_ERR "Failed to allocate memory for fb_info\n");
1065 memset(fb_info, 0, size);
1067 currentpar = (struct pvr2fb_par *)(fb_info + 1);
1080 kfree(fb_info);
1103 unregister_framebuffer(fb_info);
1104 kfree(fb_info);