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.var = hpfb_defined;
291 fb_info.screen_base = (char *)fb_start;
293 ret = fb_alloc_cmap(&fb_info.cmap, 1 << hpfb_defined.bits_per_pixel, 0);
297 ret = register_framebuffer(&fb_info);
301 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id);
306 fb_dealloc_cmap(&fb_info.cmap);
309 if (fb_info.screen_base) {
310 iounmap(fb_info.screen_base);
311 fb_info.screen_base = NULL;
353 unregister_framebuffer(&fb_info);
357 fb_dealloc_cmap(&fb_info.cmap);
358 if (fb_info.screen_base)
359 iounmap(fb_info.screen_base);