Lines Matching refs:pix_fmt
98 static void pixfmt_to_var(struct fb_var_screeninfo *var, int pix_fmt) in pixfmt_to_var() argument
100 switch (pix_fmt) { in pixfmt_to_var()
352 int pix_fmt; in var_update() local
355 pix_fmt = var_to_pixfmt(var); in var_update()
356 if (pix_fmt < 0) in var_update()
358 pixfmt_to_var(var, pix_fmt); in var_update()
359 fbi->pix_fmt = pix_fmt; in var_update()
373 info->fix.visual = (pix_fmt == PIXFMT_PSEUDOCOLOR) ? in var_update()
390 win.pix_fmt = fbi->pix_fmt; in mmpfb_set_win()
391 stride = pixfmt_to_stride(win.pix_fmt); in mmpfb_set_win()
515 info->fix.visual = (fbi->pix_fmt == PIXFMT_PSEUDOCOLOR) ? in fb_info_setup()
560 fbi->pix_fmt = mi->default_pixfmt; in mmpfb_probe()
561 pixfmt_to_var(&info->var, fbi->pix_fmt); in mmpfb_probe()