Lines Matching refs:pix_fmt
100 static void pixfmt_to_var(struct fb_var_screeninfo *var, int pix_fmt) in pixfmt_to_var() argument
102 switch (pix_fmt) { in pixfmt_to_var()
354 int pix_fmt; in var_update() local
357 pix_fmt = var_to_pixfmt(var); in var_update()
358 if (pix_fmt < 0) in var_update()
360 pixfmt_to_var(var, pix_fmt); in var_update()
361 fbi->pix_fmt = pix_fmt; in var_update()
375 info->fix.visual = (pix_fmt == PIXFMT_PSEUDOCOLOR) ? in var_update()
392 win.pix_fmt = fbi->pix_fmt; in mmpfb_set_win()
393 stride = pixfmt_to_stride(win.pix_fmt); in mmpfb_set_win()
519 info->fix.visual = (fbi->pix_fmt == PIXFMT_PSEUDOCOLOR) ? in fb_info_setup()
564 fbi->pix_fmt = mi->default_pixfmt; in mmpfb_probe()
565 pixfmt_to_var(&info->var, fbi->pix_fmt); in mmpfb_probe()