Home | History | Annotate | Download | only in framebuffer

Lines Matching refs:fi

50 struct fb_fix_screeninfo fi;
53 static void dumpinfo(struct fb_fix_screeninfo *fi,
70 if(ioctl(fd, FBIOGET_FSCREENINFO, &fi) < 0) {
80 dumpinfo(&fi, &vi);
82 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
91 fb->stride = fi.line_length / (vi.bits_per_pixel >> 3);
100 fb->stride = fi.line_length / (vi.bits_per_pixel >> 3);
118 static void dumpinfo(struct fb_fix_screeninfo *fi, struct fb_var_screeninfo *vi)
128 fprintf(stderr, "fi.line_length = %d\n", fi->line_length);
195 int stride = fi.line_length / (vi.bits_per_pixel >> 3);
215 int stride = fi.line_length / (vi.bits_per_pixel >> 3);