Lines Matching refs:fb
52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) in get_framebuffer() argument
96 fb->width = vi.xres; in get_framebuffer()
97 fb->height = vi.yres; in get_framebuffer()
98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
99 fb->data = bits; in get_framebuffer()
100 fb->bpp = vi.bits_per_pixel; in get_framebuffer()
102 fb++; in get_framebuffer()
104 fb->width = vi.xres; in get_framebuffer()
105 fb->height = vi.yres; in get_framebuffer()
106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
107 fb->data = (void *)((unsigned long)bits + in get_framebuffer()
109 fb->bpp = vi.bits_per_pixel; in get_framebuffer()