Lines Matching defs: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)
220 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16);
223 fb_info.fix.smem_start += phys_base;
244 fb_info.fix.line_length = fb_width;
246 fb_info.fix.smem_len = fb_width * fb_height;
247 fb_start = (unsigned long)ioremap_wt(fb_info.fix.smem_start,
248 fb_info.fix.smem_len);
256 fb_info.fix.smem_start, fb_start, fb_info.fix.smem_len/1024);
258 hpfb_defined.xres, hpfb_defined.yres, hpfb_defined.bits_per_pixel, fb_info.fix.line_length);
288 strcat(fb_info.fix.id, "Topcat");
290 strcat(fb_info.fix.id, "Catseye");
291 fb_info.fbops = &hpfb_ops;
292 fb_info.var = hpfb_defined;
293 fb_info.screen_base = (char *)fb_start;
295 ret = fb_alloc_cmap(&fb_info.cmap, 1 << hpfb_defined.bits_per_pixel, 0);
299 ret = register_framebuffer(&fb_info);
303 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id);
308 fb_dealloc_cmap(&fb_info.cmap);
311 if (fb_info.screen_base) {
312 iounmap(fb_info.screen_base);
313 fb_info.screen_base = NULL;
355 unregister_framebuffer(&fb_info);
359 fb_dealloc_cmap(&fb_info.cmap);
360 if (fb_info.screen_base)
361 iounmap(fb_info.screen_base);