Lines Matching refs:info
49 struct fb_var_screeninfo info;
50 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
53 info.reserved[0] = 0;
54 info.reserved[1] = 0;
55 info.reserved[2] = 0;
56 info.xoffset = 0;
57 info.yoffset = 0;
58 info.bits_per_pixel = 16;
59 info.activate = FB_ACTIVATE_NOW;
61 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
63 info.xres_virtual, info.yres_virtual);
67 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1)
72 (uint64_t)( info.upper_margin + info.lower_margin + info.yres )
73 * ( info.left_margin + info.right_margin + info.xres )
74 * info.pixclock
77 float xdpi = (info.xres * 25.4f) / info.width;
78 float ydpi = (info.yres * 25.4f) / info.height;
93 info.xres,
94 info.yres,
95 info.xres_virtual,
96 info.yres_virtual,
97 info.bits_per_pixel,
98 info.red.offset, info.red.length,
99 info.green.offset, info.green.length,
100 info.blue.offset, info.blue.length
106 info.width, xdpi,
107 info.height, ydpi,
112 info.upper_margin, info.lower_margin, info.left_margin, info.right_margin, info.pixclock, finfo.smem_len);
135 memset(buffer, 0xff, 320*(info.yres_virtual/2)*2);
142 info.reserved[0] = 0x54445055; // "UPDT";
143 info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16);
144 info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16);
151 info.activate = FB_ACTIVATE_VBL;
152 info.yoffset = 0;
153 ioctl(fd, FBIOPUT_VSCREENINFO, &info);
155 info.activate = FB_ACTIVATE_VBL;
156 info.yoffset = info.yres_virtual/2;
157 err = ioctl(fd, FBIOPUT_VSCREENINFO, &info);