Lines Matching refs:fi
46 struct fb_fix_screeninfo fi; variable
49 static void dumpinfo(struct fb_fix_screeninfo *fi,
81 if(ioctl(fd, FBIOGET_FSCREENINFO, &fi) < 0) { in get_framebuffer()
86 dumpinfo(&fi, &vi); in get_framebuffer()
88 bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in get_framebuffer()
98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
125 static void dumpinfo(struct fb_fix_screeninfo *fi, struct fb_var_screeninfo *vi) in dumpinfo() argument
135 fprintf(stderr, "fi.line_length = %d\n", fi->line_length); in dumpinfo()
209 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in draw_grid()
244 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in clear_screen()