Searched refs:vi (Results 1 – 1 of 1) sorted by relevance
64 static struct fb_var_screeninfo vi; variable78 if (ioctl(fd, FBIOGET_VSCREENINFO, &vi) < 0) { in get_framebuffer()84 vi.bits_per_pixel = PIXEL_SIZE * 8; in get_framebuffer()86 vi.red.offset = 8; in get_framebuffer()87 vi.red.length = 8; in get_framebuffer()88 vi.green.offset = 16; in get_framebuffer()89 vi.green.length = 8; in get_framebuffer()90 vi.blue.offset = 24; in get_framebuffer()91 vi.blue.length = 8; in get_framebuffer()92 vi.transp.offset = 0; in get_framebuffer()[all …]