Home
last modified time | relevance | path

Searched refs:vi (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minui/
Dgraphics_fbdev.cpp41 vi.yres_virtual = gr_framebuffer[0].height * 2; in SetDisplayedFramebuffer()
42 vi.yoffset = n * gr_framebuffer[0].height; in SetDisplayedFramebuffer()
43 vi.bits_per_pixel = gr_framebuffer[0].pixel_bytes * 8; in SetDisplayedFramebuffer()
44 if (ioctl(fb_fd, FBIOPUT_VSCREENINFO, &vi) < 0) { in SetDisplayedFramebuffer()
64 if (ioctl(fd, FBIOGET_VSCREENINFO, &vi) < 0) { in Init()
87 vi.bits_per_pixel, vi.red.offset, vi.red.length, vi.green.offset, vi.green.length, in Init()
88 vi.blue.offset, vi.blue.length); in Init()
99 gr_framebuffer[0].width = vi.xres; in Init()
100 gr_framebuffer[0].height = vi.yres; in Init()
102 gr_framebuffer[0].pixel_bytes = vi.bits_per_pixel / 8; in Init()
[all …]
Dgraphics_fbdev.h40 fb_var_screeninfo vi; variable