Lines Matching refs:info
17 struct fb_info *info;
50 unsigned transp, struct fb_info *info)
60 ((u32 *)info->pseudo_palette)[regno] = value;
76 struct fb_info *info = sp->info;
77 struct fb_var_screeninfo *var = &info->var;
79 info->flags = FBINFO_DEFAULT;
80 info->fbops = &s3d_ops;
81 info->screen_base = sp->fb_base;
82 info->screen_size = sp->fb_size;
84 info->pseudo_palette = sp->pseudo_palette;
87 strlcpy(info->fix.id, "s3d", sizeof(info->fix.id));
88 info->fix.smem_start = sp->fb_base_phys;
89 info->fix.smem_len = sp->fb_size;
90 info->fix.type = FB_TYPE_PACKED_PIXELS;
92 info->fix.visual = FB_VISUAL_TRUECOLOR;
94 info->fix.visual = FB_VISUAL_PSEUDOCOLOR;
111 if (fb_alloc_cmap(&info->cmap, 256, 0)) {
122 struct fb_info *info;
133 info = framebuffer_alloc(sizeof(struct s3d_info), &pdev->dev);
134 if (!info) {
139 sp = info->par;
140 sp->info = info;
169 info->fix.line_length = sp->width;
172 info->fix.line_length = sp->width * 2;
175 info->fix.line_length = sp->width * 3;
178 info->fix.line_length = sp->width * 4;
181 sp->fb_size = info->fix.line_length * sp->height;
193 pci_set_drvdata(pdev, info);
197 err = register_framebuffer(info);
213 framebuffer_release(info);