Lines Matching refs:fb_info
22 static struct fb_info fb_info = {
78 struct fb_info *info)
119 static int hpfb_blank(int blank, struct fb_info *info)
146 static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area)
151 static void hpfb_fillrect(struct fb_info *p, const struct fb_fillrect *region)
171 static int hpfb_sync(struct fb_info *info)
218 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16);
221 fb_info.fix.smem_start += phys_base;
242 fb_info.fix.line_length = fb_width;
244 fb_info.fix.smem_len = fb_width * fb_height;
245 fb_start = (unsigned long)ioremap_wt(fb_info.fix.smem_start,
246 fb_info.fix.smem_len);
254 fb_info.fix.smem_start, fb_start, fb_info.fix.smem_len/1024);
256 hpfb_defined.xres, hpfb_defined.yres, hpfb_defined.bits_per_pixel, fb_info.fix.line_length);
286 strcat(fb_info.fix.id, "Topcat");
288 strcat(fb_info.fix.id, "Catseye");
289 fb_info.fbops = &hpfb_ops;
290 fb_info.flags = FBINFO_DEFAULT;
291 fb_info.var = hpfb_defined;
292 fb_info.screen_base = (char *)fb_start;
294 ret = fb_alloc_cmap(&fb_info.cmap, 1 << hpfb_defined.bits_per_pixel, 0);
298 ret = register_framebuffer(&fb_info);
302 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id);
307 fb_dealloc_cmap(&fb_info.cmap);
310 if (fb_info.screen_base) {
311 iounmap(fb_info.screen_base);
312 fb_info.screen_base = NULL;
354 unregister_framebuffer(&fb_info);
358 fb_dealloc_cmap(&fb_info.cmap);
359 if (fb_info.screen_base)
360 iounmap(fb_info.screen_base);