Lines Matching refs:fb_vinfo
183 if (ioctl(fb_dev_fd, FBIOGET_VSCREENINFO, &fb_vinfo)) {
192 this->info.current_w = fb_vinfo.xres;
193 this->info.current_h = fb_vinfo.yres;
198 fb_orig_vinfo = fb_vinfo;
201 fb_bits_per_pixel = fb_vinfo.bits_per_pixel;
204 fb_vinfo.red.length + fb_vinfo.green.length +
205 fb_vinfo.blue.length;
208 vformat->BitsPerPixel = fb_vinfo.bits_per_pixel;
210 fb_vinfo.xres_virtual = fb_vinfo.xres;
211 fb_vinfo.yres_virtual = fb_vinfo.yres;
214 if (ioctl(fb_dev_fd, FBIOPUT_VSCREENINFO, &fb_vinfo)) {
222 s_fb_pixel_size = fb_vinfo.bits_per_pixel / 8;
224 s_writeable_width = fb_vinfo.xres;
225 s_writeable_height = fb_vinfo.yres;