bits_per_pixel 10 arch/arm/mach-rpc/include/mach/acornfb.h #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel) bits_per_pixel 154 arch/powerpc/platforms/86xx/mpc8610_hpcd.c unsigned int bits_per_pixel) bits_per_pixel 174 arch/powerpc/platforms/86xx/mpc8610_hpcd.c switch (bits_per_pixel) { bits_per_pixel 182 arch/powerpc/platforms/86xx/mpc8610_hpcd.c pr_err("fsl-diu: unsupported pixel depth %u\n", bits_per_pixel); bits_per_pixel 40 arch/x86/kernel/sysfb_simplefb.c if (si->lfb_depth == f->bits_per_pixel && bits_per_pixel 47 arch/x86/xen/vga.c screen_info->lfb_depth = info->u.vesa_lfb.bits_per_pixel; bits_per_pixel 42 drivers/auxdisplay/cfag12864bfb.c .bits_per_pixel = 1, bits_per_pixel 93 drivers/auxdisplay/ht16k33.c .bits_per_pixel = 1, bits_per_pixel 51 drivers/firmware/google/coreboot_table.h u8 bits_per_pixel; bits_per_pixel 40 drivers/firmware/google/framebuffer-coreboot.c if (fb->bits_per_pixel == formats[i].bits_per_pixel && bits_per_pixel 2921 drivers/gpu/drm/amd/display/dc/core/dc_link.c kbps = (timing->pix_clk_100hz * timing->dsc_cfg.bits_per_pixel); bits_per_pixel 115 drivers/gpu/drm/amd/display/dc/core/dc_stream.c stream->timing.dsc_cfg.bits_per_pixel = 128; bits_per_pixel 768 drivers/gpu/drm/amd/display/dc/dc_hw_types.h uint32_t bits_per_pixel; /* DSC target bitrate in 1/16 of bpp (e.g. 128 -> 8bpp) */ bits_per_pixel 181 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c config->dc_dsc_cfg.bits_per_pixel, bits_per_pixel 182 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c config->dc_dsc_cfg.bits_per_pixel / 16, bits_per_pixel 183 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c ((config->dc_dsc_cfg.bits_per_pixel % 16) * 10000) / 16); bits_per_pixel 256 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c int bits_per_pixel = pps->bits_per_pixel; bits_per_pixel 266 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c DC_LOG_DSC("\tbits_per_pixel %d (%d.%04d)", bits_per_pixel, bits_per_pixel / 16, ((bits_per_pixel % 16) * 10000) / 16); bits_per_pixel 323 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c ASSERT(96 <= dsc_cfg->dc_dsc_cfg.bits_per_pixel && dsc_cfg->dc_dsc_cfg.bits_per_pixel <= 0x3ff); // 6.0 <= bits_per_pixel <= 63.9375 bits_per_pixel 333 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c !(96 <= dsc_cfg->dc_dsc_cfg.bits_per_pixel && dsc_cfg->dc_dsc_cfg.bits_per_pixel <= 0x3ff)) { bits_per_pixel 363 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_reg_vals->bpp_x32 = dsc_cfg->dc_dsc_cfg.bits_per_pixel << 1; bits_per_pixel 365 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_reg_vals->pps.bits_per_pixel = dsc_reg_vals->bpp_x32; bits_per_pixel 367 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c dsc_reg_vals->pps.bits_per_pixel = dsc_reg_vals->bpp_x32 >> 1; bits_per_pixel 548 drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c dsc_cfg->bits_per_pixel = target_bpp; bits_per_pixel 47 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c to->bits_per_pixel = from->bits_per_pixel; bits_per_pixel 110 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c float bpp = ((float) pps->bits_per_pixel / 16.0); bits_per_pixel 102 drivers/gpu/drm/arm/hdlcd_crtc.c btpp = (format->bits_per_pixel + 7) / 8; bits_per_pixel 731 drivers/gpu/drm/bridge/tc358767.c u32 bits_per_pixel = 24; bits_per_pixel 741 drivers/gpu/drm/bridge/tc358767.c in_bw = mode->clock * bits_per_pixel / 8; bits_per_pixel 1292 drivers/gpu/drm/bridge/tc358767.c u32 bits_per_pixel = 24; bits_per_pixel 1298 drivers/gpu/drm/bridge/tc358767.c req = mode->clock * bits_per_pixel / 8; bits_per_pixel 94 drivers/gpu/drm/drm_dsc.c ((dsc_cfg->bits_per_pixel & DSC_PPS_BPP_HIGH_MASK) >> bits_per_pixel 103 drivers/gpu/drm/drm_dsc.c (dsc_cfg->bits_per_pixel & DSC_PPS_LSB_MASK); bits_per_pixel 275 drivers/gpu/drm/drm_dsc.c vdsc_cfg->bits_per_pixel, bits_per_pixel 284 drivers/gpu/drm/drm_dsc.c vdsc_cfg->bits_per_pixel, bits_per_pixel 319 drivers/gpu/drm/drm_dsc.c vdsc_cfg->bits_per_pixel + 8) / 16 + num_extra_mux_bits; bits_per_pixel 386 drivers/gpu/drm/drm_dsc.c vdsc_cfg->bits_per_pixel, 16) + bits_per_pixel 389 drivers/gpu/drm/drm_dsc.c hrd_delay = DIV_ROUND_UP((rbs_min * 16), vdsc_cfg->bits_per_pixel); bits_per_pixel 390 drivers/gpu/drm/drm_dsc.c vdsc_cfg->rc_bits = (hrd_delay * vdsc_cfg->bits_per_pixel) / 16; bits_per_pixel 1222 drivers/gpu/drm/drm_fb_helper.c return var_1->bits_per_pixel == var_2->bits_per_pixel && bits_per_pixel 1323 drivers/gpu/drm/drm_fb_helper.c if (var->bits_per_pixel > fb->format->cpp[0] * 8 || bits_per_pixel 1328 drivers/gpu/drm/drm_fb_helper.c var->xres, var->yres, var->bits_per_pixel, bits_per_pixel 1351 drivers/gpu/drm/drm_fb_helper.c var->bits_per_pixel = fb->format->cpp[0] * 8; bits_per_pixel 1686 drivers/gpu/drm/drm_fb_helper.c info->var.bits_per_pixel = fb->format->cpp[0] * 8; bits_per_pixel 208 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c var->bits_per_pixel); bits_per_pixel 7524 drivers/gpu/drm/i915/display/intel_display.c intel_link_compute_m_n(u16 bits_per_pixel, int nlanes, bits_per_pixel 7529 drivers/gpu/drm/i915/display/intel_display.c u32 data_clock = bits_per_pixel * pixel_clock; bits_per_pixel 506 drivers/gpu/drm/i915/display/intel_dp.c u32 bits_per_pixel, max_bpp_small_joiner_ram; bits_per_pixel 515 drivers/gpu/drm/i915/display/intel_dp.c bits_per_pixel = (link_clock * lane_count * 8) / bits_per_pixel 517 drivers/gpu/drm/i915/display/intel_dp.c DRM_DEBUG_KMS("Max link bpp: %u\n", bits_per_pixel); bits_per_pixel 527 drivers/gpu/drm/i915/display/intel_dp.c bits_per_pixel = min(bits_per_pixel, max_bpp_small_joiner_ram); bits_per_pixel 530 drivers/gpu/drm/i915/display/intel_dp.c if (bits_per_pixel < valid_dsc_bpp[0]) { bits_per_pixel 532 drivers/gpu/drm/i915/display/intel_dp.c bits_per_pixel, valid_dsc_bpp[0]); bits_per_pixel 538 drivers/gpu/drm/i915/display/intel_dp.c if (bits_per_pixel < valid_dsc_bpp[i + 1]) bits_per_pixel 541 drivers/gpu/drm/i915/display/intel_dp.c bits_per_pixel = valid_dsc_bpp[i]; bits_per_pixel 547 drivers/gpu/drm/i915/display/intel_dp.c return bits_per_pixel << 4; bits_per_pixel 381 drivers/gpu/drm/i915/display/intel_vdsc.c vdsc_cfg->bits_per_pixel = compressed_bpp << 4; bits_per_pixel 528 drivers/gpu/drm/i915/display/intel_vdsc.c pps_val |= DSC_BPP(vdsc_cfg->bits_per_pixel); bits_per_pixel 1538 drivers/gpu/drm/mgag200/mgag200_mode.c int bits_per_pixel) bits_per_pixel 1542 drivers/gpu/drm/mgag200/mgag200_mode.c uint64_t bytes_per_pixel = (bits_per_pixel + 7) / 8; bits_per_pixel 143 drivers/gpu/drm/nouveau/nv04_fbcon.c switch (info->var.bits_per_pixel) { bits_per_pixel 100 drivers/gpu/drm/nouveau/nv50_fbcon.c uint32_t mask = ~(~0 >> (32 - info->var.bits_per_pixel)); bits_per_pixel 158 drivers/gpu/drm/nouveau/nv50_fbcon.c switch (info->var.bits_per_pixel) { bits_per_pixel 100 drivers/gpu/drm/nouveau/nvc0_fbcon.c uint32_t mask = ~(~0 >> (32 - info->var.bits_per_pixel)); bits_per_pixel 163 drivers/gpu/drm/nouveau/nvc0_fbcon.c switch (info->var.bits_per_pixel) { bits_per_pixel 353 drivers/gpu/drm/tegra/dc.c bpp = window->bits_per_pixel / 8; bits_per_pixel 469 drivers/gpu/drm/tegra/dc.c } else if (window->bits_per_pixel < 24) { bits_per_pixel 708 drivers/gpu/drm/tegra/dc.c window.bits_per_pixel = fb->format->cpp[0] * 8; bits_per_pixel 137 drivers/gpu/drm/tegra/dc.h unsigned int bits_per_pixel; bits_per_pixel 451 drivers/gpu/drm/tegra/sor.c u32 bits_per_pixel; bits_per_pixel 915 drivers/gpu/drm/tegra/sor.c if (!link_rate || !link->num_lanes || !pclk || !config->bits_per_pixel) bits_per_pixel 919 drivers/gpu/drm/tegra/sor.c input = pclk * config->bits_per_pixel; bits_per_pixel 960 drivers/gpu/drm/tegra/sor.c config->watermark = watermark + (config->bits_per_pixel / 8) + 2; bits_per_pixel 961 drivers/gpu/drm/tegra/sor.c num_syms_per_line = (mode->hdisplay * config->bits_per_pixel) * bits_per_pixel 1716 drivers/gpu/drm/tegra/sor.c config.bits_per_pixel = state->bpc * 3; bits_per_pixel 46 drivers/gpu/drm/vboxvideo/modesetting.c p->bits_per_pixel = bpp; bits_per_pixel 286 drivers/gpu/drm/vboxvideo/vboxvideo.h u16 bits_per_pixel; bits_per_pixel 104 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c int depth = var->bits_per_pixel; bits_per_pixel 108 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c switch (var->bits_per_pixel) { bits_per_pixel 113 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c DRM_ERROR("Bad bpp %u.\n", var->bits_per_pixel); bits_per_pixel 150 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c var->xres * var->bits_per_pixel/8, bits_per_pixel 427 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c switch (var->bits_per_pixel) { bits_per_pixel 432 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c DRM_ERROR("Bad bpp %u.\n", var->bits_per_pixel); bits_per_pixel 515 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c mode_cmd.pitches[0] = ((var->bits_per_pixel + 7) / 8) * mode_cmd.width; bits_per_pixel 517 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c drm_mode_legacy_fb_format(var->bits_per_pixel, depth); bits_per_pixel 582 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c DIV_ROUND_UP(var->bits_per_pixel, 8), bits_per_pixel 726 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c info->var.bits_per_pixel = fb_bpp; bits_per_pixel 372 drivers/gpu/ipu-v3/ipu-cpmem.c ro = rgb->bits_per_pixel - rgb->red.length - rgb->red.offset; bits_per_pixel 373 drivers/gpu/ipu-v3/ipu-cpmem.c go = rgb->bits_per_pixel - rgb->green.length - rgb->green.offset; bits_per_pixel 374 drivers/gpu/ipu-v3/ipu-cpmem.c bo = rgb->bits_per_pixel - rgb->blue.length - rgb->blue.offset; bits_per_pixel 375 drivers/gpu/ipu-v3/ipu-cpmem.c to = rgb->bits_per_pixel - rgb->transp.length - rgb->transp.offset; bits_per_pixel 391 drivers/gpu/ipu-v3/ipu-cpmem.c rgb->bits_per_pixel); bits_per_pixel 394 drivers/gpu/ipu-v3/ipu-cpmem.c switch (rgb->bits_per_pixel) { bits_per_pixel 489 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 32, bits_per_pixel 497 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 32, bits_per_pixel 505 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 32, bits_per_pixel 513 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 32, bits_per_pixel 521 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 24, bits_per_pixel 529 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 24, bits_per_pixel 537 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 545 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 553 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 561 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 569 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 577 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 585 drivers/gpu/ipu-v3/ipu-cpmem.c .bits_per_pixel = 16, bits_per_pixel 65 drivers/hid/hid-picolcd_fb.c .bits_per_pixel = 1, bits_per_pixel 356 drivers/hid/hid-picolcd_fb.c __u32 bpp = var->bits_per_pixel; bits_per_pixel 363 drivers/hid/hid-picolcd_fb.c var->bits_per_pixel = 8; bits_per_pixel 368 drivers/hid/hid-picolcd_fb.c var->bits_per_pixel = 1; bits_per_pixel 380 drivers/hid/hid-picolcd_fb.c if (info->var.bits_per_pixel == fbdata->bpp) bits_per_pixel 383 drivers/hid/hid-picolcd_fb.c if (info->var.bits_per_pixel != 1 && info->var.bits_per_pixel != 8) bits_per_pixel 387 drivers/hid/hid-picolcd_fb.c tmp_fb = kmalloc_array(PICOLCDFB_SIZE, info->var.bits_per_pixel, bits_per_pixel 393 drivers/hid/hid-picolcd_fb.c if (info->var.bits_per_pixel == 1) { bits_per_pixel 416 drivers/hid/hid-picolcd_fb.c fbdata->bpp = info->var.bits_per_pixel; bits_per_pixel 536 drivers/hid/hid-picolcd_fb.c fbdata->bpp = picolcdfb_var.bits_per_pixel; bits_per_pixel 249 drivers/media/i2c/smiapp-pll.c op_pll->pix_clk_div = pll->bits_per_pixel; bits_per_pixel 425 drivers/media/i2c/smiapp-pll.c pll->pll_op_clk_freq_hz = pll->link_freq * pll->bits_per_pixel bits_per_pixel 426 drivers/media/i2c/smiapp-pll.c / DIV_ROUND_UP(pll->bits_per_pixel, bits_per_pixel 45 drivers/media/i2c/smiapp-pll.h uint8_t bits_per_pixel; bits_per_pixel 287 drivers/media/i2c/smiapp/smiapp-core.c pll->bits_per_pixel = sensor->csi_format->compressed; bits_per_pixel 848 drivers/media/i2c/smiapp/smiapp-core.c pll->bits_per_pixel = f->compressed; bits_per_pixel 855 drivers/media/i2c/smiapp/smiapp-core.c pll->link_freq, pll->bits_per_pixel, bits_per_pixel 164 drivers/media/pci/ivtv/ivtvfb.c int bits_per_pixel; bits_per_pixel 516 drivers/media/pci/ivtv/ivtvfb.c switch (var->bits_per_pixel) { bits_per_pixel 549 drivers/media/pci/ivtv/ivtvfb.c oi->bits_per_pixel = var->bits_per_pixel; bits_per_pixel 550 drivers/media/pci/ivtv/ivtvfb.c oi->bytes_per_pixel = var->bits_per_pixel / 8; bits_per_pixel 602 drivers/media/pci/ivtv/ivtvfb.c var->bits_per_pixel); bits_per_pixel 624 drivers/media/pci/ivtv/ivtvfb.c fix->visual = (oi->bits_per_pixel == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; bits_per_pixel 658 drivers/media/pci/ivtv/ivtvfb.c if (var->bits_per_pixel == 8 || var->bits_per_pixel == 32) { bits_per_pixel 668 drivers/media/pci/ivtv/ivtvfb.c else if (var->bits_per_pixel == 16) { bits_per_pixel 704 drivers/media/pci/ivtv/ivtvfb.c IVTVFB_DEBUG_WARN("Invalid colour mode: %d\n", var->bits_per_pixel); bits_per_pixel 716 drivers/media/pci/ivtv/ivtvfb.c if (var->xres_virtual > 4095 / (var->bits_per_pixel / 8) || bits_per_pixel 717 drivers/media/pci/ivtv/ivtvfb.c var->xres_virtual * var->yres_virtual * (var->bits_per_pixel / 8) > oi->video_buffer_size || bits_per_pixel 726 drivers/media/pci/ivtv/ivtvfb.c if (var->bits_per_pixel == 8) { bits_per_pixel 737 drivers/media/pci/ivtv/ivtvfb.c else if (var->bits_per_pixel == 16) { bits_per_pixel 802 drivers/media/pci/ivtv/ivtvfb.c var->bits_per_pixel); bits_per_pixel 830 drivers/media/pci/ivtv/ivtvfb.c + var->xoffset * info->var.bits_per_pixel / 8; bits_per_pixel 868 drivers/media/pci/ivtv/ivtvfb.c if (info->var.bits_per_pixel <= 8) { bits_per_pixel 878 drivers/media/pci/ivtv/ivtvfb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 972 drivers/media/pci/ivtv/ivtvfb.c oi->bits_per_pixel = osd_depth; bits_per_pixel 973 drivers/media/pci/ivtv/ivtvfb.c oi->bytes_per_pixel = oi->bits_per_pixel / 8; bits_per_pixel 1033 drivers/media/pci/ivtv/ivtvfb.c oi->ivtvfb_defined.bits_per_pixel = oi->bits_per_pixel; bits_per_pixel 282 drivers/media/platform/vivid/vivid-core.h int bits_per_pixel; bits_per_pixel 100 drivers/media/platform/vivid/vivid-osd.c if (var->bits_per_pixel != 16) { bits_per_pixel 133 drivers/media/platform/vivid/vivid-osd.c var->bits_per_pixel = 16; bits_per_pixel 209 drivers/media/platform/vivid/vivid-osd.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 271 drivers/media/platform/vivid/vivid-osd.c dev->bits_per_pixel = 16; bits_per_pixel 272 drivers/media/platform/vivid/vivid-osd.c dev->bytes_per_pixel = dev->bits_per_pixel / 8; bits_per_pixel 293 drivers/media/platform/vivid/vivid-osd.c dev->fb_defined.bits_per_pixel = dev->bits_per_pixel; bits_per_pixel 684 drivers/staging/fbtft/fbtft-core.c info->var.bits_per_pixel = bpp; bits_per_pixel 180 drivers/staging/sm750fb/sm750.c Bpp = info->var.bits_per_pixel >> 3; bits_per_pixel 218 drivers/staging/sm750fb/sm750.c Bpp = info->var.bits_per_pixel >> 3; bits_per_pixel 252 drivers/staging/sm750fb/sm750.c Bpp = info->var.bits_per_pixel >> 3; bits_per_pixel 321 drivers/staging/sm750fb/sm750.c line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 331 drivers/staging/sm750fb/sm750.c switch (var->bits_per_pixel) { bits_per_pixel 524 drivers/staging/sm750fb/sm750.c var->bits_per_pixel); bits_per_pixel 526 drivers/staging/sm750fb/sm750.c switch (var->bits_per_pixel) { bits_per_pixel 560 drivers/staging/sm750fb/sm750.c pr_err("bpp %d not supported\n", var->bits_per_pixel); bits_per_pixel 567 drivers/staging/sm750fb/sm750.c request = var->xres_virtual * (var->bits_per_pixel >> 3); bits_per_pixel 605 drivers/staging/sm750fb/sm750.c if (var->bits_per_pixel == 8 && bits_per_pixel 617 drivers/staging/sm750fb/sm750.c if (var->bits_per_pixel == 16 || bits_per_pixel 618 drivers/staging/sm750fb/sm750.c var->bits_per_pixel == 32 || bits_per_pixel 619 drivers/staging/sm750fb/sm750.c var->bits_per_pixel == 24) { bits_per_pixel 854 drivers/staging/sm750fb/sm750.c var->bits_per_pixel); bits_per_pixel 860 drivers/staging/sm750fb/sm750.c line_length = ALIGN((var->xres_virtual * var->bits_per_pixel / 8), bits_per_pixel 896 drivers/staging/sm750fb/sm750.c switch (var->bits_per_pixel) { bits_per_pixel 232 drivers/staging/sm750fb/sm750_hw.c switch (var->bits_per_pixel) { bits_per_pixel 267 drivers/staging/sm750fb/sm750_hw.c switch (var->bits_per_pixel) { bits_per_pixel 319 drivers/staging/sm750fb/sm750_hw.c reg = var->xres * (var->bits_per_pixel >> 3); bits_per_pixel 350 drivers/staging/sm750fb/sm750_hw.c poke32(PANEL_DISPLAY_CTRL, reg | (var->bits_per_pixel >> 4)); bits_per_pixel 354 drivers/staging/sm750fb/sm750_hw.c reg = var->xres * (var->bits_per_pixel >> 3); bits_per_pixel 366 drivers/staging/sm750fb/sm750_hw.c reg |= ((var->bits_per_pixel >> 4) & bits_per_pixel 556 drivers/staging/sm750fb/sm750_hw.c ((var->xoffset * var->bits_per_pixel) >> 3); bits_per_pixel 409 drivers/video/console/sticore.c sti->sti_data->inq_outptr.bits_per_pixel, bits_per_pixel 159 drivers/video/fbdev/68328fb.c if (var->bits_per_pixel <= 1) bits_per_pixel 160 drivers/video/fbdev/68328fb.c var->bits_per_pixel = 1; bits_per_pixel 161 drivers/video/fbdev/68328fb.c else if (var->bits_per_pixel <= 8) bits_per_pixel 162 drivers/video/fbdev/68328fb.c var->bits_per_pixel = 8; bits_per_pixel 163 drivers/video/fbdev/68328fb.c else if (var->bits_per_pixel <= 16) bits_per_pixel 164 drivers/video/fbdev/68328fb.c var->bits_per_pixel = 16; bits_per_pixel 165 drivers/video/fbdev/68328fb.c else if (var->bits_per_pixel <= 24) bits_per_pixel 166 drivers/video/fbdev/68328fb.c var->bits_per_pixel = 24; bits_per_pixel 167 drivers/video/fbdev/68328fb.c else if (var->bits_per_pixel <= 32) bits_per_pixel 168 drivers/video/fbdev/68328fb.c var->bits_per_pixel = 32; bits_per_pixel 181 drivers/video/fbdev/68328fb.c get_line_length(var->xres_virtual, var->bits_per_pixel); bits_per_pixel 190 drivers/video/fbdev/68328fb.c switch (var->bits_per_pixel) { bits_per_pixel 268 drivers/video/fbdev/68328fb.c info->var.bits_per_pixel); bits_per_pixel 344 drivers/video/fbdev/68328fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 445 drivers/video/fbdev/68328fb.c mc68x328fb_default.bits_per_pixel = 1 + (LPICF & 0x01); bits_per_pixel 448 drivers/video/fbdev/68328fb.c mc68x328fb_default.yres_virtual * mc68x328fb_default.bits_per_pixel; bits_per_pixel 457 drivers/video/fbdev/68328fb.c get_line_length(mc68x328fb_default.xres_virtual, mc68x328fb_default.bits_per_pixel); bits_per_pixel 458 drivers/video/fbdev/68328fb.c fb_info.fix.visual = (mc68x328fb_default.bits_per_pixel) == 1 ? bits_per_pixel 460 drivers/video/fbdev/68328fb.c if (fb_info.var.bits_per_pixel == 1) { bits_per_pixel 479 drivers/video/fbdev/68328fb.c 1 << mc68x328fb_default.bits_per_pixel, videomemory); bits_per_pixel 146 drivers/video/fbdev/acornfb.c switch (var->bits_per_pixel) { bits_per_pixel 202 drivers/video/fbdev/acornfb.c words_per_line = var->xres * var->bits_per_pixel / 32; bits_per_pixel 225 drivers/video/fbdev/acornfb.c var->yres, var->bits_per_pixel); bits_per_pixel 291 drivers/video/fbdev/acornfb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 342 drivers/video/fbdev/acornfb.c font_line_len = var->xres * var->bits_per_pixel * fontht / 8; bits_per_pixel 343 drivers/video/fbdev/acornfb.c min_size = var->xres * var->yres * var->bits_per_pixel / 8; bits_per_pixel 463 drivers/video/fbdev/acornfb.c switch (var->bits_per_pixel) { bits_per_pixel 466 drivers/video/fbdev/acornfb.c var->red.length = var->bits_per_pixel; bits_per_pixel 523 drivers/video/fbdev/acornfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 554 drivers/video/fbdev/acornfb.c info->fix.line_length = (info->var.xres * info->var.bits_per_pixel) / 8; bits_per_pixel 161 drivers/video/fbdev/amba-clcd.c switch (var->bits_per_pixel) { bits_per_pixel 173 drivers/video/fbdev/amba-clcd.c var->red.length = var->bits_per_pixel; bits_per_pixel 175 drivers/video/fbdev/amba-clcd.c var->green.length = var->bits_per_pixel; bits_per_pixel 177 drivers/video/fbdev/amba-clcd.c var->blue.length = var->bits_per_pixel; bits_per_pixel 245 drivers/video/fbdev/amba-clcd.c if (ret == 0 && var->bits_per_pixel >= 16) { bits_per_pixel 282 drivers/video/fbdev/amba-clcd.c var->xres_virtual * var->bits_per_pixel / 8 * bits_per_pixel 298 drivers/video/fbdev/amba-clcd.c fb->fb.var.bits_per_pixel / 8; bits_per_pixel 300 drivers/video/fbdev/amba-clcd.c if (fb->fb.var.bits_per_pixel <= 8) bits_per_pixel 492 drivers/video/fbdev/amba-clcd.c fb->fb.var.bits_per_pixel = fb->panel->bpp; bits_per_pixel 1155 drivers/video/fbdev/amifb.c par->bpp = var->bits_per_pixel; bits_per_pixel 1526 drivers/video/fbdev/amifb.c var->bits_per_pixel = par->bpp; bits_per_pixel 3193 drivers/video/fbdev/amifb.c fill_one_line(info->var.bits_per_pixel, bits_per_pixel 3199 drivers/video/fbdev/amifb.c xor_one_line(info->var.bits_per_pixel, par->next_plane, bits_per_pixel 3290 drivers/video/fbdev/amifb.c copy_one_line_rev(info->var.bits_per_pixel, bits_per_pixel 3296 drivers/video/fbdev/amifb.c copy_one_line(info->var.bits_per_pixel, bits_per_pixel 3367 drivers/video/fbdev/amifb.c expand_one_line(info->var.bits_per_pixel, bits_per_pixel 3377 drivers/video/fbdev/amifb.c image->width, info->var.bits_per_pixel); bits_per_pixel 3731 drivers/video/fbdev/amifb.c err = fb_alloc_cmap(&info->cmap, 1 << info->var.bits_per_pixel, 0); bits_per_pixel 97 drivers/video/fbdev/arcfb.c .bits_per_pixel = 1, bits_per_pixel 262 drivers/video/fbdev/arkfb.c if ((info->var.bits_per_pixel == 4) && (image->depth == 1) bits_per_pixel 274 drivers/video/fbdev/arkfb.c if ((info->var.bits_per_pixel == 4) bits_per_pixel 590 drivers/video/fbdev/arkfb.c mem = ((var->bits_per_pixel * var->xres_virtual) >> 3) * var->yres_virtual; bits_per_pixel 618 drivers/video/fbdev/arkfb.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 805 drivers/video/fbdev/arkfb.c switch (fb->var.bits_per_pixel) { bits_per_pixel 811 drivers/video/fbdev/arkfb.c if ((fb->var.bits_per_pixel == 4) && bits_per_pixel 898 drivers/video/fbdev/arkfb.c if (info->var.bits_per_pixel == 0) { bits_per_pixel 904 drivers/video/fbdev/arkfb.c (var->xoffset * info->var.bits_per_pixel / 8); bits_per_pixel 905 drivers/video/fbdev/arkfb.c offset = offset >> ((info->var.bits_per_pixel == 4) ? 2 : 3); bits_per_pixel 184 drivers/video/fbdev/asiliantfb.c unsigned wd = (p->var.xres_virtual * ((p->var.bits_per_pixel+7)/8)) / 8; bits_per_pixel 243 drivers/video/fbdev/asiliantfb.c if (var->bits_per_pixel == 24) { bits_per_pixel 248 drivers/video/fbdev/asiliantfb.c } else if (var->bits_per_pixel == 16) { bits_per_pixel 262 drivers/video/fbdev/asiliantfb.c } else if (var->bits_per_pixel == 8) { bits_per_pixel 279 drivers/video/fbdev/asiliantfb.c if (p->var.bits_per_pixel == 24) { bits_per_pixel 283 drivers/video/fbdev/asiliantfb.c } else if (p->var.bits_per_pixel == 16) { bits_per_pixel 290 drivers/video/fbdev/asiliantfb.c } else if (p->var.bits_per_pixel == 8) { bits_per_pixel 296 drivers/video/fbdev/asiliantfb.c p->fix.line_length = p->var.xres * (p->var.bits_per_pixel >> 3); bits_per_pixel 297 drivers/video/fbdev/asiliantfb.c p->fix.visual = (p->var.bits_per_pixel == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; bits_per_pixel 491 drivers/video/fbdev/asiliantfb.c .bits_per_pixel = 8, bits_per_pixel 596 drivers/video/fbdev/atafb.c int bpp = var->bits_per_pixel; bits_per_pixel 698 drivers/video/fbdev/atafb.c var->bits_per_pixel = 4; bits_per_pixel 704 drivers/video/fbdev/atafb.c var->bits_per_pixel = 2; bits_per_pixel 710 drivers/video/fbdev/atafb.c var->bits_per_pixel = 1; bits_per_pixel 716 drivers/video/fbdev/atafb.c var->bits_per_pixel = 8; bits_per_pixel 722 drivers/video/fbdev/atafb.c var->bits_per_pixel = 4; bits_per_pixel 729 drivers/video/fbdev/atafb.c var->bits_per_pixel = 1; bits_per_pixel 736 drivers/video/fbdev/atafb.c linelen = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 896 drivers/video/fbdev/atafb.c int bpp = var->bits_per_pixel; bits_per_pixel 969 drivers/video/fbdev/atafb.c if (bpp > myvar->bits_per_pixel || bits_per_pixel 1418 drivers/video/fbdev/atafb.c var->bits_per_pixel = 1; bits_per_pixel 1420 drivers/video/fbdev/atafb.c var->bits_per_pixel = 16; bits_per_pixel 1422 drivers/video/fbdev/atafb.c var->bits_per_pixel = 8; bits_per_pixel 1424 drivers/video/fbdev/atafb.c var->bits_per_pixel = 4; bits_per_pixel 1426 drivers/video/fbdev/atafb.c var->bits_per_pixel = 2; bits_per_pixel 1428 drivers/video/fbdev/atafb.c var->bits_per_pixel = 1; bits_per_pixel 1430 drivers/video/fbdev/atafb.c var->xres = hw->line_width * 16 / var->bits_per_pixel; bits_per_pixel 1431 drivers/video/fbdev/atafb.c var->xres_virtual = var->xres + hw->line_offset * 16 / var->bits_per_pixel; bits_per_pixel 1435 drivers/video/fbdev/atafb.c if (var->bits_per_pixel == 16) { bits_per_pixel 1448 drivers/video/fbdev/atafb.c if (var->red.length > var->bits_per_pixel) bits_per_pixel 1449 drivers/video/fbdev/atafb.c var->red.length = var->bits_per_pixel; bits_per_pixel 1458 drivers/video/fbdev/atafb.c linelen = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 1481 drivers/video/fbdev/atafb.c hde_off = ((128 / var->bits_per_pixel + 2) * plen); bits_per_pixel 1483 drivers/video/fbdev/atafb.c hdb_off = (64 + base_off + (128 / var->bits_per_pixel + 2) * plen) bits_per_pixel 1486 drivers/video/fbdev/atafb.c hdb_off = (base_off + (128 / var->bits_per_pixel + 18) * plen) bits_per_pixel 1658 drivers/video/fbdev/atafb.c int bpp = info->var.bits_per_pixel; bits_per_pixel 1823 drivers/video/fbdev/atafb.c int bpp = var->bits_per_pixel; bits_per_pixel 1905 drivers/video/fbdev/atafb.c var->bits_per_pixel = 4; bits_per_pixel 1910 drivers/video/fbdev/atafb.c var->bits_per_pixel = 2; bits_per_pixel 1915 drivers/video/fbdev/atafb.c var->bits_per_pixel = 1; bits_per_pixel 1923 drivers/video/fbdev/atafb.c linelen = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 2139 drivers/video/fbdev/atafb.c if (var->bits_per_pixel > myvar->bits_per_pixel || bits_per_pixel 2176 drivers/video/fbdev/atafb.c var->bits_per_pixel = external_depth; bits_per_pixel 2253 drivers/video/fbdev/atafb.c myvar->bits_per_pixel = external_depth; bits_per_pixel 2283 drivers/video/fbdev/atafb.c * info->var.bits_per_pixel / 8; bits_per_pixel 2487 drivers/video/fbdev/atafb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 2504 drivers/video/fbdev/atafb.c if (info->var.bits_per_pixel == 1) bits_per_pixel 2507 drivers/video/fbdev/atafb.c else if (info->var.bits_per_pixel == 2) bits_per_pixel 2510 drivers/video/fbdev/atafb.c else if (info->var.bits_per_pixel == 4) bits_per_pixel 2528 drivers/video/fbdev/atafb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 2562 drivers/video/fbdev/atafb.c if (info->var.bits_per_pixel == 1) bits_per_pixel 2564 drivers/video/fbdev/atafb.c else if (info->var.bits_per_pixel == 2) bits_per_pixel 2566 drivers/video/fbdev/atafb.c else if (info->var.bits_per_pixel == 4) bits_per_pixel 2584 drivers/video/fbdev/atafb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 2614 drivers/video/fbdev/atafb.c if (info->var.bits_per_pixel == 1) bits_per_pixel 2618 drivers/video/fbdev/atafb.c else if (info->var.bits_per_pixel == 2) bits_per_pixel 2622 drivers/video/fbdev/atafb.c else if (info->var.bits_per_pixel == 4) bits_per_pixel 2636 drivers/video/fbdev/atafb.c info->var.bits_per_pixel); bits_per_pixel 2782 drivers/video/fbdev/atafb.c min_mem = var.xres_virtual * var.yres_virtual * var.bits_per_pixel / 8; bits_per_pixel 3002 drivers/video/fbdev/atafb.c atafb_predefined[default_par - 1].bits_per_pixel = depth; bits_per_pixel 3188 drivers/video/fbdev/atafb.c fb_info.var.bits_per_pixel)) { bits_per_pixel 3197 drivers/video/fbdev/atafb.c fb_alloc_cmap(&(fb_info.cmap), 1 << fb_info.var.bits_per_pixel, 0); bits_per_pixel 3201 drivers/video/fbdev/atafb.c fb_info.var.yres, fb_info.var.bits_per_pixel); bits_per_pixel 321 drivers/video/fbdev/atmel_lcdfb.c + var->xoffset * info->var.bits_per_pixel / 8); bits_per_pixel 351 drivers/video/fbdev/atmel_lcdfb.c * ((var->bits_per_pixel + 7) / 8)); bits_per_pixel 416 drivers/video/fbdev/atmel_lcdfb.c if (!(var->pixclock && var->bits_per_pixel)) { bits_per_pixel 426 drivers/video/fbdev/atmel_lcdfb.c dev_dbg(dev, " bpp: %u\n", var->bits_per_pixel); bits_per_pixel 452 drivers/video/fbdev/atmel_lcdfb.c * ((var->bits_per_pixel + 7) / 8)); bits_per_pixel 480 drivers/video/fbdev/atmel_lcdfb.c switch (var->bits_per_pixel) { bits_per_pixel 487 drivers/video/fbdev/atmel_lcdfb.c = var->bits_per_pixel; bits_per_pixel 527 drivers/video/fbdev/atmel_lcdfb.c var->bits_per_pixel); bits_per_pixel 578 drivers/video/fbdev/atmel_lcdfb.c if (info->var.bits_per_pixel == 1) bits_per_pixel 580 drivers/video/fbdev/atmel_lcdfb.c else if (info->var.bits_per_pixel <= 8) bits_per_pixel 585 drivers/video/fbdev/atmel_lcdfb.c bits_per_line = info->var.xres_virtual * info->var.bits_per_pixel; bits_per_pixel 593 drivers/video/fbdev/atmel_lcdfb.c value = (info->var.yres * info->var.xres * info->var.bits_per_pixel) / 32; bits_per_pixel 631 drivers/video/fbdev/atmel_lcdfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 965 drivers/video/fbdev/atmel_lcdfb.c ret = of_property_read_u32(display_np, "bits-per-pixel", &var->bits_per_pixel); bits_per_pixel 1057 drivers/video/fbdev/aty/aty128fb.c bpp = var->bits_per_pixel; bits_per_pixel 1180 drivers/video/fbdev/aty/aty128fb.c var->bits_per_pixel = 8; bits_per_pixel 1188 drivers/video/fbdev/aty/aty128fb.c var->bits_per_pixel = 16; bits_per_pixel 1196 drivers/video/fbdev/aty/aty128fb.c var->bits_per_pixel = 16; bits_per_pixel 1204 drivers/video/fbdev/aty/aty128fb.c var->bits_per_pixel = 24; bits_per_pixel 1212 drivers/video/fbdev/aty/aty128fb.c var->bits_per_pixel = 32; bits_per_pixel 818 drivers/video/fbdev/aty/atyfb_base.c bpp = var->bits_per_pixel; bits_per_pixel 1256 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel = bpp; bits_per_pixel 1311 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel, &par->pll); bits_per_pixel 1331 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel, par->accel_flags); bits_per_pixel 1369 drivers/video/fbdev/aty/atyfb_base.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 1392 drivers/video/fbdev/aty/atyfb_base.c switch (var->bits_per_pixel) { bits_per_pixel 1408 drivers/video/fbdev/aty/atyfb_base.c switch (var->bits_per_pixel) { bits_per_pixel 1440 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel); bits_per_pixel 1442 drivers/video/fbdev/aty/atyfb_base.c info->fix.visual = var->bits_per_pixel <= 8 ? bits_per_pixel 1453 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel, bits_per_pixel 1454 drivers/video/fbdev/aty/atyfb_base.c par->crtc.vxres * var->bits_per_pixel / 8); bits_per_pixel 1540 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel, &pll); bits_per_pixel 1560 drivers/video/fbdev/aty/atyfb_base.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 1704 drivers/video/fbdev/aty/atyfb_base.c ((videoram * 8) / var.bits_per_pixel) / bits_per_pixel 1822 drivers/video/fbdev/aty/atyfb_base.c fbtyp.fb_depth = info->var.bits_per_pixel; bits_per_pixel 2692 drivers/video/fbdev/aty/atyfb_base.c var.yres_virtual = ((videoram * 8) / var.bits_per_pixel) / var.xres_virtual; bits_per_pixel 2841 drivers/video/fbdev/aty/atyfb_base.c depth = info->var.bits_per_pixel; bits_per_pixel 3042 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel = of_getintprop_default(dp, "depth", 8); bits_per_pixel 73 drivers/video/fbdev/aty/mach64_accel.c pitch_value = info->fix.line_length / (info->var.bits_per_pixel / 8); bits_per_pixel 76 drivers/video/fbdev/aty/mach64_accel.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 214 drivers/video/fbdev/aty/mach64_accel.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 234 drivers/video/fbdev/aty/mach64_accel.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 267 drivers/video/fbdev/aty/mach64_accel.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 298 drivers/video/fbdev/aty/mach64_accel.c (image->depth != 1 && info->var.bits_per_pixel != image->depth)) { bits_per_pixel 336 drivers/video/fbdev/aty/mach64_accel.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 387 drivers/video/fbdev/aty/mach64_accel.c if (image->depth == 1 && info->var.bits_per_pixel == 24 && !(pix_width & DP_HOST_TRIPLE_EN)) { bits_per_pixel 845 drivers/video/fbdev/aty/radeon_base.c switch (v.bits_per_pixel) { bits_per_pixel 847 drivers/video/fbdev/aty/radeon_base.c v.bits_per_pixel = 8; bits_per_pixel 850 drivers/video/fbdev/aty/radeon_base.c v.bits_per_pixel = 16; bits_per_pixel 854 drivers/video/fbdev/aty/radeon_base.c v.bits_per_pixel = 24; bits_per_pixel 859 drivers/video/fbdev/aty/radeon_base.c v.bits_per_pixel = 32; bits_per_pixel 913 drivers/video/fbdev/aty/radeon_base.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 929 drivers/video/fbdev/aty/radeon_base.c pitch = ((v.xres_virtual * ((v.bits_per_pixel + 1) / 8) + 0x3f) bits_per_pixel 931 drivers/video/fbdev/aty/radeon_base.c v.xres_virtual = (pitch << 6) / ((v.bits_per_pixel + 1) / 8); bits_per_pixel 970 drivers/video/fbdev/aty/radeon_base.c var->xoffset * info->var.bits_per_pixel / 8) & ~7); bits_per_pixel 1739 drivers/video/fbdev/aty/radeon_base.c bytpp = mode->bits_per_pixel >> 3; bits_per_pixel 1784 drivers/video/fbdev/aty/radeon_base.c rinfo->pitch = ((mode->xres_virtual * ((mode->bits_per_pixel + 1) / 8) + 0x3f) bits_per_pixel 1788 drivers/video/fbdev/aty/radeon_base.c newmode->crtc_pitch = (rinfo->pitch << 3) / ((mode->bits_per_pixel + 1) / 8); bits_per_pixel 1807 drivers/video/fbdev/aty/radeon_base.c switch (mode->bits_per_pixel) { bits_per_pixel 1832 drivers/video/fbdev/aty/radeon_base.c rinfo->bpp = mode->bits_per_pixel; bits_per_pixel 1953 drivers/video/fbdev/aty/radeon_base.c * ((mode->bits_per_pixel + 1) / 8); bits_per_pixel 13 drivers/video/fbdev/aty/radeon_monitor.c .bits_per_pixel = 8, bits_per_pixel 808 drivers/video/fbdev/aty/radeon_monitor.c var->bits_per_pixel = 8; bits_per_pixel 926 drivers/video/fbdev/aty/radeon_monitor.c info->var.bits_per_pixel = 8; bits_per_pixel 446 drivers/video/fbdev/aty/radeonfb.h if (var->bits_per_pixel != 16) bits_per_pixel 447 drivers/video/fbdev/aty/radeonfb.h return var->bits_per_pixel; bits_per_pixel 149 drivers/video/fbdev/au1100fb.c if (info->var.bits_per_pixel <= 8) { bits_per_pixel 152 drivers/video/fbdev/au1100fb.c info->var.red.length = info->var.bits_per_pixel; bits_per_pixel 156 drivers/video/fbdev/au1100fb.c info->var.green.length = info->var.bits_per_pixel; bits_per_pixel 160 drivers/video/fbdev/au1100fb.c info->var.blue.length = info->var.bits_per_pixel; bits_per_pixel 169 drivers/video/fbdev/au1100fb.c (8/info->var.bits_per_pixel); bits_per_pixel 477 drivers/video/fbdev/au1100fb.c au1100fb_var.bits_per_pixel = fbdev->panel->bpp; bits_per_pixel 1008 drivers/video/fbdev/au1200fb.c if (fbi->var.bits_per_pixel <= 8) { bits_per_pixel 1012 drivers/video/fbdev/au1200fb.c (8/fbi->var.bits_per_pixel); bits_per_pixel 1016 drivers/video/fbdev/au1200fb.c fbi->fix.line_length = fbi->var.xres_virtual * (fbi->var.bits_per_pixel / 8); bits_per_pixel 1026 drivers/video/fbdev/au1200fb.c print_dbg("bits_per_pixel: %d\n", fbi->var.bits_per_pixel); bits_per_pixel 1054 drivers/video/fbdev/au1200fb.c var->bits_per_pixel = winbpp(win->w[plane].mode_winctrl1); bits_per_pixel 1057 drivers/video/fbdev/au1200fb.c if (var->bits_per_pixel > 8) screen_size *= (var->bits_per_pixel / 8); bits_per_pixel 1058 drivers/video/fbdev/au1200fb.c else screen_size /= (8/var->bits_per_pixel); bits_per_pixel 1091 drivers/video/fbdev/au1200fb.c switch (var->bits_per_pixel) { bits_per_pixel 1118 drivers/video/fbdev/au1200fb.c print_dbg("Unsupported depth %dbpp", var->bits_per_pixel); bits_per_pixel 110 drivers/video/fbdev/broadsheetfb.c .bits_per_pixel = 8, bits_per_pixel 300 drivers/video/fbdev/bw2.c info->var.blue.length = info->var.bits_per_pixel; bits_per_pixel 194 drivers/video/fbdev/carminefb.c var->bits_per_pixel = 32; bits_per_pixel 427 drivers/video/fbdev/carminefb.c info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8; bits_per_pixel 98 drivers/video/fbdev/chipsfb.c || (var->bits_per_pixel != 8 && var->bits_per_pixel != 16) bits_per_pixel 111 drivers/video/fbdev/chipsfb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 316 drivers/video/fbdev/chipsfb.c .bits_per_pixel = 8, bits_per_pixel 397 drivers/video/fbdev/cirrusfb.c static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel, bits_per_pixel 402 drivers/video/fbdev/cirrusfb.c static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel, bits_per_pixel 479 drivers/video/fbdev/cirrusfb.c unsigned maxclockidx = var->bits_per_pixel >> 3; bits_per_pixel 501 drivers/video/fbdev/cirrusfb.c if (var->bits_per_pixel == 8) { bits_per_pixel 523 drivers/video/fbdev/cirrusfb.c var->bits_per_pixel == 16) { bits_per_pixel 535 drivers/video/fbdev/cirrusfb.c unsigned pixels = info->screen_size * 8 / var->bits_per_pixel; bits_per_pixel 538 drivers/video/fbdev/cirrusfb.c switch (var->bits_per_pixel) { bits_per_pixel 573 drivers/video/fbdev/cirrusfb.c "Unsupported bpp size: %d\n", var->bits_per_pixel); bits_per_pixel 594 drivers/video/fbdev/cirrusfb.c var->bits_per_pixel); bits_per_pixel 673 drivers/video/fbdev/cirrusfb.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 675 drivers/video/fbdev/cirrusfb.c switch (var->bits_per_pixel) { bits_per_pixel 689 drivers/video/fbdev/cirrusfb.c var->bits_per_pixel >> 3; bits_per_pixel 837 drivers/video/fbdev/cirrusfb.c if (var->bits_per_pixel == 24) bits_per_pixel 940 drivers/video/fbdev/cirrusfb.c if (var->bits_per_pixel == 1) { bits_per_pixel 1017 drivers/video/fbdev/cirrusfb.c else if (var->bits_per_pixel == 8) { bits_per_pixel 1086 drivers/video/fbdev/cirrusfb.c else if (var->bits_per_pixel == 16) { bits_per_pixel 1145 drivers/video/fbdev/cirrusfb.c else if (var->bits_per_pixel == 24) { bits_per_pixel 1202 drivers/video/fbdev/cirrusfb.c var->bits_per_pixel); bits_per_pixel 1301 drivers/video/fbdev/cirrusfb.c if (info->var.bits_per_pixel == 8) bits_per_pixel 1326 drivers/video/fbdev/cirrusfb.c xoffset = var->xoffset * info->var.bits_per_pixel / 8; bits_per_pixel 1330 drivers/video/fbdev/cirrusfb.c if (info->var.bits_per_pixel == 1) { bits_per_pixel 1371 drivers/video/fbdev/cirrusfb.c if (info->var.bits_per_pixel == 1) bits_per_pixel 1736 drivers/video/fbdev/cirrusfb.c int m = info->var.bits_per_pixel; bits_per_pixel 1762 drivers/video/fbdev/cirrusfb.c info->var.bits_per_pixel, bits_per_pixel 1775 drivers/video/fbdev/cirrusfb.c int m = info->var.bits_per_pixel; bits_per_pixel 1802 drivers/video/fbdev/cirrusfb.c cirrusfb_BitBLT(cinfo->regbase, info->var.bits_per_pixel, bits_per_pixel 1814 drivers/video/fbdev/cirrusfb.c unsigned char op = (info->var.bits_per_pixel == 24) ? 0xc : 0x4; bits_per_pixel 1826 drivers/video/fbdev/cirrusfb.c int m = info->var.bits_per_pixel; bits_per_pixel 1829 drivers/video/fbdev/cirrusfb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 1836 drivers/video/fbdev/cirrusfb.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 1839 drivers/video/fbdev/cirrusfb.c info->var.bits_per_pixel, bits_per_pixel 1847 drivers/video/fbdev/cirrusfb.c info->var.bits_per_pixel, bits_per_pixel 1995 drivers/video/fbdev/cirrusfb.c if (var->bits_per_pixel == 16) bits_per_pixel 1997 drivers/video/fbdev/cirrusfb.c if (var->bits_per_pixel == 32) bits_per_pixel 2008 drivers/video/fbdev/cirrusfb.c if (var->bits_per_pixel == 1) bits_per_pixel 2655 drivers/video/fbdev/cirrusfb.c static void cirrusfb_BitBLT(u8 __iomem *regbase, int bits_per_pixel, bits_per_pixel 2699 drivers/video/fbdev/cirrusfb.c static void cirrusfb_RectFill(u8 __iomem *regbase, int bits_per_pixel, bits_per_pixel 2715 drivers/video/fbdev/cirrusfb.c if (bits_per_pixel >= 16) { bits_per_pixel 2720 drivers/video/fbdev/cirrusfb.c if (bits_per_pixel >= 24) { bits_per_pixel 2725 drivers/video/fbdev/cirrusfb.c if (bits_per_pixel == 32) { bits_per_pixel 50 drivers/video/fbdev/clps711x-fb.c if (regno >= BIT(info->var.bits_per_pixel)) bits_per_pixel 72 drivers/video/fbdev/clps711x-fb.c if (var->bits_per_pixel < 1 || bits_per_pixel 73 drivers/video/fbdev/clps711x-fb.c var->bits_per_pixel > CLPS711X_FB_BPP_MAX) bits_per_pixel 83 drivers/video/fbdev/clps711x-fb.c val = DIV_ROUND_UP(var->yres * var->xres * var->bits_per_pixel, 128); bits_per_pixel 93 drivers/video/fbdev/clps711x-fb.c var->red.length = var->bits_per_pixel; bits_per_pixel 96 drivers/video/fbdev/clps711x-fb.c var->grayscale = var->bits_per_pixel > 1; bits_per_pixel 107 drivers/video/fbdev/clps711x-fb.c size = (info->var.xres * info->var.yres * info->var.bits_per_pixel) / 8; bits_per_pixel 111 drivers/video/fbdev/clps711x-fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 123 drivers/video/fbdev/clps711x-fb.c info->fix.line_length = info->var.xres * info->var.bits_per_pixel / 8; bits_per_pixel 127 drivers/video/fbdev/clps711x-fb.c info->var.bits_per_pixel) / 128 - 1; bits_per_pixel 136 drivers/video/fbdev/clps711x-fb.c if (info->var.bits_per_pixel == 4) bits_per_pixel 138 drivers/video/fbdev/clps711x-fb.c if (info->var.bits_per_pixel >= 2) bits_per_pixel 295 drivers/video/fbdev/clps711x-fb.c &info->var.bits_per_pixel); bits_per_pixel 88 drivers/video/fbdev/controlfb.c return (!DIRTY(bits_per_pixel) && !DIRTY(xres) bits_per_pixel 829 drivers/video/fbdev/controlfb.c switch (var->bits_per_pixel) { bits_per_pixel 972 drivers/video/fbdev/controlfb.c var->bits_per_pixel = 8; bits_per_pixel 978 drivers/video/fbdev/controlfb.c var->bits_per_pixel = 16; bits_per_pixel 986 drivers/video/fbdev/controlfb.c var->bits_per_pixel = 32; bits_per_pixel 407 drivers/video/fbdev/core/cfbcopyarea.c dst_idx += dy*bits_per_line + dx*p->var.bits_per_pixel; bits_per_pixel 408 drivers/video/fbdev/core/cfbcopyarea.c src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; bits_per_pixel 419 drivers/video/fbdev/core/cfbcopyarea.c width*p->var.bits_per_pixel, bswapmask); bits_per_pixel 425 drivers/video/fbdev/core/cfbcopyarea.c width*p->var.bits_per_pixel, bswapmask); bits_per_pixel 283 drivers/video/fbdev/core/cfbfillrect.c u32 bpp = p->var.bits_per_pixel; bits_per_pixel 83 drivers/video/fbdev/core/cfbimgblt.c int i, n, bpp = p->var.bits_per_pixel; bits_per_pixel 143 drivers/video/fbdev/core/cfbimgblt.c u32 shift, color = 0, bpp = p->var.bits_per_pixel; bits_per_pixel 219 drivers/video/fbdev/core/cfbimgblt.c u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; bits_per_pixel 268 drivers/video/fbdev/core/cfbimgblt.c u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; bits_per_pixel 148 drivers/video/fbdev/core/fb_draw.h unsigned bpp = info->var.bits_per_pixel; bits_per_pixel 928 drivers/video/fbdev/core/fbcon.c disp->bits_per_pixel = var->bits_per_pixel; bits_per_pixel 952 drivers/video/fbdev/core/fbcon.c var->bits_per_pixel = disp->bits_per_pixel; bits_per_pixel 1069 drivers/video/fbdev/core/fbcon.c info->var.bits_per_pixel); bits_per_pixel 42 drivers/video/fbdev/core/fbcon.h u32 bits_per_pixel; bits_per_pixel 223 drivers/video/fbdev/core/fbsysfs.c var.bits_per_pixel = simple_strtoul(buf, last, 0); bits_per_pixel 233 drivers/video/fbdev/core/fbsysfs.c return snprintf(buf, PAGE_SIZE, "%d\n", fb_info->var.bits_per_pixel); bits_per_pixel 493 drivers/video/fbdev/core/fbsysfs.c __ATTR(bits_per_pixel, S_IRUGO|S_IWUSR, show_bpp, store_bpp), bits_per_pixel 556 drivers/video/fbdev/core/modedb.c var->bits_per_pixel = bpp; bits_per_pixel 175 drivers/video/fbdev/core/svgalib.c pr_debug("fb%d: var.bits_per_pixel: %d\n", node, var->bits_per_pixel); bits_per_pixel 354 drivers/video/fbdev/core/svgalib.c if (var->bits_per_pixel == 0) { bits_per_pixel 360 drivers/video/fbdev/core/svgalib.c caps->x = (var->bits_per_pixel == 4) ? 1 << (8 - 1) : ~(u32)0; bits_per_pixel 607 drivers/video/fbdev/core/svgalib.c while (frm->bits_per_pixel != SVGA_FORMAT_END_VAL) bits_per_pixel 609 drivers/video/fbdev/core/svgalib.c if ((var->bits_per_pixel == frm->bits_per_pixel) && bits_per_pixel 616 drivers/video/fbdev/core/svgalib.c if (var->bits_per_pixel == frm->bits_per_pixel) bits_per_pixel 631 drivers/video/fbdev/core/svgalib.c var->bits_per_pixel = frm[i].bits_per_pixel; bits_per_pixel 340 drivers/video/fbdev/core/syscopyarea.c dst_idx += dy*bits_per_line + dx*p->var.bits_per_pixel; bits_per_pixel 341 drivers/video/fbdev/core/syscopyarea.c src_idx += sy*bits_per_line + sx*p->var.bits_per_pixel; bits_per_pixel 352 drivers/video/fbdev/core/syscopyarea.c width*p->var.bits_per_pixel); bits_per_pixel 358 drivers/video/fbdev/core/syscopyarea.c width*p->var.bits_per_pixel); bits_per_pixel 248 drivers/video/fbdev/core/sysfillrect.c u32 bpp = p->var.bits_per_pixel; bits_per_pixel 58 drivers/video/fbdev/core/sysimgblt.c int i, n, bpp = p->var.bits_per_pixel; bits_per_pixel 115 drivers/video/fbdev/core/sysimgblt.c u32 shift, color = 0, bpp = p->var.bits_per_pixel; bits_per_pixel 189 drivers/video/fbdev/core/sysimgblt.c u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; bits_per_pixel 243 drivers/video/fbdev/core/sysimgblt.c u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; bits_per_pixel 171 drivers/video/fbdev/cyber2000fb.c if (cfb->fb.var.bits_per_pixel > 8) bits_per_pixel 176 drivers/video/fbdev/cyber2000fb.c if (cfb->fb.var.bits_per_pixel == 24) { bits_per_pixel 218 drivers/video/fbdev/cyber2000fb.c if (cfb->fb.var.bits_per_pixel == 24) { bits_per_pixel 541 drivers/video/fbdev/cyber2000fb.c base *= var->bits_per_pixel; bits_per_pixel 769 drivers/video/fbdev/cyber2000fb.c switch (var->bits_per_pixel) { bits_per_pixel 837 drivers/video/fbdev/cyber2000fb.c mem = var->xres_virtual * var->yres_virtual * (var->bits_per_pixel / 8); bits_per_pixel 840 drivers/video/fbdev/cyber2000fb.c (var->bits_per_pixel * var->xres_virtual); bits_per_pixel 868 drivers/video/fbdev/cyber2000fb.c switch (var->bits_per_pixel) { bits_per_pixel 933 drivers/video/fbdev/cyber2000fb.c cfb->fb.fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 951 drivers/video/fbdev/cyber2000fb.c if (var->bits_per_pixel == 8) bits_per_pixel 1573 drivers/video/fbdev/cyber2000fb.c (cfb->fb.var.bits_per_pixel * cfb->fb.var.xres_virtual); bits_per_pixel 607 drivers/video/fbdev/da8xx-fb.c if (info->var.bits_per_pixel > 16 && lcd_revision == LCD_VERSION_1) bits_per_pixel 617 drivers/video/fbdev/da8xx-fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 943 drivers/video/fbdev/da8xx-fb.c int bpp = var->bits_per_pixel >> 3; bits_per_pixel 946 drivers/video/fbdev/da8xx-fb.c if (var->bits_per_pixel > 16 && lcd_revision == LCD_VERSION_1) bits_per_pixel 949 drivers/video/fbdev/da8xx-fb.c switch (var->bits_per_pixel) { bits_per_pixel 1232 drivers/video/fbdev/da8xx-fb.c new_var.xoffset * fbi->var.bits_per_pixel / 8; bits_per_pixel 1268 drivers/video/fbdev/da8xx-fb.c par->cfg.bpp = info->var.bits_per_pixel; bits_per_pixel 1282 drivers/video/fbdev/da8xx-fb.c info->var.xoffset * info->var.bits_per_pixel / 8; bits_per_pixel 1465 drivers/video/fbdev/da8xx-fb.c da8xx_fb_var.bits_per_pixel = lcd_cfg->bpp; bits_per_pixel 1473 drivers/video/fbdev/da8xx-fb.c da8xx_fb_info->fix.visual = (da8xx_fb_info->var.bits_per_pixel <= 8) ? bits_per_pixel 124 drivers/video/fbdev/dnfb.c .bits_per_pixel = 1, bits_per_pixel 402 drivers/video/fbdev/efifb.c efifb_defined.bits_per_pixel = screen_info.lfb_depth; bits_per_pixel 501 drivers/video/fbdev/efifb.c efifb_defined.bits_per_pixel, efifb_fix.line_length, bits_per_pixel 166 drivers/video/fbdev/ep93xx-fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 279 drivers/video/fbdev/ep93xx-fb.c info->var.bits_per_pixel / 8; bits_per_pixel 283 drivers/video/fbdev/ep93xx-fb.c ep93xxfb_writel(fbi, ((info->var.xres * info->var.bits_per_pixel) bits_per_pixel 558 drivers/video/fbdev/ep93xx-fb.c info->var.xres, info->var.yres, info->var.bits_per_pixel); bits_per_pixel 74 drivers/video/fbdev/fb-puv3.c .bits_per_pixel = 16, bits_per_pixel 120 drivers/video/fbdev/fb-puv3.c int m_iBpp = info->var.bits_per_pixel; bits_per_pixel 208 drivers/video/fbdev/fb-puv3.c int m_iBpp = info->var.bits_per_pixel; bits_per_pixel 367 drivers/video/fbdev/fb-puv3.c if (var->bits_per_pixel <= 1) bits_per_pixel 368 drivers/video/fbdev/fb-puv3.c var->bits_per_pixel = 1; bits_per_pixel 369 drivers/video/fbdev/fb-puv3.c else if (var->bits_per_pixel <= 8) bits_per_pixel 370 drivers/video/fbdev/fb-puv3.c var->bits_per_pixel = 8; bits_per_pixel 371 drivers/video/fbdev/fb-puv3.c else if (var->bits_per_pixel <= 16) bits_per_pixel 372 drivers/video/fbdev/fb-puv3.c var->bits_per_pixel = 16; bits_per_pixel 373 drivers/video/fbdev/fb-puv3.c else if (var->bits_per_pixel <= 24) bits_per_pixel 374 drivers/video/fbdev/fb-puv3.c var->bits_per_pixel = 24; bits_per_pixel 375 drivers/video/fbdev/fb-puv3.c else if (var->bits_per_pixel <= 32) bits_per_pixel 376 drivers/video/fbdev/fb-puv3.c var->bits_per_pixel = 32; bits_per_pixel 389 drivers/video/fbdev/fb-puv3.c get_line_length(var->xres_virtual, var->bits_per_pixel); bits_per_pixel 398 drivers/video/fbdev/fb-puv3.c switch (var->bits_per_pixel) { bits_per_pixel 505 drivers/video/fbdev/fb-puv3.c info->var.bits_per_pixel); bits_per_pixel 515 drivers/video/fbdev/fb-puv3.c switch (info->var.bits_per_pixel) { bits_per_pixel 535 drivers/video/fbdev/fb-puv3.c info->var.bits_per_pixel) >> 3, UDE_PS); bits_per_pixel 596 drivers/video/fbdev/fb-puv3.c switch (info->var.bits_per_pixel) { bits_per_pixel 713 drivers/video/fbdev/fsl-diu-fb.c if ((var->bits_per_pixel != 32) && (var->bits_per_pixel != 24) && bits_per_pixel 714 drivers/video/fbdev/fsl-diu-fb.c (var->bits_per_pixel != 16)) bits_per_pixel 715 drivers/video/fbdev/fsl-diu-fb.c var->bits_per_pixel = default_bpp; bits_per_pixel 717 drivers/video/fbdev/fsl-diu-fb.c switch (var->bits_per_pixel) { bits_per_pixel 791 drivers/video/fbdev/fsl-diu-fb.c fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 926 drivers/video/fbdev/fsl-diu-fb.c static u32 fsl_diu_get_pixel_format(unsigned int bits_per_pixel) bits_per_pixel 956 drivers/video/fbdev/fsl-diu-fb.c switch (bits_per_pixel) { bits_per_pixel 967 drivers/video/fbdev/fsl-diu-fb.c pr_err("fsl-diu: unsupported color depth %u\n", bits_per_pixel); bits_per_pixel 1155 drivers/video/fbdev/fsl-diu-fb.c var->bits_per_pixel); bits_per_pixel 1157 drivers/video/fbdev/fsl-diu-fb.c ad->pix_fmt = fsl_diu_get_pixel_format(var->bits_per_pixel); bits_per_pixel 1540 drivers/video/fbdev/fsl-diu-fb.c info->var.bits_per_pixel = default_bpp; bits_per_pixel 84 drivers/video/fbdev/g364fb.c .bits_per_pixel = 8, bits_per_pixel 234 drivers/video/fbdev/g364fb.c fb_fix.line_length = (xres / 8) * fb_var.bits_per_pixel; bits_per_pixel 94 drivers/video/fbdev/gbefb.c .bits_per_pixel = 8, bits_per_pixel 125 drivers/video/fbdev/gbefb.c .bits_per_pixel = 8, bits_per_pixel 653 drivers/video/fbdev/gbefb.c bytesPerPixel = info->var.bits_per_pixel / 8; bits_per_pixel 828 drivers/video/fbdev/gbefb.c switch (var->bits_per_pixel) { bits_per_pixel 839 drivers/video/fbdev/gbefb.c fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 862 drivers/video/fbdev/gbefb.c if (info->var.bits_per_pixel <= 8) { bits_per_pixel 875 drivers/video/fbdev/gbefb.c switch (info->var.bits_per_pixel) { bits_per_pixel 908 drivers/video/fbdev/gbefb.c if (var->bits_per_pixel <= 8) bits_per_pixel 909 drivers/video/fbdev/gbefb.c var->bits_per_pixel = 8; bits_per_pixel 910 drivers/video/fbdev/gbefb.c else if (var->bits_per_pixel <= 16) bits_per_pixel 911 drivers/video/fbdev/gbefb.c var->bits_per_pixel = 16; bits_per_pixel 912 drivers/video/fbdev/gbefb.c else if (var->bits_per_pixel <= 32) bits_per_pixel 913 drivers/video/fbdev/gbefb.c var->bits_per_pixel = 32; bits_per_pixel 919 drivers/video/fbdev/gbefb.c if ((var->xres * var->yres * var->bits_per_pixel) & 4095) bits_per_pixel 945 drivers/video/fbdev/gbefb.c line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 949 drivers/video/fbdev/gbefb.c switch (var->bits_per_pixel) { bits_per_pixel 104 drivers/video/fbdev/geode/display_gx.c ((info->var.xres * info->var.bits_per_pixel/8) >> 3) + 2); bits_per_pixel 112 drivers/video/fbdev/geode/display_gx.c switch (info->var.bits_per_pixel) { bits_per_pixel 135 drivers/video/fbdev/geode/display_gx1.c writel(((info->var.xres * info->var.bits_per_pixel/8) >> 3) + 2, bits_per_pixel 140 drivers/video/fbdev/geode/display_gx1.c if (info->var.bits_per_pixel == 8) ocfg |= DC_OCFG_8BPP; bits_per_pixel 108 drivers/video/fbdev/geode/gx1fb_core.c if (var->bits_per_pixel == 16) { bits_per_pixel 113 drivers/video/fbdev/geode/gx1fb_core.c } else if (var->bits_per_pixel == 8) { bits_per_pixel 122 drivers/video/fbdev/geode/gx1fb_core.c if (gx1_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) bits_per_pixel 134 drivers/video/fbdev/geode/gx1fb_core.c if (info->var.bits_per_pixel == 16) bits_per_pixel 139 drivers/video/fbdev/geode/gx1fb_core.c info->fix.line_length = gx1_line_delta(info->var.xres, info->var.bits_per_pixel); bits_per_pixel 129 drivers/video/fbdev/geode/gxfb_core.c if ((var->xres > 1280 || var->yres > 1024) && var->bits_per_pixel > 16) bits_per_pixel 132 drivers/video/fbdev/geode/gxfb_core.c if (var->bits_per_pixel == 32) { bits_per_pixel 136 drivers/video/fbdev/geode/gxfb_core.c } else if (var->bits_per_pixel == 16) { bits_per_pixel 140 drivers/video/fbdev/geode/gxfb_core.c } else if (var->bits_per_pixel == 8) { bits_per_pixel 149 drivers/video/fbdev/geode/gxfb_core.c if (gx_line_delta(var->xres, var->bits_per_pixel) * var->yres > info->fix.smem_len) bits_per_pixel 159 drivers/video/fbdev/geode/gxfb_core.c if (info->var.bits_per_pixel > 8) bits_per_pixel 164 drivers/video/fbdev/geode/gxfb_core.c info->fix.line_length = gx_line_delta(info->var.xres, info->var.bits_per_pixel); bits_per_pixel 240 drivers/video/fbdev/geode/lxfb_core.c if (var->bits_per_pixel == 32) { bits_per_pixel 244 drivers/video/fbdev/geode/lxfb_core.c } else if (var->bits_per_pixel == 16) { bits_per_pixel 248 drivers/video/fbdev/geode/lxfb_core.c } else if (var->bits_per_pixel == 8) { bits_per_pixel 258 drivers/video/fbdev/geode/lxfb_core.c if ((lx_get_pitch(var->xres, var->bits_per_pixel) * var->yres) bits_per_pixel 267 drivers/video/fbdev/geode/lxfb_core.c if (info->var.bits_per_pixel > 8) bits_per_pixel 273 drivers/video/fbdev/geode/lxfb_core.c info->var.bits_per_pixel); bits_per_pixel 415 drivers/video/fbdev/geode/lxfb_ops.c size = info->var.xres * (info->var.bits_per_pixel >> 3); bits_per_pixel 447 drivers/video/fbdev/geode/lxfb_ops.c switch (info->var.bits_per_pixel) { bits_per_pixel 109 drivers/video/fbdev/goldfishfb.c (var->bits_per_pixel != info->var.bits_per_pixel) || bits_per_pixel 227 drivers/video/fbdev/goldfishfb.c fb->fb.var.bits_per_pixel = 16; bits_per_pixel 88 drivers/video/fbdev/grvga.c if (var->bits_per_pixel <= 8) bits_per_pixel 89 drivers/video/fbdev/grvga.c var->bits_per_pixel = 8; bits_per_pixel 90 drivers/video/fbdev/grvga.c else if (var->bits_per_pixel <= 16) bits_per_pixel 91 drivers/video/fbdev/grvga.c var->bits_per_pixel = 16; bits_per_pixel 92 drivers/video/fbdev/grvga.c else if (var->bits_per_pixel <= 24) bits_per_pixel 93 drivers/video/fbdev/grvga.c var->bits_per_pixel = 24; bits_per_pixel 94 drivers/video/fbdev/grvga.c else if (var->bits_per_pixel <= 32) bits_per_pixel 95 drivers/video/fbdev/grvga.c var->bits_per_pixel = 32; bits_per_pixel 103 drivers/video/fbdev/grvga.c if ((var->yres_virtual*var->xres_virtual*var->bits_per_pixel/8) > info->fix.smem_len) bits_per_pixel 117 drivers/video/fbdev/grvga.c switch (info->var.bits_per_pixel) { bits_per_pixel 163 drivers/video/fbdev/grvga.c switch (info->var.bits_per_pixel) { bits_per_pixel 184 drivers/video/fbdev/grvga.c info->fix.line_length = (info->var.xres_virtual*info->var.bits_per_pixel)/8; bits_per_pixel 315 drivers/video/fbdev/grvga.c screendata->bits_per_pixel = simple_strtoul(this_opt, NULL, 0); bits_per_pixel 417 drivers/video/fbdev/grvga.c grvga_mem_size = info->var.xres_virtual * info->var.yres_virtual * info->var.bits_per_pixel/8; bits_per_pixel 476 drivers/video/fbdev/grvga.c info->node, info->var.xres, info->var.yres, info->var.bits_per_pixel, bits_per_pixel 296 drivers/video/fbdev/gxt4500.c switch (var->bits_per_pixel) { bits_per_pixel 328 drivers/video/fbdev/gxt4500.c var->bits_per_pixel = pixsize[pixfmt] * 8; bits_per_pixel 66 drivers/video/fbdev/hecubafb.c .bits_per_pixel = 1, bits_per_pixel 114 drivers/video/fbdev/hgafb.c .bits_per_pixel = 1, bits_per_pixel 134 drivers/video/fbdev/hitfb.c if (p->var.bits_per_pixel == 16) { bits_per_pixel 152 drivers/video/fbdev/hitfb.c hitfb_accel_bitblt(p->var.bits_per_pixel == 16, area->sx, area->sy, bits_per_pixel 213 drivers/video/fbdev/hitfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 246 drivers/video/fbdev/hitfb.c if ((var->bits_per_pixel != 8) && (var->bits_per_pixel != 16)) bits_per_pixel 247 drivers/video/fbdev/hitfb.c var->bits_per_pixel = info->var.bits_per_pixel; bits_per_pixel 254 drivers/video/fbdev/hitfb.c if (var->bits_per_pixel == 16) bits_per_pixel 263 drivers/video/fbdev/hitfb.c switch (var->bits_per_pixel) { bits_per_pixel 293 drivers/video/fbdev/hitfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 309 drivers/video/fbdev/hitfb.c ldr3 |= (info->var.bits_per_pixel == 8) ? 4 : 8; bits_per_pixel 348 drivers/video/fbdev/hitfb.c hitfb_var.bits_per_pixel = 8; bits_per_pixel 352 drivers/video/fbdev/hitfb.c hitfb_var.bits_per_pixel = 16; bits_per_pixel 357 drivers/video/fbdev/hitfb.c hitfb_fix.visual = (hitfb_var.bits_per_pixel == 8) ? bits_per_pixel 362 drivers/video/fbdev/hitfb.c switch (hitfb_var.bits_per_pixel) { bits_per_pixel 251 drivers/video/fbdev/hpfb.c hpfb_defined.bits_per_pixel = in_8(fb_regs + HPFB_NUMPLANES); bits_per_pixel 256 drivers/video/fbdev/hpfb.c hpfb_defined.xres, hpfb_defined.yres, hpfb_defined.bits_per_pixel, fb_info.fix.line_length); bits_per_pixel 294 drivers/video/fbdev/hpfb.c ret = fb_alloc_cmap(&fb_info.cmap, 1 << hpfb_defined.bits_per_pixel, 0); bits_per_pixel 270 drivers/video/fbdev/hyperv_fb.c msg.situ.video_output[0].depth_bits = info->var.bits_per_pixel; bits_per_pixel 553 drivers/video/fbdev/hyperv_fb.c var->bits_per_pixel != screen_depth) bits_per_pixel 798 drivers/video/fbdev/hyperv_fb.c info->var.bits_per_pixel = screen_depth; bits_per_pixel 800 drivers/video/fbdev/hyperv_fb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 410 drivers/video/fbdev/i740fb.c var->xoffset, var->yoffset, var->bits_per_pixel, bits_per_pixel 421 drivers/video/fbdev/i740fb.c bpp = var->bits_per_pixel; bits_per_pixel 660 drivers/video/fbdev/i740fb.c switch (var->bits_per_pixel) { bits_per_pixel 851 drivers/video/fbdev/i740fb.c info->var.xres_virtual * info->var.bits_per_pixel / 8; bits_per_pixel 852 drivers/video/fbdev/i740fb.c if (info->var.bits_per_pixel == 8) bits_per_pixel 867 drivers/video/fbdev/i740fb.c regno, red, green, blue, transp, info->var.bits_per_pixel); bits_per_pixel 906 drivers/video/fbdev/i740fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1016 drivers/video/fbdev/i740fb.c info->var.bits_per_pixel = 8; bits_per_pixel 1104 drivers/video/fbdev/i740fb.c NULL, info->var.bits_per_pixel); bits_per_pixel 1117 drivers/video/fbdev/i740fb.c (info->var.bits_per_pixel * info->var.xres_virtual); bits_per_pixel 378 drivers/video/fbdev/i810/i810_accel.c switch (info->var.bits_per_pixel) { bits_per_pixel 286 drivers/video/fbdev/i810/i810_dvt.c switch (var->bits_per_pixel) { bits_per_pixel 298 drivers/video/fbdev/i810/i810_dvt.c switch (var->bits_per_pixel) { bits_per_pixel 231 drivers/video/fbdev/i810/i810_gtf.c switch (var->bits_per_pixel) { bits_per_pixel 246 drivers/video/fbdev/i810/i810_gtf.c switch(var->bits_per_pixel) { bits_per_pixel 884 drivers/video/fbdev/i810/i810_main.c var->bits_per_pixel += 7; bits_per_pixel 885 drivers/video/fbdev/i810/i810_main.c var->bits_per_pixel &= ~7; bits_per_pixel 887 drivers/video/fbdev/i810/i810_main.c if (var->bits_per_pixel < 8) bits_per_pixel 888 drivers/video/fbdev/i810/i810_main.c var->bits_per_pixel = 8; bits_per_pixel 889 drivers/video/fbdev/i810/i810_main.c if (var->bits_per_pixel > 32) bits_per_pixel 890 drivers/video/fbdev/i810/i810_main.c var->bits_per_pixel = 32; bits_per_pixel 911 drivers/video/fbdev/i810/i810_main.c if (var->bits_per_pixel == 32) bits_per_pixel 942 drivers/video/fbdev/i810/i810_main.c switch (var->bits_per_pixel) { bits_per_pixel 971 drivers/video/fbdev/i810/i810_main.c var->transp.length = var->bits_per_pixel - 24; bits_per_pixel 1001 drivers/video/fbdev/i810/i810_main.c line_length = get_line_length(par, vxres, var->bits_per_pixel); bits_per_pixel 1009 drivers/video/fbdev/i810/i810_main.c vxres /= var->bits_per_pixel >> 3; bits_per_pixel 1011 drivers/video/fbdev/i810/i810_main.c var->bits_per_pixel); bits_per_pixel 1018 drivers/video/fbdev/i810/i810_main.c var->bits_per_pixel); bits_per_pixel 1030 drivers/video/fbdev/i810/i810_main.c switch (var->bits_per_pixel) { bits_per_pixel 1103 drivers/video/fbdev/i810/i810_main.c switch (info->var.bits_per_pixel) { bits_per_pixel 1146 drivers/video/fbdev/i810/i810_main.c switch (var->bits_per_pixel) { bits_per_pixel 1175 drivers/video/fbdev/i810/i810_main.c if (var->nonstd && var->bits_per_pixel != 8) bits_per_pixel 1183 drivers/video/fbdev/i810/i810_main.c par->pitch = get_line_length(par, vxres, var->bits_per_pixel); bits_per_pixel 1332 drivers/video/fbdev/i810/i810_main.c switch (info->var.bits_per_pixel) { bits_per_pixel 1800 drivers/video/fbdev/i810/i810_main.c info->var.bits_per_pixel = bpp; bits_per_pixel 1952 drivers/video/fbdev/i810/i810_main.c info->var.bits_per_pixel); bits_per_pixel 2090 drivers/video/fbdev/i810/i810_main.c info->var.yres, info->var.bits_per_pixel, vfreq); bits_per_pixel 749 drivers/video/fbdev/imsttfb.c + ((var->xoffset * (info->var.bits_per_pixel >> 3)) >> 3); bits_per_pixel 782 drivers/video/fbdev/imsttfb.c if ((var->bits_per_pixel != 8 && var->bits_per_pixel != 16 bits_per_pixel 783 drivers/video/fbdev/imsttfb.c && var->bits_per_pixel != 24 && var->bits_per_pixel != 32) bits_per_pixel 789 drivers/video/fbdev/imsttfb.c if ((var->xres * var->yres) * (var->bits_per_pixel >> 3) > info->fix.smem_len bits_per_pixel 790 drivers/video/fbdev/imsttfb.c || (var->xres_virtual * var->yres_virtual) * (var->bits_per_pixel >> 3) > info->fix.smem_len) bits_per_pixel 793 drivers/video/fbdev/imsttfb.c switch (var->bits_per_pixel) { bits_per_pixel 840 drivers/video/fbdev/imsttfb.c var->yres_virtual = ((vram << 3) / var->bits_per_pixel) / var->xres_virtual; bits_per_pixel 870 drivers/video/fbdev/imsttfb.c set_imstt_regvals(info, info->var.bits_per_pixel); bits_per_pixel 880 drivers/video/fbdev/imsttfb.c u_int bpp = info->var.bits_per_pixel; bits_per_pixel 997 drivers/video/fbdev/imsttfb.c Bpp = info->var.bits_per_pixel >> 3, bits_per_pixel 1038 drivers/video/fbdev/imsttfb.c Bpp = info->var.bits_per_pixel >> 3, bits_per_pixel 1408 drivers/video/fbdev/imsttfb.c info->var.bits_per_pixel = INIT_BPP; bits_per_pixel 1415 drivers/video/fbdev/imsttfb.c info->var.bits_per_pixel = INIT_BPP; bits_per_pixel 1418 drivers/video/fbdev/imsttfb.c if ((info->var.xres * info->var.yres) * (info->var.bits_per_pixel >> 3) > info->fix.smem_len bits_per_pixel 1420 drivers/video/fbdev/imsttfb.c printk("imsttfb: %ux%ux%u not supported\n", info->var.xres, info->var.yres, info->var.bits_per_pixel); bits_per_pixel 1429 drivers/video/fbdev/imsttfb.c info->fix.visual = info->var.bits_per_pixel == 8 ? FB_VISUAL_PSEUDOCOLOR bits_per_pixel 1431 drivers/video/fbdev/imsttfb.c info->fix.line_length = info->var.xres * (info->var.bits_per_pixel >> 3); bits_per_pixel 1444 drivers/video/fbdev/imsttfb.c set_imstt_regvals(info, info->var.bits_per_pixel); bits_per_pixel 371 drivers/video/fbdev/imxfb.c var->bits_per_pixel = imxfb_mode->bpp; bits_per_pixel 383 drivers/video/fbdev/imxfb.c pr_debug("var->bits_per_pixel=%d\n", var->bits_per_pixel); bits_per_pixel 402 drivers/video/fbdev/imxfb.c switch (var->bits_per_pixel) { bits_per_pixel 464 drivers/video/fbdev/imxfb.c if (var->bits_per_pixel == 16 || var->bits_per_pixel == 32) bits_per_pixel 477 drivers/video/fbdev/imxfb.c info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 478 drivers/video/fbdev/imxfb.c fbi->palette_size = var->bits_per_pixel == 8 ? 256 : 16; bits_per_pixel 625 drivers/video/fbdev/imxfb.c writel(VPW_VPW(var->xres * var->bits_per_pixel / 8 / 4), bits_per_pixel 912 drivers/video/fbdev/intelfb/intelfbdrv.c var->bits_per_pixel, var->green.length); bits_per_pixel 914 drivers/video/fbdev/intelfb/intelfbdrv.c switch (var->bits_per_pixel) { bits_per_pixel 920 drivers/video/fbdev/intelfb/intelfbdrv.c return var->bits_per_pixel; bits_per_pixel 955 drivers/video/fbdev/intelfb/intelfbdrv.c var->bits_per_pixel = screen_info.lfb_depth; bits_per_pixel 958 drivers/video/fbdev/intelfb/intelfbdrv.c var->bits_per_pixel = 16; bits_per_pixel 961 drivers/video/fbdev/intelfb/intelfbdrv.c var->bits_per_pixel = 32; bits_per_pixel 970 drivers/video/fbdev/intelfb/intelfbdrv.c var->xres, var->yres, var->bits_per_pixel, bits_per_pixel 990 drivers/video/fbdev/intelfb/intelfbdrv.c if (var->bits_per_pixel > 8) { bits_per_pixel 1064 drivers/video/fbdev/intelfb/intelfbdrv.c var->bits_per_pixel, var_to_refresh(var)); bits_per_pixel 1072 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->fb.size / 2 / (var->bits_per_pixel * var->xres); bits_per_pixel 1128 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->bpp = var->bits_per_pixel; bits_per_pixel 1231 drivers/video/fbdev/intelfb/intelfbdrv.c if (v.bits_per_pixel <= 8) bits_per_pixel 1232 drivers/video/fbdev/intelfb/intelfbdrv.c v.bits_per_pixel = 8; bits_per_pixel 1233 drivers/video/fbdev/intelfb/intelfbdrv.c else if (v.bits_per_pixel <= 16) { bits_per_pixel 1234 drivers/video/fbdev/intelfb/intelfbdrv.c if (v.bits_per_pixel == 16) bits_per_pixel 1236 drivers/video/fbdev/intelfb/intelfbdrv.c v.bits_per_pixel = 16; bits_per_pixel 1237 drivers/video/fbdev/intelfb/intelfbdrv.c } else if (v.bits_per_pixel <= 32) bits_per_pixel 1238 drivers/video/fbdev/intelfb/intelfbdrv.c v.bits_per_pixel = 32; bits_per_pixel 1246 drivers/video/fbdev/intelfb/intelfbdrv.c (info->var.bits_per_pixel != var->bits_per_pixel) || bits_per_pixel 1331 drivers/video/fbdev/intelfb/intelfbdrv.c info->var.yres, info->var.bits_per_pixel); bits_per_pixel 1484 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch, info->var.bits_per_pixel, bits_per_pixel 1504 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch, info->var.bits_per_pixel); bits_per_pixel 1534 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->pitch, info->var.bits_per_pixel)) { bits_per_pixel 323 drivers/video/fbdev/intelfb/intelfbhw.c bytes_per_pixel = var->bits_per_pixel / 8; bits_per_pixel 400 drivers/video/fbdev/intelfb/intelfbhw.c (xoffset * info->var.bits_per_pixel) / 8; bits_per_pixel 1252 drivers/video/fbdev/intelfb/intelfbhw.c var->xoffset * var->bits_per_pixel / 8; bits_per_pixel 53 drivers/video/fbdev/kyro/fbdev.c .bits_per_pixel = 16, bits_per_pixel 312 drivers/video/fbdev/kyro/fbdev.c info->var.bits_per_pixel, bits_per_pixel 326 drivers/video/fbdev/kyro/fbdev.c info->var.bits_per_pixel; bits_per_pixel 397 drivers/video/fbdev/kyro/fbdev.c if (var->bits_per_pixel != 16 && var->bits_per_pixel != 32) { bits_per_pixel 398 drivers/video/fbdev/kyro/fbdev.c printk(KERN_WARNING "kyrofb: depth not supported: %u\n", var->bits_per_pixel); bits_per_pixel 402 drivers/video/fbdev/kyro/fbdev.c switch (var->bits_per_pixel) { bits_per_pixel 480 drivers/video/fbdev/kyro/fbdev.c par->PIXDEPTH = info->var.bits_per_pixel; bits_per_pixel 535 drivers/video/fbdev/kyro/fbdev.c switch (info->var.bits_per_pixel) { bits_per_pixel 722 drivers/video/fbdev/kyro/fbdev.c info->var.bits_per_pixel); bits_per_pixel 732 drivers/video/fbdev/kyro/fbdev.c info->var.xres, info->var.yres, info->var.bits_per_pixel, bits_per_pixel 194 drivers/video/fbdev/macfb.c unsigned int bpp = info->var.bits_per_pixel; bits_per_pixel 233 drivers/video/fbdev/macfb.c regno += 256 - (1 << info->var.bits_per_pixel); bits_per_pixel 283 drivers/video/fbdev/macfb.c unsigned int bpp = info->var.bits_per_pixel; bits_per_pixel 446 drivers/video/fbdev/macfb.c if (fb_info->var.bits_per_pixel <= 8) { bits_per_pixel 447 drivers/video/fbdev/macfb.c switch (fb_info->var.bits_per_pixel) { bits_per_pixel 462 drivers/video/fbdev/macfb.c switch (fb_info->var.bits_per_pixel) { bits_per_pixel 560 drivers/video/fbdev/macfb.c macfb_defined.bits_per_pixel = mac_bi_data.videodepth; bits_per_pixel 583 drivers/video/fbdev/macfb.c macfb_defined.bits_per_pixel, macfb_fix.line_length); bits_per_pixel 597 drivers/video/fbdev/macfb.c switch (macfb_defined.bits_per_pixel) { bits_per_pixel 599 drivers/video/fbdev/macfb.c macfb_defined.red.length = macfb_defined.bits_per_pixel; bits_per_pixel 600 drivers/video/fbdev/macfb.c macfb_defined.green.length = macfb_defined.bits_per_pixel; bits_per_pixel 601 drivers/video/fbdev/macfb.c macfb_defined.blue.length = macfb_defined.bits_per_pixel; bits_per_pixel 608 drivers/video/fbdev/macfb.c macfb_defined.red.length = macfb_defined.bits_per_pixel; bits_per_pixel 609 drivers/video/fbdev/macfb.c macfb_defined.green.length = macfb_defined.bits_per_pixel; bits_per_pixel 610 drivers/video/fbdev/macfb.c macfb_defined.blue.length = macfb_defined.bits_per_pixel; bits_per_pixel 611 drivers/video/fbdev/macfb.c video_cmap_len = 1 << macfb_defined.bits_per_pixel; bits_per_pixel 643 drivers/video/fbdev/macfb.c macfb_defined.bits_per_pixel); bits_per_pixel 237 drivers/video/fbdev/macmodes.c var->bits_per_pixel = 8; bits_per_pixel 247 drivers/video/fbdev/macmodes.c var->bits_per_pixel = 16; bits_per_pixel 257 drivers/video/fbdev/macmodes.c var->bits_per_pixel = 32; bits_per_pixel 308 drivers/video/fbdev/macmodes.c if (var->bits_per_pixel <= 8) bits_per_pixel 310 drivers/video/fbdev/macmodes.c else if (var->bits_per_pixel <= 16) bits_per_pixel 312 drivers/video/fbdev/macmodes.c else if (var->bits_per_pixel <= 32) bits_per_pixel 356 drivers/video/fbdev/matrox/matroxfb_DAC1064.c switch (minfo->fbcon.var.bits_per_pixel) { bits_per_pixel 392 drivers/video/fbdev/matrox/matroxfb_DAC1064.c if (minfo->fbcon.var.bits_per_pixel > 16) { /* 256 entries */ bits_per_pixel 400 drivers/video/fbdev/matrox/matroxfb_DAC1064.c } else if (minfo->fbcon.var.bits_per_pixel > 8) { bits_per_pixel 319 drivers/video/fbdev/matrox/matroxfb_Ti3026.c if (minfo->fbcon.var.bits_per_pixel == 24) { bits_per_pixel 338 drivers/video/fbdev/matrox/matroxfb_Ti3026.c if (minfo->fbcon.var.bits_per_pixel == 24) { bits_per_pixel 377 drivers/video/fbdev/matrox/matroxfb_Ti3026.c switch (minfo->fbcon.var.bits_per_pixel) { bits_per_pixel 129 drivers/video/fbdev/matrox/matroxfb_accel.c switch (minfo->fbcon.var.bits_per_pixel) { bits_per_pixel 161 drivers/video/fbdev/matrox/matroxfb_base.c if (info && (info->fbcon.var.bits_per_pixel == minfo->fbcon.var.bits_per_pixel) bits_per_pixel 165 drivers/video/fbdev/matrox/matroxfb_base.c switch (minfo->fbcon.var.bits_per_pixel) { bits_per_pixel 171 drivers/video/fbdev/matrox/matroxfb_base.c mga_outl(0x3C28, pos + minfo->fbcon.var.xres_virtual * minfo->fbcon.var.bits_per_pixel / 8); bits_per_pixel 510 drivers/video/fbdev/matrox/matroxfb_base.c switch (var->bits_per_pixel) { bits_per_pixel 551 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int bpp = var->bits_per_pixel; bits_per_pixel 638 drivers/video/fbdev/matrox/matroxfb_base.c dprintk(KERN_INFO "requested %d*%d/%dbpp (%d*%d)\n", var->xres, var->yres, var->bits_per_pixel, bits_per_pixel 671 drivers/video/fbdev/matrox/matroxfb_base.c switch (minfo->fbcon.var.bits_per_pixel) { bits_per_pixel 770 drivers/video/fbdev/matrox/matroxfb_base.c minfo->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; bits_per_pixel 778 drivers/video/fbdev/matrox/matroxfb_base.c if (var->bits_per_pixel == 4) bits_per_pixel 781 drivers/video/fbdev/matrox/matroxfb_base.c minfo->curr.ydstorg.pixels = (ydstorg * 8) / var->bits_per_pixel; bits_per_pixel 782 drivers/video/fbdev/matrox/matroxfb_base.c minfo->curr.final_bppShift = matroxfb_get_final_bppShift(minfo, var->bits_per_pixel); bits_per_pixel 790 drivers/video/fbdev/matrox/matroxfb_base.c switch (var->bits_per_pixel) { bits_per_pixel 1228 drivers/video/fbdev/matrox/matroxfb_base.c static struct { struct fb_bitfield red, green, blue, transp; int bits_per_pixel; } colors[] = { bits_per_pixel 1789 drivers/video/fbdev/matrox/matroxfb_base.c vesafb_defined.bits_per_pixel = colors[depth-1].bits_per_pixel; bits_per_pixel 1812 drivers/video/fbdev/matrox/matroxfb_base.c NULL, 0, &defaultmode, vesafb_defined.bits_per_pixel); bits_per_pixel 1913 drivers/video/fbdev/matrox/matroxfb_base.c vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, bits_per_pixel 52 drivers/video/fbdev/matrox/matroxfb_crtc2.c switch (m2info->fbcon.var.bits_per_pixel) { bits_per_pixel 123 drivers/video/fbdev/matrox/matroxfb_crtc2.c u_int32_t linelen = m2info->fbcon.var.xres_virtual * (m2info->fbcon.var.bits_per_pixel >> 3); bits_per_pixel 177 drivers/video/fbdev/matrox/matroxfb_crtc2.c pixelsize = m2info->fbcon.var.bits_per_pixel >> 3; bits_per_pixel 198 drivers/video/fbdev/matrox/matroxfb_crtc2.c switch (var->bits_per_pixel) { bits_per_pixel 213 drivers/video/fbdev/matrox/matroxfb_crtc2.c memlen = var->xres_virtual * var->yres_virtual * (var->bits_per_pixel >> 3); bits_per_pixel 226 drivers/video/fbdev/matrox/matroxfb_crtc2.c *mode = var->bits_per_pixel; bits_per_pixel 227 drivers/video/fbdev/matrox/matroxfb_crtc2.c if (var->bits_per_pixel == 16) { bits_per_pixel 341 drivers/video/fbdev/matrox/matroxfb_crtc2.c m2info->fbcon.fix.line_length = (var->xres_virtual * var->bits_per_pixel) >> 3; bits_per_pixel 354 drivers/video/fbdev/matrox/matroxfb_crtc2.c pos = (m2info->fbcon.var.yoffset * m2info->fbcon.var.xres_virtual + m2info->fbcon.var.xoffset) * m2info->fbcon.var.bits_per_pixel >> 3; bits_per_pixel 47 drivers/video/fbdev/maxinefb.c .bits_per_pixel =8, bits_per_pixel 310 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c if (info->var.bits_per_pixel == 32) { bits_per_pixel 66 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c return var->xres * var->bits_per_pixel / 8; bits_per_pixel 131 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c if (var->bits_per_pixel <= 8) bits_per_pixel 132 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->bits_per_pixel = 8; bits_per_pixel 133 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c else if (var->bits_per_pixel <= 16) bits_per_pixel 134 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->bits_per_pixel = 16; bits_per_pixel 135 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c else if (var->bits_per_pixel <= 32) bits_per_pixel 136 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->bits_per_pixel = 32; bits_per_pixel 145 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->bits_per_pixel = 0; bits_per_pixel 147 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->bits_per_pixel += 8; bits_per_pixel 149 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c } while (r && var->bits_per_pixel <= 32); bits_per_pixel 156 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c tmp = (var->xres * var->bits_per_pixel) / 8; bits_per_pixel 161 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c switch (var->bits_per_pixel) { bits_per_pixel 163 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->red.length = var->bits_per_pixel; bits_per_pixel 164 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->green.length = var->bits_per_pixel; bits_per_pixel 165 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c var->blue.length = var->bits_per_pixel; bits_per_pixel 228 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c if (fbi->var.bits_per_pixel == 16) bits_per_pixel 232 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c if (fbi->var.bits_per_pixel == 32) { bits_per_pixel 457 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->var.bits_per_pixel = 32; bits_per_pixel 461 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->var.bits_per_pixel = 16; bits_per_pixel 463 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->var.bits_per_pixel = 8; bits_per_pixel 478 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->var.bits_per_pixel = mode->def_bpp ? mode->def_bpp : 8; bits_per_pixel 511 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->fix.visual = fbi->var.bits_per_pixel == 8 ? bits_per_pixel 514 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c fbi->var.bits_per_pixel) / 8; bits_per_pixel 531 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c stride = par->l1_cfg.sw * (fbi->var.bits_per_pixel / 8); bits_per_pixel 87 drivers/video/fbdev/mbx/mbxfb.c .bits_per_pixel = 16, bits_per_pixel 199 drivers/video/fbdev/mbx/mbxfb.c switch (var->bits_per_pixel) { bits_per_pixel 221 drivers/video/fbdev/mbx/mbxfb.c var->transp.length = var->bits_per_pixel - 24; bits_per_pixel 242 drivers/video/fbdev/mbx/mbxfb.c info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 247 drivers/video/fbdev/mbx/mbxfb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 254 drivers/video/fbdev/mbx/mbxfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 277 drivers/video/fbdev/mbx/mbxfb.c gsadr |= Gsadr_Srcstride(info->var.xres * info->var.bits_per_pixel / bits_per_pixel 757 drivers/video/fbdev/mbx/mbxfb.c switch (fbi->var.bits_per_pixel) { bits_per_pixel 968 drivers/video/fbdev/mbx/mbxfb.c mbxfb_default.bits_per_pixel / 8; bits_per_pixel 118 drivers/video/fbdev/metronomefb.c .bits_per_pixel = 8, bits_per_pixel 19 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 8) bits_per_pixel 25 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 16 && var->red.length == 8 && bits_per_pixel 36 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 12 && var->red.length == 8 && bits_per_pixel 47 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 16 && var->red.length == 16 && bits_per_pixel 60 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 16 && var->red.length <= 5 && bits_per_pixel 73 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel <= 32 && var->red.length <= 8 && bits_per_pixel 75 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 24 && var->transp.length == 0) { bits_per_pixel 82 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 32 && var->transp.offset == 24) { bits_per_pixel 104 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 111 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 118 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 32; bits_per_pixel 125 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 32; bits_per_pixel 132 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 32; bits_per_pixel 139 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 32; bits_per_pixel 146 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 24; bits_per_pixel 153 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 24; bits_per_pixel 160 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 12; bits_per_pixel 167 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 12; bits_per_pixel 174 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 181 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 188 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 195 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 202 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 16; bits_per_pixel 209 drivers/video/fbdev/mmp/fb/mmpfb.c var->bits_per_pixel = 8; bits_per_pixel 279 drivers/video/fbdev/mmp/fb/mmpfb.c if (var->bits_per_pixel == 8) bits_per_pixel 293 drivers/video/fbdev/mmp/fb/mmpfb.c (var->bits_per_pixel >> 3) > fbi->fb_size) bits_per_pixel 343 drivers/video/fbdev/mmp/fb/mmpfb.c * var->bits_per_pixel / 8 + fbi->fb_start_dma; bits_per_pixel 377 drivers/video/fbdev/mmp/fb/mmpfb.c info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 422 drivers/video/fbdev/mmp/fb/mmpfb.c * var->bits_per_pixel / 8 + fbi->fb_start_dma; bits_per_pixel 442 drivers/video/fbdev/mmp/fb/mmpfb.c * var->bits_per_pixel / 8; bits_per_pixel 522 drivers/video/fbdev/mmp/fb/mmpfb.c info->var.bits_per_pixel / 8; bits_per_pixel 603 drivers/video/fbdev/mmp/fb/mmpfb.c * info->var.bits_per_pixel / 8; bits_per_pixel 745 drivers/video/fbdev/mx3fb.c fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 869 drivers/video/fbdev/mx3fb.c video->out_pixel_fmt = bpp_to_pixfmt(fbi->var.bits_per_pixel); bits_per_pixel 938 drivers/video/fbdev/mx3fb.c if ((var->bits_per_pixel != 32) && (var->bits_per_pixel != 24) && bits_per_pixel 939 drivers/video/fbdev/mx3fb.c (var->bits_per_pixel != 16)) bits_per_pixel 940 drivers/video/fbdev/mx3fb.c var->bits_per_pixel = default_bpp; bits_per_pixel 942 drivers/video/fbdev/mx3fb.c switch (var->bits_per_pixel) { bits_per_pixel 1169 drivers/video/fbdev/mx3fb.c + var->xoffset * (fbi->var.bits_per_pixel / 8); bits_per_pixel 523 drivers/video/fbdev/neofb.c switch (var->bits_per_pixel) { bits_per_pixel 641 drivers/video/fbdev/neofb.c switch (var->bits_per_pixel) { bits_per_pixel 683 drivers/video/fbdev/neofb.c var->bits_per_pixel); bits_per_pixel 694 drivers/video/fbdev/neofb.c memlen = var->xres_virtual * var->bits_per_pixel * var->yres_virtual >> 3; bits_per_pixel 698 drivers/video/fbdev/neofb.c var->bits_per_pixel); bits_per_pixel 699 drivers/video/fbdev/neofb.c memlen = var->xres_virtual * var->bits_per_pixel * bits_per_pixel 716 drivers/video/fbdev/neofb.c if (var->bits_per_pixel >= 24 || !par->neo2200) bits_per_pixel 753 drivers/video/fbdev/neofb.c switch (info->var.bits_per_pixel) { bits_per_pixel 941 drivers/video/fbdev/neofb.c info->var.bits_per_pixel); bits_per_pixel 1014 drivers/video/fbdev/neofb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1154 drivers/video/fbdev/neofb.c info->var.xres_virtual * (info->var.bits_per_pixel >> 3); bits_per_pixel 1183 drivers/video/fbdev/neofb.c Base *= (info->var.bits_per_pixel + 7) / 8; bits_per_pixel 1212 drivers/video/fbdev/neofb.c if (fb->var.bits_per_pixel <= 8) { bits_per_pixel 1219 drivers/video/fbdev/neofb.c switch (fb->var.bits_per_pixel) { bits_per_pixel 1378 drivers/video/fbdev/neofb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1389 drivers/video/fbdev/neofb.c writel(dst * ((info->var.bits_per_pixel + 7) >> 3), bits_per_pixel 1414 drivers/video/fbdev/neofb.c src = sx * (info->var.bits_per_pixel >> 3) + sy*info->fix.line_length; bits_per_pixel 1415 drivers/video/fbdev/neofb.c dst = dx * (info->var.bits_per_pixel >> 3) + dy*info->fix.line_length; bits_per_pixel 1444 drivers/video/fbdev/neofb.c if (info->var.bits_per_pixel == 24 && image->width < 16) { bits_per_pixel 1454 drivers/video/fbdev/neofb.c } else if (image->depth == info->var.bits_per_pixel) { bits_per_pixel 1463 drivers/video/fbdev/neofb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1484 drivers/video/fbdev/neofb.c writel(((image->dx & 0xffff) * (info->var.bits_per_pixel >> 3) + bits_per_pixel 236 drivers/video/fbdev/nvidia/nv_accel.c switch (info->var.bits_per_pixel) { bits_per_pixel 331 drivers/video/fbdev/nvidia/nv_accel.c if (info->var.bits_per_pixel == 8) bits_per_pixel 356 drivers/video/fbdev/nvidia/nv_accel.c u32 fg, bg, mask = ~(~0 >> (32 - info->var.bits_per_pixel)); bits_per_pixel 363 drivers/video/fbdev/nvidia/nv_accel.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 96 drivers/video/fbdev/nvidia/nvidia.c .bits_per_pixel = 8, bits_per_pixel 359 drivers/video/fbdev/nvidia/nvidia.c (info->var.bits_per_pixel / 8)); bits_per_pixel 630 drivers/video/fbdev/nvidia/nvidia.c info->fix.visual = (info->var.bits_per_pixel == 8) ? bits_per_pixel 661 drivers/video/fbdev/nvidia/nvidia.c info->var.bits_per_pixel) >> 3; bits_per_pixel 689 drivers/video/fbdev/nvidia/nvidia.c info->var.bits_per_pixel, info->fix.line_length); bits_per_pixel 720 drivers/video/fbdev/nvidia/nvidia.c switch (info->var.bits_per_pixel) { bits_per_pixel 775 drivers/video/fbdev/nvidia/nvidia.c if (var->bits_per_pixel <= 8) bits_per_pixel 776 drivers/video/fbdev/nvidia/nvidia.c var->bits_per_pixel = 8; bits_per_pixel 777 drivers/video/fbdev/nvidia/nvidia.c else if (var->bits_per_pixel <= 16) bits_per_pixel 778 drivers/video/fbdev/nvidia/nvidia.c var->bits_per_pixel = 16; bits_per_pixel 780 drivers/video/fbdev/nvidia/nvidia.c var->bits_per_pixel = 32; bits_per_pixel 782 drivers/video/fbdev/nvidia/nvidia.c switch (var->bits_per_pixel) { bits_per_pixel 874 drivers/video/fbdev/nvidia/nvidia.c pitch = ((var->xres_virtual * var->bits_per_pixel) + 7) / 8; bits_per_pixel 883 drivers/video/fbdev/nvidia/nvidia.c var->xres_virtual /= var->bits_per_pixel / 8; bits_per_pixel 886 drivers/video/fbdev/nvidia/nvidia.c var->bits_per_pixel + 7) / 8; bits_per_pixel 894 drivers/video/fbdev/nvidia/nvidia.c var->yres_virtual, var->bits_per_pixel); bits_per_pixel 1134 drivers/video/fbdev/nvidia/nvidia.c nvidiafb_default_var.bits_per_pixel = bpp; bits_per_pixel 1149 drivers/video/fbdev/nvidia/nvidia.c info->fix.visual = (info->var.bits_per_pixel == 8) ? bits_per_pixel 1158 drivers/video/fbdev/nvidia/nvidia.c ((info->var.bits_per_pixel + 7) >> 3); bits_per_pixel 142 drivers/video/fbdev/ocfb.c switch (var->bits_per_pixel) { bits_per_pixel 196 drivers/video/fbdev/ocfb.c if (info->var.bits_per_pixel == 8 && !info->var.grayscale) { bits_per_pixel 218 drivers/video/fbdev/ocfb.c fix->line_length = var->xres * var->bits_per_pixel/8; bits_per_pixel 222 drivers/video/fbdev/ocfb.c if (var->bits_per_pixel == 8 && !var->grayscale) bits_per_pixel 239 drivers/video/fbdev/ocfb.c switch (var->bits_per_pixel) { bits_per_pixel 450 drivers/video/fbdev/offb.c var->bits_per_pixel = 8; bits_per_pixel 461 drivers/video/fbdev/offb.c var->bits_per_pixel = 16; bits_per_pixel 472 drivers/video/fbdev/offb.c var->bits_per_pixel = 16; bits_per_pixel 483 drivers/video/fbdev/offb.c var->bits_per_pixel = 32; bits_per_pixel 188 drivers/video/fbdev/omap/omapfb_main.c var->xoffset * var->bits_per_pixel / 8; bits_per_pixel 392 drivers/video/fbdev/omap/omapfb_main.c bpp = var->bits_per_pixel; bits_per_pixel 395 drivers/video/fbdev/omap/omapfb_main.c else switch (var->bits_per_pixel) { bits_per_pixel 420 drivers/video/fbdev/omap/omapfb_main.c var->bits_per_pixel = 16; bits_per_pixel 424 drivers/video/fbdev/omap/omapfb_main.c var->bits_per_pixel = 12; bits_per_pixel 428 drivers/video/fbdev/omap/omapfb_main.c var->bits_per_pixel = 16; bits_per_pixel 435 drivers/video/fbdev/omap/omapfb_main.c switch (var->bits_per_pixel) { bits_per_pixel 449 drivers/video/fbdev/omap/omapfb_main.c var->bits_per_pixel = 16; bits_per_pixel 481 drivers/video/fbdev/omap/omapfb_main.c bpp = var->bits_per_pixel; bits_per_pixel 1465 drivers/video/fbdev/omap/omapfb_main.c var->bits_per_pixel = fbdev->panel->bpp; bits_per_pixel 549 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c mode->bits_per_pixel = var.bits_per_pixel; bits_per_pixel 59 drivers/video/fbdev/omap2/omapfb/omapfb-main.c const unsigned bytespp = var->bits_per_pixel >> 3; bits_per_pixel 66 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (var->bits_per_pixel == 16) { bits_per_pixel 75 drivers/video/fbdev/omap2/omapfb/omapfb-main.c } else if (var->bits_per_pixel == 24) { bits_per_pixel 82 drivers/video/fbdev/omap2/omapfb/omapfb-main.c } else if (var->bits_per_pixel == 32) { bits_per_pixel 125 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (var->bits_per_pixel == 16) { bits_per_pixel 207 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 16, bits_per_pixel 211 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 16, bits_per_pixel 215 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 16, bits_per_pixel 222 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 16, bits_per_pixel 229 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 24, bits_per_pixel 236 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 32, bits_per_pixel 243 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 32, bits_per_pixel 250 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 32, bits_per_pixel 257 drivers/video/fbdev/omap2/omapfb/omapfb-main.c .bits_per_pixel = 32, bits_per_pixel 275 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (var->bits_per_pixel == 0 || bits_per_pixel 281 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return var->bits_per_pixel == color->bits_per_pixel && bits_per_pixel 291 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->bits_per_pixel = color->bits_per_pixel; bits_per_pixel 331 drivers/video/fbdev/omap2/omapfb/omapfb-main.c switch (var->bits_per_pixel) { bits_per_pixel 411 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (var->xres_virtual * var->bits_per_pixel >> 3); bits_per_pixel 425 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (var->bits_per_pixel >> 3); bits_per_pixel 438 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->yres_virtual, var->bits_per_pixel >> 3); bits_per_pixel 447 drivers/video/fbdev/omap2/omapfb/omapfb-main.c int bytespp = var->bits_per_pixel >> 3; bits_per_pixel 512 drivers/video/fbdev/omap2/omapfb/omapfb-main.c bytespp = var->bits_per_pixel >> 3; bits_per_pixel 562 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (OMAP_VRFB_LINE_LEN * var->bits_per_pixel) >> 2; bits_per_pixel 566 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (OMAP_VRFB_LINE_LEN * var->bits_per_pixel) >> 3; bits_per_pixel 608 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (OMAP_VRFB_LINE_LEN * var->bits_per_pixel) >> 2; bits_per_pixel 612 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (OMAP_VRFB_LINE_LEN * var->bits_per_pixel) >> 3; bits_per_pixel 619 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (var->xres_virtual * var->bits_per_pixel) >> 3; bits_per_pixel 630 drivers/video/fbdev/omap2/omapfb/omapfb-main.c switch (var->bits_per_pixel) { bits_per_pixel 766 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->xoffset * (var->bits_per_pixel >> 3); bits_per_pixel 781 drivers/video/fbdev/omap2/omapfb/omapfb-main.c (var->bits_per_pixel >> 3); bits_per_pixel 787 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->xoffset * (var->bits_per_pixel >> 3); bits_per_pixel 790 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->xoffset * (var->bits_per_pixel >> 3); bits_per_pixel 793 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->yoffset * (var->bits_per_pixel >> 3); bits_per_pixel 796 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->yoffset * (var->bits_per_pixel >> 3); bits_per_pixel 882 drivers/video/fbdev/omap2/omapfb/omapfb-main.c / (var->bits_per_pixel >> 2); bits_per_pixel 887 drivers/video/fbdev/omap2/omapfb/omapfb-main.c screen_width = fix->line_length / (var->bits_per_pixel >> 3); bits_per_pixel 1748 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->bits_per_pixel = 0; bits_per_pixel 1770 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (!var->bits_per_pixel) { bits_per_pixel 1773 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->bits_per_pixel = 16; bits_per_pixel 1776 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->bits_per_pixel = 32; bits_per_pixel 1790 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (!var->bits_per_pixel) bits_per_pixel 1791 drivers/video/fbdev/omap2/omapfb/omapfb-main.c var->bits_per_pixel = 16; bits_per_pixel 2082 drivers/video/fbdev/omap2/omapfb/omapfb-main.c switch (var->bits_per_pixel) { bits_per_pixel 102 drivers/video/fbdev/omap2/omapfb/omapfb.h u32 bits_per_pixel; bits_per_pixel 451 drivers/video/fbdev/platinumfb.c printk(KERN_ERR "platinum_var_to_par: var->bits_per_pixel = %d\n", var->bits_per_pixel); bits_per_pixel 122 drivers/video/fbdev/pm2fb.c .bits_per_pixel = 8, bits_per_pixel 567 drivers/video/fbdev/pm2fb.c if (var->bits_per_pixel != 8 && var->bits_per_pixel != 16 && bits_per_pixel 568 drivers/video/fbdev/pm2fb.c var->bits_per_pixel != 24 && var->bits_per_pixel != 32) { bits_per_pixel 569 drivers/video/fbdev/pm2fb.c DPRINTK("depth not supported: %u\n", var->bits_per_pixel); bits_per_pixel 601 drivers/video/fbdev/pm2fb.c lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); bits_per_pixel 615 drivers/video/fbdev/pm2fb.c var->xres, var->yres_virtual, var->bits_per_pixel); bits_per_pixel 627 drivers/video/fbdev/pm2fb.c switch (var->bits_per_pixel) { bits_per_pixel 671 drivers/video/fbdev/pm2fb.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 688 drivers/video/fbdev/pm2fb.c u32 depth = (info->var.bits_per_pixel + 7) & ~7; bits_per_pixel 847 drivers/video/fbdev/pm2fb.c info->var.xres, info->var.yres, info->var.bits_per_pixel); bits_per_pixel 938 drivers/video/fbdev/pm2fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 971 drivers/video/fbdev/pm2fb.c u32 depth = (info->var.bits_per_pixel + 7) & ~7; bits_per_pixel 1076 drivers/video/fbdev/pm2fb.c if (info->var.bits_per_pixel == 8) bits_per_pixel 1078 drivers/video/fbdev/pm2fb.c if (info->var.bits_per_pixel <= 16) bits_per_pixel 1085 drivers/video/fbdev/pm2fb.c if (info->var.bits_per_pixel != 24) { bits_per_pixel 1180 drivers/video/fbdev/pm2fb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 1184 drivers/video/fbdev/pm2fb.c if (info->var.bits_per_pixel <= 16) { bits_per_pixel 1204 drivers/video/fbdev/pm2fb.c if (info->var.bits_per_pixel == 24) { bits_per_pixel 175 drivers/video/fbdev/pm3fb.c if (var->bits_per_pixel == 16) bits_per_pixel 179 drivers/video/fbdev/pm3fb.c return var->bits_per_pixel; bits_per_pixel 289 drivers/video/fbdev/pm3fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 310 drivers/video/fbdev/pm3fb.c info->var.bits_per_pixel); bits_per_pixel 338 drivers/video/fbdev/pm3fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 411 drivers/video/fbdev/pm3fb.c if (info->var.bits_per_pixel == 8) bits_per_pixel 413 drivers/video/fbdev/pm3fb.c if (info->var.bits_per_pixel <= 16) bits_per_pixel 540 drivers/video/fbdev/pm3fb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 544 drivers/video/fbdev/pm3fb.c if (info->var.bits_per_pixel <= 16) { bits_per_pixel 731 drivers/video/fbdev/pm3fb.c const unsigned bpp = info->var.bits_per_pixel; bits_per_pixel 917 drivers/video/fbdev/pm3fb.c if (bpp != var->bits_per_pixel) { bits_per_pixel 920 drivers/video/fbdev/pm3fb.c switch (var->bits_per_pixel) { bits_per_pixel 945 drivers/video/fbdev/pm3fb.c var->bits_per_pixel); bits_per_pixel 950 drivers/video/fbdev/pm3fb.c if (var->bits_per_pixel > 8 ) { bits_per_pixel 982 drivers/video/fbdev/pm3fb.c lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); bits_per_pixel 996 drivers/video/fbdev/pm3fb.c var->xres, var->yres_virtual, var->bits_per_pixel); bits_per_pixel 1009 drivers/video/fbdev/pm3fb.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 1017 drivers/video/fbdev/pm3fb.c const unsigned bpp = info->var.bits_per_pixel; bits_per_pixel 1124 drivers/video/fbdev/pm3fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1145 drivers/video/fbdev/pm3fb.c par->base = pm3fb_shift_bpp(info->var.bits_per_pixel, bits_per_pixel 75 drivers/video/fbdev/pmag-aa-fb.c .bits_per_pixel = 8, bits_per_pixel 51 drivers/video/fbdev/pmag-ba-fb.c .bits_per_pixel = 8, bits_per_pixel 48 drivers/video/fbdev/pmagb-b-fb.c .bits_per_pixel = 8, bits_per_pixel 555 drivers/video/fbdev/ps3fb.c if (var->bits_per_pixel > 32 || var->grayscale || bits_per_pixel 566 drivers/video/fbdev/ps3fb.c var->bits_per_pixel = 32; bits_per_pixel 163 drivers/video/fbdev/pvr2fb.c .bits_per_pixel =16, bits_per_pixel 256 drivers/video/fbdev/pvr2fb.c switch (var->bits_per_pixel) { bits_per_pixel 295 drivers/video/fbdev/pvr2fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 314 drivers/video/fbdev/pvr2fb.c pr_debug("Invalid bit depth %d?!?\n", info->var.bits_per_pixel); bits_per_pixel 425 drivers/video/fbdev/pvr2fb.c line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); bits_per_pixel 451 drivers/video/fbdev/pvr2fb.c if (var->bits_per_pixel <= 16) bits_per_pixel 452 drivers/video/fbdev/pvr2fb.c var->bits_per_pixel = 16; bits_per_pixel 453 drivers/video/fbdev/pvr2fb.c else if (var->bits_per_pixel <= 24) bits_per_pixel 454 drivers/video/fbdev/pvr2fb.c var->bits_per_pixel = 24; bits_per_pixel 455 drivers/video/fbdev/pvr2fb.c else if (var->bits_per_pixel <= 32) bits_per_pixel 456 drivers/video/fbdev/pvr2fb.c var->bits_per_pixel = 32; bits_per_pixel 527 drivers/video/fbdev/pvr2fb.c line_length = get_line_length(var->xres_virtual, var->bits_per_pixel); bits_per_pixel 542 drivers/video/fbdev/pvr2fb.c get_line_length(var->xoffset+var->xres, var->bits_per_pixel), bits_per_pixel 557 drivers/video/fbdev/pvr2fb.c unsigned int bytesperpixel = var->bits_per_pixel >> 3; bits_per_pixel 568 drivers/video/fbdev/pvr2fb.c diw_width = get_line_length(var->xres, var->bits_per_pixel) / 4; bits_per_pixel 575 drivers/video/fbdev/pvr2fb.c get_line_length(var->xoffset+var->xres, var->bits_per_pixel), bits_per_pixel 817 drivers/video/fbdev/pvr2fb.c fb_info->var.bits_per_pixel); bits_per_pixel 828 drivers/video/fbdev/pvr2fb.c fb_info->var.bits_per_pixel, bits_per_pixel 829 drivers/video/fbdev/pvr2fb.c get_line_length(fb_info->var.xres, fb_info->var.bits_per_pixel), bits_per_pixel 42 drivers/video/fbdev/pxa168fb.c if (var->bits_per_pixel == 8) bits_per_pixel 48 drivers/video/fbdev/pxa168fb.c if (var->bits_per_pixel == 16 && var->red.length <= 5 && bits_per_pixel 70 drivers/video/fbdev/pxa168fb.c if (var->bits_per_pixel <= 32 && var->red.length <= 8 && bits_per_pixel 72 drivers/video/fbdev/pxa168fb.c if (var->bits_per_pixel == 24 && var->transp.length == 0) { bits_per_pixel 79 drivers/video/fbdev/pxa168fb.c if (var->bits_per_pixel == 32 && var->transp.length == 8) { bits_per_pixel 101 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 16; bits_per_pixel 108 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 16; bits_per_pixel 115 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 16; bits_per_pixel 122 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 16; bits_per_pixel 129 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 24; bits_per_pixel 136 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 24; bits_per_pixel 143 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 32; bits_per_pixel 150 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 32; bits_per_pixel 157 drivers/video/fbdev/pxa168fb.c var->bits_per_pixel = 8; bits_per_pixel 178 drivers/video/fbdev/pxa168fb.c (var->xres_virtual * (var->bits_per_pixel >> 3)); bits_per_pixel 228 drivers/video/fbdev/pxa168fb.c (var->bits_per_pixel >> 3) > info->fix.smem_len) bits_per_pixel 360 drivers/video/fbdev/pxa168fb.c addr = fbi->fb_start_dma + (pixel_offset * (var->bits_per_pixel >> 3)); bits_per_pixel 416 drivers/video/fbdev/pxa168fb.c info->fix.line_length = var->xres_virtual * var->bits_per_pixel / 8; bits_per_pixel 447 drivers/video/fbdev/pxa168fb.c x = (x & ~0xFFFF) | ((var->xres_virtual * var->bits_per_pixel) >> 3); bits_per_pixel 583 drivers/video/fbdev/pxa168fb.c (var->xres_virtual * (var->bits_per_pixel >> 3)); bits_per_pixel 253 drivers/video/fbdev/pxafb.c switch (var->bits_per_pixel) { bits_per_pixel 324 drivers/video/fbdev/pxafb.c depth = var->bits_per_pixel; bits_per_pixel 326 drivers/video/fbdev/pxafb.c if (var->bits_per_pixel < 16) { bits_per_pixel 360 drivers/video/fbdev/pxafb.c return var->pixclock * 8 * 16 / var->bits_per_pixel; bits_per_pixel 381 drivers/video/fbdev/pxafb.c modelist[i].bpp >= var->bits_per_pixel) { bits_per_pixel 396 drivers/video/fbdev/pxafb.c var->bits_per_pixel = mode->bpp; bits_per_pixel 430 drivers/video/fbdev/pxafb.c line_length = var->xres * var->bits_per_pixel / 8; bits_per_pixel 432 drivers/video/fbdev/pxafb.c var->xres = line_length * 8 / var->bits_per_pixel; bits_per_pixel 504 drivers/video/fbdev/pxafb.c if (var->bits_per_pixel >= 16) bits_per_pixel 518 drivers/video/fbdev/pxafb.c var->bits_per_pixel / 8; bits_per_pixel 519 drivers/video/fbdev/pxafb.c if (var->bits_per_pixel >= 16) bits_per_pixel 522 drivers/video/fbdev/pxafb.c fbi->palette_size = var->bits_per_pixel == 1 ? bits_per_pixel 523 drivers/video/fbdev/pxafb.c 4 : 1 << var->bits_per_pixel; bits_per_pixel 527 drivers/video/fbdev/pxafb.c if (fbi->fb.var.bits_per_pixel >= 16) bits_per_pixel 530 drivers/video/fbdev/pxafb.c fb_alloc_cmap(&fbi->fb.cmap, 1<<fbi->fb.var.bits_per_pixel, 0); bits_per_pixel 823 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_RGB: bpp = var->bits_per_pixel; break; bits_per_pixel 1113 drivers/video/fbdev/pxafb.c int nbytes, dma, pal, bpp = var->bits_per_pixel; bits_per_pixel 44 drivers/video/fbdev/q40fb.c .bits_per_pixel = 16, bits_per_pixel 225 drivers/video/fbdev/riva/fbdev.c .bits_per_pixel = 8, bits_per_pixel 685 drivers/video/fbdev/riva/fbdev.c bpp = info->var.bits_per_pixel; bits_per_pixel 918 drivers/video/fbdev/riva/fbdev.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 1091 drivers/video/fbdev/riva/fbdev.c switch (var->bits_per_pixel) { bits_per_pixel 1095 drivers/video/fbdev/riva/fbdev.c var->bits_per_pixel = 8; bits_per_pixel 1102 drivers/video/fbdev/riva/fbdev.c var->bits_per_pixel = 16; bits_per_pixel 1128 drivers/video/fbdev/riva/fbdev.c var->bits_per_pixel = 32; bits_per_pixel 1138 drivers/video/fbdev/riva/fbdev.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 1204 drivers/video/fbdev/riva/fbdev.c info->fix.line_length = (info->var.xres_virtual * (info->var.bits_per_pixel >> 3)); bits_per_pixel 1205 drivers/video/fbdev/riva/fbdev.c info->fix.visual = (info->var.bits_per_pixel == 8) ? bits_per_pixel 1326 drivers/video/fbdev/riva/fbdev.c switch (info->var.bits_per_pixel) { bits_per_pixel 1341 drivers/video/fbdev/riva/fbdev.c switch (info->var.bits_per_pixel) { bits_per_pixel 1400 drivers/video/fbdev/riva/fbdev.c if (info->var.bits_per_pixel == 8) bits_per_pixel 1505 drivers/video/fbdev/riva/fbdev.c switch (info->var.bits_per_pixel) { bits_per_pixel 1712 drivers/video/fbdev/riva/fbdev.c info->fix.visual = (info->var.bits_per_pixel == 8) ? bits_per_pixel 1811 drivers/video/fbdev/riva/fbdev.c var->bits_per_pixel = 8; bits_per_pixel 172 drivers/video/fbdev/s1d13xxxfb.c info->var.bits_per_pixel = 16; bits_per_pixel 204 drivers/video/fbdev/s1d13xxxfb.c dbg("s1d13xxxfb_set_par: bpp=%d\n", info->var.bits_per_pixel); bits_per_pixel 213 drivers/video/fbdev/s1d13xxxfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 242 drivers/video/fbdev/s1d13xxxfb.c info->fix.line_length = info->var.xres * info->var.bits_per_pixel; bits_per_pixel 446 drivers/video/fbdev/s1d13xxxfb.c bpp = (info->var.bits_per_pixel >> 3); bits_per_pixel 528 drivers/video/fbdev/s1d13xxxfb.c u16 bpp = (info->var.bits_per_pixel >> 3); bits_per_pixel 546 drivers/video/fbdev/s1d13xxxfb.c info->var.bits_per_pixel); bits_per_pixel 583 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL1, (info->var.bits_per_pixel >> 4)); bits_per_pixel 667 drivers/video/fbdev/s1d13xxxfb.c var->bits_per_pixel = 8; bits_per_pixel 701 drivers/video/fbdev/s1d13xxxfb.c xres_virtual = offset * 16 / var->bits_per_pixel; bits_per_pixel 718 drivers/video/fbdev/s1d13xxxfb.c var->bits_per_pixel, lcd_bpp, crt_enabled, lcd_enabled); bits_per_pixel 250 drivers/video/fbdev/s3c-fb.c if (!s3c_fb_validate_win_bpp(win, var->bits_per_pixel)) { bits_per_pixel 252 drivers/video/fbdev/s3c-fb.c win->index, var->bits_per_pixel); bits_per_pixel 260 drivers/video/fbdev/s3c-fb.c switch (var->bits_per_pixel) { bits_per_pixel 277 drivers/video/fbdev/s3c-fb.c var->red.length = var->bits_per_pixel; bits_per_pixel 289 drivers/video/fbdev/s3c-fb.c var->bits_per_pixel = 32; bits_per_pixel 313 drivers/video/fbdev/s3c-fb.c var->transp.length = var->bits_per_pixel - 24; bits_per_pixel 318 drivers/video/fbdev/s3c-fb.c var->bits_per_pixel = 32; bits_per_pixel 503 drivers/video/fbdev/s3c-fb.c switch (var->bits_per_pixel) { bits_per_pixel 524 drivers/video/fbdev/s3c-fb.c info->fix.line_length = (var->xres_virtual * var->bits_per_pixel) / 8; bits_per_pixel 545 drivers/video/fbdev/s3c-fb.c pagewidth = (var->xres * var->bits_per_pixel) >> 3; bits_per_pixel 558 drivers/video/fbdev/s3c-fb.c data = VIDOSDxB_BOTRIGHT_X(s3c_fb_align_word(var->bits_per_pixel, bits_per_pixel 561 drivers/video/fbdev/s3c-fb.c VIDOSDxB_BOTRIGHT_X_E(s3c_fb_align_word(var->bits_per_pixel, bits_per_pixel 590 drivers/video/fbdev/s3c-fb.c switch (var->bits_per_pixel) { bits_per_pixel 877 drivers/video/fbdev/s3c-fb.c if (info->var.bits_per_pixel >= 8) { bits_per_pixel 878 drivers/video/fbdev/s3c-fb.c start_boff += var->xoffset * (info->var.bits_per_pixel >> 3); bits_per_pixel 880 drivers/video/fbdev/s3c-fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1244 drivers/video/fbdev/s3c-fb.c fbinfo->var.bits_per_pixel = windata->default_bpp; bits_per_pixel 139 drivers/video/fbdev/s3c2410fb.c var->bits_per_pixel == default_display->bpp) bits_per_pixel 146 drivers/video/fbdev/s3c2410fb.c var->bits_per_pixel == mach_info->displays[i].bpp) { bits_per_pixel 153 drivers/video/fbdev/s3c2410fb.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 179 drivers/video/fbdev/s3c2410fb.c switch (var->bits_per_pixel) { bits_per_pixel 184 drivers/video/fbdev/s3c2410fb.c var->red.length = var->bits_per_pixel; bits_per_pixel 264 drivers/video/fbdev/s3c2410fb.c switch (var->bits_per_pixel) { bits_per_pixel 286 drivers/video/fbdev/s3c2410fb.c var->bits_per_pixel); bits_per_pixel 317 drivers/video/fbdev/s3c2410fb.c switch (var->bits_per_pixel) { bits_per_pixel 347 drivers/video/fbdev/s3c2410fb.c var->bits_per_pixel); bits_per_pixel 385 drivers/video/fbdev/s3c2410fb.c dprintk("%s: var->bpp = %d\n", __func__, var->bits_per_pixel); bits_per_pixel 432 drivers/video/fbdev/s3c2410fb.c switch (var->bits_per_pixel) { bits_per_pixel 446 drivers/video/fbdev/s3c2410fb.c info->fix.line_length = (var->xres_virtual * var->bits_per_pixel) / 8; bits_per_pixel 965 drivers/video/fbdev/s3c2410fb.c fbinfo->var.bits_per_pixel = display->bpp; bits_per_pixel 433 drivers/video/fbdev/s3fb.c if ((info->var.bits_per_pixel == 4) && (image->depth == 1) bits_per_pixel 445 drivers/video/fbdev/s3fb.c if ((info->var.bits_per_pixel == 4) bits_per_pixel 577 drivers/video/fbdev/s3fb.c mem = ((var->bits_per_pixel * var->xres_virtual) >> 3) * var->yres_virtual; bits_per_pixel 606 drivers/video/fbdev/s3fb.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 918 drivers/video/fbdev/s3fb.c switch (fb->var.bits_per_pixel) { bits_per_pixel 924 drivers/video/fbdev/s3fb.c if ((fb->var.bits_per_pixel == 4) && bits_per_pixel 1020 drivers/video/fbdev/s3fb.c if (info->var.bits_per_pixel == 0) { bits_per_pixel 1026 drivers/video/fbdev/s3fb.c (var->xoffset * info->var.bits_per_pixel / 8); bits_per_pixel 1262 drivers/video/fbdev/s3fb.c info->var.bits_per_pixel = 8; bits_per_pixel 1307 drivers/video/fbdev/s3fb.c NULL, info->var.bits_per_pixel); bits_per_pixel 1322 drivers/video/fbdev/s3fb.c (info->var.bits_per_pixel * info->var.xres_virtual); bits_per_pixel 260 drivers/video/fbdev/sa1100fb.c switch (var->bits_per_pixel) { bits_per_pixel 357 drivers/video/fbdev/sa1100fb.c return var->pixclock * 8 * 16 / var->bits_per_pixel; bits_per_pixel 385 drivers/video/fbdev/sa1100fb.c dev_dbg(fbi->dev, "var->bits_per_pixel=%d\n", var->bits_per_pixel); bits_per_pixel 386 drivers/video/fbdev/sa1100fb.c switch (var->bits_per_pixel) { bits_per_pixel 445 drivers/video/fbdev/sa1100fb.c if (var->bits_per_pixel == 16) bits_per_pixel 459 drivers/video/fbdev/sa1100fb.c var->bits_per_pixel / 8; bits_per_pixel 460 drivers/video/fbdev/sa1100fb.c fbi->palette_size = var->bits_per_pixel == 8 ? 256 : 16; bits_per_pixel 488 drivers/video/fbdev/sa1100fb.c if (!kspc && (fbi->fb.var.bits_per_pixel == 16 || fbi->inf->cmap_static)) bits_per_pixel 686 drivers/video/fbdev/sa1100fb.c half_screen_size = var->bits_per_pixel; bits_per_pixel 757 drivers/video/fbdev/sa1100fb.c if (fbi->fb.var.bits_per_pixel > 8 || bits_per_pixel 1128 drivers/video/fbdev/sa1100fb.c fbi->fb.var.bits_per_pixel = inf->bpp; bits_per_pixel 874 drivers/video/fbdev/savage/savagefb_driver.c switch (var->bits_per_pixel) { bits_per_pixel 879 drivers/video/fbdev/savage/savagefb_driver.c var->blue.length = var->bits_per_pixel; bits_per_pixel 945 drivers/video/fbdev/savage/savagefb_driver.c memlen = var->xres_virtual * var->bits_per_pixel * bits_per_pixel 949 drivers/video/fbdev/savage/savagefb_driver.c (var->xres_virtual * var->bits_per_pixel); bits_per_pixel 950 drivers/video/fbdev/savage/savagefb_driver.c memlen = var->xres_virtual * var->bits_per_pixel * bits_per_pixel 999 drivers/video/fbdev/savage/savagefb_driver.c par->depth = var->bits_per_pixel; bits_per_pixel 1002 drivers/video/fbdev/savage/savagefb_driver.c if (var->bits_per_pixel == 16 && par->chip == S3_SAVAGE3D) { bits_per_pixel 1020 drivers/video/fbdev/savage/savagefb_driver.c switch(var->bits_per_pixel) { bits_per_pixel 1098 drivers/video/fbdev/savage/savagefb_driver.c if (var->bits_per_pixel < 24) bits_per_pixel 1139 drivers/video/fbdev/savage/savagefb_driver.c width = (var->xres_virtual * ((var->bits_per_pixel+7) / 8)) >> 3; bits_per_pixel 1147 drivers/video/fbdev/savage/savagefb_driver.c if (var->bits_per_pixel <= 8) bits_per_pixel 1149 drivers/video/fbdev/savage/savagefb_driver.c else if (var->bits_per_pixel <= 16) bits_per_pixel 1217 drivers/video/fbdev/savage/savagefb_driver.c switch (info->var.bits_per_pixel) { bits_per_pixel 1488 drivers/video/fbdev/savage/savagefb_driver.c info->var.bits_per_pixel / 8; bits_per_pixel 1490 drivers/video/fbdev/savage/savagefb_driver.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 1512 drivers/video/fbdev/savage/savagefb_driver.c if (var->bits_per_pixel > 24) bits_per_pixel 1514 drivers/video/fbdev/savage/savagefb_driver.c else if (var->bits_per_pixel >= 24) bits_per_pixel 1516 drivers/video/fbdev/savage/savagefb_driver.c else if ((var->bits_per_pixel > 8) && (var->bits_per_pixel < 24)) bits_per_pixel 1518 drivers/video/fbdev/savage/savagefb_driver.c else if (var->bits_per_pixel <= 8) bits_per_pixel 1545 drivers/video/fbdev/savage/savagefb_driver.c + (var->xoffset & ~1) * ((info->var.bits_per_pixel+7) / 8)) >> 2; bits_per_pixel 1669 drivers/video/fbdev/savage/savagefb_driver.c .bits_per_pixel = 8, bits_per_pixel 2252 drivers/video/fbdev/savage/savagefb_driver.c lpitch = info->var.xres_virtual*((info->var.bits_per_pixel + 7) >> 3); bits_per_pixel 29 drivers/video/fbdev/sbuslib.c var->bits_per_pixel = bpp; bits_per_pixel 177 drivers/video/fbdev/sh7760fb.c var->bits_per_pixel = bpp; bits_per_pixel 179 drivers/video/fbdev/sh7760fb.c if ((var->grayscale) && (var->bits_per_pixel == 1)) bits_per_pixel 181 drivers/video/fbdev/sh7760fb.c else if (var->bits_per_pixel >= 15) bits_per_pixel 618 drivers/video/fbdev/sh_mobile_lcdcfb.c switch (var->bits_per_pixel) { bits_per_pixel 1131 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = format->bpp; bits_per_pixel 1141 drivers/video/fbdev/sh_mobile_lcdcfb.c if (var->bits_per_pixel <= 16) { /* RGB 565 */ bits_per_pixel 1142 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = 16; bits_per_pixel 1151 drivers/video/fbdev/sh_mobile_lcdcfb.c } else if (var->bits_per_pixel <= 24) { /* RGB 888 */ bits_per_pixel 1152 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = 24; bits_per_pixel 1161 drivers/video/fbdev/sh_mobile_lcdcfb.c } else if (var->bits_per_pixel <= 32) { /* RGBA 888 */ bits_per_pixel 1162 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = 32; bits_per_pixel 1181 drivers/video/fbdev/sh_mobile_lcdcfb.c if (var->xres_virtual * var->yres_virtual * var->bits_per_pixel / 8 > bits_per_pixel 1536 drivers/video/fbdev/sh_mobile_lcdcfb.c info->var.yres, info->var.bits_per_pixel); bits_per_pixel 1616 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = ovl->format->bpp; bits_per_pixel 2014 drivers/video/fbdev/sh_mobile_lcdcfb.c info->var.bits_per_pixel); bits_per_pixel 2109 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = ch->format->bpp; bits_per_pixel 445 drivers/video/fbdev/simplefb.c info->var.bits_per_pixel = params.format->bits_per_pixel; bits_per_pixel 486 drivers/video/fbdev/simplefb.c info->var.bits_per_pixel, info->fix.line_length); bits_per_pixel 329 drivers/video/fbdev/sis/sis_accel.c switch(info->var.bits_per_pixel) { bits_per_pixel 1084 drivers/video/fbdev/sis/sis_main.c return (var->bits_per_pixel == 8) ? 256 : 16; bits_per_pixel 1116 drivers/video/fbdev/sis/sis_main.c int maxyres = ivideo->sisfb_mem / (var->xres_virtual * (var->bits_per_pixel >> 3)); bits_per_pixel 1126 drivers/video/fbdev/sis/sis_main.c ivideo->video_linelength = var->xres_virtual * (var->bits_per_pixel >> 3); bits_per_pixel 1163 drivers/video/fbdev/sis/sis_main.c switch(var->bits_per_pixel) { bits_per_pixel 1263 drivers/video/fbdev/sis/sis_main.c (sisbios_mode[ivideo->sisfb_mode_idx].bpp == var->bits_per_pixel)) { bits_per_pixel 1280 drivers/video/fbdev/sis/sis_main.c var->yres, var->bits_per_pixel); bits_per_pixel 1372 drivers/video/fbdev/sis/sis_main.c switch (info->var.bits_per_pixel) { bits_per_pixel 1413 drivers/video/fbdev/sis/sis_main.c switch(info->var.bits_per_pixel) { bits_per_pixel 1500 drivers/video/fbdev/sis/sis_main.c (sisbios_mode[search_idx].bpp == var->bits_per_pixel)) { bits_per_pixel 1516 drivers/video/fbdev/sis/sis_main.c (var->bits_per_pixel == sisbios_mode[search_idx].bpp) ) { bits_per_pixel 1529 drivers/video/fbdev/sis/sis_main.c var->xres, var->yres, var->bits_per_pixel, bits_per_pixel 1532 drivers/video/fbdev/sis/sis_main.c var->bits_per_pixel); bits_per_pixel 1538 drivers/video/fbdev/sis/sis_main.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 1545 drivers/video/fbdev/sis/sis_main.c (var->bits_per_pixel == 8) ) { bits_per_pixel 6428 drivers/video/fbdev/sis/sis_main.c ivideo->default_var.bits_per_pixel = ivideo->video_bpp; bits_per_pixel 25 drivers/video/fbdev/sis/sis_main.h .bits_per_pixel = 0, bits_per_pixel 320 drivers/video/fbdev/sm501fb.c tmp = (var->xres * var->bits_per_pixel) / 8; bits_per_pixel 331 drivers/video/fbdev/sm501fb.c if (var->bits_per_pixel <= 8) bits_per_pixel 332 drivers/video/fbdev/sm501fb.c var->bits_per_pixel = 8; bits_per_pixel 333 drivers/video/fbdev/sm501fb.c else if (var->bits_per_pixel <= 16) bits_per_pixel 334 drivers/video/fbdev/sm501fb.c var->bits_per_pixel = 16; bits_per_pixel 335 drivers/video/fbdev/sm501fb.c else if (var->bits_per_pixel == 24) bits_per_pixel 336 drivers/video/fbdev/sm501fb.c var->bits_per_pixel = 32; bits_per_pixel 339 drivers/video/fbdev/sm501fb.c switch(var->bits_per_pixel) { bits_per_pixel 341 drivers/video/fbdev/sm501fb.c var->red.length = var->bits_per_pixel; bits_per_pixel 343 drivers/video/fbdev/sm501fb.c var->green.length = var->bits_per_pixel; bits_per_pixel 345 drivers/video/fbdev/sm501fb.c var->blue.length = var->bits_per_pixel; bits_per_pixel 439 drivers/video/fbdev/sm501fb.c __func__, var->xres, var->yres, var->bits_per_pixel, bits_per_pixel 461 drivers/video/fbdev/sm501fb.c switch (var->bits_per_pixel) { bits_per_pixel 476 drivers/video/fbdev/sm501fb.c info->fix.line_length = (var->xres_virtual * var->bits_per_pixel)/8; bits_per_pixel 539 drivers/video/fbdev/sm501fb.c reg |= ((var->xres * var->bits_per_pixel)/8) << 16; bits_per_pixel 582 drivers/video/fbdev/sm501fb.c unsigned int bytes_pixel = info->var.bits_per_pixel / 8; bits_per_pixel 680 drivers/video/fbdev/sm501fb.c switch(var->bits_per_pixel) { bits_per_pixel 836 drivers/video/fbdev/sm501fb.c switch(var->bits_per_pixel) { bits_per_pixel 1359 drivers/video/fbdev/sm501fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1420 drivers/video/fbdev/sm501fb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1762 drivers/video/fbdev/sm501fb.c fb->var.bits_per_pixel = 16; bits_per_pixel 1779 drivers/video/fbdev/sm501fb.c fb->var.bits_per_pixel = pd->def_bpp ? pd->def_bpp : 8; bits_per_pixel 64 drivers/video/fbdev/sm712fb.c .bits_per_pixel = 16, bits_per_pixel 991 drivers/video/fbdev/sm712fb.c if (sfb->fb->var.bits_per_pixel == 16) { bits_per_pixel 1188 drivers/video/fbdev/sm712fb.c sfb->width, sfb->height, sfb->fb->var.bits_per_pixel, sfb->hz); bits_per_pixel 1193 drivers/video/fbdev/sm712fb.c vgamode[j].bpp != sfb->fb->var.bits_per_pixel || bits_per_pixel 1266 drivers/video/fbdev/sm712fb.c m_nscreenstride = (sfb->width * sfb->fb->var.bits_per_pixel) / 64; bits_per_pixel 1267 drivers/video/fbdev/sm712fb.c switch (sfb->fb->var.bits_per_pixel) { bits_per_pixel 1298 drivers/video/fbdev/sm712fb.c switch (sfb->fb->var.bits_per_pixel) { bits_per_pixel 1358 drivers/video/fbdev/sm712fb.c if ((var->bits_per_pixel != 8) && (var->bits_per_pixel != 16) && bits_per_pixel 1359 drivers/video/fbdev/sm712fb.c (var->bits_per_pixel != 24) && (var->bits_per_pixel != 32)) bits_per_pixel 1360 drivers/video/fbdev/sm712fb.c var->bits_per_pixel = 16; bits_per_pixel 1409 drivers/video/fbdev/sm712fb.c if (sfb->fb->var.bits_per_pixel == 32) bits_per_pixel 1485 drivers/video/fbdev/sm712fb.c sfb->fb->var.bits_per_pixel = smtc_scr_info.lfb_depth; bits_per_pixel 1497 drivers/video/fbdev/sm712fb.c sfb->fb->var.bits_per_pixel = SCREEN_BPP; bits_per_pixel 1513 drivers/video/fbdev/sm712fb.c big_pixel_depth(sfb->fb->var.bits_per_pixel, smtc_scr_info.lfb_depth); bits_per_pixel 1586 drivers/video/fbdev/sm712fb.c if (sfb->fb->var.bits_per_pixel == 32) { bits_per_pixel 1598 drivers/video/fbdev/sm712fb.c if (sfb->fb->var.bits_per_pixel == 32) bits_per_pixel 1625 drivers/video/fbdev/sm712fb.c if (sfb->fb->var.bits_per_pixel == 15) bits_per_pixel 1626 drivers/video/fbdev/sm712fb.c sfb->fb->var.bits_per_pixel = 16; bits_per_pixel 1647 drivers/video/fbdev/sm712fb.c sfb->fb->var.yres, sfb->fb->var.bits_per_pixel); bits_per_pixel 1732 drivers/video/fbdev/sm712fb.c if (sfb->fb->var.bits_per_pixel == 32) bits_per_pixel 1212 drivers/video/fbdev/smscufx.c var->bits_per_pixel = 16; bits_per_pixel 1591 drivers/video/fbdev/smscufx.c (info->var.bits_per_pixel / 8); bits_per_pixel 106 drivers/video/fbdev/ssd1307fb.c .bits_per_pixel = 1, bits_per_pixel 377 drivers/video/fbdev/sstfb.c switch (var->bits_per_pixel) { bits_per_pixel 379 drivers/video/fbdev/sstfb.c var->bits_per_pixel = 16; bits_per_pixel 382 drivers/video/fbdev/sstfb.c printk(KERN_ERR "sstfb: Unsupported bpp %d\n", var->bits_per_pixel); bits_per_pixel 436 drivers/video/fbdev/sstfb.c * ((var->bits_per_pixel == 16) ? 2 : 4); bits_per_pixel 455 drivers/video/fbdev/sstfb.c switch (var->bits_per_pixel) { bits_per_pixel 544 drivers/video/fbdev/sstfb.c par->dac_sw.set_vidmod(info, info->var.bits_per_pixel); bits_per_pixel 587 drivers/video/fbdev/sstfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 617 drivers/video/fbdev/sstfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 176 drivers/video/fbdev/sticore.h s32 bits_per_pixel; /* bits/pixel device has configured */ bits_per_pixel 213 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) bits_per_pixel 219 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) bits_per_pixel 257 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) { bits_per_pixel 531 drivers/video/fbdev/stifb.c 0xff, fb->info.var.xres * fb->info.var.bits_per_pixel/8); bits_per_pixel 571 drivers/video/fbdev/stifb.c if (fb->var.bits_per_pixel == 8) { bits_per_pixel 610 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 8) bits_per_pixel 763 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) bits_per_pixel 893 drivers/video/fbdev/stifb.c hyperbowl = (fb->info.var.bits_per_pixel == 32) ? bits_per_pixel 1022 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) { bits_per_pixel 1080 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) bits_per_pixel 1090 drivers/video/fbdev/stifb.c if (fb->info.var.bits_per_pixel == 32) bits_per_pixel 1290 drivers/video/fbdev/stifb.c var->bits_per_pixel = bpp; bits_per_pixel 1329 drivers/video/fbdev/stifb.c var->bits_per_pixel, bits_per_pixel 96 drivers/video/fbdev/sunxvr1000.c var->bits_per_pixel = gp->depth; bits_per_pixel 100 drivers/video/fbdev/sunxvr2500.c var->bits_per_pixel = sp->depth; bits_per_pixel 223 drivers/video/fbdev/sunxvr500.c var->bits_per_pixel = ep->depth; bits_per_pixel 100 drivers/video/fbdev/tdfxfb.c .bits_per_pixel = 8, bits_per_pixel 441 drivers/video/fbdev/tdfxfb.c if (var->bits_per_pixel != 8 && var->bits_per_pixel != 16 && bits_per_pixel 442 drivers/video/fbdev/tdfxfb.c var->bits_per_pixel != 24 && var->bits_per_pixel != 32) { bits_per_pixel 443 drivers/video/fbdev/tdfxfb.c DPRINTK("depth not supported: %u\n", var->bits_per_pixel); bits_per_pixel 478 drivers/video/fbdev/tdfxfb.c lpitch = var->xres * ((var->bits_per_pixel + 7) >> 3); bits_per_pixel 495 drivers/video/fbdev/tdfxfb.c var->bits_per_pixel); bits_per_pixel 508 drivers/video/fbdev/tdfxfb.c switch (var->bits_per_pixel) { bits_per_pixel 540 drivers/video/fbdev/tdfxfb.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 556 drivers/video/fbdev/tdfxfb.c u32 cpp = (info->var.bits_per_pixel + 7) >> 3; bits_per_pixel 709 drivers/video/fbdev/tdfxfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 729 drivers/video/fbdev/tdfxfb.c info->fix.visual = (info->var.bits_per_pixel == 8) bits_per_pixel 733 drivers/video/fbdev/tdfxfb.c info->var.xres, info->var.yres, info->var.bits_per_pixel); bits_per_pixel 781 drivers/video/fbdev/tdfxfb.c DPRINTK("bad depth %u\n", info->var.bits_per_pixel); bits_per_pixel 849 drivers/video/fbdev/tdfxfb.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 893 drivers/video/fbdev/tdfxfb.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 952 drivers/video/fbdev/tdfxfb.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 1482 drivers/video/fbdev/tdfxfb.c info->var.bits_per_pixel = 8; bits_per_pixel 1514 drivers/video/fbdev/tdfxfb.c NULL, info->var.bits_per_pixel); bits_per_pixel 1525 drivers/video/fbdev/tdfxfb.c lpitch = info->var.xres_virtual * ((info->var.bits_per_pixel + 7) >> 3); bits_per_pixel 170 drivers/video/fbdev/tgafb.c if (var->bits_per_pixel != 8) bits_per_pixel 173 drivers/video/fbdev/tgafb.c if (var->bits_per_pixel != 32) bits_per_pixel 177 drivers/video/fbdev/tgafb.c if (var->bits_per_pixel == 32) { bits_per_pixel 185 drivers/video/fbdev/tgafb.c if (var->xres * var->yres * (var->bits_per_pixel >> 3) > info->fix.smem_len) bits_per_pixel 266 drivers/video/fbdev/tgafb.c par->bits_per_pixel = info->var.bits_per_pixel; bits_per_pixel 267 drivers/video/fbdev/tgafb.c info->fix.line_length = par->xres * (par->bits_per_pixel >> 3); bits_per_pixel 630 drivers/video/fbdev/tgafb.c is8bpp = info->var.bits_per_pixel == 8; bits_per_pixel 885 drivers/video/fbdev/tgafb.c unsigned int is8bpp = info->var.bits_per_pixel == 8; bits_per_pixel 897 drivers/video/fbdev/tgafb.c if (image->depth == info->var.bits_per_pixel) { bits_per_pixel 923 drivers/video/fbdev/tgafb.c int is8bpp = info->var.bits_per_pixel == 8; bits_per_pixel 1280 drivers/video/fbdev/tgafb.c bpp = info->var.bits_per_pixel; bits_per_pixel 575 drivers/video/fbdev/tmiofb.c if (!mode || var->bits_per_pixel > 16) bits_per_pixel 588 drivers/video/fbdev/tmiofb.c var->bits_per_pixel = 16; bits_per_pixel 616 drivers/video/fbdev/tmiofb.c var->bits_per_pixel / 8; bits_per_pixel 626 drivers/video/fbdev/tridentfb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 648 drivers/video/fbdev/tridentfb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 994 drivers/video/fbdev/tridentfb.c int bpp = var->bits_per_pixel; bits_per_pixel 1001 drivers/video/fbdev/tridentfb.c bpp = var->bits_per_pixel = 32; bits_per_pixel 1116 drivers/video/fbdev/tridentfb.c * info->var.bits_per_pixel / 32; bits_per_pixel 1139 drivers/video/fbdev/tridentfb.c int bpp = var->bits_per_pixel; bits_per_pixel 1366 drivers/video/fbdev/tridentfb.c int bpp = info->var.bits_per_pixel; bits_per_pixel 1622 drivers/video/fbdev/tridentfb.c info->var.bits_per_pixel = 8; bits_per_pixel 1671 drivers/video/fbdev/tridentfb.c NULL, info->var.bits_per_pixel); bits_per_pixel 1699 drivers/video/fbdev/tridentfb.c info->var.yres, info->var.bits_per_pixel); bits_per_pixel 1066 drivers/video/fbdev/udlfb.c var->bits_per_pixel = 16; bits_per_pixel 1096 drivers/video/fbdev/udlfb.c u32 line_length = info->var.xres * (info->var.bits_per_pixel / 8); bits_per_pixel 288 drivers/video/fbdev/uvesafb.c var->bits_per_pixel = mode->bits_per_pixel; bits_per_pixel 290 drivers/video/fbdev/uvesafb.c if (var->bits_per_pixel == 15) bits_per_pixel 291 drivers/video/fbdev/uvesafb.c var->bits_per_pixel = 16; bits_per_pixel 293 drivers/video/fbdev/uvesafb.c if (var->bits_per_pixel > 8) { bits_per_pixel 526 drivers/video/fbdev/uvesafb.c mib->bits_per_pixel >= 8) bits_per_pixel 539 drivers/video/fbdev/uvesafb.c mib->bits_per_pixel == 32)) bits_per_pixel 540 drivers/video/fbdev/uvesafb.c mib->depth = mib->bits_per_pixel; bits_per_pixel 903 drivers/video/fbdev/uvesafb.c info->var.bits_per_pixel, UVESAFB_EXACT_RES); bits_per_pixel 998 drivers/video/fbdev/uvesafb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 1006 drivers/video/fbdev/uvesafb.c switch (info->var.bits_per_pixel) { bits_per_pixel 1044 drivers/video/fbdev/uvesafb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 1220 drivers/video/fbdev/uvesafb.c int i, err = 0, depth = info->var.bits_per_pixel; bits_per_pixel 1302 drivers/video/fbdev/uvesafb.c mode->bits_per_pixel <= 8) { bits_per_pixel 1316 drivers/video/fbdev/uvesafb.c info->fix.visual = (info->var.bits_per_pixel == 8) ? bits_per_pixel 1376 drivers/video/fbdev/uvesafb.c if (depth == 0 || abs(depth - var->bits_per_pixel) >= 8) bits_per_pixel 1377 drivers/video/fbdev/uvesafb.c depth = var->bits_per_pixel; bits_per_pixel 466 drivers/video/fbdev/valkyriefb.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 405 drivers/video/fbdev/vermilion/vermilion.c switch (var->bits_per_pixel) { bits_per_pixel 506 drivers/video/fbdev/vermilion/vermilion.c info->var.bits_per_pixel = 16; bits_per_pixel 626 drivers/video/fbdev/vermilion/vermilion.c switch (v.bits_per_pixel) { bits_per_pixel 628 drivers/video/fbdev/vermilion/vermilion.c v.bits_per_pixel = 16; bits_per_pixel 631 drivers/video/fbdev/vermilion/vermilion.c v.bits_per_pixel = 32; bits_per_pixel 635 drivers/video/fbdev/vermilion/vermilion.c var->bits_per_pixel); bits_per_pixel 639 drivers/video/fbdev/vermilion/vermilion.c pitch = ALIGN((var->xres * var->bits_per_pixel) >> 3, 0x40); bits_per_pixel 645 drivers/video/fbdev/vermilion/vermilion.c switch (v.bits_per_pixel) { bits_per_pixel 772 drivers/video/fbdev/vermilion/vermilion.c vinfo->bytes_per_pixel = var->bits_per_pixel >> 3; bits_per_pixel 807 drivers/video/fbdev/vermilion/vermilion.c switch (var->bits_per_pixel) { bits_per_pixel 975 drivers/video/fbdev/vermilion/vermilion.c switch (info->var.bits_per_pixel) { bits_per_pixel 1108 drivers/video/fbdev/vermilion/vermilion.c entry->info.var.bits_per_pixel = 16; bits_per_pixel 146 drivers/video/fbdev/vesafb.c if (info->var.bits_per_pixel == 8) bits_per_pixel 149 drivers/video/fbdev/vesafb.c switch (info->var.bits_per_pixel) { bits_per_pixel 255 drivers/video/fbdev/vesafb.c vesafb_defined.bits_per_pixel = screen_info.lfb_depth; bits_per_pixel 256 drivers/video/fbdev/vesafb.c if (15 == vesafb_defined.bits_per_pixel) bits_per_pixel 257 drivers/video/fbdev/vesafb.c vesafb_defined.bits_per_pixel = 16; bits_per_pixel 261 drivers/video/fbdev/vesafb.c vesafb_fix.visual = (vesafb_defined.bits_per_pixel == 8) ? bits_per_pixel 322 drivers/video/fbdev/vesafb.c vesafb_defined.xres, vesafb_defined.yres, vesafb_defined.bits_per_pixel, vesafb_fix.line_length, screen_info.pages); bits_per_pixel 356 drivers/video/fbdev/vesafb.c if (vesafb_defined.bits_per_pixel == 8 && !pmi_setpal && !vga_compat) { bits_per_pixel 387 drivers/video/fbdev/vesafb.c if (vesafb_defined.bits_per_pixel <= 8) { bits_per_pixel 392 drivers/video/fbdev/vesafb.c vesafb_defined.bits_per_pixel; bits_per_pixel 397 drivers/video/fbdev/vesafb.c (vesafb_defined.bits_per_pixel > 8) ? bits_per_pixel 143 drivers/video/fbdev/vfb.c if (var->bits_per_pixel <= 1) bits_per_pixel 144 drivers/video/fbdev/vfb.c var->bits_per_pixel = 1; bits_per_pixel 145 drivers/video/fbdev/vfb.c else if (var->bits_per_pixel <= 8) bits_per_pixel 146 drivers/video/fbdev/vfb.c var->bits_per_pixel = 8; bits_per_pixel 147 drivers/video/fbdev/vfb.c else if (var->bits_per_pixel <= 16) bits_per_pixel 148 drivers/video/fbdev/vfb.c var->bits_per_pixel = 16; bits_per_pixel 149 drivers/video/fbdev/vfb.c else if (var->bits_per_pixel <= 24) bits_per_pixel 150 drivers/video/fbdev/vfb.c var->bits_per_pixel = 24; bits_per_pixel 151 drivers/video/fbdev/vfb.c else if (var->bits_per_pixel <= 32) bits_per_pixel 152 drivers/video/fbdev/vfb.c var->bits_per_pixel = 32; bits_per_pixel 165 drivers/video/fbdev/vfb.c get_line_length(var->xres_virtual, var->bits_per_pixel); bits_per_pixel 174 drivers/video/fbdev/vfb.c switch (var->bits_per_pixel) { bits_per_pixel 242 drivers/video/fbdev/vfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 257 drivers/video/fbdev/vfb.c info->var.bits_per_pixel); bits_per_pixel 337 drivers/video/fbdev/vfb.c switch (info->var.bits_per_pixel) { bits_per_pixel 73 drivers/video/fbdev/vga16fb.c .bits_per_pixel = 4, bits_per_pixel 194 drivers/video/fbdev/vga16fb.c if (info->var.bits_per_pixel == 8) { bits_per_pixel 210 drivers/video/fbdev/vga16fb.c if (info->var.bits_per_pixel == 8) bits_per_pixel 220 drivers/video/fbdev/vga16fb.c if (info->var.bits_per_pixel == 4) { bits_per_pixel 229 drivers/video/fbdev/vga16fb.c } else if (info->var.bits_per_pixel == 0) { bits_per_pixel 327 drivers/video/fbdev/vga16fb.c if (var->bits_per_pixel == 4) { bits_per_pixel 340 drivers/video/fbdev/vga16fb.c } else if (var->bits_per_pixel == 8) { bits_per_pixel 1354 drivers/video/fbdev/vga16fb.c i = (info->var.bits_per_pixel == 8) ? 256 : 16; bits_per_pixel 1487 drivers/video/fbdev/via/hw.c viafb_load_fetch_count_reg(var->xres, var->bits_per_pixel / 8, iga); bits_per_pixel 1872 drivers/video/fbdev/via/hw.c var2.bits_per_pixel = viafbinfo->var.bits_per_pixel; bits_per_pixel 1948 drivers/video/fbdev/via/hw.c viafb_hotplug_bpp = viafbinfo->var.bits_per_pixel; bits_per_pixel 532 drivers/video/fbdev/via/lcd.c int mode_bpp = var->bits_per_pixel; bits_per_pixel 589 drivers/video/fbdev/via/lcd.c var->bits_per_pixel); bits_per_pixel 86 drivers/video/fbdev/via/viafbdev.c var->bits_per_pixel = 8; bits_per_pixel 95 drivers/video/fbdev/via/viafbdev.c var->bits_per_pixel = 16; bits_per_pixel 104 drivers/video/fbdev/via/viafbdev.c var->bits_per_pixel = 16; bits_per_pixel 113 drivers/video/fbdev/via/viafbdev.c var->bits_per_pixel = 32; bits_per_pixel 122 drivers/video/fbdev/via/viafbdev.c var->bits_per_pixel = 32; bits_per_pixel 135 drivers/video/fbdev/via/viafbdev.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 204 drivers/video/fbdev/via/viafbdev.c var->xres, var->yres, var->bits_per_pixel); bits_per_pixel 210 drivers/video/fbdev/via/viafbdev.c depth = var->bits_per_pixel; bits_per_pixel 231 drivers/video/fbdev/via/viafbdev.c line = ALIGN(var->xres_virtual * var->bits_per_pixel / 8, bits_per_pixel 261 drivers/video/fbdev/via/viafbdev.c viafbinfo->var.bits_per_pixel, 0); bits_per_pixel 265 drivers/video/fbdev/via/viafbdev.c viafbinfo1->var.yres, viafbinfo1->var.bits_per_pixel, bits_per_pixel 278 drivers/video/fbdev/via/viafbdev.c viafb_bpp1 = info->var.bits_per_pixel; bits_per_pixel 281 drivers/video/fbdev/via/viafbdev.c viafb_bpp = info->var.bits_per_pixel; bits_per_pixel 335 drivers/video/fbdev/via/viafbdev.c + var->xoffset * info->var.bits_per_pixel / 8; bits_per_pixel 415 drivers/video/fbdev/via/viafbdev.c info->var.bits_per_pixel), argp); bits_per_pixel 693 drivers/video/fbdev/via/viafbdev.c rect->width, rect->height, info->var.bits_per_pixel, bits_per_pixel 715 drivers/video/fbdev/via/viafbdev.c area->width, area->height, info->var.bits_per_pixel, bits_per_pixel 752 drivers/video/fbdev/via/viafbdev.c image->width, image->height, info->var.bits_per_pixel, bits_per_pixel 1811 drivers/video/fbdev/via/viafbdev.c default_var.bits_per_pixel = viafb_bpp; bits_per_pixel 1849 drivers/video/fbdev/via/viafbdev.c default_var.bits_per_pixel = viafb_bpp1; bits_per_pixel 1889 drivers/video/fbdev/via/viafbdev.c default_var.yres, default_var.bits_per_pixel); bits_per_pixel 49 drivers/video/fbdev/vt8500lcdfb.c if (info->var.bits_per_pixel <= 8) { bits_per_pixel 52 drivers/video/fbdev/vt8500lcdfb.c info->var.red.length = info->var.bits_per_pixel; bits_per_pixel 56 drivers/video/fbdev/vt8500lcdfb.c info->var.green.length = info->var.bits_per_pixel; bits_per_pixel 60 drivers/video/fbdev/vt8500lcdfb.c info->var.blue.length = info->var.bits_per_pixel; bits_per_pixel 69 drivers/video/fbdev/vt8500lcdfb.c (8/info->var.bits_per_pixel); bits_per_pixel 76 drivers/video/fbdev/vt8500lcdfb.c if (info->var.bits_per_pixel == 16) { bits_per_pixel 89 drivers/video/fbdev/vt8500lcdfb.c info->var.red.offset = info->var.bits_per_pixel bits_per_pixel 91 drivers/video/fbdev/vt8500lcdfb.c info->var.red.length = info->var.bits_per_pixel / 3; bits_per_pixel 93 drivers/video/fbdev/vt8500lcdfb.c info->var.green.offset = info->var.bits_per_pixel / 3; bits_per_pixel 94 drivers/video/fbdev/vt8500lcdfb.c info->var.green.length = info->var.bits_per_pixel / 3; bits_per_pixel 97 drivers/video/fbdev/vt8500lcdfb.c info->var.blue.length = info->var.bits_per_pixel / 3; bits_per_pixel 102 drivers/video/fbdev/vt8500lcdfb.c info->fix.line_length = info->var.bits_per_pixel > 16 ? bits_per_pixel 108 drivers/video/fbdev/vt8500lcdfb.c if (bpp_values[i] == info->var.bits_per_pixel) bits_per_pixel 400 drivers/video/fbdev/vt8500lcdfb.c fbi->fb.var.bits_per_pixel = bpp; bits_per_pixel 226 drivers/video/fbdev/vt8623fb.c if ((info->var.bits_per_pixel == 4) && (image->depth == 1) bits_per_pixel 238 drivers/video/fbdev/vt8623fb.c if ((info->var.bits_per_pixel == 4) bits_per_pixel 344 drivers/video/fbdev/vt8623fb.c mem = ((var->bits_per_pixel * var->xres_virtual) >> 3) * var->yres_virtual; bits_per_pixel 353 drivers/video/fbdev/vt8623fb.c if ((var->bits_per_pixel == 0) && (mem > (256*1024))) bits_per_pixel 379 drivers/video/fbdev/vt8623fb.c u32 bpp = info->var.bits_per_pixel; bits_per_pixel 521 drivers/video/fbdev/vt8623fb.c switch (fb->var.bits_per_pixel) { bits_per_pixel 615 drivers/video/fbdev/vt8623fb.c if (info->var.bits_per_pixel == 0) { bits_per_pixel 621 drivers/video/fbdev/vt8623fb.c (var->xoffset * info->var.bits_per_pixel / 8); bits_per_pixel 622 drivers/video/fbdev/vt8623fb.c offset = offset >> ((info->var.bits_per_pixel == 4) ? 2 : 1); bits_per_pixel 490 drivers/video/fbdev/w100fb.c if (var->bits_per_pixel > BITS_PER_PIXEL) bits_per_pixel 493 drivers/video/fbdev/w100fb.c var->bits_per_pixel = BITS_PER_PIXEL; bits_per_pixel 117 drivers/video/fbdev/wm8505fb.c if (info->var.bits_per_pixel == 32) { bits_per_pixel 129 drivers/video/fbdev/wm8505fb.c } else if (info->var.bits_per_pixel == 16) { bits_per_pixel 338 drivers/video/fbdev/wm8505fb.c fbi->fb.var.bits_per_pixel = bpp; bits_per_pixel 54 drivers/video/fbdev/wmt_ge_rops.c pat = pixel_to_pat(p->var.bits_per_pixel, fg); bits_per_pixel 59 drivers/video/fbdev/wmt_ge_rops.c writel(p->var.bits_per_pixel == 32 ? 3 : bits_per_pixel 60 drivers/video/fbdev/wmt_ge_rops.c (p->var.bits_per_pixel == 8 ? 0 : 1), regbase + GE_DEPTH_OFF); bits_per_pixel 61 drivers/video/fbdev/wmt_ge_rops.c writel(p->var.bits_per_pixel == 15 ? 1 : 0, regbase + GE_HIGHCOLOR_OFF); bits_per_pixel 85 drivers/video/fbdev/wmt_ge_rops.c writel(p->var.bits_per_pixel > 16 ? 3 : bits_per_pixel 86 drivers/video/fbdev/wmt_ge_rops.c (p->var.bits_per_pixel > 8 ? 1 : 0), regbase + GE_DEPTH_OFF); bits_per_pixel 234 drivers/video/fbdev/xen-fbfront.c switch (info->var.bits_per_pixel) { bits_per_pixel 291 drivers/video/fbdev/xen-fbfront.c var->bits_per_pixel == xenfb_info->page->depth) { bits_per_pixel 302 drivers/video/fbdev/xen-fbfront.c if (var->bits_per_pixel == xenfb_info->page->depth && bits_per_pixel 324 drivers/video/fbdev/xen-fbfront.c xenfb_info->resize.depth = info->var.bits_per_pixel; bits_per_pixel 438 drivers/video/fbdev/xen-fbfront.c fb_info->var.bits_per_pixel = XENFB_DEPTH; bits_per_pixel 569 drivers/video/fbdev/xen-fbfront.c info->page->depth = fb_info->var.bits_per_pixel; bits_per_pixel 121 drivers/video/fbdev/xilinxfb.c .bits_per_pixel = BITS_PER_PIXEL, bits_per_pixel 129 include/drm/drm_dsc.h u16 bits_per_pixel; bits_per_pixel 188 include/linux/amba/clcd.h if (fb->panel->caps && fb->board->caps && var->bits_per_pixel >= 16) { bits_per_pixel 206 include/linux/amba/clcd.h switch (var->bits_per_pixel) { bits_per_pixel 274 include/linux/amba/clcd.h CHECK(bits_per_pixel) || bits_per_pixel 38 include/linux/platform_data/simplefb.h u32 bits_per_pixel; bits_per_pixel 26 include/linux/svga.h u32 bits_per_pixel; bits_per_pixel 249 include/uapi/linux/fb.h __u32 bits_per_pixel; /* guess what */ bits_per_pixel 192 include/uapi/linux/omapfb.h __u32 bits_per_pixel; bits_per_pixel 241 include/video/imx-ipu-v3.h int bits_per_pixel; bits_per_pixel 217 include/video/tgafb.h u32 bits_per_pixel; /* bits per pixel */ bits_per_pixel 50 include/video/uvesafb.h u8 bits_per_pixel; bits_per_pixel 726 include/xen/interface/xen.h uint16_t bits_per_pixel; bits_per_pixel 41 samples/vfio-mdev/mdpy-fb.c .bits_per_pixel = 32,