Lines Matching refs:bits_per_pixel

595 	int bpp = var->bits_per_pixel;  in tt_decode_var()
697 var->bits_per_pixel = 4; in tt_encode_var()
703 var->bits_per_pixel = 2; in tt_encode_var()
709 var->bits_per_pixel = 1; in tt_encode_var()
715 var->bits_per_pixel = 8; in tt_encode_var()
721 var->bits_per_pixel = 4; in tt_encode_var()
728 var->bits_per_pixel = 1; in tt_encode_var()
735 linelen = var->xres_virtual * var->bits_per_pixel / 8; in tt_encode_var()
895 int bpp = var->bits_per_pixel; in falcon_decode_var()
968 if (bpp > myvar->bits_per_pixel || in falcon_decode_var()
1417 var->bits_per_pixel = 1; in falcon_encode_var()
1419 var->bits_per_pixel = 16; in falcon_encode_var()
1421 var->bits_per_pixel = 8; in falcon_encode_var()
1423 var->bits_per_pixel = 4; in falcon_encode_var()
1425 var->bits_per_pixel = 2; in falcon_encode_var()
1427 var->bits_per_pixel = 1; in falcon_encode_var()
1429 var->xres = hw->line_width * 16 / var->bits_per_pixel; in falcon_encode_var()
1430 var->xres_virtual = var->xres + hw->line_offset * 16 / var->bits_per_pixel; in falcon_encode_var()
1434 if (var->bits_per_pixel == 16) { in falcon_encode_var()
1447 if (var->red.length > var->bits_per_pixel) in falcon_encode_var()
1448 var->red.length = var->bits_per_pixel; in falcon_encode_var()
1457 linelen = var->xres_virtual * var->bits_per_pixel / 8; in falcon_encode_var()
1480 hde_off = ((128 / var->bits_per_pixel + 2) * plen); in falcon_encode_var()
1482 hdb_off = (64 + base_off + (128 / var->bits_per_pixel + 2) * plen) in falcon_encode_var()
1485 hdb_off = (base_off + (128 / var->bits_per_pixel + 18) * plen) in falcon_encode_var()
1657 int bpp = info->var.bits_per_pixel; in falcon_pan_display()
1822 int bpp = var->bits_per_pixel; in stste_decode_var()
1904 var->bits_per_pixel = 4; in stste_encode_var()
1909 var->bits_per_pixel = 2; in stste_encode_var()
1914 var->bits_per_pixel = 1; in stste_encode_var()
1922 linelen = var->xres_virtual * var->bits_per_pixel / 8; in stste_encode_var()
2138 if (var->bits_per_pixel > myvar->bits_per_pixel || in ext_decode_var()
2175 var->bits_per_pixel = external_depth; in ext_encode_var()
2252 myvar->bits_per_pixel = external_depth; in ext_detect()
2282 * info->var.bits_per_pixel / 8; in pan_display()
2486 if (info->var.bits_per_pixel == 16) { in atafb_fillrect()
2503 if (info->var.bits_per_pixel == 1) in atafb_fillrect()
2506 else if (info->var.bits_per_pixel == 2) in atafb_fillrect()
2509 else if (info->var.bits_per_pixel == 4) in atafb_fillrect()
2527 if (info->var.bits_per_pixel == 16) { in atafb_copyarea()
2561 if (info->var.bits_per_pixel == 1) in atafb_copyarea()
2563 else if (info->var.bits_per_pixel == 2) in atafb_copyarea()
2565 else if (info->var.bits_per_pixel == 4) in atafb_copyarea()
2583 if (info->var.bits_per_pixel == 16) { in atafb_imageblit()
2613 if (info->var.bits_per_pixel == 1) in atafb_imageblit()
2617 else if (info->var.bits_per_pixel == 2) in atafb_imageblit()
2621 else if (info->var.bits_per_pixel == 4) in atafb_imageblit()
2635 info->var.bits_per_pixel); in atafb_imageblit()
2781 min_mem = var.xres_virtual * var.yres_virtual * var.bits_per_pixel / 8; in check_default_par()
3001 atafb_predefined[default_par - 1].bits_per_pixel = depth; in atafb_setup_user()
3187 fb_info.var.bits_per_pixel)) { in atafb_probe()
3196 fb_alloc_cmap(&(fb_info.cmap), 1 << fb_info.var.bits_per_pixel, 0); in atafb_probe()
3200 fb_info.var.yres, fb_info.var.bits_per_pixel); in atafb_probe()