Lines Matching refs:pixfmt
147 int pixfmt; /* pixel format, see DFA_PIX_* values */ member
299 par->pixfmt = DFA_PIX_32BIT; in gxt4500_var_to_par()
301 par->pixfmt = DFA_PIX_24BIT; in gxt4500_var_to_par()
304 par->pixfmt = DFA_PIX_24BIT; in gxt4500_var_to_par()
308 par->pixfmt = DFA_PIX_16BIT_1555; in gxt4500_var_to_par()
310 par->pixfmt = DFA_PIX_16BIT_565; in gxt4500_var_to_par()
313 par->pixfmt = DFA_PIX_8BIT; in gxt4500_var_to_par()
326 int pixfmt) in gxt4500_unpack_pixfmt() argument
328 var->bits_per_pixel = pixsize[pixfmt] * 8; in gxt4500_unpack_pixfmt()
334 switch (pixfmt) { in gxt4500_unpack_pixfmt()
350 if (pixfmt != DFA_PIX_8BIT) { in gxt4500_unpack_pixfmt()
370 gxt4500_unpack_pixfmt(var, par.pixfmt); in gxt4500_check_var()
381 unsigned int dfa_ctl, pixfmt, stride; in gxt4500_set_par() local
477 pixfmt = par->pixfmt; in gxt4500_set_par()
478 dfa_ctl |= DFA_FB_ENABLE | pixfmt; in gxt4500_set_par()
487 writereg(par, WAT_FMT + (i << 4), watfmt[pixfmt]); in gxt4500_set_par()
505 info->fix.line_length = stride * pixsize[pixfmt]; in gxt4500_set_par()
506 info->fix.visual = (pixfmt == DFA_PIX_8BIT)? FB_VISUAL_PSEUDOCOLOR: in gxt4500_set_par()
525 if (reg < 16 && par->pixfmt != DFA_PIX_8BIT) { in gxt4500_setcolreg()
528 switch (par->pixfmt) { in gxt4500_setcolreg()