Lines Matching refs:bits_per_pixel
144 if (var->bits_per_pixel <= 1) in vfb_check_var()
145 var->bits_per_pixel = 1; in vfb_check_var()
146 else if (var->bits_per_pixel <= 8) in vfb_check_var()
147 var->bits_per_pixel = 8; in vfb_check_var()
148 else if (var->bits_per_pixel <= 16) in vfb_check_var()
149 var->bits_per_pixel = 16; in vfb_check_var()
150 else if (var->bits_per_pixel <= 24) in vfb_check_var()
151 var->bits_per_pixel = 24; in vfb_check_var()
152 else if (var->bits_per_pixel <= 32) in vfb_check_var()
153 var->bits_per_pixel = 32; in vfb_check_var()
166 get_line_length(var->xres_virtual, var->bits_per_pixel); in vfb_check_var()
175 switch (var->bits_per_pixel) { in vfb_check_var()
243 switch (info->var.bits_per_pixel) { in vfb_set_par()
258 info->var.bits_per_pixel); in vfb_set_par()
338 switch (info->var.bits_per_pixel) { in vfb_setcolreg()