Lines Matching refs:info
49 struct fb_var_screeninfo info; in main() local
50 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in main()
53 info.reserved[0] = 0; in main()
54 info.reserved[1] = 0; in main()
55 info.reserved[2] = 0; in main()
56 info.xoffset = 0; in main()
57 info.yoffset = 0; in main()
58 info.bits_per_pixel = 16; in main()
59 info.activate = FB_ACTIVATE_NOW; in main()
61 if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) { in main()
63 info.xres_virtual, info.yres_virtual); in main()
67 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in main()
70 uint64_t denominator = (uint64_t)( info.upper_margin + info.lower_margin + info.yres ) in main()
71 * ( info.left_margin + info.right_margin + info.xres ) in main()
72 * info.pixclock; in main()
75 float xdpi = (info.xres * 25.4f) / info.width; in main()
76 float ydpi = (info.yres * 25.4f) / info.height; in main()
91 info.xres, in main()
92 info.yres, in main()
93 info.xres_virtual, in main()
94 info.yres_virtual, in main()
95 info.bits_per_pixel, in main()
96 info.red.offset, info.red.length, in main()
97 info.green.offset, info.green.length, in main()
98 info.blue.offset, info.blue.length in main()
104 info.width, xdpi, in main()
105 info.height, ydpi, in main()
110 …info.upper_margin, info.lower_margin, info.left_margin, info.right_margin, info.pixclock, finfo.sm… in main()
133 memset(buffer, 0xff, 320*(info.yres_virtual/2)*2); in main()
140 info.reserved[0] = 0x54445055; // "UPDT"; in main()
141 info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in main()
142 info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in main()
149 info.activate = FB_ACTIVATE_VBL; in main()
150 info.yoffset = 0; in main()
151 ioctl(fd, FBIOPUT_VSCREENINFO, &info); in main()
153 info.activate = FB_ACTIVATE_VBL; in main()
154 info.yoffset = info.yres_virtual/2; in main()
155 err = ioctl(fd, FBIOPUT_VSCREENINFO, &info); in main()