Lines Matching refs:bpp
36 int bpp; member
52 static int get_framebuffer(struct simple_fb *fb, unsigned bpp) in get_framebuffer() argument
72 if (bpp && vi.bits_per_pixel != bpp) { in get_framebuffer()
73 printf("bpp != %d, forcing...\n", bpp); in get_framebuffer()
74 vi.bits_per_pixel = bpp; in get_framebuffer()
100 fb->bpp = vi.bits_per_pixel; in get_framebuffer()
109 fb->bpp = vi.bits_per_pixel; in get_framebuffer()
139 int gr_init(int bpp, int id) in gr_init() argument
154 gr_fb_fd = get_framebuffer(gr_fbs, bpp); in gr_init()
260 int bpp = 0; in main() local
263 bpp = atoi(argv[1]); in main()
268 gr_init(bpp, id); in main()