Lines Matching refs:pixfmt
148 int pixfmt; /* pixel format, see DFA_PIX_* values */ member
300 par->pixfmt = DFA_PIX_32BIT; in gxt4500_var_to_par()
302 par->pixfmt = DFA_PIX_24BIT; in gxt4500_var_to_par()
305 par->pixfmt = DFA_PIX_24BIT; in gxt4500_var_to_par()
309 par->pixfmt = DFA_PIX_16BIT_1555; in gxt4500_var_to_par()
311 par->pixfmt = DFA_PIX_16BIT_565; in gxt4500_var_to_par()
314 par->pixfmt = DFA_PIX_8BIT; in gxt4500_var_to_par()
327 int pixfmt) in gxt4500_unpack_pixfmt() argument
329 var->bits_per_pixel = pixsize[pixfmt] * 8; in gxt4500_unpack_pixfmt()
335 switch (pixfmt) { in gxt4500_unpack_pixfmt()
351 if (pixfmt != DFA_PIX_8BIT) { in gxt4500_unpack_pixfmt()
371 gxt4500_unpack_pixfmt(var, par.pixfmt); in gxt4500_check_var()
382 unsigned int dfa_ctl, pixfmt, stride; in gxt4500_set_par() local
478 pixfmt = par->pixfmt; in gxt4500_set_par()
479 dfa_ctl |= DFA_FB_ENABLE | pixfmt; in gxt4500_set_par()
488 writereg(par, WAT_FMT + (i << 4), watfmt[pixfmt]); in gxt4500_set_par()
506 info->fix.line_length = stride * pixsize[pixfmt]; in gxt4500_set_par()
507 info->fix.visual = (pixfmt == DFA_PIX_8BIT)? FB_VISUAL_PSEUDOCOLOR: in gxt4500_set_par()
526 if (reg < 16 && par->pixfmt != DFA_PIX_8BIT) { in gxt4500_setcolreg()
529 switch (par->pixfmt) { in gxt4500_setcolreg()