Lines Matching refs:bits_per_pixel
691 switch (_par->var.bits_per_pixel) { in clgen_encode_fix()
710 fix->smem_len = _par->var.bits_per_pixel == 1 ? _info->size / 4 in clgen_encode_fix()
808 DPRINTK ("Requested: %dx%dx%d\n", var->xres, var->yres, var->bits_per_pixel); in clgen_decode_var()
817 switch (var->bits_per_pixel) { in clgen_decode_var()
823 _par->var.bits_per_pixel = 8; in clgen_decode_var()
828 _par->var.bits_per_pixel = 16; in clgen_decode_var()
833 _par->var.bits_per_pixel = 24; in clgen_decode_var()
838 _par->var.bits_per_pixel = 32; in clgen_decode_var()
844 var->xres, var->yres, var->bits_per_pixel); in clgen_decode_var()
851 var->xres, var->yres, var->bits_per_pixel); in clgen_decode_var()
890 switch (_par->var.bits_per_pixel) { in clgen_decode_var()
959 DPRINTK("Unsupported bpp size: %d\n", _par->var.bits_per_pixel); in clgen_decode_var()
1003 switch (var->bits_per_pixel) { in clgen_decode_var()
1014 _par->mclk = clgen_get_mclk (freq, _par->var.bits_per_pixel, &_par->divMCLK); in clgen_decode_var()
1133 _par->var.xres, _par->var.yres, _par->var.bits_per_pixel); in clgen_set_par()
1282 if (_par->var.bits_per_pixel == 1) { in clgen_set_par()
1369 else if (_par->var.bits_per_pixel == 8) { in clgen_set_par()
1457 else if (_par->var.bits_per_pixel == 16) { in clgen_set_par()
1540 else if (_par->var.bits_per_pixel == 32) { in clgen_set_par()
1610 _par->var.bits_per_pixel); in clgen_set_par()
1709 switch (fb_info->currentmode.var.bits_per_pixel) { in clgen_setcolreg()
1727 switch (fb_info->currentmode.var.bits_per_pixel) { in clgen_setcolreg()
1802 xoffset = var->xoffset * fb_info->currentmode.var.bits_per_pixel / 8; in clgen_pan_display()
1807 if (fb_info->currentmode.var.bits_per_pixel == 1) { in clgen_pan_display()
1840 if (fb_info->currentmode.var.bits_per_pixel == 1) in clgen_pan_display()
2205 switch (_par->var.bits_per_pixel) { in clgen_set_disp()
3264 if (fb_info->currentmode.var.bits_per_pixel == 16) { in clgen_RectFill()
3269 } else if (fb_info->currentmode.var.bits_per_pixel == 32) { in clgen_RectFill()