bpp 653 arch/arm/mach-davinci/devices-da8xx.c .bpp = 16, bpp 238 arch/arm/mach-imx/mach-mx21ads.c .bpp = 16, bpp 340 arch/arm/mach-imx/mach-mx27_3ds.c .bpp = 16, bpp 272 arch/arm/mach-imx/mach-mx27ads.c .bpp = 16, bpp 327 arch/arm/mach-imx/mach-pca100.c .bpp = 16, bpp 94 arch/arm/mach-integrator/impd1.c .bpp = 16, bpp 122 arch/arm/mach-integrator/impd1.c .bpp = 16, bpp 151 arch/arm/mach-integrator/impd1.c .bpp = 16, bpp 183 arch/arm/mach-integrator/impd1.c .bpp = 16, bpp 49 arch/arm/mach-pxa/am200epd.c .bpp = 16, bpp 63 arch/arm/mach-pxa/am200epd.c .bpp = 16, bpp 77 arch/arm/mach-pxa/am200epd.c .bpp = 16, bpp 219 arch/arm/mach-pxa/balloon3.c .bpp = 16, bpp 241 arch/arm/mach-pxa/cm-x270.c .bpp = { bpp 207 arch/arm/mach-pxa/cm-x2xx.c .bpp = 8, bpp 232 arch/arm/mach-pxa/cm-x2xx.c .bpp = 8, bpp 256 arch/arm/mach-pxa/cm-x2xx.c .bpp = 8, bpp 280 arch/arm/mach-pxa/cm-x2xx.c .bpp = 8, bpp 304 arch/arm/mach-pxa/cm-x2xx.c .bpp = 16, bpp 327 arch/arm/mach-pxa/cm-x2xx.c .bpp = 8, bpp 266 arch/arm/mach-pxa/cm-x300.c .bpp = 16, bpp 279 arch/arm/mach-pxa/cm-x300.c .bpp = 16, bpp 164 arch/arm/mach-pxa/colibri-pxa270-income.c .bpp = 32, bpp 80 arch/arm/mach-pxa/colibri-pxa3xx.c .bpp = 32, bpp 648 arch/arm/mach-pxa/em-x270.c .bpp = 16, bpp 661 arch/arm/mach-pxa/em-x270.c .bpp = 16, bpp 243 arch/arm/mach-pxa/eseries.c .bpp = 16, bpp 73 arch/arm/mach-pxa/ezx.c .bpp = 16, bpp 93 arch/arm/mach-pxa/ezx.c .bpp = 32, bpp 135 arch/arm/mach-pxa/idp.c .bpp = 16, bpp 151 arch/arm/mach-pxa/littleton.c .bpp = 16, bpp 165 arch/arm/mach-pxa/littleton.c .bpp = 16, bpp 296 arch/arm/mach-pxa/lpd270.c .bpp = 16, bpp 318 arch/arm/mach-pxa/lpd270.c .bpp = 16, bpp 340 arch/arm/mach-pxa/lpd270.c .bpp = 16, bpp 362 arch/arm/mach-pxa/lpd270.c .bpp = 16, bpp 384 arch/arm/mach-pxa/lpd270.c .bpp = 16, bpp 406 arch/arm/mach-pxa/lpd270.c .bpp = 16, bpp 373 arch/arm/mach-pxa/lubbock.c .bpp = 16, bpp 248 arch/arm/mach-pxa/magician.c .bpp = 16, bpp 264 arch/arm/mach-pxa/magician.c .bpp = 16, bpp 291 arch/arm/mach-pxa/mainstone.c .bpp = 16, bpp 305 arch/arm/mach-pxa/mainstone.c .bpp = 16, bpp 194 arch/arm/mach-pxa/mioa701.c .bpp = 16, bpp 84 arch/arm/mach-pxa/palm27x.c .bpp = 16, bpp 99 arch/arm/mach-pxa/palm27x.c .bpp = 16, bpp 114 arch/arm/mach-pxa/palm27x.c .bpp = 16, bpp 469 arch/arm/mach-pxa/palmtc.c .bpp = 16, bpp 315 arch/arm/mach-pxa/palmte2.c .bpp = 16, bpp 108 arch/arm/mach-pxa/pcm990-baseboard.c .bpp = 16, bpp 130 arch/arm/mach-pxa/pcm990-baseboard.c .bpp = 16, bpp 325 arch/arm/mach-pxa/poodle.c .bpp = 16, bpp 449 arch/arm/mach-pxa/saar.c .bpp = 16, bpp 706 arch/arm/mach-pxa/spitz.c .bpp = 16, bpp 718 arch/arm/mach-pxa/spitz.c .bpp = 16, bpp 450 arch/arm/mach-pxa/tavorevb.c .bpp = 16, bpp 453 arch/arm/mach-pxa/trizeps4.c .bpp = 8, bpp 477 arch/arm/mach-pxa/trizeps4.c .bpp = 8, bpp 332 arch/arm/mach-pxa/viper.c .bpp = 16, bpp 491 arch/arm/mach-pxa/vpac270.c .bpp = 32, bpp 507 arch/arm/mach-pxa/vpac270.c .bpp = 16, bpp 523 arch/arm/mach-pxa/vpac270.c .bpp = 16, bpp 539 arch/arm/mach-pxa/vpac270.c .bpp = 16, bpp 258 arch/arm/mach-pxa/z2.c .bpp = 16, bpp 630 arch/arm/mach-pxa/zeus.c .bpp = 16, bpp 135 arch/arm/mach-pxa/zylonite.c .bpp = 16, bpp 149 arch/arm/mach-pxa/zylonite.c .bpp = 16, bpp 169 arch/arm/mach-pxa/zylonite.c .bpp = 16, bpp 182 arch/arm/mach-pxa/zylonite.c .bpp = 16, bpp 165 arch/arm/mach-s3c24xx/mach-amlm5900.c .bpp = 4, bpp 169 arch/arm/mach-s3c24xx/mach-at2440evb.c .bpp = 16, bpp 421 arch/arm/mach-s3c24xx/mach-bast.c .bpp = 4, bpp 439 arch/arm/mach-s3c24xx/mach-bast.c .bpp = 8, bpp 457 arch/arm/mach-s3c24xx/mach-bast.c .bpp = 16, bpp 197 arch/arm/mach-s3c24xx/mach-h1940.c .bpp = 16, bpp 297 arch/arm/mach-s3c24xx/mach-jive.c .bpp = 16, bpp 124 arch/arm/mach-s3c24xx/mach-mini2440.c .bpp = 16,\ bpp 321 arch/arm/mach-s3c24xx/mach-n30.c .bpp = 16, bpp 102 arch/arm/mach-s3c24xx/mach-qt2410.c .bpp = 16, bpp 124 arch/arm/mach-s3c24xx/mach-qt2410.c .bpp = 16, bpp 146 arch/arm/mach-s3c24xx/mach-qt2410.c .bpp = 16, bpp 102 arch/arm/mach-s3c24xx/mach-rx1950.c .bpp = 16, bpp 109 arch/arm/mach-s3c24xx/mach-rx3715.c .bpp = 16, bpp 116 arch/arm/mach-s3c24xx/mach-smdk2440.c .bpp = 16, bpp 396 arch/arm/mach-sa1100/assabet.c .pixclock = 171521, .bpp = 16, bpp 424 arch/arm/mach-sa1100/assabet.c .pixclock = 67797, .bpp = 16, bpp 339 arch/arm/mach-sa1100/collie.c .pixclock = 171521, .bpp = 16, bpp 59 arch/arm/mach-sa1100/h3100.c .pixclock = 406977, .bpp = 4, bpp 70 arch/arm/mach-sa1100/h3600.c .pixclock = 174757, .bpp = 16, bpp 35 arch/arm/mach-sa1100/lart.c .pixclock = 150000, .bpp = 4, bpp 51 arch/arm/mach-sa1100/lart.c .pixclock = 150000, .bpp = 16, bpp 64 arch/arm/mach-sa1100/lart.c .pixclock = 39721, .bpp = 16, bpp 80 arch/arm/mach-sa1100/lart.c .pixclock = 63291, .bpp = 16, bpp 65 arch/arm/mach-sa1100/shannon.c .pixclock = 152500, .bpp = 8, bpp 31 arch/arm/plat-samsung/include/plat/fb-s3c2410.h unsigned short bpp; bpp 269 arch/m68k/include/asm/mac_via.h static inline int rbv_set_video_bpp(int bpp) bpp 271 arch/m68k/include/asm/mac_via.h char val = (bpp==1)?0:(bpp==2)?1:(bpp==4)?2:(bpp==8)?3:-1; bpp 72 arch/parisc/include/asm/grfioctl.h unsigned int bpp, bppu; /* bits per pixel and used bpp */ bpp 44 arch/powerpc/boot/redboot.h short bpp; /* Bits/pixel */ bpp 223 arch/powerpc/platforms/512x/mpc512x_shared.c unsigned long mode, pix_fmt, res, bpp; bpp 258 arch/powerpc/platforms/512x/mpc512x_shared.c bpp = ((pix_fmt >> 16) & 0x3) + 1; bpp 260 arch/powerpc/platforms/512x/mpc512x_shared.c diu_shared_fb.fb_len = ((res & 0xfff0000) >> 16) * (res & 0xfff) * bpp; bpp 32 arch/powerpc/sysdev/fsl_soc.h unsigned int bpp); bpp 43 arch/x86/boot/vesa.h u8 bpp; /* 25 */ bpp 93 arch/x86/boot/video-vesa.c mi->depth = vminfo.bpp; bpp 217 arch/x86/boot/video-vesa.c boot_params.screen_info.lfb_depth = vminfo.bpp; bpp 226 arch/x86/boot/video-vesa.c if (vminfo.bpp <= 8) bpp 292 arch/x86/kernel/e820.c struct change_member * const *app = a, * const *bpp = b; bpp 293 arch/x86/kernel/e820.c const struct change_member *ap = *app, *bp = *bpp; bpp 197 drivers/dma/ipu/ipu_idmac.c u32 bpp:3; bpp 245 drivers/dma/ipu/ipu_idmac.c u32 bpp:3; bpp 297 drivers/dma/ipu/ipu_idmac.c params->pp.bpp = 3; bpp 304 drivers/dma/ipu/ipu_idmac.c params->pp.bpp = 0; bpp 310 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 2; bpp 323 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 1; /* 24 BPP & RGB PFS */ bpp 336 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 1; /* 24 BPP & RGB PFS */ bpp 351 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 0; bpp 366 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 0; bpp 380 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 2; bpp 387 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 3; bpp 396 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 3; bpp 405 drivers/dma/ipu/ipu_idmac.c params->ip.bpp = 3; bpp 766 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c DIV_ROUND_UP(args->bpp, 8), 0); bpp 622 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tiled); bpp 260 drivers/gpu/drm/amd/amdgpu/atombios_dp.c unsigned bpp = bpp 270 drivers/gpu/drm/amd/amdgpu/atombios_dp.c max_pix_clock = (lane_num * 270000 * 8) / bpp; bpp 280 drivers/gpu/drm/amd/amdgpu/atombios_dp.c max_pix_clock = (lane_num * link_rates[i] * 8) / bpp; bpp 857 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c fixed20_12 bpp; bpp 866 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 868 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 883 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c fixed20_12 bpp; bpp 892 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 894 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 656 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c fixed20_12 bpp; bpp 665 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 667 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 792 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c fixed20_12 bpp; bpp 801 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 803 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 191 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c int bpp = 0; bpp 212 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = 6; bpp 215 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = 8; bpp 218 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = 10; bpp 221 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = 12; bpp 224 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = 14; bpp 227 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = 16; bpp 230 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c ASSERT(bpp != 0); bpp 234 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c bpp = bpp * 3; bpp 238 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c pbn = drm_dp_calc_pbn_mode(clock, bpp); bpp 40 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c unsigned int bpp; bpp 535 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c } bpp; bpp 538 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c bpp = bpp_32; bpp 540 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c bpp = chroma ? bpp_16 : bpp_8; bpp 542 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c bpp = bpp_8; bpp 548 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c return dvmm_Hw_Setting_1DTiling[bpp]; bpp 554 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c return dvmm_Hw_Setting_2DTiling[bpp]; bpp 557 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c return dvmm_Hw_Setting_Linear[bpp]; bpp 559 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c return dvmm_Hw_Setting_2DTiling[bpp]; bpp 1202 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c unsigned int bpp = resource_pixel_format_to_bpp(surf_pix_format); bpp 1206 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c if (bpp == 64) bpp 2991 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c unsigned int bpp = resource_pixel_format_to_bpp(surf_pix_format); bpp 2995 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c if (bpp == 64) bpp 49 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c double bpp, bpp 301 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c double bpp, bpp 328 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c initalXmitDelay = dml_round(rcModelSize / 2.0 / bpp / pixelsPerClock); bpp 1804 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c double bpp = mode_lib->vba.OutputBpp[k]; bpp 1807 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c if (mode_lib->vba.DSCEnabled[k] && bpp != 0) { bpp 1812 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c bpp, bpp 1826 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c bpp, bpp 4246 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c mode_lib->vba.bpp = 0.0; bpp 4248 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c mode_lib->vba.bpp = locals->OutputBppPerState[i][k]; bpp 4250 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c if (locals->RequiresDSC[i][k] == true && mode_lib->vba.bpp != 0.0) { bpp 4255 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c mode_lib->vba.bpp, bpp 4268 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c mode_lib->vba.bpp, bpp 49 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c double bpp, bpp 324 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c double bpp, bpp 351 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c initalXmitDelay = dml_round(rcModelSize / 2.0 / bpp / pixelsPerClock); bpp 1839 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c double bpp = mode_lib->vba.OutputBpp[k]; bpp 1842 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c if (mode_lib->vba.DSCEnabled[k] && bpp != 0) { bpp 1847 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c bpp, bpp 1861 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c bpp, bpp 4278 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c mode_lib->vba.bpp = 0.0; bpp 4280 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c mode_lib->vba.bpp = locals->OutputBppPerState[i][k]; bpp 4282 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c if (locals->RequiresDSC[i][k] == true && mode_lib->vba.bpp != 0.0) { bpp 4287 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c mode_lib->vba.bpp, bpp 4300 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c mode_lib->vba.bpp, bpp 74 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c double bpp, bpp 496 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c double bpp, bpp 523 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c initalXmitDelay = dml_round(rcModelSize / 2.0 / bpp / pixelsPerClock); bpp 1791 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c double bpp = mode_lib->vba.OutputBpp[k]; bpp 1794 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c if (mode_lib->vba.DSCEnabled[k] && bpp != 0) { bpp 1799 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c bpp, bpp 1813 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c bpp, bpp 4325 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c mode_lib->vba.bpp = 0.0; bpp 4327 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c mode_lib->vba.bpp = locals->OutputBppPerState[i][k]; bpp 4329 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c if (locals->RequiresDSC[i][k] == true && mode_lib->vba.bpp != 0.0) { bpp 4334 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c mode_lib->vba.bpp, bpp 4347 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c mode_lib->vba.bpp, bpp 464 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h double bpp; bpp 44 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c void get_qp_set(qp_set qps, enum colour_mode cm, enum bits_per_comp bpc, enum max_min max_min, float bpp) bpp 78 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c index = (bpp - table[0].bpp) * 2; bpp 109 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c void get_ofs_set(qp_set ofs, enum colour_mode mode, float bpp) bpp 114 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (0) : ((((bpp >= 8) && (bpp <= 12))) ? (2) : ((bpp >= 15) ? (10) : ((((bpp > 6) && (bpp < 8))) ? (0 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (2 + dsc_roundf((bpp - 12) * (8 / 3.0)))))); bpp 115 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (8) : ((((bpp > 6) && (bpp < 8))) ? (-2 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (0 + dsc_roundf((bpp - 12) * (8 / 3.0)))))); bpp 116 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (6) : ((((bpp > 6) && (bpp < 8))) ? (-2 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (0 + dsc_roundf((bpp - 12) * (6 / 3.0)))))); bpp 117 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-4) : ((((bpp >= 8) && (bpp <= 12))) ? (-2) : ((bpp >= 15) ? (4) : ((((bpp > 6) && (bpp < 8))) ? (-4 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (-2 + dsc_roundf((bpp - 12) * (6 / 3.0)))))); bpp 118 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-6) : ((((bpp >= 8) && (bpp <= 12))) ? (-4) : ((bpp >= 15) ? (2) : ((((bpp > 6) && (bpp < 8))) ? (-6 + dsc_roundf((bpp - 6) * (2 / 2.0))) : (-4 + dsc_roundf((bpp - 12) * (6 / 3.0)))))); bpp 119 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-6) : ((bpp >= 15) ? (0) : (-6 + dsc_roundf((bpp - 12) * (6 / 3.0)))); bpp 120 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-2) : (-8 + dsc_roundf((bpp - 12) * (6 / 3.0)))); bpp 121 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-4) : (-8 + dsc_roundf((bpp - 12) * (4 / 3.0)))); bpp 122 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-8) : ((bpp >= 15) ? (-6) : (-8 + dsc_roundf((bpp - 12) * (2 / 3.0)))); bpp 123 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 12) ? (-10) : ((bpp >= 15) ? (-8) : (-10 + dsc_roundf((bpp - 12) * (2 / 3.0)))); bpp 125 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-12) : ((bpp >= 8) ? (-10) : (-12 + dsc_roundf((bpp - 6) * (2 / 2.0)))); bpp 130 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (2) : ((bpp >= 10) ? (10) : (2 + dsc_roundf((bpp - 8) * (8 / 2.0)))); bpp 131 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (0) : ((bpp >= 10) ? (8) : (0 + dsc_roundf((bpp - 8) * (8 / 2.0)))); bpp 132 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (0) : ((bpp >= 10) ? (6) : (0 + dsc_roundf((bpp - 8) * (6 / 2.0)))); bpp 133 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-2) : ((bpp >= 10) ? (4) : (-2 + dsc_roundf((bpp - 8) * (6 / 2.0)))); bpp 134 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-4) : ((bpp >= 10) ? (2) : (-4 + dsc_roundf((bpp - 8) * (6 / 2.0)))); bpp 135 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-6) : ((bpp >= 10) ? (0) : (-6 + dsc_roundf((bpp - 8) * (6 / 2.0)))); bpp 136 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-8) : ((bpp >= 10) ? (-2) : (-8 + dsc_roundf((bpp - 8) * (6 / 2.0)))); bpp 137 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-8) : ((bpp >= 10) ? (-4) : (-8 + dsc_roundf((bpp - 8) * (4 / 2.0)))); bpp 138 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-8) : ((bpp >= 10) ? (-6) : (-8 + dsc_roundf((bpp - 8) * (2 / 2.0)))); bpp 139 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 8) ? (-10) : ((bpp >= 10) ? (-8) : (-10 + dsc_roundf((bpp - 8) * (2 / 2.0)))); bpp 141 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-12) : ((bpp >= 7) ? (-10) : (-12 + dsc_roundf((bpp - 6) * (2.0 / 1)))); bpp 146 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (2) : ((bpp >= 8) ? (10) : (2 + dsc_roundf((bpp - 6) * (8 / 2.0)))); bpp 147 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (0) : ((bpp >= 8) ? (8) : (0 + dsc_roundf((bpp - 6) * (8 / 2.0)))); bpp 148 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (0) : ((bpp >= 8) ? (6) : (0 + dsc_roundf((bpp - 6) * (6 / 2.0)))); bpp 149 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-2) : ((bpp >= 8) ? (4) : (-2 + dsc_roundf((bpp - 6) * (6 / 2.0)))); bpp 150 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-4) : ((bpp >= 8) ? (2) : (-4 + dsc_roundf((bpp - 6) * (6 / 2.0)))); bpp 151 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-6) : ((bpp >= 8) ? (0) : (-6 + dsc_roundf((bpp - 6) * (6 / 2.0)))); bpp 152 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-8) : ((bpp >= 8) ? (-2) : (-8 + dsc_roundf((bpp - 6) * (6 / 2.0)))); bpp 153 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-8) : ((bpp >= 8) ? (-4) : (-8 + dsc_roundf((bpp - 6) * (4 / 2.0)))); bpp 154 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-8) : ((bpp >= 8) ? (-6) : (-8 + dsc_roundf((bpp - 6) * (2 / 2.0)))); bpp 155 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 6) ? (-10) : ((bpp >= 8) ? (-8) : (-10 + dsc_roundf((bpp - 6) * (2 / 2.0)))); bpp 157 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c *p++ = (bpp <= 4) ? (-12) : ((bpp >= 5) ? (-10) : (-12 + dsc_roundf((bpp - 4) * (2 / 1.0)))); bpp 176 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c void calc_rc_params(struct rc_params *rc, enum colour_mode cm, enum bits_per_comp bpc, float bpp, int slice_width, int slice_height, int minor_version) bpp 187 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c bpp_group = MODE_SELECT(bpp, bpp * 2.0, bpp * 2.0); bpp 191 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_fullness_offset = (bpp >= 6) ? (2048) : ((bpp <= 4) ? (6144) : ((((bpp > 4) && (bpp <= 5))) ? (6144 - dsc_roundf((bpp - 4) * (512))) : (5632 - dsc_roundf((bpp - 5) * (3584))))); bpp 196 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_fullness_offset = (bpp >= 8) ? (2048) : ((bpp <= 7) ? (5632) : (5632 - dsc_roundf((bpp - 7) * (3584)))); bpp 202 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_fullness_offset = (bpp >= 12) ? (2048) : ((bpp <= 8) ? (6144) : ((((bpp > 8) && (bpp <= 10))) ? (6144 - dsc_roundf((bpp - 8) * (512 / 2))) : (5632 - dsc_roundf((bpp - 10) * (3584 / 2))))); bpp 209 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->initial_xmit_delay = dsc_roundf(8192.0/2.0/bpp/initial_xmit_delay_factor); bpp 226 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c get_qp_set(rc->qp_min, cm, bpc, MM_MIN, bpp); bpp 227 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c get_qp_set(rc->qp_max, cm, bpc, MM_MAX, bpp); bpp 234 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c get_ofs_set(rc->ofs, cm, bpp); bpp 75 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h float bpp; bpp 81 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.h void calc_rc_params(struct rc_params *rc, enum colour_mode cm, enum bits_per_comp bpc, float bpp, int slice_width, int slice_height, int minor_version); bpp 110 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c float bpp = ((float) pps->bits_per_pixel / 16.0); bpp 117 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c double d_bytes_per_pixel = dsc_ceil(bpp * slice_width / 8.0) / slice_width; bpp 129 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c bpp /= 2.0; bpp 131 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c calc_rc_params(&rc, mode, bpc, bpp, slice_width, slice_height, pps->dsc_version_minor); bpp 40 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c u32 bpp; bpp 44 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c bpp = 12; bpp 47 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c bpp = 15; bpp 50 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c bpp = info->cpp[0] * 8; bpp 54 drivers/gpu/drm/arm/display/komeda/komeda_format_caps.c return bpp; bpp 46 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c u32 alignment_w = 0, alignment_h = 0, alignment_header, n_blocks, bpp; bpp 91 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c bpp = komeda_get_afbc_format_bpp(info, fb->modifier); bpp 93 drivers/gpu/drm/arm/display/komeda/komeda_framebuffer.c ALIGN(bpp * AFBC_SUPERBLK_PIXELS / 8, bpp 31 drivers/gpu/drm/arm/display/komeda/komeda_kms.c u32 pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 310 drivers/gpu/drm/arm/malidp_drv.c int bpp = 0; bpp 327 drivers/gpu/drm/arm/malidp_drv.c bpp = malidp_format_get_bpp(info->format); bpp 329 drivers/gpu/drm/arm/malidp_drv.c afbc_superblock_size = (bpp * afbc_superblock_width * afbc_superblock_height) bpp 335 drivers/gpu/drm/arm/malidp_drv.c if ((mode_cmd->width * bpp) != (mode_cmd->pitches[0] * BITS_PER_BYTE)) { bpp 339 drivers/gpu/drm/arm/malidp_drv.c mode_cmd->width, bpp); bpp 467 drivers/gpu/drm/arm/malidp_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment); bpp 387 drivers/gpu/drm/arm/malidp_hw.c int bpp = info->cpp[0] * 8; bpp 389 drivers/gpu/drm/arm/malidp_hw.c if (bpp == 0) { bpp 392 drivers/gpu/drm/arm/malidp_hw.c bpp = 30; bpp 395 drivers/gpu/drm/arm/malidp_hw.c bpp = 15; bpp 398 drivers/gpu/drm/arm/malidp_hw.c bpp = 12; bpp 401 drivers/gpu/drm/arm/malidp_hw.c bpp = 0; bpp 405 drivers/gpu/drm/arm/malidp_hw.c return bpp; bpp 416 drivers/gpu/drm/arm/malidp_hw.c int bpp = malidp_format_get_bpp(fmt); bpp 418 drivers/gpu/drm/arm/malidp_hw.c return w * bpp; bpp 32 drivers/gpu/drm/armada/armada_drm.h static inline uint32_t armada_pitch(uint32_t width, uint32_t bpp) bpp 34 drivers/gpu/drm/armada/armada_drm.h uint32_t pitch = bpp != 4 ? width * ((bpp + 7) / 8) : width / 2; bpp 239 drivers/gpu/drm/armada/armada_gem.c args->pitch = armada_pitch(args->width, args->bpp); bpp 26 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c static int aspeed_gfx_set_pixel_fmt(struct aspeed_gfx *priv, u32 *bpp) bpp 40 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c *bpp = 16; bpp 45 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c *bpp = 32; bpp 83 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c u32 ctrl1, d_offset, t_count, bpp; bpp 86 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c err = aspeed_gfx_set_pixel_fmt(priv, &bpp); bpp 129 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c d_offset = m->hdisplay * bpp / 8; bpp 130 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c t_count = (m->hdisplay * bpp + 127) / 128; bpp 63 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c int bpp[ATMEL_HLCDC_LAYER_MAX_PLANES]; bpp 503 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c load += pixels * plane_state->bpp[i]; bpp 647 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->bpp[i] = fb->format->cpp[i]; bpp 648 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c if (!state->bpp[i]) bpp 656 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c xdiv) * state->bpp[i]; bpp 659 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c (2 * state->bpp[i]); bpp 660 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->pstride[i] = fb->pitches[i] - state->bpp[i]; bpp 666 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c xdiv) * state->bpp[i]; bpp 668 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->bpp[i]) - fb->pitches[i]; bpp 669 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->pstride[i] = -2 * state->bpp[i]; bpp 674 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c offset += (state->src_x / xdiv) * state->bpp[i]; bpp 677 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->pstride[i] = -fb->pitches[i] - state->bpp[i]; bpp 682 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c offset += (state->src_x / xdiv) * state->bpp[i]; bpp 685 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c state->bpp[i]); bpp 67 drivers/gpu/drm/bochs/bochs.h u32 bpp; bpp 210 drivers/gpu/drm/bochs/bochs_hw.c bochs->bpp = 32; bpp 211 drivers/gpu/drm/bochs/bochs_hw.c bochs->stride = mode->hdisplay * (bochs->bpp / 8); bpp 215 drivers/gpu/drm/bochs/bochs_hw.c bochs->xres, bochs->yres, bochs->bpp, bpp 221 drivers/gpu/drm/bochs/bochs_hw.c bochs_dispi_write(bochs, VBE_DISPI_INDEX_BPP, bochs->bpp); bpp 268 drivers/gpu/drm/bochs/bochs_hw.c x * (bochs->bpp / 8); bpp 270 drivers/gpu/drm/bochs/bochs_hw.c vx = (offset % bochs->stride) * 8 / bochs->bpp; bpp 271 drivers/gpu/drm/bochs/bochs_hw.c vwidth = stride * 8 / bochs->bpp; bpp 515 drivers/gpu/drm/bridge/cdns-dsi.c int bpp, nlanes; bpp 522 drivers/gpu/drm/bridge/cdns-dsi.c bpp = mipi_dsi_pixel_format_to_bpp(output->dev->format); bpp 533 drivers/gpu/drm/bridge/cdns-dsi.c dsi_cfg->hbp = dpi_to_dsi_timing(tmp, bpp, DSI_HBP_FRAME_OVERHEAD); bpp 541 drivers/gpu/drm/bridge/cdns-dsi.c dsi_cfg->hsa = dpi_to_dsi_timing(tmp, bpp, bpp 547 drivers/gpu/drm/bridge/cdns-dsi.c bpp, 0); bpp 549 drivers/gpu/drm/bridge/cdns-dsi.c bpp, DSI_HFP_FRAME_OVERHEAD); bpp 671 drivers/gpu/drm/bridge/cdns-dsi.c int bpp, ret; bpp 685 drivers/gpu/drm/bridge/cdns-dsi.c bpp = mipi_dsi_pixel_format_to_bpp(output->dev->format); bpp 686 drivers/gpu/drm/bridge/cdns-dsi.c if ((mode->hdisplay * bpp) % 32) bpp 788 drivers/gpu/drm/bridge/cdns-dsi.c int bpp, nlanes; bpp 794 drivers/gpu/drm/bridge/cdns-dsi.c bpp = mipi_dsi_pixel_format_to_bpp(output->dev->format); bpp 193 drivers/gpu/drm/cirrus/cirrus_drv.h int bpp, int pitch); bpp 266 drivers/gpu/drm/drm_client.c dumb_args.bpp = info->cpp[0] * 8; bpp 369 drivers/gpu/drm/drm_client.c fb_req.bpp = info->cpp[0] * 8; bpp 3547 drivers/gpu/drm/drm_dp_mst_topology.c int drm_dp_calc_pbn_mode(int clock, int bpp) bpp 3554 drivers/gpu/drm/drm_dp_mst_topology.c kbps = clock * bpp; bpp 66 drivers/gpu/drm/drm_dumb_buffers.c if (!args->width || !args->height || !args->bpp) bpp 70 drivers/gpu/drm/drm_dumb_buffers.c if (args->bpp > U32_MAX - 8) bpp 72 drivers/gpu/drm/drm_dumb_buffers.c cpp = DIV_ROUND_UP(args->bpp, 8); bpp 1521 drivers/gpu/drm/drm_fb_helper.c switch (cmdline_mode->bpp) { bpp 46 drivers/gpu/drm/drm_fourcc.c uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) bpp 50 drivers/gpu/drm/drm_fourcc.c switch (bpp) { bpp 110 drivers/gpu/drm/drm_fourcc.c uint32_t bpp, uint32_t depth) bpp 112 drivers/gpu/drm/drm_fourcc.c uint32_t fmt = drm_mode_legacy_fb_format(bpp, depth); bpp 125 drivers/gpu/drm/drm_framebuffer.c r.pixel_format = drm_driver_legacy_fb_format(dev, or->bpp, or->depth); bpp 127 drivers/gpu/drm/drm_framebuffer.c DRM_DEBUG("bad {bpp:%d, depth:%d}\n", or->bpp, or->depth); bpp 533 drivers/gpu/drm/drm_framebuffer.c r->bpp = fb->format->cpp[0] * 8; bpp 215 drivers/gpu/drm/drm_gem_cma_helper.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 254 drivers/gpu/drm/drm_gem_cma_helper.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 451 drivers/gpu/drm/drm_gem_shmem_helper.c u32 min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 375 drivers/gpu/drm/drm_gem_vram_helper.c pitch = args->width * ((args->bpp + 7) / 8); bpp 1421 drivers/gpu/drm/drm_modes.c unsigned int bpp; bpp 1427 drivers/gpu/drm/drm_modes.c bpp = simple_strtol(str, end_ptr, 10); bpp 1431 drivers/gpu/drm/drm_modes.c mode->bpp = bpp; bpp 608 drivers/gpu/drm/exynos/exynos_drm_g2d.c unsigned long bpp; bpp 613 drivers/gpu/drm/exynos/exynos_drm_g2d.c bpp = 4; bpp 620 drivers/gpu/drm/exynos/exynos_drm_g2d.c bpp = 2; bpp 623 drivers/gpu/drm/exynos/exynos_drm_g2d.c bpp = 3; bpp 626 drivers/gpu/drm/exynos/exynos_drm_g2d.c bpp = 1; bpp 630 drivers/gpu/drm/exynos/exynos_drm_g2d.c return bpp; bpp 639 drivers/gpu/drm/exynos/exynos_drm_g2d.c unsigned long bpp, last_pos; bpp 663 drivers/gpu/drm/exynos/exynos_drm_g2d.c bpp = g2d_get_buf_bpp(buf_desc->format); bpp 668 drivers/gpu/drm/exynos/exynos_drm_g2d.c (unsigned long)buf_desc->right_x * bpp - 1; bpp 360 drivers/gpu/drm/exynos/exynos_drm_gem.c args->pitch = args->width * ((args->bpp + 7) / 8); bpp 83 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c unsigned int alpha = DCU_LAYER_AB_NONE, bpp; bpp 97 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c bpp = FSL_DCU_RGB565; bpp 100 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c bpp = FSL_DCU_RGB888; bpp 106 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c bpp = FSL_DCU_ARGB8888; bpp 112 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c bpp = FSL_DCU_ARGB4444; bpp 118 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c bpp = FSL_DCU_ARGB1555; bpp 121 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c bpp = FSL_DCU_YUV422; bpp 138 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c DCU_LAYER_BPP(bpp) | bpp 692 drivers/gpu/drm/gma500/cdv_intel_display.c switch (dev_priv->edp.bpp) { bpp 368 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_intel_dp_link_required(int pixel_clock, int bpp) bpp 370 drivers/gpu/drm/gma500/cdv_intel_dp.c return (pixel_clock * bpp + 7) / 8; bpp 529 drivers/gpu/drm/gma500/cdv_intel_dp.c (cdv_intel_dp_link_required(mode->clock, dev_priv->edp.bpp) bpp 906 drivers/gpu/drm/gma500/cdv_intel_dp.c int bpp = 24; bpp 911 drivers/gpu/drm/gma500/cdv_intel_dp.c bpp = dev_priv->edp.bpp; bpp 918 drivers/gpu/drm/gma500/cdv_intel_dp.c if (cdv_intel_dp_link_required(refclock, bpp) <= link_avail) { bpp 970 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_intel_dp_compute_m_n(int bpp, bpp 977 drivers/gpu/drm/gma500/cdv_intel_dp.c m_n->gmch_m = (pixel_clock * bpp + 7) >> 3; bpp 994 drivers/gpu/drm/gma500/cdv_intel_dp.c int lane_count = 4, bpp = 24; bpp 1015 drivers/gpu/drm/gma500/cdv_intel_dp.c bpp = dev_priv->edp.bpp; bpp 1025 drivers/gpu/drm/gma500/cdv_intel_dp.c cdv_intel_dp_compute_m_n(bpp, lane_count, bpp 315 drivers/gpu/drm/gma500/framebuffer.c u32 bpp, depth; bpp 321 drivers/gpu/drm/gma500/framebuffer.c bpp = sizes->surface_bpp; bpp 325 drivers/gpu/drm/gma500/framebuffer.c if (bpp == 24) bpp 326 drivers/gpu/drm/gma500/framebuffer.c bpp = 32; bpp 334 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); bpp 362 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 64); bpp 381 drivers/gpu/drm/gma500/framebuffer.c mode_cmd.pixel_format = drm_mode_legacy_fb_format(bpp, depth); bpp 103 drivers/gpu/drm/gma500/gem.c args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); bpp 54 drivers/gpu/drm/gma500/intel_bios.c dev_priv->edp.bpp = 18; bpp 58 drivers/gpu/drm/gma500/intel_bios.c dev_priv->edp.bpp); bpp 66 drivers/gpu/drm/gma500/intel_bios.c dev_priv->edp.bpp = 18; bpp 69 drivers/gpu/drm/gma500/intel_bios.c dev_priv->edp.bpp = 24; bpp 72 drivers/gpu/drm/gma500/intel_bios.c dev_priv->edp.bpp = 30; bpp 102 drivers/gpu/drm/gma500/intel_bios.c dev_priv->edp.lanes, dev_priv->edp.rate, dev_priv->edp.bpp); bpp 419 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int num_lane, int bpp) bpp 421 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c return (u16)((pixel_clock_count * bpp) / (num_lane * 8)); bpp 432 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c int num_lane, int bpp) bpp 451 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_hsync, num_lane, bpp); bpp 453 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_hbp, num_lane, bpp); bpp 455 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_hfp, num_lane, bpp); bpp 457 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_hactive, num_lane, bpp); bpp 459 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_vsync, num_lane, bpp); bpp 461 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_vbp, num_lane, bpp); bpp 463 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c pclk_vfp, num_lane, bpp); bpp 490 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c switch (dsi_config->bpp) { bpp 502 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_config->bpp); bpp 507 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c (mode->vtotal * mode->htotal * dsi_config->bpp / bpp 525 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_config->lane_count, dsi_config->bpp); bpp 752 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c dsi_config->bpp); bpp 60 drivers/gpu/drm/gma500/mdfld_dsi_dpi.h int num_lane, int bpp); bpp 417 drivers/gpu/drm/gma500/mdfld_dsi_output.c config->bpp = 24; bpp 259 drivers/gpu/drm/gma500/mdfld_dsi_output.h int bpp; bpp 890 drivers/gpu/drm/gma500/mdfld_intel_display.c clk_byte = dev_priv->bpp / 8; bpp 588 drivers/gpu/drm/gma500/psb_drv.h u32 bpp; bpp 606 drivers/gpu/drm/gma500/psb_drv.h int bpp; bpp 80 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c args->pitch = ALIGN(args->width * DIV_ROUND_UP(args->bpp, 8), 16); bpp 541 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u32 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); bpp 548 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c dphy_req_kHz = mode->clock * bpp / dsi->lanes; bpp 613 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c u32 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); bpp 618 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c req_kHz = mode->clock * bpp / dsi->lanes; bpp 623 drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c mode->hdisplay, mode->vdisplay, bpp, bpp 309 drivers/gpu/drm/i915/display/icl_dsi.c u32 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); bpp 313 drivers/gpu/drm/i915/display/icl_dsi.c afe_clk_khz = DIV_ROUND_CLOSEST(intel_dsi->pclk * bpp, bpp 581 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.edp.bpp = 18; bpp 584 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.edp.bpp = 24; bpp 587 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.edp.bpp = 30; bpp 3912 drivers/gpu/drm/i915/display/intel_ddi.c if (encoder->type == INTEL_OUTPUT_EDP && dev_priv->vbt.edp.bpp && bpp 3913 drivers/gpu/drm/i915/display/intel_ddi.c pipe_config->pipe_bpp > dev_priv->vbt.edp.bpp) { bpp 3928 drivers/gpu/drm/i915/display/intel_ddi.c pipe_config->pipe_bpp, dev_priv->vbt.edp.bpp); bpp 3929 drivers/gpu/drm/i915/display/intel_ddi.c dev_priv->vbt.edp.bpp = pipe_config->pipe_bpp; bpp 9515 drivers/gpu/drm/i915/display/intel_display.c int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp) bpp 9522 drivers/gpu/drm/i915/display/intel_display.c u32 bps = target_clock * bpp * 21 / 20; bpp 11884 drivers/gpu/drm/i915/display/intel_display.c int bpp; bpp 11888 drivers/gpu/drm/i915/display/intel_display.c bpp = 6 * 3; bpp 11891 drivers/gpu/drm/i915/display/intel_display.c bpp = 8 * 3; bpp 11894 drivers/gpu/drm/i915/display/intel_display.c bpp = 10 * 3; bpp 11897 drivers/gpu/drm/i915/display/intel_display.c bpp = 12 * 3; bpp 11903 drivers/gpu/drm/i915/display/intel_display.c if (bpp < pipe_config->pipe_bpp) { bpp 11907 drivers/gpu/drm/i915/display/intel_display.c bpp, 3 * info->bpc, 3 * conn_state->max_requested_bpc, bpp 11910 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pipe_bpp = bpp; bpp 11924 drivers/gpu/drm/i915/display/intel_display.c int bpp, i; bpp 11928 drivers/gpu/drm/i915/display/intel_display.c bpp = 10*3; bpp 11930 drivers/gpu/drm/i915/display/intel_display.c bpp = 12*3; bpp 11932 drivers/gpu/drm/i915/display/intel_display.c bpp = 8*3; bpp 11934 drivers/gpu/drm/i915/display/intel_display.c pipe_config->pipe_bpp = bpp; bpp 414 drivers/gpu/drm/i915/display/intel_display.h void intel_link_compute_m_n(u16 bpp, int nlanes, bpp 462 drivers/gpu/drm/i915/display/intel_display.h int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp); bpp 233 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_link_required(int pixel_clock, int bpp) bpp 236 drivers/gpu/drm/i915/display/intel_dp.c return DIV_ROUND_UP(pixel_clock * bpp, 8); bpp 1872 drivers/gpu/drm/i915/display/intel_dp.c int bpp, bpc; bpp 1874 drivers/gpu/drm/i915/display/intel_dp.c bpp = pipe_config->pipe_bpp; bpp 1878 drivers/gpu/drm/i915/display/intel_dp.c bpp = min(bpp, 3*bpc); bpp 1883 drivers/gpu/drm/i915/display/intel_dp.c dev_priv->vbt.edp.bpp && dev_priv->vbt.edp.bpp < bpp) { bpp 1885 drivers/gpu/drm/i915/display/intel_dp.c dev_priv->vbt.edp.bpp); bpp 1886 drivers/gpu/drm/i915/display/intel_dp.c bpp = dev_priv->vbt.edp.bpp; bpp 1890 drivers/gpu/drm/i915/display/intel_dp.c return bpp; bpp 1901 drivers/gpu/drm/i915/display/intel_dp.c int bpp = 3 * intel_dp->compliance.test_data.bpc; bpp 1903 drivers/gpu/drm/i915/display/intel_dp.c limits->min_bpp = limits->max_bpp = bpp; bpp 1904 drivers/gpu/drm/i915/display/intel_dp.c pipe_config->dither_force_disable = bpp == 6 * 3; bpp 1906 drivers/gpu/drm/i915/display/intel_dp.c DRM_DEBUG_KMS("Setting pipe_bpp to %d\n", bpp); bpp 1929 drivers/gpu/drm/i915/display/intel_dp.c static int intel_dp_output_bpp(const struct intel_crtc_state *crtc_state, int bpp) bpp 1937 drivers/gpu/drm/i915/display/intel_dp.c bpp /= 2; bpp 1939 drivers/gpu/drm/i915/display/intel_dp.c return bpp; bpp 1949 drivers/gpu/drm/i915/display/intel_dp.c int bpp, clock, lane_count; bpp 1952 drivers/gpu/drm/i915/display/intel_dp.c for (bpp = limits->max_bpp; bpp >= limits->min_bpp; bpp -= 2 * 3) { bpp 1953 drivers/gpu/drm/i915/display/intel_dp.c int output_bpp = intel_dp_output_bpp(pipe_config, bpp); bpp 1968 drivers/gpu/drm/i915/display/intel_dp.c pipe_config->pipe_bpp = bpp; bpp 3205 drivers/gpu/drm/i915/display/intel_dp.c if (intel_dp_is_edp(intel_dp) && dev_priv->vbt.edp.bpp && bpp 3206 drivers/gpu/drm/i915/display/intel_dp.c pipe_config->pipe_bpp > dev_priv->vbt.edp.bpp) { bpp 3221 drivers/gpu/drm/i915/display/intel_dp.c pipe_config->pipe_bpp, dev_priv->vbt.edp.bpp); bpp 3222 drivers/gpu/drm/i915/display/intel_dp.c dev_priv->vbt.edp.bpp = pipe_config->pipe_bpp; bpp 108 drivers/gpu/drm/i915/display/intel_dp.h int intel_dp_link_required(int pixel_clock, int bpp); bpp 55 drivers/gpu/drm/i915/display/intel_dp_mst.c int bpp, slots = -EINVAL; bpp 60 drivers/gpu/drm/i915/display/intel_dp_mst.c for (bpp = limits->max_bpp; bpp >= limits->min_bpp; bpp -= 2 * 3) { bpp 61 drivers/gpu/drm/i915/display/intel_dp_mst.c crtc_state->pipe_bpp = bpp; bpp 11 drivers/gpu/drm/i915/display/intel_dsi.c int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); bpp 13 drivers/gpu/drm/i915/display/intel_dsi.c if (WARN_ON(bpp < 0)) bpp 14 drivers/gpu/drm/i915/display/intel_dsi.c bpp = 16; bpp 16 drivers/gpu/drm/i915/display/intel_dsi.c return intel_dsi->pclk * bpp / intel_dsi->lane_count; bpp 44 drivers/gpu/drm/i915/display/vlv_dsi.c static u16 txbyteclkhs(u16 pixels, int bpp, int lane_count, bpp 47 drivers/gpu/drm/i915/display/vlv_dsi.c return DIV_ROUND_UP(DIV_ROUND_UP(pixels * bpp * burst_mode_ratio, bpp 52 drivers/gpu/drm/i915/display/vlv_dsi.c static u16 pixels_from_txbyteclkhs(u16 clk_hs, int bpp, int lane_count, bpp 56 drivers/gpu/drm/i915/display/vlv_dsi.c (bpp * burst_mode_ratio)); bpp 1040 drivers/gpu/drm/i915/display/vlv_dsi.c unsigned int bpp, fmt; bpp 1060 drivers/gpu/drm/i915/display/vlv_dsi.c bpp = mipi_dsi_pixel_format_to_bpp( bpp 1088 drivers/gpu/drm/i915/display/vlv_dsi.c hfp = pixels_from_txbyteclkhs(hfp, bpp, lane_count, bpp 1090 drivers/gpu/drm/i915/display/vlv_dsi.c hsync = pixels_from_txbyteclkhs(hsync, bpp, lane_count, bpp 1092 drivers/gpu/drm/i915/display/vlv_dsi.c hbp = pixels_from_txbyteclkhs(hbp, bpp, lane_count, bpp 1142 drivers/gpu/drm/i915/display/vlv_dsi.c hfp_sw = txbyteclkhs(hfp_sw, bpp, lane_count, bpp 1144 drivers/gpu/drm/i915/display/vlv_dsi.c hsync_sw = txbyteclkhs(hsync_sw, bpp, lane_count, bpp 1146 drivers/gpu/drm/i915/display/vlv_dsi.c hbp_sw = txbyteclkhs(hbp_sw, bpp, lane_count, bpp 1150 drivers/gpu/drm/i915/display/vlv_dsi.c hfp_sw = pixels_from_txbyteclkhs(hfp_sw, bpp, lane_count, bpp 1152 drivers/gpu/drm/i915/display/vlv_dsi.c hsync_sw = pixels_from_txbyteclkhs(hsync_sw, bpp, lane_count, bpp 1154 drivers/gpu/drm/i915/display/vlv_dsi.c hbp_sw = pixels_from_txbyteclkhs(hbp_sw, bpp, lane_count, bpp 1233 drivers/gpu/drm/i915/display/vlv_dsi.c unsigned int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); bpp 1257 drivers/gpu/drm/i915/display/vlv_dsi.c hactive = txbyteclkhs(hactive, bpp, lane_count, bpp 1259 drivers/gpu/drm/i915/display/vlv_dsi.c hfp = txbyteclkhs(hfp, bpp, lane_count, intel_dsi->burst_mode_ratio); bpp 1260 drivers/gpu/drm/i915/display/vlv_dsi.c hsync = txbyteclkhs(hsync, bpp, lane_count, bpp 1262 drivers/gpu/drm/i915/display/vlv_dsi.c hbp = txbyteclkhs(hbp, bpp, lane_count, intel_dsi->burst_mode_ratio); bpp 1322 drivers/gpu/drm/i915/display/vlv_dsi.c unsigned int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); bpp 1419 drivers/gpu/drm/i915/display/vlv_dsi.c txbyteclkhs(adjusted_mode->crtc_htotal, bpp, bpp 1426 drivers/gpu/drm/i915/display/vlv_dsi.c bpp, intel_dsi->lane_count, bpp 47 drivers/gpu/drm/i915/display/vlv_dsi_pll.c u32 bpp = mipi_dsi_pixel_format_to_bpp(fmt); bpp 51 drivers/gpu/drm/i915/display/vlv_dsi_pll.c dsi_clk_khz = DIV_ROUND_CLOSEST(pclk * bpp, lane_count); bpp 259 drivers/gpu/drm/i915/display/vlv_dsi_pll.c int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); bpp 313 drivers/gpu/drm/i915/display/vlv_dsi_pll.c pclk = DIV_ROUND_CLOSEST(dsi_clock * intel_dsi->lane_count, bpp); bpp 326 drivers/gpu/drm/i915/display/vlv_dsi_pll.c int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); bpp 334 drivers/gpu/drm/i915/display/vlv_dsi_pll.c pclk = DIV_ROUND_CLOSEST(dsi_clk * intel_dsi->lane_count, bpp); bpp 255 drivers/gpu/drm/i915/gvt/dmabuf.c info->stride = c.width * (c.bpp / 8); bpp 44 drivers/gpu/drm/i915/gvt/fb_decoder.c int bpp; /* Bits per pixel, 0 indicates invalid */ bpp 147 drivers/gpu/drm/i915/gvt/fb_decoder.c u32 tiled, int stride_mask, int bpp) bpp 166 drivers/gpu/drm/i915/gvt/fb_decoder.c if (bpp == 8) bpp 168 drivers/gpu/drm/i915/gvt/fb_decoder.c else if (bpp == 16 || bpp == 32 || bpp == 64) bpp 171 drivers/gpu/drm/i915/gvt/fb_decoder.c gvt_dbg_core("skl: unsupported bpp:%d\n", bpp); bpp 231 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->bpp = skl_pixel_formats[fmt].bpp; bpp 236 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->bpp = bdw_pixel_formats[fmt].bpp; bpp 240 drivers/gpu/drm/i915/gvt/fb_decoder.c if (!plane->bpp) { bpp 261 drivers/gpu/drm/i915/gvt/fb_decoder.c _PRI_PLANE_STRIDE_MASK, plane->bpp); bpp 282 drivers/gpu/drm/i915/gvt/fb_decoder.c u8 bpp; /* Bits per pixel; 0 indicates invalid */ bpp 352 drivers/gpu/drm/i915/gvt/fb_decoder.c if (!cursor_pixel_formats[index].bpp) { bpp 357 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->bpp = cursor_pixel_formats[index].bpp; bpp 434 drivers/gpu/drm/i915/gvt/fb_decoder.c if (!sprite_pixel_formats[fmt].bpp) { bpp 439 drivers/gpu/drm/i915/gvt/fb_decoder.c plane->bpp = sprite_pixel_formats[fmt].bpp; bpp 105 drivers/gpu/drm/i915/gvt/fb_decoder.h u8 bpp; /* bits per pixel */ bpp 120 drivers/gpu/drm/i915/gvt/fb_decoder.h u8 bpp; /* bits per pixel */ bpp 137 drivers/gpu/drm/i915/gvt/fb_decoder.h u8 bpp; /* bits per pixel */ bpp 775 drivers/gpu/drm/i915/i915_drv.h int bpp; bpp 194 drivers/gpu/drm/i915/i915_gem.c int cpp = DIV_ROUND_UP(args->bpp, 8); bpp 11271 drivers/gpu/drm/i915/i915_reg.h #define DSC_BPP(bpp) ((bpp) << 0) bpp 4163 drivers/gpu/drm/i915/intel_pm.c int bpp; bpp 4174 drivers/gpu/drm/i915/intel_pm.c bpp = plane_state->base.fb->format->cpp[0] * 8; bpp 4175 drivers/gpu/drm/i915/intel_pm.c if (bpp == 64) bpp 368 drivers/gpu/drm/mcde/mcde_dsi.c u8 bpp = mipi_dsi_pixel_format_to_bpp(d->mdsi->format); bpp 442 drivers/gpu/drm/mcde/mcde_dsi.c hfp = (mode->hsync_start - mode->hdisplay) * bpp - 6 - 2; bpp 448 drivers/gpu/drm/mcde/mcde_dsi.c hbp = (mode->htotal - mode->hsync_end) * bpp - 4 - 6; bpp 454 drivers/gpu/drm/mcde/mcde_dsi.c hsa = (mode->hsync_end - mode->hsync_start) * bpp - 4 - 4 - 6; bpp 462 drivers/gpu/drm/mcde/mcde_dsi.c hbp = (mode->htotal - mode->hsync_start) * bpp - 4 - 4 - 6; bpp 478 drivers/gpu/drm/mcde/mcde_dsi.c val = mode->hdisplay * (bpp / 8); bpp 520 drivers/gpu/drm/mcde/mcde_dsi.c blkeol_pck = bpl - mode->hdisplay * bpp - 6; bpp 62 drivers/gpu/drm/mediatek/mtk_drm_fb.c unsigned int size, bpp; bpp 72 drivers/gpu/drm/mediatek/mtk_drm_fb.c bpp = info->cpp[0]; bpp 73 drivers/gpu/drm/mediatek/mtk_drm_fb.c size = (height - 1) * cmd->pitches[0] + width * bpp; bpp 104 drivers/gpu/drm/mediatek/mtk_drm_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 82 drivers/gpu/drm/meson/meson_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), SZ_64); bpp 1166 drivers/gpu/drm/mgag200/mgag200_mode.c u32 bpp; bpp 1170 drivers/gpu/drm/mgag200/mgag200_mode.c bpp = 32; bpp 1172 drivers/gpu/drm/mgag200/mgag200_mode.c bpp = 16; bpp 1174 drivers/gpu/drm/mgag200/mgag200_mode.c bpp = 8; bpp 1176 drivers/gpu/drm/mgag200/mgag200_mode.c mb = (mode->clock * bpp) / 1000; bpp 1568 drivers/gpu/drm/mgag200/mgag200_mode.c int bpp = 32; bpp 1576 drivers/gpu/drm/mgag200/mgag200_mode.c if (mga_vga_calculate_mode_bandwidth(mode, bpp) bpp 1584 drivers/gpu/drm/mgag200/mgag200_mode.c if (mga_vga_calculate_mode_bandwidth(mode, bpp) bpp 1588 drivers/gpu/drm/mgag200/mgag200_mode.c if (mga_vga_calculate_mode_bandwidth(mode, bpp) bpp 1597 drivers/gpu/drm/mgag200/mgag200_mode.c if (mga_vga_calculate_mode_bandwidth(mode, bpp) > bpp 1601 drivers/gpu/drm/mgag200/mgag200_mode.c (mga_vga_calculate_mode_bandwidth(mode, bpp) bpp 1605 drivers/gpu/drm/mgag200/mgag200_mode.c (mga_vga_calculate_mode_bandwidth(mode, bpp) bpp 1610 drivers/gpu/drm/mgag200/mgag200_mode.c bpp) > (55000 * 1024))) { bpp 1629 drivers/gpu/drm/mgag200/mgag200_mode.c bpp = connector->cmdline_mode.bpp; bpp 1632 drivers/gpu/drm/mgag200/mgag200_mode.c if ((mode->hdisplay * mode->vdisplay * (bpp/8)) > mdev->mc.vram_size) { bpp 45 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = bp, \ bpp 64 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = bp, \ bpp 84 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = bp, \ bpp 102 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = 2, \ bpp 121 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = 2, \ bpp 139 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = 2, \ bpp 158 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = 2, \ bpp 178 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c .bpp = bp, \ bpp 677 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_size[0] = width * height * layout->format->bpp; bpp 678 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = width * layout->format->bpp; bpp 682 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c uint32_t bpp = 1; bpp 695 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c bpp = 2; bpp 696 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c layout->plane_pitch[0] = width * bpp; bpp 360 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h u8 bpp; bpp 296 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.c ((fmt->bpp - 1) << 9); bpp 144 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c if (!fmt || !plane->state || !src_width || !fmt->bpp) { bpp 168 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c ((src_width + 32) * fmt->bpp); bpp 172 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c ((src_width + 32) * fmt->bpp); bpp 177 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c ((src_width + 32) * fmt->bpp); bpp 180 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c ((src_width + 32) * fmt->bpp); bpp 1072 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h unsigned int alignment = 0, bpp = 4; bpp 1083 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h bpp = 2; bpp 1093 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h return MSM_MEDIA_ALIGN(width * bpp, alignment); bpp 105 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c int bpp, nchan, swap; bpp 110 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c bpp = 3 * connector->display_info.bpc; bpp 112 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c if (!bpp) bpp 113 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c bpp = 18; bpp 119 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c switch (bpp) { bpp 218 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c DRM_DEV_ERROR(dev->dev, "unknown bpp: %d\n", bpp); bpp 683 drivers/gpu/drm/msm/dsi/dsi_host.c u32 bpp = dsi_get_bpp(msm_host->format); bpp 685 drivers/gpu/drm/msm/dsi/dsi_host.c u64 pclk_bpp = (u64)pclk_rate * bpp; bpp 716 drivers/gpu/drm/msm/dsi/dsi_host.c u32 bpp = dsi_get_bpp(msm_host->format); bpp 723 drivers/gpu/drm/msm/dsi/dsi_host.c pclk_bpp = (u64)dsi_get_pclk_rate(msm_host, is_dual_dsi) * bpp; bpp 405 drivers/gpu/drm/msm/edp/edp_ctrl.c u32 bpp; bpp 410 drivers/gpu/drm/msm/edp/edp_ctrl.c bpp = ctrl->color_depth * 3; bpp 418 drivers/gpu/drm/msm/edp/edp_ctrl.c prate *= bpp; bpp 698 drivers/gpu/drm/msm/edp/edp_ctrl.c u32 prate, lrate, bpp; bpp 706 drivers/gpu/drm/msm/edp/edp_ctrl.c bpp = ctrl->color_depth * 3; bpp 708 drivers/gpu/drm/msm/edp/edp_ctrl.c prate *= bpp; bpp 728 drivers/gpu/drm/msm/edp/edp_ctrl.c bpp); bpp 430 drivers/gpu/drm/msm/msm_drv.h static inline int align_pitch(int width, int bpp) bpp 432 drivers/gpu/drm/msm/msm_drv.h int bytespp = (bpp + 7) / 8; bpp 525 drivers/gpu/drm/msm/msm_gem.c args->pitch = align_pitch(args->width, args->bpp); bpp 45 drivers/gpu/drm/nouveau/dispnv04/arb.c int bpp; bpp 56 drivers/gpu/drm/nouveau/dispnv04/arb.c int pagemiss, cas, width, bpp; bpp 69 drivers/gpu/drm/nouveau/dispnv04/arb.c bpp = arb->bpp; bpp 86 drivers/gpu/drm/nouveau/dispnv04/arb.c crtc_drain_rate = pclk_freq * bpp / 8; bpp 96 drivers/gpu/drm/nouveau/dispnv04/arb.c p1 = p1 * bpp / 8; bpp 126 drivers/gpu/drm/nouveau/dispnv04/arb.c drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ bpp 163 drivers/gpu/drm/nouveau/dispnv04/arb.c + (arb->bpp == 32 ? 8 : 4); /* Margin of error. */ bpp 195 drivers/gpu/drm/nouveau/dispnv04/arb.c nv04_update_arb(struct drm_device *dev, int VClk, int bpp, bpp 209 drivers/gpu/drm/nouveau/dispnv04/arb.c sim_data.bpp = bpp; bpp 253 drivers/gpu/drm/nouveau/dispnv04/arb.c nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) bpp 258 drivers/gpu/drm/nouveau/dispnv04/arb.c nv04_update_arb(dev, vclk, bpp, burst, lwm); bpp 1037 drivers/gpu/drm/nouveau/dispnv04/crtc.c int bpp, pitch; bpp 1088 drivers/gpu/drm/nouveau/dispnv04/crtc.c state.bpp / 8); bpp 56 drivers/gpu/drm/nouveau/dispnv04/hw.h extern void nouveau_calc_arb(struct drm_device *, int vclk, int bpp, bpp 389 drivers/gpu/drm/nouveau/dispnv04/hw.h nv_pitch_align(struct drm_device *dev, uint32_t width, int bpp) bpp 394 drivers/gpu/drm/nouveau/dispnv04/hw.h if (bpp == 15) bpp 395 drivers/gpu/drm/nouveau/dispnv04/hw.h bpp = 16; bpp 396 drivers/gpu/drm/nouveau/dispnv04/hw.h if (bpp == 24) bpp 397 drivers/gpu/drm/nouveau/dispnv04/hw.h bpp = 8; bpp 401 drivers/gpu/drm/nouveau/dispnv04/hw.h mask = 128 / bpp - 1; bpp 403 drivers/gpu/drm/nouveau/dispnv04/hw.h mask = 512 / bpp - 1; bpp 651 drivers/gpu/drm/nouveau/nouveau_display.c args->pitch = roundup(args->width * (args->bpp / 8), 256); bpp 3242 drivers/gpu/drm/omapdrm/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3248 drivers/gpu/drm/omapdrm/dss/dsi.c if (dsi->line_buffer_size <= vm->hactive * bpp / 8) bpp 3373 drivers/gpu/drm/omapdrm/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3413 drivers/gpu/drm/omapdrm/dss/dsi.c width_bytes = DIV_ROUND_UP(vm->hactive * bpp, 8); bpp 3623 drivers/gpu/drm/omapdrm/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3630 drivers/gpu/drm/omapdrm/dss/dsi.c width_bytes = DIV_ROUND_UP(vm->hactive * bpp, 8); bpp 3730 drivers/gpu/drm/omapdrm/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3764 drivers/gpu/drm/omapdrm/dss/dsi.c word_count = DIV_ROUND_UP(dsi->vm.hactive * bpp, 8); bpp 527 drivers/gpu/drm/omapdrm/omap_crtc.c unsigned int bpp = 4; bpp 529 drivers/gpu/drm/omapdrm/omap_crtc.c bandwidth = bandwidth * mode->hdisplay * mode->vdisplay * bpp; bpp 596 drivers/gpu/drm/omapdrm/omap_gem.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 42 drivers/gpu/drm/qxl/qxl_dumb.c pitch = args->width * ((args->bpp + 1) / 8); bpp 46 drivers/gpu/drm/qxl/qxl_dumb.c switch (args->bpp) { bpp 310 drivers/gpu/drm/radeon/atombios_dp.c int bpp = convert_bpc_to_bpp(radeon_get_monitor_bpc(connector)); bpp 319 drivers/gpu/drm/radeon/atombios_dp.c max_pix_clock = (lane_num * 270000 * 8) / bpp; bpp 329 drivers/gpu/drm/radeon/atombios_dp.c max_pix_clock = (lane_num * link_rates[i] * 8) / bpp; bpp 9087 drivers/gpu/drm/radeon/cik.c fixed20_12 bpp; bpp 9096 drivers/gpu/drm/radeon/cik.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 9098 drivers/gpu/drm/radeon/cik.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 2043 drivers/gpu/drm/radeon/evergreen.c fixed20_12 bpp; bpp 2052 drivers/gpu/drm/radeon/evergreen.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 2054 drivers/gpu/drm/radeon/evergreen.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 513 drivers/gpu/drm/radeon/radeon_dp_mst.c int bpp = 24; bpp 517 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->pbn = drm_dp_calc_pbn_mode(adjusted_mode->clock, bpp); bpp 759 drivers/gpu/drm/radeon/radeon_gem.c DIV_ROUND_UP(args->bpp, 8), 0); bpp 989 drivers/gpu/drm/radeon/radeon_mode.h int radeon_align_pitch(struct radeon_device *rdev, int width, int bpp, bool tiled); bpp 2186 drivers/gpu/drm/radeon/si.c fixed20_12 bpp; bpp 2195 drivers/gpu/drm/radeon/si.c bpp.full = dfixed_const(wm->bytes_per_pixel); bpp 2197 drivers/gpu/drm/radeon/si.c bandwidth.full = dfixed_mul(src_width, bpp); bpp 39 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 46 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 53 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 60 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 67 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 74 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 81 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 88 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 12, bpp 95 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 12, bpp 102 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 114 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 8, bpp 119 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 124 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 129 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 134 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 139 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 144 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 149 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 154 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 159 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 164 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 169 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 174 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 179 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 184 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 189 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 24, bpp 194 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 24, bpp 199 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 204 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 209 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 214 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 219 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 224 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 32, bpp 229 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 234 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 239 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 12, bpp 244 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 12, bpp 249 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 254 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 16, bpp 259 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 24, bpp 264 drivers/gpu/drm/rcar-du/rcar_du_kms.c .bpp = 24, bpp 289 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 299 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 16 * args->bpp / 8; bpp 329 drivers/gpu/drm/rcar-du/rcar_du_kms.c unsigned int bpp = format->planes == 1 ? format->bpp / 8 : 1; bpp 331 drivers/gpu/drm/rcar-du/rcar_du_kms.c max_pitch = 4095 * bpp; bpp 336 drivers/gpu/drm/rcar-du/rcar_du_kms.c align = 16 * bpp; bpp 23 drivers/gpu/drm/rcar-du/rcar_du_kms.h unsigned int bpp; bpp 349 drivers/gpu/drm/rcar-du/rcar_du_plane.c pitch = fb->pitches[0] * 8 / state->format->bpp; bpp 366 drivers/gpu/drm/rcar-du/rcar_du_plane.c (interlaced && state->format->bpp == 32) ? bpp 384 drivers/gpu/drm/rcar-du/rcar_du_plane.c (!interlaced && state->format->bpp == 32 ? 2 : 1)); bpp 395 drivers/gpu/drm/rcar-du/rcar_du_plane.c (state->format->bpp == 16 ? 2 : 1) / 2); bpp 476 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c int bpp; bpp 488 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); bpp 489 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c if (bpp < 0) { bpp 493 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c return bpp; bpp 499 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c tmp = mpclk * (bpp / lanes) * 10 / 8; bpp 416 drivers/gpu/drm/rockchip/rockchip_drm_gem.c int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 860 drivers/gpu/drm/rockchip/rockchip_drm_vop.c int bpp = fb->format->cpp[1]; bpp 865 drivers/gpu/drm/rockchip/rockchip_drm_vop.c offset = (src->x1 >> 16) * bpp / hsub; bpp 410 drivers/gpu/drm/savage/savage_drv.h #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16)) bpp 304 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 377 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 403 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 429 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 455 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 492 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 518 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 547 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 573 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 680 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 754 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c FAIL_ON(mode.bpp != 24); bpp 291 drivers/gpu/drm/shmobile/shmob_drm_crtc.c unsigned int bpp; bpp 293 drivers/gpu/drm/shmobile/shmob_drm_crtc.c bpp = scrtc->format->yuv ? 8 : scrtc->format->bpp; bpp 296 drivers/gpu/drm/shmobile/shmob_drm_crtc.c + y * fb->pitches[0] + x * bpp / 8; bpp 299 drivers/gpu/drm/shmobile/shmob_drm_crtc.c bpp = scrtc->format->bpp - 8; bpp 302 drivers/gpu/drm/shmobile/shmob_drm_crtc.c + y / (bpp == 4 ? 2 : 1) * fb->pitches[1] bpp 303 drivers/gpu/drm/shmobile/shmob_drm_crtc.c + x * (bpp == 16 ? 2 : 1); bpp 29 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 16, bpp 34 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 24, bpp 39 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 32, bpp 44 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 12, bpp 49 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 12, bpp 54 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 16, bpp 59 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 16, bpp 64 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 24, bpp 69 drivers/gpu/drm/shmobile/shmob_drm_kms.c .bpp = 24, bpp 111 drivers/gpu/drm/shmobile/shmob_drm_kms.c unsigned int chroma_cpp = format->bpp == 24 ? 2 : 1; bpp 20 drivers/gpu/drm/shmobile/shmob_drm_kms.h unsigned int bpp; bpp 44 drivers/gpu/drm/shmobile/shmob_drm_plane.c unsigned int bpp; bpp 46 drivers/gpu/drm/shmobile/shmob_drm_plane.c bpp = splane->format->yuv ? 8 : splane->format->bpp; bpp 49 drivers/gpu/drm/shmobile/shmob_drm_plane.c + y * fb->pitches[0] + x * bpp / 8; bpp 52 drivers/gpu/drm/shmobile/shmob_drm_plane.c bpp = splane->format->bpp - 8; bpp 55 drivers/gpu/drm/shmobile/shmob_drm_plane.c + y / (bpp == 4 ? 2 : 1) * fb->pitches[1] bpp 56 drivers/gpu/drm/shmobile/shmob_drm_plane.c + x * (bpp == 16 ? 2 : 1); bpp 714 drivers/gpu/drm/sti/sti_gdp.c unsigned int bpp; bpp 778 drivers/gpu/drm/sti/sti_gdp.c bpp = fb->format->cpp[0]; bpp 780 drivers/gpu/drm/sti/sti_gdp.c top_field->gam_gdp_pml += src_x * bpp; bpp 42 drivers/gpu/drm/stm/drv.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 247 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c int ret, bpp; bpp 261 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c bpp = mipi_dsi_pixel_format_to_bpp(format); bpp 262 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c pll_out_khz = mode->clock * bpp / lanes; bpp 36 drivers/gpu/drm/sun4i/sun4i_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), 2); bpp 338 drivers/gpu/drm/sun4i/sun4i_tcon.c u8 bpp = mipi_dsi_pixel_format_to_bpp(device->format); bpp 372 drivers/gpu/drm/sun4i/sun4i_tcon.c block_space = mode->htotal * bpp / (tcon_div * lanes); bpp 204 drivers/gpu/drm/sun4i/sun8i_ui_layer.c int bpp; bpp 214 drivers/gpu/drm/sun4i/sun8i_ui_layer.c bpp = fb->format->cpp[0]; bpp 218 drivers/gpu/drm/sun4i/sun8i_ui_layer.c paddr += (state->src.x1 >> 16) * bpp; bpp 121 drivers/gpu/drm/tegra/dc.c unsigned int bpp) bpp 131 drivers/gpu/drm/tegra/dc.c switch (bpp) { bpp 342 drivers/gpu/drm/tegra/dc.c unsigned h_offset, v_offset, h_size, v_size, h_dda, v_dda, bpp; bpp 353 drivers/gpu/drm/tegra/dc.c bpp = window->bits_per_pixel / 8; bpp 355 drivers/gpu/drm/tegra/dc.c bpp = planar ? 1 : 2; bpp 366 drivers/gpu/drm/tegra/dc.c h_offset = window->src.x * bpp; bpp 368 drivers/gpu/drm/tegra/dc.c h_size = window->src.w * bpp; bpp 379 drivers/gpu/drm/tegra/dc.c bpp = 2; bpp 381 drivers/gpu/drm/tegra/dc.c h_dda = compute_dda_inc(window->src.w, window->dst.w, false, bpp); bpp 382 drivers/gpu/drm/tegra/dc.c v_dda = compute_dda_inc(window->src.h, window->dst.h, true, bpp); bpp 143 drivers/gpu/drm/tegra/fb.c unsigned int size, bpp; bpp 151 drivers/gpu/drm/tegra/fb.c bpp = info->cpp[i]; bpp 154 drivers/gpu/drm/tegra/fb.c width * bpp + cmd->offsets[i]; bpp 410 drivers/gpu/drm/tegra/gem.c unsigned int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 228 drivers/gpu/drm/tilcdc/tilcdc_drv.c u32 bpp = 0; bpp 315 drivers/gpu/drm/tilcdc/tilcdc_drv.c bpp = 16; bpp 325 drivers/gpu/drm/tilcdc/tilcdc_drv.c bpp = 32; /* Choose bpp with RGB support for fbdef */ bpp 331 drivers/gpu/drm/tilcdc/tilcdc_drv.c bpp = 16; /* Choose bpp with RGB support for fbdef */ bpp 338 drivers/gpu/drm/tilcdc/tilcdc_drv.c bpp = 16; /* This is just a guess */ bpp 401 drivers/gpu/drm/tilcdc/tilcdc_drv.c drm_fbdev_generic_setup(ddev, bpp); bpp 128 drivers/gpu/drm/tilcdc/tilcdc_drv.h uint32_t bpp; bpp 20 drivers/gpu/drm/tilcdc/tilcdc_external.c .bpp = 16, bpp 33 drivers/gpu/drm/tilcdc/tilcdc_external.c .bpp = 16, bpp 282 drivers/gpu/drm/tilcdc/tilcdc_panel.c ret |= of_property_read_u32(info_np, "bpp", &info->bpp); bpp 33 drivers/gpu/drm/tilcdc/tilcdc_tfp410.c .bpp = 16, bpp 81 drivers/gpu/drm/udl/udl_gem.c args->pitch = args->width * DIV_ROUND_UP(args->bpp, 8); bpp 119 drivers/gpu/drm/udl/udl_transfer.c const int bpp = 1 << log_bpp; bpp 157 drivers/gpu/drm/udl/udl_transfer.c pixel += bpp; bpp 163 drivers/gpu/drm/udl/udl_transfer.c pixel += bpp; bpp 166 drivers/gpu/drm/udl/udl_transfer.c if (unlikely(pixel > start + bpp)) { bpp 30 drivers/gpu/drm/vboxvideo/modesetting.c u16 bpp, u16 flags) bpp 46 drivers/gpu/drm/vboxvideo/modesetting.c p->bits_per_pixel = bpp; bpp 34 drivers/gpu/drm/vboxvideo/vbox_mode.c int width, height, bpp, pitch; bpp 41 drivers/gpu/drm/vboxvideo/vbox_mode.c bpp = fb ? fb->format->cpp[0] * 8 : 32; bpp 42 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch = fb ? fb->pitches[0] : width * bpp / 8; bpp 54 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->fb_offset % (bpp / 8) == 0) { bpp 57 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_write_ioport(VBE_DISPI_INDEX_VIRT_WIDTH, pitch * 8 / bpp); bpp 58 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_write_ioport(VBE_DISPI_INDEX_BPP, bpp); bpp 61 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->fb_offset % pitch / bpp * 8 + vbox_crtc->x); bpp 71 drivers/gpu/drm/vboxvideo/vbox_mode.c vbox_crtc->x * bpp / 8 + bpp 73 drivers/gpu/drm/vboxvideo/vbox_mode.c pitch, width, height, bpp, flags); bpp 409 drivers/gpu/drm/vboxvideo/vboxvideo.h u32 bpp; /* Which has never been used... */ bpp 55 drivers/gpu/drm/vboxvideo/vboxvideo_guest.h u16 bpp, u16 flags); bpp 476 drivers/gpu/drm/vc4/vc4_bo.c int min_pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 213 drivers/gpu/drm/vgem/vgem_drv.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); bpp 93 drivers/gpu/drm/virtio/virtgpu_gem.c if (args->bpp != 32) bpp 129 drivers/gpu/drm/vkms/vkms_gem.c pitch = args->width * DIV_ROUND_UP(args->bpp, 8); bpp 1038 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c args->pitch = args->width * ((args->bpp + 7) / 8); bpp 1084 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h unsigned bpp, unsigned depth); bpp 1880 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c unsigned bpp, unsigned depth) bpp 1889 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_write(vmw_priv, SVGA_REG_BITS_PER_PIXEL, bpp); bpp 1893 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c depth, bpp, vmw_read(vmw_priv, SVGA_REG_DEPTH)); bpp 124 drivers/gpu/drm/xen/xen_drm_front.c u32 bpp, u64 fb_cookie) bpp 145 drivers/gpu/drm/xen/xen_drm_front.c req->op.set_config.bpp = bpp; bpp 160 drivers/gpu/drm/xen/xen_drm_front.c u32 bpp, u64 size, struct page **pages) bpp 200 drivers/gpu/drm/xen/xen_drm_front.c req->op.dbuf_create.bpp = bpp; bpp 399 drivers/gpu/drm/xen/xen_drm_front.c args->pitch = DIV_ROUND_UP(args->width * args->bpp, 8); bpp 410 drivers/gpu/drm/xen/xen_drm_front.c args->width, args->height, args->bpp, bpp 144 drivers/gpu/drm/xen/xen_drm_front.h u32 bpp, u64 fb_cookie); bpp 148 drivers/gpu/drm/xen/xen_drm_front.h u32 bpp, u64 size, struct page **pages); bpp 360 drivers/gpu/drm/zte/zx_plane.c unsigned int bpp; bpp 382 drivers/gpu/drm/zte/zx_plane.c bpp = fb->format->cpp[0]; bpp 386 drivers/gpu/drm/zte/zx_plane.c paddr += src_y * stride + src_x * bpp / 8; bpp 370 drivers/gpu/ipu-v3/ipu-cpmem.c int bpp = 0, npb = 0, ro, go, bo, to; bpp 396 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 0; bpp 400 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 1; bpp 404 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 3; bpp 408 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 5; bpp 414 drivers/gpu/ipu-v3/ipu-cpmem.c ipu_ch_param_write_field(ch, IPU_FIELD_BPP, bpp); bpp 424 drivers/gpu/ipu-v3/ipu-cpmem.c int bpp = 0, npb = 0; bpp 428 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 0; bpp 432 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 1; bpp 436 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 3; bpp 440 drivers/gpu/ipu-v3/ipu-cpmem.c bpp = 5; bpp 447 drivers/gpu/ipu-v3/ipu-cpmem.c ipu_ch_param_write_field(ch, IPU_FIELD_BPP, bpp); bpp 128 drivers/gpu/ipu-v3/ipu-image-convert.c int bpp; /* total bpp */ bpp 235 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 16, bpp 238 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 24, bpp 241 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 24, bpp 244 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 32, bpp 247 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 32, bpp 250 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 32, bpp 253 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 32, bpp 256 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 32, bpp 259 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 32, bpp 262 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 16, bpp 267 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 16, bpp 272 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 12, bpp 278 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 12, bpp 285 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 12, bpp 292 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 16, bpp 298 drivers/gpu/ipu-v3/ipu-image-convert.c .bpp = 16, bpp 592 drivers/gpu/ipu-v3/ipu-image-convert.c return fmt->bpp == 32 ? 2 : fmt->bpp == 16 ? 4 : 8; bpp 864 drivers/gpu/ipu-v3/ipu-image-convert.c tile->size = ((tile->height * image->fmt->bpp) >> 3) * bpp 872 drivers/gpu/ipu-v3/ipu-image-convert.c (image->fmt->bpp * tile->width) >> 3; bpp 874 drivers/gpu/ipu-v3/ipu-image-convert.c (image->fmt->bpp * tile->height) >> 3; bpp 1041 drivers/gpu/ipu-v3/ipu-image-convert.c u32 bpp, stride, offset; bpp 1046 drivers/gpu/ipu-v3/ipu-image-convert.c bpp = fmt->bpp; bpp 1052 drivers/gpu/ipu-v3/ipu-image-convert.c col_off = (image->tile[tile].left * bpp) >> 3; bpp 1993 drivers/gpu/ipu-v3/ipu-image-convert.c clamp_align((in->pix.width * infmt->bpp) >> 3, bpp 1994 drivers/gpu/ipu-v3/ipu-image-convert.c ((2 << w_align_in) * infmt->bpp) >> 3, bpp 1995 drivers/gpu/ipu-v3/ipu-image-convert.c (MAX_W * infmt->bpp) >> 3, bpp 1998 drivers/gpu/ipu-v3/ipu-image-convert.c (in->pix.height * in->pix.bytesperline * infmt->bpp) >> 3 : bpp 2001 drivers/gpu/ipu-v3/ipu-image-convert.c (out->pix.width * outfmt->bpp) >> 3; bpp 2003 drivers/gpu/ipu-v3/ipu-image-convert.c (out->pix.height * out->pix.bytesperline * outfmt->bpp) >> 3 : bpp 118 drivers/hid/hid-picolcd.h u8 bpp; bpp 141 drivers/hid/hid-picolcd_fb.c static int picolcd_fb_update_tile(u8 *vbitmap, const u8 *bitmap, int bpp, bpp 148 drivers/hid/hid-picolcd_fb.c if (bpp == 1) { bpp 156 drivers/hid/hid-picolcd_fb.c } else if (bpp == 8) { bpp 211 drivers/hid/hid-picolcd_fb.c memset(fbdata->bitmap, 0, PICOLCDFB_SIZE*fbdata->bpp); bpp 251 drivers/hid/hid-picolcd_fb.c fbdata->bpp, chip, tile)) bpp 356 drivers/hid/hid-picolcd_fb.c __u32 bpp = var->bits_per_pixel; bpp 362 drivers/hid/hid-picolcd_fb.c if (bpp >= 8) { bpp 380 drivers/hid/hid-picolcd_fb.c if (info->var.bits_per_pixel == fbdata->bpp) bpp 416 drivers/hid/hid-picolcd_fb.c fbdata->bpp = info->var.bits_per_pixel; bpp 536 drivers/hid/hid-picolcd_fb.c fbdata->bpp = picolcdfb_var.bits_per_pixel; bpp 372 drivers/media/i2c/st-mipid02.c u32 bpp = bpp_from_code(bridge->fmt.code); bpp 379 drivers/media/i2c/st-mipid02.c return pixel_clock * bpp / (2 * ep->bus.mipi_csi2.num_data_lanes); bpp 104 drivers/media/i2c/video-i2c.c unsigned int bpp; bpp 366 drivers/media/i2c/video-i2c.c .bpp = 16, bpp 379 drivers/media/i2c/video-i2c.c .bpp = 16, bpp 665 drivers/media/i2c/video-i2c.c unsigned int bpp = data->chip->bpp / 8; bpp 671 drivers/media/i2c/video-i2c.c pix->bytesperline = pix->width * bpp; bpp 220 drivers/media/pci/cobalt/cobalt-driver.h u32 width, height, bpp; bpp 82 drivers/media/pci/cobalt/cobalt-v4l2.c s->width * s->bpp, s->stride, desc); bpp 645 drivers/media/pci/cobalt/cobalt-v4l2.c s->stride = timings->bt.width * s->bpp; bpp 809 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_YUYV; bpp 812 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_RGB24; bpp 815 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_RGB32; bpp 922 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_YUYV; bpp 926 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_RGB32; bpp 1218 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = 1; bpp 1221 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_RGB32; bpp 1224 drivers/media/pci/cobalt/cobalt-v4l2.c s->bpp = COBALT_BYTES_PER_PIXEL_YUYV; bpp 1228 drivers/media/pci/cobalt/cobalt-v4l2.c s->stride = s->width * s->bpp; bpp 857 drivers/media/pci/ttpci/av7110_hw.c int bpp; bpp 869 drivers/media/pci/ttpci/av7110_hw.c bpp=8; delta = 1; bpp 871 drivers/media/pci/ttpci/av7110_hw.c bpp=4; delta = 2; bpp 873 drivers/media/pci/ttpci/av7110_hw.c bpp=2; delta = 4; bpp 875 drivers/media/pci/ttpci/av7110_hw.c bpp=1; delta = 8; bpp 880 drivers/media/pci/ttpci/av7110_hw.c av7110->bmplen = ((dx * dy * bpp + 7) & ~7) / 8; bpp 897 drivers/media/pci/ttpci/av7110_hw.c << ((delta - d - 1) * bpp)); bpp 991 drivers/media/pci/ttpci/av7110_hw.c uint w, h, bpp, bpl, size, lpb, bnum, brest; bpp 1001 drivers/media/pci/ttpci/av7110_hw.c bpp = av7110->osdbpp[av7110->osdwin] + 1; bpp 1002 drivers/media/pci/ttpci/av7110_hw.c bpl = ((w * bpp + 7) & ~7) / 8; bpp 74 drivers/media/platform/am437x/am437x-vpfe.c unsigned int bpp; bpp 101 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 4, bpp 103 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 2, bpp 109 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 4, bpp 111 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 2, bpp 117 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 4, bpp 119 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 2, bpp 125 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 4, bpp 127 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 2, bpp 133 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 2, bpp 135 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 1, bpp 141 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 2, bpp 143 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 1, bpp 149 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 2, bpp 151 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 1, bpp 157 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 2, bpp 159 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 1, bpp 165 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 4, bpp 167 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 2, bpp 173 drivers/media/platform/am437x/am437x-vpfe.c .l.bpp = 4, bpp 175 drivers/media/platform/am437x/am437x-vpfe.c .s.bpp = 2, bpp 182 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format *format, unsigned int *bpp); bpp 215 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_pix_format *pix, unsigned int *bpp) bpp 224 drivers/media/platform/am437x/am437x-vpfe.c *bpp = 1; bpp 231 drivers/media/platform/am437x/am437x-vpfe.c *bpp = (bus_width == 10) ? fmt->l.bpp : fmt->s.bpp; bpp 234 drivers/media/platform/am437x/am437x-vpfe.c pix->bytesperline = ALIGN(pix->width * *bpp, 32); bpp 327 drivers/media/platform/am437x/am437x-vpfe.c int bpp) bpp 338 drivers/media/platform/am437x/am437x-vpfe.c horz_start = image_win->left * bpp; bpp 339 drivers/media/platform/am437x/am437x-vpfe.c horz_nr_pixels = (image_win->width * bpp) - 1; bpp 817 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_rect *win, unsigned int bpp) bpp 821 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.bayer.bytesperpixel = bpp; bpp 822 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.bayer.bytesperline = ALIGN(win->width * bpp, 32); bpp 825 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.ycbcr.bytesperpixel = bpp; bpp 826 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.ycbcr.bytesperline = ALIGN(win->width * bpp, 32); bpp 1053 drivers/media/platform/am437x/am437x-vpfe.c vpfe_ccdc_set_image_window(&vpfe->ccdc, &vpfe->crop, vpfe->bpp); bpp 1132 drivers/media/platform/am437x/am437x-vpfe.c ret = __vpfe_get_format(vpfe, &vpfe->fmt, &vpfe->bpp); bpp 1408 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format *format, unsigned int *bpp) bpp 1428 drivers/media/platform/am437x/am437x-vpfe.c mbus_to_pix(vpfe, &fmt.format, &format->fmt.pix, bpp); bpp 1437 drivers/media/platform/am437x/am437x-vpfe.c mbus_to_pix(vpfe, &mbus_fmt, &format->fmt.pix, bpp); bpp 1446 drivers/media/platform/am437x/am437x-vpfe.c format->fmt.pix.bytesperline, format->fmt.pix.sizeimage, *bpp); bpp 1453 drivers/media/platform/am437x/am437x-vpfe.c struct v4l2_format *format, unsigned int *bpp) bpp 1475 drivers/media/platform/am437x/am437x-vpfe.c mbus_to_pix(vpfe, &fmt.format, &format->fmt.pix, bpp); bpp 1483 drivers/media/platform/am437x/am437x-vpfe.c format->fmt.pix.bytesperline, format->fmt.pix.sizeimage, *bpp); bpp 1539 drivers/media/platform/am437x/am437x-vpfe.c unsigned int bpp; bpp 1543 drivers/media/platform/am437x/am437x-vpfe.c return __vpfe_get_format(vpfe, fmt, &bpp); bpp 1551 drivers/media/platform/am437x/am437x-vpfe.c unsigned int bpp; bpp 1562 drivers/media/platform/am437x/am437x-vpfe.c ret = __vpfe_get_format(vpfe, &format, &bpp); bpp 1571 drivers/media/platform/am437x/am437x-vpfe.c ret = __vpfe_set_format(vpfe, fmt, &bpp); bpp 1580 drivers/media/platform/am437x/am437x-vpfe.c vpfe->bpp = bpp; bpp 2160 drivers/media/platform/am437x/am437x-vpfe.c vpfe_ccdc_set_image_window(&vpfe->ccdc, &r, vpfe->bpp); bpp 253 drivers/media/platform/am437x/am437x-vpfe.h unsigned int bpp; bpp 1037 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1049 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 8; bpp 1058 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1067 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1073 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1079 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1085 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1092 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 32; bpp 1098 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 12; bpp 1104 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1110 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 16; bpp 1116 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.bpp = 8; bpp 1302 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->bytesperline = (pixfmt->width * isc->try_config.bpp) >> 3; bpp 105 drivers/media/platform/atmel/atmel-isc.h u8 bpp; bpp 89 drivers/media/platform/atmel/atmel-isi.c u8 bpp; bpp 587 drivers/media/platform/atmel/atmel-isi.c pixfmt->bytesperline = pixfmt->width * isi_fmt->bpp; bpp 956 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 961 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 966 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 971 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 976 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 981 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 986 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 991 drivers/media/platform/atmel/atmel-isi.c .bpp = 2, bpp 81 drivers/media/platform/cadence/cdns-csi2tx.c u32 bpp; bpp 123 drivers/media/platform/cadence/cdns-csi2tx.c .bpp = 2, bpp 128 drivers/media/platform/cadence/cdns-csi2tx.c .bpp = 3, bpp 366 drivers/media/platform/cadence/cdns-csi2tx.c writel(CSI2TX_DT_FORMAT_BYTES_PER_LINE(mfmt->width * fmt->bpp) | bpp 572 drivers/media/platform/davinci/vpbe_display.c int bpp; bpp 592 drivers/media/platform/davinci/vpbe_display.c bpp = 1; bpp 594 drivers/media/platform/davinci/vpbe_display.c bpp = 2; bpp 599 drivers/media/platform/davinci/vpbe_display.c min_width /= bpp; bpp 611 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->bytesperline < (pixfmt->width * bpp)) bpp 612 drivers/media/platform/davinci/vpbe_display.c pixfmt->bytesperline = pixfmt->width * bpp; bpp 615 drivers/media/platform/davinci/vpbe_display.c pixfmt->bytesperline = ((pixfmt->width * bpp + 31) & ~31); bpp 123 drivers/media/platform/davinci/vpfe_capture.c .bpp = 1, bpp 127 drivers/media/platform/davinci/vpfe_capture.c .bpp = 2, bpp 131 drivers/media/platform/davinci/vpfe_capture.c .bpp = 1, bpp 135 drivers/media/platform/davinci/vpfe_capture.c .bpp = 2, bpp 139 drivers/media/platform/davinci/vpfe_capture.c .bpp = 2, bpp 143 drivers/media/platform/davinci/vpfe_capture.c .bpp = 1, bpp 813 drivers/media/platform/davinci/vpfe_capture.c min_width /= vpfe_pix_fmt->bpp; bpp 816 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp); bpp 828 drivers/media/platform/davinci/vpfe_capture.c pixfmt->bytesperline = (((pixfmt->width * vpfe_pix_fmt->bpp) + 31) bpp 838 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp, bpp 400 drivers/media/platform/fsl-viu.c int bpp; bpp 410 drivers/media/platform/fsl-viu.c bpp = buf->fmt->depth >> 3; bpp 411 drivers/media/platform/fsl-viu.c switch (bpp) { bpp 422 drivers/media/platform/fsl-viu.c bpp * 8); bpp 708 drivers/media/platform/fsl-viu.c int bpp; bpp 720 drivers/media/platform/fsl-viu.c bpp = dev->ovfmt->depth / 8; bpp 721 drivers/media/platform/fsl-viu.c switch (bpp) { bpp 732 drivers/media/platform/fsl-viu.c bpp * 8); bpp 102 drivers/media/platform/marvell-ccic/mcam-core.c int bpp; /* Bytes per pixel */ bpp 109 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 2, bpp 115 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 2, bpp 121 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 1, bpp 127 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 1, bpp 133 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 2, bpp 139 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 2, bpp 145 drivers/media/platform/marvell-ccic/mcam-core.c .bpp = 1, bpp 1382 drivers/media/platform/marvell-ccic/mcam-core.c pix->bytesperline = pix->width * f->bpp; bpp 126 drivers/media/platform/omap/omap_vout.c int ifmt, bpp = 0; bpp 148 drivers/media/platform/omap/omap_vout.c bpp = YUYV_BPP; bpp 153 drivers/media/platform/omap/omap_vout.c bpp = RGB565_BPP; bpp 157 drivers/media/platform/omap/omap_vout.c bpp = RGB24_BPP; bpp 162 drivers/media/platform/omap/omap_vout.c bpp = RGB32_BPP; bpp 165 drivers/media/platform/omap/omap_vout.c pix->bytesperline = pix->width * bpp; bpp 168 drivers/media/platform/omap/omap_vout.c return bpp; bpp 635 drivers/media/platform/omap/omap_vout.c int ret, bpp; bpp 676 drivers/media/platform/omap/omap_vout.c bpp = omap_vout_try_format(&f->fmt.pix); bpp 677 drivers/media/platform/omap/omap_vout.c f->fmt.pix.sizeimage = f->fmt.pix.width * f->fmt.pix.height * bpp; bpp 680 drivers/media/platform/omap/omap_vout.c vout->bpp = bpp; bpp 1330 drivers/media/platform/omap/omap_vout.c vout->bpp = RGB565_BPP; bpp 225 drivers/media/platform/omap/omap_vout_vrfb.c vout->pix.height, vout->bpp, yuv_mode); bpp 253 drivers/media/platform/omap/omap_vout_vrfb.c pixsize = vout->bpp * vout->vrfb_bpp; bpp 254 drivers/media/platform/omap/omap_vout_vrfb.c dst_icg = MAX_PIXELS_PER_LINE * pixsize - vout->pix.width * vout->bpp; bpp 261 drivers/media/platform/omap/omap_vout_vrfb.c xt->sgl[0].size = vout->pix.width * vout->bpp; bpp 158 drivers/media/platform/omap/omap_voutdef.h int bpp; /* bytes per pixel */ bpp 1406 drivers/media/platform/omap3isp/isppreview.c info->bpp); bpp 160 drivers/media/platform/omap3isp/ispvideo.c min_bpl = pix->width * formats[i].bpp; bpp 50 drivers/media/platform/omap3isp/ispvideo.h unsigned int bpp; bpp 1262 drivers/media/platform/pxa_camera.c unsigned long dw, bpp; bpp 1276 drivers/media/platform/pxa_camera.c bpp = 0x40; bpp 1280 drivers/media/platform/pxa_camera.c bpp = 0x20; bpp 1289 drivers/media/platform/pxa_camera.c bpp = 0; bpp 1307 drivers/media/platform/pxa_camera.c cicr1 = CICR1_PPL_VAL(pcdev->current_pix.width - 1) | bpp | dw; bpp 82 drivers/media/platform/qcom/camss/camss-csid.c u8 bpp; bpp 484 drivers/media/platform/qcom/camss/camss-csid.c u64 min_rate = pixel_clock * f->bpp / bpp 651 drivers/media/platform/qcom/camss/camss-csid.c f->width * format->bpp * format->spp / 8; bpp 60 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c static u8 csiphy_settle_cnt_calc(u32 pixel_clock, u8 bpp, u8 num_lanes, bpp 71 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c mipi_clock = pixel_clock * bpp / (2 * num_lanes); bpp 86 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c u32 pixel_clock, u8 bpp, u8 lane_mask) bpp 93 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c settle_cnt = csiphy_settle_cnt_calc(pixel_clock, bpp, c->num_data, bpp 114 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c static u8 csiphy_settle_cnt_calc(u32 pixel_clock, u8 bpp, u8 num_lanes, bpp 124 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c mipi_clock = pixel_clock * bpp / (2 * num_lanes); bpp 138 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c u32 pixel_clock, u8 bpp, u8 lane_mask) bpp 145 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c settle_cnt = csiphy_settle_cnt_calc(pixel_clock, bpp, c->num_data, bpp 29 drivers/media/platform/qcom/camss/camss-csiphy.c u8 bpp; bpp 91 drivers/media/platform/qcom/camss/camss-csiphy.c return formats[i].bpp; bpp 95 drivers/media/platform/qcom/camss/camss-csiphy.c return formats[0].bpp; bpp 119 drivers/media/platform/qcom/camss/camss-csiphy.c u8 bpp = csiphy_get_bpp(csiphy->formats, bpp 123 drivers/media/platform/qcom/camss/camss-csiphy.c u64 min_rate = pixel_clock * bpp / (2 * num_lanes * 4); bpp 243 drivers/media/platform/qcom/camss/camss-csiphy.c u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, bpp 271 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops->lanes_enable(csiphy, cfg, pixel_clock, bpp, lane_mask); bpp 53 drivers/media/platform/qcom/camss/camss-csiphy.h u32 pixel_clock, u8 bpp, u8 lane_mask); bpp 50 drivers/media/platform/qcom/camss/camss-vfe.c u8 bpp; bpp 128 drivers/media/platform/qcom/camss/camss-vfe.c return formats[i].bpp; bpp 132 drivers/media/platform/qcom/camss/camss-vfe.c return formats[0].bpp; bpp 1135 drivers/media/platform/qcom/camss/camss-vfe.c u8 bpp; bpp 1142 drivers/media/platform/qcom/camss/camss-vfe.c bpp = vfe_get_bpp(l->formats, bpp 1145 drivers/media/platform/qcom/camss/camss-vfe.c tmp = pixel_clock[j] * bpp / 64; bpp 1217 drivers/media/platform/qcom/camss/camss-vfe.c u8 bpp; bpp 1224 drivers/media/platform/qcom/camss/camss-vfe.c bpp = vfe_get_bpp(l->formats, bpp 1227 drivers/media/platform/qcom/camss/camss-vfe.c tmp = pixel_clock[j] * bpp / 64; bpp 41 drivers/media/platform/qcom/camss/camss-video.c unsigned int bpp[3]; bpp 258 drivers/media/platform/qcom/camss/camss-video.c f->hsub[i].denominator * f->bpp[i] / 8; bpp 618 drivers/media/platform/qcom/camss/camss-video.c fi->hsub[i].denominator * fi->bpp[i] / 8; bpp 314 drivers/media/platform/rcar-vin/rcar-csi2.c unsigned int bpp; bpp 318 drivers/media/platform/rcar-vin/rcar-csi2.c { .code = MEDIA_BUS_FMT_RGB888_1X24, .datatype = 0x24, .bpp = 24 }, bpp 319 drivers/media/platform/rcar-vin/rcar-csi2.c { .code = MEDIA_BUS_FMT_UYVY8_1X16, .datatype = 0x1e, .bpp = 16 }, bpp 320 drivers/media/platform/rcar-vin/rcar-csi2.c { .code = MEDIA_BUS_FMT_YUYV8_1X16, .datatype = 0x1e, .bpp = 16 }, bpp 321 drivers/media/platform/rcar-vin/rcar-csi2.c { .code = MEDIA_BUS_FMT_UYVY8_2X8, .datatype = 0x1e, .bpp = 16 }, bpp 322 drivers/media/platform/rcar-vin/rcar-csi2.c { .code = MEDIA_BUS_FMT_YUYV10_2X10, .datatype = 0x1e, .bpp = 20 }, bpp 449 drivers/media/platform/rcar-vin/rcar-csi2.c static int rcsi2_calc_mbps(struct rcar_csi2 *priv, unsigned int bpp) bpp 473 drivers/media/platform/rcar-vin/rcar-csi2.c mbps = v4l2_ctrl_g_ctrl_int64(ctrl) * bpp; bpp 527 drivers/media/platform/rcar-vin/rcar-csi2.c mbps = rcsi2_calc_mbps(priv, format->bpp); bpp 607 drivers/media/platform/rcar-vin/rcar-dma.c stride = vin->format.bytesperline / fmt->bpp; bpp 814 drivers/media/platform/rcar-vin/rcar-dma.c offsetx = vin->compose.left * fmt->bpp; bpp 35 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 1, bpp 39 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 2, bpp 43 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 2, bpp 47 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 2, bpp 51 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 2, bpp 55 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 4, bpp 59 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 2, bpp 63 drivers/media/platform/rcar-vin/rcar-v4l2.c .bpp = 4, bpp 95 drivers/media/platform/rcar-vin/rcar-v4l2.c return ALIGN(pix->width, align) * fmt->bpp; bpp 401 drivers/media/platform/rcar-vin/rcar-v4l2.c while ((r.left * fmt->bpp) & HW_BUFFER_MASK) bpp 70 drivers/media/platform/rcar-vin/rcar-vin.h u8 bpp; bpp 285 drivers/media/platform/rcar_fdp1.c u8 bpp[3]; bpp 1435 drivers/media/platform/rcar_fdp1.c pix->width / hsub * fmt->bpp[i] / 8, bpp 1943 drivers/media/platform/rcar_fdp1.c const u32 bpp = 2; /* bytes per pixel */ bpp 1947 drivers/media/platform/rcar_fdp1.c ctx->smsk_size = bpp * stride * q_data->vsize; bpp 246 drivers/media/platform/rcar_jpu.c u8 bpp[2]; bpp 824 drivers/media/platform/rcar_jpu.c pix->plane_fmt[i].sizeimage = bpl * h * fmt->bpp[i] / 8; bpp 135 drivers/media/platform/renesas-ceu.c u8 bpp; bpp 224 drivers/media/platform/renesas-ceu.c u32 bpp; bpp 237 drivers/media/platform/renesas-ceu.c .bpp = 16, bpp 241 drivers/media/platform/renesas-ceu.c .bpp = 16, bpp 245 drivers/media/platform/renesas-ceu.c .bpp = 12, bpp 249 drivers/media/platform/renesas-ceu.c .bpp = 12, bpp 253 drivers/media/platform/renesas-ceu.c .bpp = 16, bpp 257 drivers/media/platform/renesas-ceu.c .bpp = 16, bpp 261 drivers/media/platform/renesas-ceu.c .bpp = 16, bpp 265 drivers/media/platform/renesas-ceu.c .bpp = 16, bpp 364 drivers/media/platform/renesas-ceu.c capwr = (pix->height << 16) | pix->width * mbus_fmt->bpp / 8; bpp 590 drivers/media/platform/renesas-ceu.c bpl = pix->width * ceu_fmt->bpp / 8; bpp 1027 drivers/media/platform/renesas-ceu.c mbus_fmt->bpp = 16; bpp 1034 drivers/media/platform/renesas-ceu.c mbus_fmt->bpp = 16; bpp 1041 drivers/media/platform/renesas-ceu.c mbus_fmt->bpp = 16; bpp 1048 drivers/media/platform/renesas-ceu.c mbus_fmt->bpp = 16; bpp 141 drivers/media/platform/sh_vou.c unsigned char bpp; bpp 152 drivers/media/platform/sh_vou.c .bpp = 12, bpp 159 drivers/media/platform/sh_vou.c .bpp = 16, bpp 166 drivers/media/platform/sh_vou.c .bpp = 24, bpp 173 drivers/media/platform/sh_vou.c .bpp = 16, bpp 180 drivers/media/platform/sh_vou.c .bpp = 16, bpp 243 drivers/media/platform/sh_vou.c int bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; bpp 258 drivers/media/platform/sh_vou.c unsigned bytes_per_line = vou_fmt[vou_dev->pix_idx].bpp * pix->width / 8; bpp 682 drivers/media/platform/sh_vou.c pix->sizeimage = pix->height * ((pix->width * vou_fmt[pix_idx].bpp) >> 3); bpp 850 drivers/media/platform/sh_vou.c ((vou_dev->pix.width * vou_fmt[vou_dev->pix_idx].bpp) >> 3); bpp 50 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .bpp = 32, bpp 59 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .bpp = 32, bpp 68 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .bpp = 16, bpp 77 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .bpp = 12, bpp 86 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .bpp = 24, bpp 97 drivers/media/platform/sti/bdisp/bdisp-v4l2.c .bpp = 12, bpp 783 drivers/media/platform/sti/bdisp/bdisp-v4l2.c pix->sizeimage = (pix->width * pix->height * format->bpp) / 8; bpp 49 drivers/media/platform/sti/bdisp/bdisp.h u8 bpp; bpp 112 drivers/media/platform/stm32/stm32-dcmi.c u8 bpp; bpp 1040 drivers/media/platform/stm32/stm32-dcmi.c pix->bytesperline = pix->width * sd_fmt->bpp; bpp 1566 drivers/media/platform/stm32/stm32-dcmi.c .bpp = 2, bpp 1570 drivers/media/platform/stm32/stm32-dcmi.c .bpp = 2, bpp 1574 drivers/media/platform/stm32/stm32-dcmi.c .bpp = 2, bpp 1578 drivers/media/platform/stm32/stm32-dcmi.c .bpp = 1, bpp 99 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h u8 bpp[3]; bpp 29 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c .bpp = { 8, 8, 8 }, bpp 131 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c bpl = pix->width / hsub * _fmt->bpp[i] / 8; bpp 354 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c int bpp; bpp 362 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c bpp = sun6i_csi_get_bpp(pixfmt->pixelformat); bpp 363 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->bytesperline = (pixfmt->width * bpp) >> 3; bpp 74 drivers/media/platform/ti-vpe/cal.c #define bytes_per_line(pixel, bpp) (ALIGN(pixel * bpp, 16)) bpp 1135 drivers/media/platform/ti-vpe/vpe.c int bpp = fmt->fourcc == V4L2_PIX_FMT_NV12 ? bpp 1139 drivers/media/platform/ti-vpe/vpe.c dma_addr += q_data->width * height * bpp; bpp 149 drivers/media/platform/via-camera.c int bpp; /* Bytes per pixel */ bpp 155 drivers/media/platform/via-camera.c .bpp = 2, bpp 826 drivers/media/platform/via-camera.c sensorfmt->bytesperline = sensorfmt->width * f->bpp; bpp 108 drivers/media/platform/vimc/vimc-capture.c format->bytesperline = format->width * vpix->bpp; bpp 455 drivers/media/platform/vimc/vimc-capture.c vcap->format.bytesperline = vcap->format.width * vpix->bpp; bpp 24 drivers/media/platform/vimc/vimc-common.c .bpp = 3, bpp 30 drivers/media/platform/vimc/vimc-common.c .bpp = 3, bpp 36 drivers/media/platform/vimc/vimc-common.c .bpp = 4, bpp 44 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 50 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 56 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 62 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 68 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 74 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 80 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 86 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 94 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 100 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 106 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 112 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 120 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 126 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 132 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 138 drivers/media/platform/vimc/vimc-common.c .bpp = 1, bpp 144 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 150 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 156 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 162 drivers/media/platform/vimc/vimc-common.c .bpp = 2, bpp 27 drivers/media/platform/vimc/vimc-common.h #define VIMC_FRAME_INDEX(lin, col, width, bpp) ((lin * width + col) * bpp) bpp 82 drivers/media/platform/vimc/vimc-common.h unsigned int bpp; bpp 325 drivers/media/platform/vimc/vimc-debayer.c vpix->bpp; bpp 329 drivers/media/platform/vimc/vimc-debayer.c vdeb->sink_bpp = vpix->bpp; bpp 39 drivers/media/platform/vimc/vimc-scaler.c unsigned int bpp; bpp 220 drivers/media/platform/vimc/vimc-scaler.c vsca->bpp = vpix->bpp; bpp 224 drivers/media/platform/vimc/vimc-scaler.c sca_mult * vsca->bpp; bpp 259 drivers/media/platform/vimc/vimc-scaler.c const unsigned int bpp) bpp 264 drivers/media/platform/vimc/vimc-scaler.c for (i = 0; i < bpp; i++) bpp 278 drivers/media/platform/vimc/vimc-scaler.c vsca->bpp); bpp 289 drivers/media/platform/vimc/vimc-scaler.c vsca->sink_fmt.width * sca_mult, vsca->bpp); bpp 299 drivers/media/platform/vimc/vimc-scaler.c for (j = 0; j < sca_mult * vsca->bpp; j += vsca->bpp) { bpp 306 drivers/media/platform/vimc/vimc-scaler.c pixel, vsca->bpp); bpp 114 drivers/media/platform/vimc/vimc-sensor.c tpg_s_bytesperline(&vsen->tpg, 0, vsen->mbus_format.width * vpix->bpp); bpp 212 drivers/media/platform/vimc/vimc-sensor.c frame_size = vsen->mbus_format.width * vpix->bpp * bpp 42 drivers/media/platform/vsp1/vsp1_pipe.h unsigned int bpp[3]; bpp 291 drivers/media/platform/vsp1/vsp1_rpf.c + crop.left * fmtinfo->bpp[0] / 8; bpp 298 drivers/media/platform/vsp1/vsp1_rpf.c * fmtinfo->bpp[1] / 8; bpp 152 drivers/media/platform/vsp1/vsp1_video.c pix->width / hsub * info->bpp[i] / 8, bpp 473 drivers/media/platform/vsp1/vsp1_wpf.c * fmtinfo->bpp[i] / 8; bpp 510 drivers/media/platform/vsp1/vsp1_wpf.c * fmtinfo->bpp[i] / 8; bpp 367 drivers/media/platform/xilinx/xilinx-dma.c dma->sgl[0].size = dma->format.width * dma->fmtinfo->bpp; bpp 562 drivers/media/platform/xilinx/xilinx-dma.c align = lcm(dma->align, info->bpp); bpp 565 drivers/media/platform/xilinx/xilinx-dma.c width = rounddown(pix->width * info->bpp, align); bpp 567 drivers/media/platform/xilinx/xilinx-dma.c pix->width = clamp(width, min_width, max_width) / info->bpp; bpp 575 drivers/media/platform/xilinx/xilinx-dma.c min_bpl = pix->width * info->bpp; bpp 669 drivers/media/platform/xilinx/xilinx-dma.c dma->format.bytesperline = dma->format.width * dma->fmtinfo->bpp; bpp 118 drivers/media/platform/xilinx/xilinx-vip.h unsigned int bpp; bpp 485 drivers/media/usb/uvc/uvc_driver.c format->bpp = buffer[21]; bpp 495 drivers/media/usb/uvc/uvc_driver.c format->bpp = 8; bpp 508 drivers/media/usb/uvc/uvc_driver.c n = info->bpp[0] * div; bpp 510 drivers/media/usb/uvc/uvc_driver.c n += info->bpp[i]; bpp 512 drivers/media/usb/uvc/uvc_driver.c format->bpp = DIV_ROUND_UP(8 * n, div); bpp 537 drivers/media/usb/uvc/uvc_driver.c format->bpp = 0; bpp 573 drivers/media/usb/uvc/uvc_driver.c format->bpp = 0; bpp 652 drivers/media/usb/uvc/uvc_driver.c frame->dwMaxVideoFrameBufferSize = format->bpp bpp 146 drivers/media/usb/uvc/uvc_v4l2.c return format->bpp * frame->wWidth / 8; bpp 181 drivers/media/usb/uvc/uvc_video.c bandwidth = frame->wWidth * frame->wHeight / 8 * format->bpp; bpp 372 drivers/media/usb/uvc/uvcvideo.h u8 bpp; bpp 239 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGR24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 240 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGB24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 241 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_HSV24, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 242 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 243 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_XBGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 244 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGRX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 245 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 246 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_XRGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 247 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGBX32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 248 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_HSV32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 249 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_ARGB32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 250 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_RGBA32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 251 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_ABGR32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 252 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_BGRA32, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 253 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_GREY, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 256 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUYV, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 257 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVYU, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 258 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_UYVY, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 259 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_VYUY, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 262 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV12, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 263 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV21, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 264 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV16, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 265 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV61, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 266 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV24, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 267 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV42, .mem_planes = 1, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 269 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV410, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 4, .vdiv = 4 }, bpp 270 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU410, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 4, .vdiv = 4 }, bpp 271 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV411P, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 4, .vdiv = 1 }, bpp 272 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV420, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 273 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU420, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 274 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV422P, .mem_planes = 1, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 277 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV420M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 278 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU420M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 279 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV422M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 280 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU422M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 281 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YUV444M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 282 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_YVU444M, .mem_planes = 3, .comp_planes = 3, .bpp = { 1, 1, 1, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 284 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV12M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 285 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV21M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 2 }, bpp 286 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV16M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 287 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_NV61M, .mem_planes = 2, .comp_planes = 2, .bpp = { 1, 2, 0, 0 }, .hdiv = 2, .vdiv = 1 }, bpp 290 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 291 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 292 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 293 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 294 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 295 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 296 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 297 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB10, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 298 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 299 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 300 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 301 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB10ALAW8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 302 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 303 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 304 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 305 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB10DPCM8, .mem_planes = 1, .comp_planes = 1, .bpp = { 1, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 306 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SBGGR12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 307 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGBRG12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 308 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SGRBG12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 309 drivers/media/v4l2-core/v4l2-common.c { .format = V4L2_PIX_FMT_SRGGB12, .mem_planes = 1, .comp_planes = 1, .bpp = { 2, 0, 0, 0 }, .hdiv = 1, .vdiv = 1 }, bpp 369 drivers/media/v4l2-core/v4l2-common.c plane->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; bpp 381 drivers/media/v4l2-core/v4l2-common.c plane->sizeimage += info->bpp[i] * bpp 397 drivers/media/v4l2-core/v4l2-common.c info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv); bpp 423 drivers/media/v4l2-core/v4l2-common.c pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; bpp 435 drivers/media/v4l2-core/v4l2-common.c pixfmt->sizeimage += info->bpp[i] * bpp 23 drivers/phy/phy-core-mipi-dphy.c unsigned int bpp, bpp 33 drivers/phy/phy-core-mipi-dphy.c hs_clk_rate = pixel_clock * bpp; bpp 332 drivers/spi/spi-bcm-qspi.c int bpp, int bpc, int flex_mode) bpp 336 drivers/spi/spi-bcm-qspi.c bcm_qspi_write(qspi, BSPI, BSPI_BITS_PER_PHASE, bpp); bpp 344 drivers/spi/spi-bcm-qspi.c int bpc = 0, bpp = 0; bpp 354 drivers/spi/spi-bcm-qspi.c bpp = BSPI_BPP_ADDR_SELECT_MASK; bpp 356 drivers/spi/spi-bcm-qspi.c bpp |= (op->dummy.nbytes * 8) / op->dummy.buswidth; bpp 368 drivers/spi/spi-bcm-qspi.c bpp = BSPI_BPP_MODE_SELECT_MASK; bpp 375 drivers/spi/spi-bcm-qspi.c bpp |= BSPI_BPP_MODE_SELECT_MASK; bpp 382 drivers/spi/spi-bcm-qspi.c bcm_qspi_bspi_set_xfer_params(qspi, command, bpp, bpc, flex_mode); bpp 158 drivers/staging/fbtft/fb_bd663474.c .bpp = BPP, bpp 238 drivers/staging/fbtft/fb_ili9163.c .bpp = BPP, bpp 243 drivers/staging/fbtft/fb_ili9325.c .bpp = BPP, bpp 164 drivers/staging/fbtft/fb_s6d1121.c .bpp = BPP, bpp 311 drivers/staging/fbtft/fb_uc1611.c .bpp = BPP, bpp 559 drivers/staging/fbtft/fbtft-core.c unsigned int bpp = display->bpp; bpp 577 drivers/staging/fbtft/fbtft-core.c if (!bpp) bpp 578 drivers/staging/fbtft/fbtft-core.c bpp = 16; bpp 621 drivers/staging/fbtft/fbtft-core.c vmem_size = display->width * display->height * bpp / 8; bpp 675 drivers/staging/fbtft/fbtft-core.c info->fix.line_length = width * bpp / 8; bpp 684 drivers/staging/fbtft/fbtft-core.c info->var.bits_per_pixel = bpp; bpp 727 drivers/staging/fbtft/fbtft-core.c if ((!txbuflen) && (bpp > 8)) bpp 1173 drivers/staging/fbtft/fbtft-core.c pdata->display.bpp = fbtft_of_value(node, "bpp"); bpp 113 drivers/staging/fbtft/fbtft.h unsigned int bpp; bpp 79 drivers/staging/greybus/camera.c unsigned int bpp; bpp 87 drivers/staging/greybus/camera.c .bpp = 16, bpp 92 drivers/staging/greybus/camera.c .bpp = 12, bpp 97 drivers/staging/greybus/camera.c .bpp = 12, bpp 102 drivers/staging/greybus/camera.c .bpp = 12, bpp 107 drivers/staging/greybus/camera.c .bpp = 12, bpp 112 drivers/staging/greybus/camera.c .bpp = 0, bpp 117 drivers/staging/greybus/camera.c .bpp = 0, bpp 122 drivers/staging/greybus/camera.c .bpp = 0, bpp 127 drivers/staging/greybus/camera.c .bpp = 10, bpp 132 drivers/staging/greybus/camera.c .bpp = 10, bpp 137 drivers/staging/greybus/camera.c .bpp = 10, bpp 142 drivers/staging/greybus/camera.c .bpp = 10, bpp 147 drivers/staging/greybus/camera.c .bpp = 12, bpp 152 drivers/staging/greybus/camera.c .bpp = 12, bpp 157 drivers/staging/greybus/camera.c .bpp = 12, bpp 162 drivers/staging/greybus/camera.c .bpp = 12, bpp 240 drivers/staging/greybus/camera.c if (fmt_info->bpp == 0) { bpp 250 drivers/staging/greybus/camera.c pkt_size = le16_to_cpu(cfg->width) * fmt_info->bpp / 8; bpp 384 drivers/staging/media/imx/imx-ic-prpencvf.c (image.pix.width * outcc->bpp) >> 3; bpp 25 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 33 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 42 drivers/staging/media/imx/imx-media-utils.c .bpp = 12, bpp 47 drivers/staging/media/imx/imx-media-utils.c .bpp = 12, bpp 52 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 57 drivers/staging/media/imx/imx-media-utils.c .bpp = 12, bpp 62 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 76 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 85 drivers/staging/media/imx/imx-media-utils.c .bpp = 24, bpp 90 drivers/staging/media/imx/imx-media-utils.c .bpp = 32, bpp 98 drivers/staging/media/imx/imx-media-utils.c .bpp = 8, bpp 104 drivers/staging/media/imx/imx-media-utils.c .bpp = 8, bpp 110 drivers/staging/media/imx/imx-media-utils.c .bpp = 8, bpp 116 drivers/staging/media/imx/imx-media-utils.c .bpp = 8, bpp 127 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 138 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 149 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 160 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 166 drivers/staging/media/imx/imx-media-utils.c .bpp = 8, bpp 175 drivers/staging/media/imx/imx-media-utils.c .bpp = 16, bpp 185 drivers/staging/media/imx/imx-media-utils.c .bpp = 24, bpp 189 drivers/staging/media/imx/imx-media-utils.c .bpp = 32, bpp 202 drivers/staging/media/imx/imx-media-utils.c .bpp = 32, bpp 214 drivers/staging/media/imx/imx-media-utils.c .bpp = 32, bpp 608 drivers/staging/media/imx/imx-media-utils.c stride = round_up((width * cc->bpp) >> 3, 8); bpp 619 drivers/staging/media/imx/imx-media-utils.c pix->sizeimage = cc->planar ? ((stride * pix->height * cc->bpp) >> 3) : bpp 303 drivers/staging/media/imx/imx-media-vdic.c in_size = (infmt->width * incc->bpp * infmt->height) >> 3; bpp 308 drivers/staging/media/imx/imx-media-vdic.c infmt->width : (infmt->width * incc->bpp) >> 3; bpp 73 drivers/staging/media/imx/imx-media.h int bpp; /* total bpp */ bpp 1608 drivers/staging/media/ipu3/ipu3-abi.h u16 bpp; bpp 146 drivers/staging/media/omap4iss/iss.c pipe->external_bpp = omap4iss_video_format_info(fmt.format.code)->bpp; bpp 185 drivers/staging/media/omap4iss/iss_ipipeif.c ISIF_CGAMMAWD_GWDI(info->bpp)); bpp 369 drivers/staging/media/omap4iss/iss_regs.h #define ISIF_CGAMMAWD_GWDI(bpp) ((16 - (bpp)) << 1) bpp 137 drivers/staging/media/omap4iss/iss_video.c min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8; bpp 46 drivers/staging/media/omap4iss/iss_video.h unsigned int bpp; bpp 205 drivers/staging/sm750fb/sm750_accel.h unsigned int bpp, /* Color depth of destination surface */ bpp 81 drivers/usb/gadget/function/uvc.h u8 bpp; bpp 54 drivers/usb/gadget/function/uvc_v4l2.c u8 bpp; bpp 88 drivers/usb/gadget/function/uvc_v4l2.c fmt->fmt.pix.bytesperline = video->bpp * video->width / 8; bpp 119 drivers/usb/gadget/function/uvc_v4l2.c bpl = format->bpp * fmt->fmt.pix.width / 8; bpp 123 drivers/usb/gadget/function/uvc_v4l2.c video->bpp = format->bpp; bpp 400 drivers/usb/gadget/function/uvc_video.c video->bpp = 16; bpp 1715 drivers/usb/misc/sisusbvga/sisusb.c int i, length, modex, modey, bpp; bpp 1717 drivers/usb/misc/sisusbvga/sisusb.c modex = 640; modey = 480; bpp = 2; bpp 1724 drivers/usb/misc/sisusbvga/sisusb.c length = modex * bpp * modey; bpp 1730 drivers/usb/misc/sisusbvga/sisusb.c address = sisusb->vrambase + (i * bpp); bpp 1733 drivers/usb/misc/sisusbvga/sisusb.c address += (modex * (modey-1) * bpp); bpp 1738 drivers/usb/misc/sisusbvga/sisusb.c address = sisusb->vrambase + ((i * modex) * bpp); bpp 1741 drivers/usb/misc/sisusbvga/sisusb.c address += ((modex - 1) * bpp); bpp 1753 drivers/usb/misc/sisusbvga/sisusb.c int i, j, modex, bpp, du; bpp 1776 drivers/usb/misc/sisusbvga/sisusb.c modex = 640; bpp = 2; bpp 1830 drivers/usb/misc/sisusbvga/sisusb.c du = (modex / 16) * (bpp * 2); /* offset/pitch */ bpp 114 drivers/video/fbdev/68328fb.c static u_long get_line_length(int xres_virtual, int bpp) bpp 118 drivers/video/fbdev/68328fb.c length = xres_virtual * bpp; bpp 492 drivers/video/fbdev/amba-clcd.c fb->fb.var.bits_per_pixel = fb->panel->bpp; bpp 701 drivers/video/fbdev/amba-clcd.c unsigned int bpp; bpp 738 drivers/video/fbdev/amba-clcd.c bpp = max_bandwidth / (1000 / 8) bpp 740 drivers/video/fbdev/amba-clcd.c bpp = rounddown_pow_of_two(bpp); bpp 741 drivers/video/fbdev/amba-clcd.c if (bpp > 32) bpp 742 drivers/video/fbdev/amba-clcd.c bpp = 32; bpp 744 drivers/video/fbdev/amba-clcd.c bpp = 32; bpp 745 drivers/video/fbdev/amba-clcd.c fb->panel->bpp = bpp; bpp 821 drivers/video/fbdev/amba-clcd.c fb->panel->bpp / 8); bpp 722 drivers/video/fbdev/amifb.c u_short bpp; /* vmode */ bpp 1155 drivers/video/fbdev/amifb.c par->bpp = var->bits_per_pixel; bpp 1157 drivers/video/fbdev/amifb.c if (par->bpp < 1) bpp 1158 drivers/video/fbdev/amifb.c par->bpp = 1; bpp 1159 drivers/video/fbdev/amifb.c if (par->bpp > maxdepth[clk_shift]) { bpp 1161 drivers/video/fbdev/amifb.c par->bpp = maxdepth[clk_shift]; bpp 1168 drivers/video/fbdev/amifb.c if (par->bpp < 6) bpp 1169 drivers/video/fbdev/amifb.c par->bpp = 6; bpp 1170 drivers/video/fbdev/amifb.c if (par->bpp != 6) { bpp 1171 drivers/video/fbdev/amifb.c if (par->bpp < 8) bpp 1172 drivers/video/fbdev/amifb.c par->bpp = 8; bpp 1173 drivers/video/fbdev/amifb.c if (par->bpp != 8 || !IS_AGA) { bpp 1431 drivers/video/fbdev/amifb.c if (par->htotal - fsize - 64 < par->bpp * 64) bpp 1440 drivers/video/fbdev/amifb.c par->next_line = par->bpp * par->next_plane; bpp 1448 drivers/video/fbdev/amifb.c if (par->next_plane * par->bpp > info->fix.smem_len) { bpp 1461 drivers/video/fbdev/amifb.c if (par->bpp == 8) bpp 1464 drivers/video/fbdev/amifb.c par->bplcon0 |= par->bpp << 12; bpp 1526 drivers/video/fbdev/amifb.c var->bits_per_pixel = par->bpp; bpp 1531 drivers/video/fbdev/amifb.c var->red.length = par->bpp; bpp 2165 drivers/video/fbdev/amifb.c for (i = 0; i < (short)par->bpp; i++, p += par->next_plane) { bpp 2183 drivers/video/fbdev/amifb.c for (i = 0; i < (short)par->bpp; i++, p += par->next_plane) { bpp 2199 drivers/video/fbdev/amifb.c for (i = 0; i < (short)par->bpp; i++, p += par->next_plane) { bpp 2222 drivers/video/fbdev/amifb.c for (i = 0; i < (short)par->bpp; i++, p += par->next_plane) { bpp 2410 drivers/video/fbdev/amifb.c if (par->bpp == 1) { bpp 3133 drivers/video/fbdev/amifb.c static inline void fill_one_line(int bpp, unsigned long next_plane, bpp 3141 drivers/video/fbdev/amifb.c if (!--bpp) bpp 3148 drivers/video/fbdev/amifb.c static inline void xor_one_line(int bpp, unsigned long next_plane, bpp 3156 drivers/video/fbdev/amifb.c if (!--bpp) bpp 3207 drivers/video/fbdev/amifb.c static inline void copy_one_line(int bpp, unsigned long next_plane, bpp 3217 drivers/video/fbdev/amifb.c if (!--bpp) bpp 3224 drivers/video/fbdev/amifb.c static inline void copy_one_line_rev(int bpp, unsigned long next_plane, bpp 3234 drivers/video/fbdev/amifb.c if (!--bpp) bpp 3306 drivers/video/fbdev/amifb.c static inline void expand_one_line(int bpp, unsigned long next_plane, bpp 3327 drivers/video/fbdev/amifb.c if (!--bpp) bpp 618 drivers/video/fbdev/arkfb.c u32 bpp = info->var.bits_per_pixel; bpp 621 drivers/video/fbdev/arkfb.c if (bpp != 0) { bpp 623 drivers/video/fbdev/arkfb.c info->fix.line_length = (info->var.xres_virtual * bpp) / 8; bpp 629 drivers/video/fbdev/arkfb.c info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); bpp 632 drivers/video/fbdev/arkfb.c offset_value = (info->var.xres_virtual * bpp) / 64; bpp 128 drivers/video/fbdev/atafb.c short bpp; bpp 596 drivers/video/fbdev/atafb.c int bpp = var->bits_per_pixel; bpp 601 drivers/video/fbdev/atafb.c if (bpp > 1 || xres > sttt_xres * 2 || yres > tt_yres * 2) bpp 606 drivers/video/fbdev/atafb.c bpp = 1; bpp 608 drivers/video/fbdev/atafb.c if (bpp > 8 || xres > sttt_xres || yres > tt_yres) bpp 610 drivers/video/fbdev/atafb.c if (bpp > 4) { bpp 616 drivers/video/fbdev/atafb.c bpp = 8; bpp 617 drivers/video/fbdev/atafb.c } else if (bpp > 2) { bpp 624 drivers/video/fbdev/atafb.c bpp = 4; bpp 629 drivers/video/fbdev/atafb.c bpp = 4; bpp 631 drivers/video/fbdev/atafb.c } else if (bpp > 1) { bpp 637 drivers/video/fbdev/atafb.c bpp = 2; bpp 644 drivers/video/fbdev/atafb.c bpp = 1; bpp 655 drivers/video/fbdev/atafb.c linelen = xres * bpp / 8; bpp 896 drivers/video/fbdev/atafb.c int bpp = var->bits_per_pixel; bpp 937 drivers/video/fbdev/atafb.c if (!xres || !yres || !bpp) bpp 940 drivers/video/fbdev/atafb.c if (mon_type == F_MON_SM && bpp != 1) bpp 943 drivers/video/fbdev/atafb.c if (bpp <= 1) { bpp 944 drivers/video/fbdev/atafb.c bpp = 1; bpp 947 drivers/video/fbdev/atafb.c } else if (bpp <= 2) { bpp 948 drivers/video/fbdev/atafb.c bpp = 2; bpp 951 drivers/video/fbdev/atafb.c } else if (bpp <= 4) { bpp 952 drivers/video/fbdev/atafb.c bpp = 4; bpp 955 drivers/video/fbdev/atafb.c } else if (bpp <= 8) { bpp 956 drivers/video/fbdev/atafb.c bpp = 8; bpp 958 drivers/video/fbdev/atafb.c } else if (bpp <= 16) { bpp 959 drivers/video/fbdev/atafb.c bpp = 16; /* packed pixel mode */ bpp 963 drivers/video/fbdev/atafb.c par->hw.falcon.bpp = bpp; bpp 969 drivers/video/fbdev/atafb.c if (bpp > myvar->bits_per_pixel || bpp 980 drivers/video/fbdev/atafb.c else if (xres <= 640 && bpp != 16) bpp 990 drivers/video/fbdev/atafb.c par->hw.falcon.ste_mode = bpp == 2; bpp 991 drivers/video/fbdev/atafb.c par->hw.falcon.mono = bpp == 1; bpp 1003 drivers/video/fbdev/atafb.c else if (bpp == 1) bpp 1014 drivers/video/fbdev/atafb.c else if (bpp == 1) bpp 1028 drivers/video/fbdev/atafb.c par->hw.falcon.line_width = bpp * xres / 16; bpp 1029 drivers/video/fbdev/atafb.c par->hw.falcon.line_offset = bpp * (xres_virtual - xres) / 16; bpp 1082 drivers/video/fbdev/atafb.c if (bpp == 16) bpp 1161 drivers/video/fbdev/atafb.c if (pclock->f / plen / 8 * bpp > 32000000L) bpp 1230 drivers/video/fbdev/atafb.c align = 128 / bpp; bpp 1231 drivers/video/fbdev/atafb.c hde_off = ((128 / bpp + 2) * plen); bpp 1233 drivers/video/fbdev/atafb.c hdb_off = (64 + base_off + (128 / bpp + 2) * plen) + prescale; bpp 1235 drivers/video/fbdev/atafb.c hdb_off = (base_off + (128 / bpp + 18) * plen) + prescale; bpp 1353 drivers/video/fbdev/atafb.c linelen = xres_virtual * bpp / 8; bpp 1658 drivers/video/fbdev/atafb.c int bpp = info->var.bits_per_pixel; bpp 1660 drivers/video/fbdev/atafb.c if (bpp == 1) bpp 1662 drivers/video/fbdev/atafb.c if (bpp != 16) bpp 1668 drivers/video/fbdev/atafb.c par->hw.falcon.line_offset = bpp * bpp 1671 drivers/video/fbdev/atafb.c par->hw.falcon.line_offset -= bpp; bpp 1675 drivers/video/fbdev/atafb.c (var->yoffset * info->var.xres_virtual + xoffset) * bpp / 8; bpp 1823 drivers/video/fbdev/atafb.c int bpp = var->bits_per_pixel; bpp 1828 drivers/video/fbdev/atafb.c if (bpp > 1 || xres > sttt_xres || yres > st_yres) bpp 1833 drivers/video/fbdev/atafb.c bpp = 1; bpp 1835 drivers/video/fbdev/atafb.c if (bpp > 4 || xres > sttt_xres || yres > st_yres) bpp 1837 drivers/video/fbdev/atafb.c if (bpp > 2) { bpp 1843 drivers/video/fbdev/atafb.c bpp = 4; bpp 1844 drivers/video/fbdev/atafb.c } else if (bpp > 1) { bpp 1850 drivers/video/fbdev/atafb.c bpp = 2; bpp 1862 drivers/video/fbdev/atafb.c linelen = xres * bpp / 8; bpp 427 drivers/video/fbdev/aty/aty128fb.c u32 depth, bpp; bpp 740 drivers/video/fbdev/aty/aty128fb.c if (par->crtc.bpp == 24) { bpp 1043 drivers/video/fbdev/aty/aty128fb.c u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp, dst; bpp 1057 drivers/video/fbdev/aty/aty128fb.c bpp = var->bits_per_pixel; bpp 1067 drivers/video/fbdev/aty/aty128fb.c if (bpp != 16) bpp 1068 drivers/video/fbdev/aty/aty128fb.c depth = bpp; bpp 1161 drivers/video/fbdev/aty/aty128fb.c crtc->bpp = bpp; bpp 1439 drivers/video/fbdev/aty/aty128fb.c u32 n, d, bpp; bpp 1442 drivers/video/fbdev/aty/aty128fb.c bpp = (depth+7) & ~7; bpp 1445 drivers/video/fbdev/aty/aty128fb.c d = pll->vclk * bpp; bpp 1524 drivers/video/fbdev/aty/aty128fb.c if (par->crtc.bpp == 32) bpp 1526 drivers/video/fbdev/aty/aty128fb.c else if (par->crtc.bpp == 16) bpp 1533 drivers/video/fbdev/aty/aty128fb.c info->fix.line_length = (par->crtc.vxres * par->crtc.bpp) >> 3; bpp 1534 drivers/video/fbdev/aty/aty128fb.c info->fix.visual = par->crtc.bpp == 8 ? FB_VISUAL_PSEUDOCOLOR bpp 1548 drivers/video/fbdev/aty/aty128fb.c par->crtc.bpp, bpp 1549 drivers/video/fbdev/aty/aty128fb.c par->crtc.vxres*par->crtc.bpp/8); bpp 1644 drivers/video/fbdev/aty/aty128fb.c offset = ((yoffset * par->crtc.vxres + xoffset) * (par->crtc.bpp >> 3)) bpp 1647 drivers/video/fbdev/aty/aty128fb.c if (par->crtc.bpp == 24) bpp 2290 drivers/video/fbdev/aty/aty128fb.c } else if (par->crtc.bpp == 16) bpp 17 drivers/video/fbdev/aty/atyfb.h u32 bpp; bpp 302 drivers/video/fbdev/aty/atyfb.h const union aty_pll * pll, u32 bpp, u32 accel); bpp 317 drivers/video/fbdev/aty/atyfb.h int (*var_to_pll) (const struct fb_info * info, u32 vclk_per, u32 bpp, union aty_pll * pll); bpp 788 drivers/video/fbdev/aty/atyfb_base.c static u32 calc_line_length(struct atyfb_par *par, u32 vxres, u32 bpp) bpp 790 drivers/video/fbdev/aty/atyfb_base.c u32 line_length = vxres * bpp / 8; bpp 804 drivers/video/fbdev/aty/atyfb_base.c u32 xres, yres, vxres, vyres, xoffset, yoffset, bpp; bpp 818 drivers/video/fbdev/aty/atyfb_base.c bpp = var->bits_per_pixel; bpp 819 drivers/video/fbdev/aty/atyfb_base.c if (bpp == 16) bpp 820 drivers/video/fbdev/aty/atyfb_base.c bpp = (var->green.length == 5) ? 15 : 16; bpp 833 drivers/video/fbdev/aty/atyfb_base.c if (bpp <= 8) { bpp 834 drivers/video/fbdev/aty/atyfb_base.c bpp = 8; bpp 839 drivers/video/fbdev/aty/atyfb_base.c } else if (bpp <= 15) { bpp 840 drivers/video/fbdev/aty/atyfb_base.c bpp = 16; bpp 845 drivers/video/fbdev/aty/atyfb_base.c } else if (bpp <= 16) { bpp 846 drivers/video/fbdev/aty/atyfb_base.c bpp = 16; bpp 851 drivers/video/fbdev/aty/atyfb_base.c } else if (bpp <= 24 && M64_HAS(INTEGRATED)) { bpp 852 drivers/video/fbdev/aty/atyfb_base.c bpp = 24; bpp 857 drivers/video/fbdev/aty/atyfb_base.c } else if (bpp <= 32) { bpp 858 drivers/video/fbdev/aty/atyfb_base.c bpp = 32; bpp 866 drivers/video/fbdev/aty/atyfb_base.c line_length = calc_line_length(par, vxres, bpp); bpp 1007 drivers/video/fbdev/aty/atyfb_base.c crtc->bpp = bpp; bpp 1009 drivers/video/fbdev/aty/atyfb_base.c ((yoffset * line_length + xoffset * bpp / 8) / 8) | bpp 1010 drivers/video/fbdev/aty/atyfb_base.c ((line_length / bpp) << 22); bpp 1154 drivers/video/fbdev/aty/atyfb_base.c u32 xres, yres, bpp, left, right, upper, lower, hslen, vslen, sync; bpp 1192 drivers/video/fbdev/aty/atyfb_base.c bpp = 8; bpp 1203 drivers/video/fbdev/aty/atyfb_base.c bpp = 16; bpp 1214 drivers/video/fbdev/aty/atyfb_base.c bpp = 16; bpp 1225 drivers/video/fbdev/aty/atyfb_base.c bpp = 24; bpp 1236 drivers/video/fbdev/aty/atyfb_base.c bpp = 32; bpp 1256 drivers/video/fbdev/aty/atyfb_base.c var->bits_per_pixel = bpp; bpp 1560 drivers/video/fbdev/aty/atyfb_base.c u32 bpp = info->var.bits_per_pixel; bpp 1563 drivers/video/fbdev/aty/atyfb_base.c ((yoffset * line_length + xoffset * bpp / 8) / 8) | bpp 1564 drivers/video/fbdev/aty/atyfb_base.c ((line_length / bpp) << 22); bpp 19 drivers/video/fbdev/aty/mach64_ct.c static int aty_dsp_gt (const struct fb_info *info, u32 bpp, struct pll_ct *pll); bpp 20 drivers/video/fbdev/aty/mach64_ct.c static int aty_var_to_pll_ct(const struct fb_info *info, u32 vclk_per, u32 bpp, union aty_pll *pll); bpp 120 drivers/video/fbdev/aty/mach64_ct.c static int aty_dsp_gt(const struct fb_info *info, u32 bpp, struct pll_ct *pll) bpp 133 drivers/video/fbdev/aty/mach64_ct.c if (bpp>=8) bpp 134 drivers/video/fbdev/aty/mach64_ct.c divider = divider * (bpp >> 2); bpp 138 drivers/video/fbdev/aty/mach64_ct.c if (bpp == 0) bpp 251 drivers/video/fbdev/aty/mach64_ct.c static int aty_var_to_pll_ct(const struct fb_info *info, u32 vclk_per, u32 bpp, union aty_pll *pll) bpp 258 drivers/video/fbdev/aty/mach64_ct.c if (M64_HAS(GTB_DSP) && (err = aty_dsp_gt(info, bpp, &pll->ct))) bpp 81 drivers/video/fbdev/aty/mach64_gx.c const union aty_pll *pll, u32 bpp, u32 accel) bpp 100 drivers/video/fbdev/aty/mach64_gx.c switch (bpp) { bpp 124 drivers/video/fbdev/aty/mach64_gx.c u32 bpp, union aty_pll *pll) bpp 206 drivers/video/fbdev/aty/mach64_gx.c const union aty_pll *pll, u32 bpp, bpp 215 drivers/video/fbdev/aty/mach64_gx.c switch (bpp) { bpp 289 drivers/video/fbdev/aty/mach64_gx.c const union aty_pll *pll, u32 bpp, bpp 299 drivers/video/fbdev/aty/mach64_gx.c switch (bpp) { bpp 342 drivers/video/fbdev/aty/mach64_gx.c u32 bpp, union aty_pll *pll) bpp 498 drivers/video/fbdev/aty/mach64_gx.c u32 bpp, union aty_pll *pll) bpp 614 drivers/video/fbdev/aty/mach64_gx.c u32 bpp, union aty_pll *pll) bpp 738 drivers/video/fbdev/aty/mach64_gx.c u32 bpp, union aty_pll *pll) bpp 885 drivers/video/fbdev/aty/mach64_gx.c const union aty_pll *pll, u32 bpp, bpp 1192 drivers/video/fbdev/aty/radeon_base.c if (rinfo->bpp == 16) { bpp 1832 drivers/video/fbdev/aty/radeon_base.c rinfo->bpp = mode->bits_per_pixel; bpp 325 drivers/video/fbdev/aty/radeonfb.h int pitch, bpp, depth; bpp 459 drivers/video/fbdev/au1100fb.c (fbdev->panel->bpp >> 3) * AU1100FB_NBR_VIDEO_BUFFERS; bpp 477 drivers/video/fbdev/au1100fb.c au1100fb_var.bits_per_pixel = fbdev->panel->bpp; bpp 78 drivers/video/fbdev/au1100fb.h u32 bpp; /* Maximum depth supported */ bpp 277 drivers/video/fbdev/au1100fb.h .bpp = 16, bpp 290 drivers/video/fbdev/au1100fb.h .bpp = 16, bpp 301 drivers/video/fbdev/au1100fb.h .bpp = 16, bpp 328 drivers/video/fbdev/au1100fb.h .bpp = 4, bpp 350 drivers/video/fbdev/au1100fb.h .bpp = 16, bpp 362 drivers/video/fbdev/au1100fb.h .bpp = 16, bpp 1291 drivers/video/fbdev/au1200fb.c unsigned int val, bpp; bpp 1345 drivers/video/fbdev/au1200fb.c bpp = winbpp(val) / 8; bpp 1347 drivers/video/fbdev/au1200fb.c val |= (((pdata->xsize * bpp) << 8) & LCD_WINCTRL2_BX); bpp 1520 drivers/video/fbdev/au1200fb.c int bpp, ret; bpp 1524 drivers/video/fbdev/au1200fb.c bpp = winbpp(win->w[fbdev->plane].mode_winctrl1); bpp 1541 drivers/video/fbdev/au1200fb.c bpp)) { bpp 1649 drivers/video/fbdev/au1200fb.c int bpp, plane, ret, irq; bpp 1669 drivers/video/fbdev/au1200fb.c bpp = winbpp(win->w[plane].mode_winctrl1); bpp 1691 drivers/video/fbdev/au1200fb.c fbdev->fb_len = (win->w[plane].xres * win->w[plane].yres * bpp) / 8; bpp 15 drivers/video/fbdev/c2p.h u32 src_nextline, u32 bpp); bpp 19 drivers/video/fbdev/c2p.h u32 bpp); bpp 48 drivers/video/fbdev/c2p_iplan2.c static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) bpp 52 drivers/video/fbdev/c2p_iplan2.c for (i = 0; i < bpp/2; i++, dst += 4) bpp 61 drivers/video/fbdev/c2p_iplan2.c static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) bpp 65 drivers/video/fbdev/c2p_iplan2.c for (i = 0; i < bpp/2; i++, dst += 4) bpp 86 drivers/video/fbdev/c2p_iplan2.c u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp) bpp 96 drivers/video/fbdev/c2p_iplan2.c dst += dy*dst_nextline+(dx & ~15)*bpp; bpp 113 drivers/video/fbdev/c2p_iplan2.c store_iplan2_masked(p, bpp, d.words, first); bpp 114 drivers/video/fbdev/c2p_iplan2.c p += bpp*2; bpp 125 drivers/video/fbdev/c2p_iplan2.c store_iplan2_masked(p, bpp, d.words, first); bpp 126 drivers/video/fbdev/c2p_iplan2.c p += bpp*2; bpp 134 drivers/video/fbdev/c2p_iplan2.c store_iplan2(p, bpp, d.words); bpp 135 drivers/video/fbdev/c2p_iplan2.c p += bpp*2; bpp 144 drivers/video/fbdev/c2p_iplan2.c store_iplan2_masked(p, bpp, d.words, last); bpp 48 drivers/video/fbdev/c2p_planar.c static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) bpp 52 drivers/video/fbdev/c2p_planar.c for (i = 0; i < bpp; i++, dst += dst_inc) bpp 61 drivers/video/fbdev/c2p_planar.c static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, bpp 66 drivers/video/fbdev/c2p_planar.c for (i = 0; i < bpp; i++, dst += dst_inc) bpp 88 drivers/video/fbdev/c2p_planar.c u32 src_nextline, u32 bpp) bpp 113 drivers/video/fbdev/c2p_planar.c store_planar_masked(p, dst_nextplane, bpp, d.words, bpp 126 drivers/video/fbdev/c2p_planar.c store_planar_masked(p, dst_nextplane, bpp, bpp 136 drivers/video/fbdev/c2p_planar.c store_planar(p, dst_nextplane, bpp, d.words); bpp 146 drivers/video/fbdev/c2p_planar.c store_planar_masked(p, dst_nextplane, bpp, bpp 283 drivers/video/fbdev/core/cfbfillrect.c u32 bpp = p->var.bits_per_pixel; bpp 296 drivers/video/fbdev/core/cfbfillrect.c pat = pixel_to_pat(bpp, fg); bpp 300 drivers/video/fbdev/core/cfbfillrect.c dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; bpp 302 drivers/video/fbdev/core/cfbfillrect.c left = bits % bpp; bpp 327 drivers/video/fbdev/core/cfbfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits, bpp 338 drivers/video/fbdev/core/cfbfillrect.c left = bpp - right; bpp 340 drivers/video/fbdev/core/cfbfillrect.c right = bpp - left; bpp 357 drivers/video/fbdev/core/cfbfillrect.c r = dst_idx % bpp; bpp 359 drivers/video/fbdev/core/cfbfillrect.c pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); bpp 361 drivers/video/fbdev/core/cfbfillrect.c width*bpp, bits); bpp 83 drivers/video/fbdev/core/cfbimgblt.c int i, n, bpp = p->var.bits_per_pixel; bpp 84 drivers/video/fbdev/core/cfbimgblt.c u32 null_bits = 32 - bpp; bpp 108 drivers/video/fbdev/core/cfbimgblt.c color <<= FB_LEFT_POS(p, bpp); bpp 116 drivers/video/fbdev/core/cfbimgblt.c shift += bpp; bpp 143 drivers/video/fbdev/core/cfbimgblt.c u32 shift, color = 0, bpp = p->var.bits_per_pixel; bpp 146 drivers/video/fbdev/core/cfbimgblt.c u32 null_bits = 32 - bpp; bpp 153 drivers/video/fbdev/core/cfbimgblt.c fgcolor <<= FB_LEFT_POS(p, bpp); bpp 154 drivers/video/fbdev/core/cfbimgblt.c bgcolor <<= FB_LEFT_POS(p, bpp); bpp 182 drivers/video/fbdev/core/cfbimgblt.c shift += bpp; bpp 219 drivers/video/fbdev/core/cfbimgblt.c u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; bpp 220 drivers/video/fbdev/core/cfbimgblt.c u32 ppw = 32/bpp, spitch = (image->width + 7)/8; bpp 227 drivers/video/fbdev/core/cfbimgblt.c switch (bpp) { bpp 241 drivers/video/fbdev/core/cfbimgblt.c fgx <<= bpp; bpp 242 drivers/video/fbdev/core/cfbimgblt.c bgx <<= bpp; bpp 268 drivers/video/fbdev/core/cfbimgblt.c u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; bpp 276 drivers/video/fbdev/core/cfbimgblt.c bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); bpp 297 drivers/video/fbdev/core/cfbimgblt.c if (32 % bpp == 0 && !start_index && !pitch_index && bpp 298 drivers/video/fbdev/core/cfbimgblt.c ((width & (32/bpp-1)) == 0) && bpp 299 drivers/video/fbdev/core/cfbimgblt.c bpp >= 8 && bpp <= 32) bpp 26 drivers/video/fbdev/core/fb_draw.h pixel_to_pat( u32 bpp, u32 pixel) bpp 28 drivers/video/fbdev/core/fb_draw.h switch (bpp) { bpp 46 drivers/video/fbdev/core/fb_draw.h WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp); bpp 52 drivers/video/fbdev/core/fb_draw.h pixel_to_pat( u32 bpp, u32 pixel) bpp 54 drivers/video/fbdev/core/fb_draw.h switch (bpp) { bpp 72 drivers/video/fbdev/core/fb_draw.h WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp); bpp 148 drivers/video/fbdev/core/fb_draw.h unsigned bpp = info->var.bits_per_pixel; bpp 150 drivers/video/fbdev/core/fb_draw.h if ((bpp < 8) && (info->var.nonstd & FB_NONSTD_REV_PIX_IN_B)) { bpp 155 drivers/video/fbdev/core/fb_draw.h bswapmask = 7 - bpp + 1; bpp 543 drivers/video/fbdev/core/modedb.c const struct fb_videomode *mode, unsigned int bpp) bpp 549 drivers/video/fbdev/core/modedb.c mode->xres, mode->yres, bpp, mode->refresh); bpp 556 drivers/video/fbdev/core/modedb.c var->bits_per_pixel = bpp; bpp 644 drivers/video/fbdev/core/modedb.c unsigned int xres = 0, yres = 0, bpp = default_bpp, refresh = 0; bpp 667 drivers/video/fbdev/core/modedb.c bpp = simple_strtol(&name[i+1], NULL, bpp 740 drivers/video/fbdev/core/modedb.c if (!ret && !fb_try_mode(var, info, &cvt_mode, bpp)) { bpp 775 drivers/video/fbdev/core/modedb.c !fb_try_mode(var, info, &db[i], bpp)) { bpp 796 drivers/video/fbdev/core/modedb.c fb_try_mode(var, info, &db[best], bpp); bpp 805 drivers/video/fbdev/core/modedb.c if (!fb_try_mode(var, info, &db[i], bpp)) { bpp 823 drivers/video/fbdev/core/modedb.c fb_try_mode(var, info, &db[best], bpp); bpp 248 drivers/video/fbdev/core/sysfillrect.c u32 bpp = p->var.bits_per_pixel; bpp 261 drivers/video/fbdev/core/sysfillrect.c pat = pixel_to_pat( bpp, fg); bpp 265 drivers/video/fbdev/core/sysfillrect.c dst_idx += rect->dy*p->fix.line_length*8+rect->dx*bpp; bpp 267 drivers/video/fbdev/core/sysfillrect.c left = bits % bpp; bpp 291 drivers/video/fbdev/core/sysfillrect.c fill_op32(p, dst, dst_idx, pat, width*bpp, bits); bpp 301 drivers/video/fbdev/core/sysfillrect.c left = bpp - right; bpp 303 drivers/video/fbdev/core/sysfillrect.c right = bpp - left; bpp 321 drivers/video/fbdev/core/sysfillrect.c r = dst_idx % bpp; bpp 323 drivers/video/fbdev/core/sysfillrect.c pat2 = le_long_to_cpu(rolx(cpu_to_le_long(pat), r, bpp)); bpp 325 drivers/video/fbdev/core/sysfillrect.c width*bpp, bits); bpp 58 drivers/video/fbdev/core/sysimgblt.c int i, n, bpp = p->var.bits_per_pixel; bpp 59 drivers/video/fbdev/core/sysimgblt.c u32 null_bits = 32 - bpp; bpp 82 drivers/video/fbdev/core/sysimgblt.c color <<= FB_LEFT_POS(p, bpp); bpp 90 drivers/video/fbdev/core/sysimgblt.c shift += bpp; bpp 115 drivers/video/fbdev/core/sysimgblt.c u32 shift, color = 0, bpp = p->var.bits_per_pixel; bpp 118 drivers/video/fbdev/core/sysimgblt.c u32 null_bits = 32 - bpp; bpp 124 drivers/video/fbdev/core/sysimgblt.c fgcolor <<= FB_LEFT_POS(p, bpp); bpp 125 drivers/video/fbdev/core/sysimgblt.c bgcolor <<= FB_LEFT_POS(p, bpp); bpp 153 drivers/video/fbdev/core/sysimgblt.c shift += bpp; bpp 189 drivers/video/fbdev/core/sysimgblt.c u32 fgx = fgcolor, bgx = bgcolor, bpp = p->var.bits_per_pixel; bpp 190 drivers/video/fbdev/core/sysimgblt.c u32 ppw = 32/bpp, spitch = (image->width + 7)/8; bpp 197 drivers/video/fbdev/core/sysimgblt.c switch (bpp) { bpp 211 drivers/video/fbdev/core/sysimgblt.c fgx <<= bpp; bpp 212 drivers/video/fbdev/core/sysimgblt.c bgx <<= bpp; bpp 243 drivers/video/fbdev/core/sysimgblt.c u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; bpp 251 drivers/video/fbdev/core/sysimgblt.c bitstart = (dy * p->fix.line_length * 8) + (dx * bpp); bpp 272 drivers/video/fbdev/core/sysimgblt.c if (32 % bpp == 0 && !start_index && !pitch_index && bpp 273 drivers/video/fbdev/core/sysimgblt.c ((width & (32/bpp-1)) == 0) && bpp 274 drivers/video/fbdev/core/sysimgblt.c bpp >= 8 && bpp <= 32) bpp 468 drivers/video/fbdev/da8xx-fb.c if (cfg->bpp == 12 && cfg->stn_565_mode) bpp 512 drivers/video/fbdev/da8xx-fb.c u32 bpp, u32 raster_order) bpp 516 drivers/video/fbdev/da8xx-fb.c if (bpp > 16 && lcd_revision == LCD_VERSION_1) bpp 565 drivers/video/fbdev/da8xx-fb.c switch (bpp) { bpp 771 drivers/video/fbdev/da8xx-fb.c u32 bpp; bpp 803 drivers/video/fbdev/da8xx-fb.c bpp = cfg->bpp; bpp 805 drivers/video/fbdev/da8xx-fb.c if (bpp == 12) bpp 806 drivers/video/fbdev/da8xx-fb.c bpp = 16; bpp 808 drivers/video/fbdev/da8xx-fb.c (unsigned int)panel->yres, bpp, bpp 943 drivers/video/fbdev/da8xx-fb.c int bpp = var->bits_per_pixel >> 3; bpp 944 drivers/video/fbdev/da8xx-fb.c unsigned long line_size = var->xres_virtual * bpp; bpp 1268 drivers/video/fbdev/da8xx-fb.c par->cfg.bpp = info->var.bits_per_pixel; bpp 1270 drivers/video/fbdev/da8xx-fb.c info->fix.visual = (par->cfg.bpp <= 8) ? bpp 1272 drivers/video/fbdev/da8xx-fb.c info->fix.line_length = (par->mode.xres * par->cfg.bpp) / 8; bpp 1421 drivers/video/fbdev/da8xx-fb.c par->vram_size = lcdc_info->xres * lcdc_info->yres * lcd_cfg->bpp; bpp 1422 drivers/video/fbdev/da8xx-fb.c ulcm = lcm((lcdc_info->xres * lcd_cfg->bpp)/8, PAGE_SIZE); bpp 1440 drivers/video/fbdev/da8xx-fb.c da8xx_fb_fix.line_length = (lcdc_info->xres * lcd_cfg->bpp) / 8; bpp 1465 drivers/video/fbdev/da8xx-fb.c da8xx_fb_var.bits_per_pixel = lcd_cfg->bpp; bpp 36 drivers/video/fbdev/efifb.c u16 bpp; bpp 189 drivers/video/fbdev/efifb.c dib_header->planes != 1 || dib_header->bpp != 24 || bpp 323 drivers/video/fbdev/fb-puv3.c static u_long get_line_length(int xres_virtual, int bpp) bpp 327 drivers/video/fbdev/fb-puv3.c length = xres_virtual * bpp; bpp 1992 drivers/video/fbdev/fsl-diu-fb.c module_param_named(bpp, default_bpp, ulong, 0); bpp 1993 drivers/video/fbdev/fsl-diu-fb.c MODULE_PARM_DESC(bpp, "Specify bit-per-pixel if not specified in 'mode'"); bpp 51 drivers/video/fbdev/geode/display_gx.c int gx_line_delta(int xres, int bpp) bpp 54 drivers/video/fbdev/geode/display_gx.c return (xres * (bpp >> 3) + 7) & ~0x7; bpp 83 drivers/video/fbdev/geode/gx1fb_core.c static int gx1_line_delta(int xres, int bpp) bpp 85 drivers/video/fbdev/geode/gx1fb_core.c int line_delta = xres * (bpp >> 3); bpp 43 drivers/video/fbdev/geode/gxfb.h int gx_line_delta(int xres, int bpp); bpp 56 drivers/video/fbdev/geode/lxfb.h static inline unsigned int lx_get_pitch(unsigned int xres, int bpp) bpp 58 drivers/video/fbdev/geode/lxfb.h return (((xres * (bpp >> 3)) + 7) & ~7); bpp 209 drivers/video/fbdev/i740fb.c static u32 i740_calc_fifo(struct i740fb_par *par, u32 freq, int bpp) bpp 221 drivers/video/fbdev/i740fb.c switch (bpp) { bpp 403 drivers/video/fbdev/i740fb.c u32 bpp, base, dacspeed24, mem; bpp 421 drivers/video/fbdev/i740fb.c bpp = var->bits_per_pixel; bpp 422 drivers/video/fbdev/i740fb.c switch (bpp) { bpp 424 drivers/video/fbdev/i740fb.c bpp = 8; bpp 432 drivers/video/fbdev/i740fb.c bpp = 15; bpp 442 drivers/video/fbdev/i740fb.c bpp = 24; bpp 451 drivers/video/fbdev/i740fb.c bpp = 32; bpp 488 drivers/video/fbdev/i740fb.c mem = vxres * vyres * ((bpp + 1) / 8); bpp 583 drivers/video/fbdev/i740fb.c switch (bpp) { bpp 653 drivers/video/fbdev/i740fb.c i740_calc_fifo(par, 1000000 / var->pixclock, bpp); bpp 138 drivers/video/fbdev/i810/i810_main.c static int bpp = 8; bpp 683 drivers/video/fbdev/i810/i810_main.c static u32 get_line_length(struct i810fb_par *par, int xres_virtual, int bpp) bpp 687 drivers/video/fbdev/i810/i810_main.c length = xres_virtual*bpp; bpp 1781 drivers/video/fbdev/i810/i810_main.c if (bpp < 8) bpp 1782 drivers/video/fbdev/i810/i810_main.c bpp = 8; bpp 1797 drivers/video/fbdev/i810/i810_main.c vyres = (vram << 20)/(info->var.xres*bpp >> 3); bpp 1800 drivers/video/fbdev/i810/i810_main.c info->var.bits_per_pixel = bpp; bpp 1987 drivers/video/fbdev/i810/i810_main.c bpp = simple_strtoul(this_opt+4, NULL, 0); bpp 2169 drivers/video/fbdev/i810/i810_main.c module_param(bpp, int, 0); bpp 2170 drivers/video/fbdev/i810/i810_main.c MODULE_PARM_DESC(bpp, "Color depth for display in bits per pixel" bpp 561 drivers/video/fbdev/imsttfb.c set_imstt_regvals_ibm (struct imstt_par *par, u_int bpp) bpp 564 drivers/video/fbdev/imsttfb.c __u8 pformat = (bpp >> 3) + 2; bpp 581 drivers/video/fbdev/imsttfb.c set_imstt_regvals_tvp (struct imstt_par *par, u_int bpp) bpp 587 drivers/video/fbdev/imsttfb.c switch (bpp) { bpp 653 drivers/video/fbdev/imsttfb.c set_imstt_regvals (struct fb_info *info, u_int bpp) bpp 660 drivers/video/fbdev/imsttfb.c set_imstt_regvals_ibm(par, bpp); bpp 662 drivers/video/fbdev/imsttfb.c set_imstt_regvals_tvp(par, bpp); bpp 675 drivers/video/fbdev/imsttfb.c switch (bpp) { bpp 880 drivers/video/fbdev/imsttfb.c u_int bpp = info->var.bits_per_pixel; bpp 890 drivers/video/fbdev/imsttfb.c if (0 && bpp == 16) /* screws up X */ bpp 901 drivers/video/fbdev/imsttfb.c switch (bpp) { bpp 371 drivers/video/fbdev/imxfb.c var->bits_per_pixel = imxfb_mode->bpp; bpp 720 drivers/video/fbdev/imxfb.c u32 bpp; bpp 733 drivers/video/fbdev/imxfb.c ret = of_property_read_u32(np, "bits-per-pixel", &bpp); bpp 741 drivers/video/fbdev/imxfb.c if (bpp < 1 || bpp > 255) { bpp 746 drivers/video/fbdev/imxfb.c imxfb_mode->bpp = bpp; bpp 924 drivers/video/fbdev/imxfb.c bytes_per_pixel = (m->bpp + 7) / 8; bpp 321 drivers/video/fbdev/intelfb/intelfb.h int bpp, depth; bpp 1128 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->bpp = var->bits_per_pixel; bpp 1137 drivers/video/fbdev/intelfb/intelfbdrv.c switch (dinfo->bpp) { bpp 1658 drivers/video/fbdev/intelfb/intelfbhw.c u32 h, u32 color, u32 pitch, u32 bpp, u32 rop) bpp 1664 drivers/video/fbdev/intelfb/intelfbhw.c "rop 0x%02x\n", x, y, w, h, color, pitch, bpp, rop); bpp 1668 drivers/video/fbdev/intelfb/intelfbhw.c br09 = dinfo->fb_start + (y * pitch + x * (bpp / 8)); bpp 1670 drivers/video/fbdev/intelfb/intelfbhw.c br14 = (h << HEIGHT_SHIFT) | ((w * (bpp / 8)) << WIDTH_SHIFT); bpp 1673 drivers/video/fbdev/intelfb/intelfbhw.c switch (bpp) { bpp 1703 drivers/video/fbdev/intelfb/intelfbhw.c u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, u32 bpp) bpp 1709 drivers/video/fbdev/intelfb/intelfbhw.c curx, cury, dstx, dsty, w, h, pitch, bpp); bpp 1722 drivers/video/fbdev/intelfb/intelfbhw.c switch (bpp) { bpp 1749 drivers/video/fbdev/intelfb/intelfbhw.c u32 bpp) bpp 1791 drivers/video/fbdev/intelfb/intelfbhw.c switch (bpp) { bpp 587 drivers/video/fbdev/intelfb/intelfbhw.h u32 w, u32 h, u32 color, u32 pitch, u32 bpp, bpp 591 drivers/video/fbdev/intelfb/intelfbhw.h u32 bpp); bpp 594 drivers/video/fbdev/intelfb/intelfbhw.h u32 pitch, u32 bpp); bpp 388 drivers/video/fbdev/kyro/fbdev.c static inline unsigned long get_line_length(int x, int bpp) bpp 390 drivers/video/fbdev/kyro/fbdev.c return (unsigned long)((((x*bpp)+31)&~31) >> 3); bpp 194 drivers/video/fbdev/macfb.c unsigned int bpp = info->var.bits_per_pixel; bpp 205 drivers/video/fbdev/macfb.c regno = (regno << (8 - bpp)) | (0xFF >> bpp); bpp 283 drivers/video/fbdev/macfb.c unsigned int bpp = info->var.bits_per_pixel; bpp 289 drivers/video/fbdev/macfb.c regno = (regno << (8 - bpp)) | (0xFF >> bpp); bpp 430 drivers/video/fbdev/matrox/matroxfb_base.c int bpp) bpp 436 drivers/video/fbdev/matrox/matroxfb_base.c bppshft2 = bpp; bpp 448 drivers/video/fbdev/matrox/matroxfb_base.c int xres, int bpp) bpp 455 drivers/video/fbdev/matrox/matroxfb_base.c switch (bpp) { bpp 481 drivers/video/fbdev/matrox/matroxfb_base.c int bpp) bpp 488 drivers/video/fbdev/matrox/matroxfb_base.c if (!bpp) return xres; bpp 494 drivers/video/fbdev/matrox/matroxfb_base.c if ((*width >= xres) && (matroxfb_test_and_set_rounding(minfo, *width, bpp) == *width)) { bpp 501 drivers/video/fbdev/matrox/matroxfb_base.c xres_new = matroxfb_test_and_set_rounding(minfo, xres, bpp); bpp 533 drivers/video/fbdev/matrox/matroxfb_base.c unsigned char bpp; bpp 551 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int bpp = var->bits_per_pixel; bpp 557 drivers/video/fbdev/matrox/matroxfb_base.c switch (bpp) { bpp 573 drivers/video/fbdev/matrox/matroxfb_base.c var->xres_virtual = matroxfb_pitch_adjust(minfo, var->xres_virtual, bpp); bpp 574 drivers/video/fbdev/matrox/matroxfb_base.c memlen = var->xres_virtual * bpp * var->yres_virtual / 8; bpp 576 drivers/video/fbdev/matrox/matroxfb_base.c var->yres_virtual = vramlen * 8 / (var->xres_virtual * bpp); bpp 577 drivers/video/fbdev/matrox/matroxfb_base.c memlen = var->xres_virtual * bpp * var->yres_virtual / 8; bpp 583 drivers/video/fbdev/matrox/matroxfb_base.c if (bpp == 24) { bpp 587 drivers/video/fbdev/matrox/matroxfb_base.c unsigned int m1 = linelen = var->xres_virtual * bpp / 8; bpp 616 drivers/video/fbdev/matrox/matroxfb_base.c if (bpp == 16 && var->green.length == 5) { bpp 617 drivers/video/fbdev/matrox/matroxfb_base.c bpp--; /* an artificial value - 15 */ bpp 620 drivers/video/fbdev/matrox/matroxfb_base.c for (rgbt = table; rgbt->bpp < bpp; rgbt++); bpp 631 drivers/video/fbdev/matrox/matroxfb_base.c if (bpp > 8) bpp 711 drivers/video/fbdev/mx3fb.c static uint32_t bpp_to_pixfmt(int bpp) bpp 714 drivers/video/fbdev/mx3fb.c switch (bpp) { bpp 244 drivers/video/fbdev/nvidia/nv_hw.c int data, pagemiss, cas, width, video_enable, bpp; bpp 259 drivers/video/fbdev/nvidia/nv_hw.c bpp = arb->pix_bpp; bpp 296 drivers/video/fbdev/nvidia/nv_hw.c crtc_drain_rate = pclk_freq * bpp / 8; bpp 332 drivers/video/fbdev/nvidia/nv_hw.c crtc_drain_rate = pclk_freq * bpp / 8; bpp 343 drivers/video/fbdev/nvidia/nv_hw.c p1 = p1 * bpp / 8; bpp 417 drivers/video/fbdev/nvidia/nv_hw.c int data, pagemiss, width, video_enable, bpp; bpp 437 drivers/video/fbdev/nvidia/nv_hw.c bpp = arb->pix_bpp; bpp 468 drivers/video/fbdev/nvidia/nv_hw.c mclk_extra = (bpp == 32) ? 31 : 42; /* Margin of error */ bpp 471 drivers/video/fbdev/nvidia/nv_hw.c mclk_extra = (bpp == 32) ? 8 : 4; /* Margin of error */ bpp 508 drivers/video/fbdev/nvidia/nv_hw.c crtc_drain_rate = pclk_freq * bpp / 8; /* MB/s */ bpp 536 drivers/video/fbdev/nvidia/nv_hw.c crtc_drain_rate = pclk_freq * bpp / 8; bpp 577 drivers/video/fbdev/nvidia/nv_hw.c p2 = p1clk * bpp / 8; /* bytes drained. */ bpp 858 drivers/video/fbdev/nvidia/nv_hw.c int bpp, bpp 866 drivers/video/fbdev/nvidia/nv_hw.c state->bpp = bpp; /* this is not bitsPerPixel, it's 8,15,16,32 */ bpp 872 drivers/video/fbdev/nvidia/nv_hw.c pixelDepth = (bpp + 1) / 8; bpp 892 drivers/video/fbdev/nvidia/nv_hw.c state->general = bpp == 16 ? 0x00101100 : 0x00100100; bpp 934 drivers/video/fbdev/nvidia/nv_hw.c state->general = bpp == 16 ? 0x00101100 : 0x00100100; bpp 939 drivers/video/fbdev/nvidia/nv_hw.c if (bpp != 8) /* DirectColor */ bpp 54 drivers/video/fbdev/nvidia/nv_type.h u32 bpp; bpp 74 drivers/video/fbdev/nvidia/nvidia.c static int bpp = 8; bpp 180 drivers/video/fbdev/nvidia/nvidia.c if(((par->Chipset & 0xffff) == 0x0328) && (state->bpp == 32)) { bpp 1117 drivers/video/fbdev/nvidia/nvidia.c switch (bpp) { bpp 1119 drivers/video/fbdev/nvidia/nvidia.c bpp = 8; bpp 1122 drivers/video/fbdev/nvidia/nvidia.c bpp = 16; bpp 1125 drivers/video/fbdev/nvidia/nvidia.c bpp = 32; bpp 1134 drivers/video/fbdev/nvidia/nvidia.c nvidiafb_default_var.bits_per_pixel = bpp; bpp 1141 drivers/video/fbdev/nvidia/nvidia.c specs->modedb_len, &modedb, bpp); bpp 1146 drivers/video/fbdev/nvidia/nvidia.c specs->modedb, specs->modedb_len, &modedb, bpp); bpp 1488 drivers/video/fbdev/nvidia/nvidia.c bpp = simple_strtoul(this_opt+4, NULL, 0); bpp 1567 drivers/video/fbdev/nvidia/nvidia.c module_param(bpp, int, 0); bpp 1568 drivers/video/fbdev/nvidia/nvidia.c MODULE_PARM_DESC(bpp, "pixel width in bits" bpp 334 drivers/video/fbdev/omap/hwa742.c int bpp; bpp 350 drivers/video/fbdev/omap/hwa742.c bpp = 16; bpp 355 drivers/video/fbdev/omap/hwa742.c bpp = 12; bpp 360 drivers/video/fbdev/omap/hwa742.c bpp = 16; bpp 383 drivers/video/fbdev/omap/hwa742.c offset = (scr_width * y + x) * bpp / 8; bpp 107 drivers/video/fbdev/omap/lcd_ams_delta.c .bpp = 12, bpp 49 drivers/video/fbdev/omap/lcd_h3.c .bpp = 16, bpp 28 drivers/video/fbdev/omap/lcd_htcherald.c .bpp = 16, bpp 32 drivers/video/fbdev/omap/lcd_inn1510.c .bpp = 16, bpp 63 drivers/video/fbdev/omap/lcd_inn1610.c .bpp = 16, bpp 489 drivers/video/fbdev/omap/lcd_mipid.c .bpp = 16, bpp 52 drivers/video/fbdev/omap/lcd_osk.c .bpp = 16, bpp 22 drivers/video/fbdev/omap/lcd_palmte.c .bpp = 8, bpp 32 drivers/video/fbdev/omap/lcd_palmtt.c .bpp = 16, bpp 27 drivers/video/fbdev/omap/lcd_palmz71.c .bpp = 16, bpp 49 drivers/video/fbdev/omap/lcdc.c int bpp; bpp 186 drivers/video/fbdev/omap/lcdc.c xelem = lcdc.xres * lcdc.bpp / 8 / esize; bpp 196 drivers/video/fbdev/omap/lcdc.c xelem = lcdc.yres * lcdc.bpp / 16; bpp 210 drivers/video/fbdev/omap/lcdc.c int bpp = lcdc.bpp; bpp 217 drivers/video/fbdev/omap/lcdc.c bpp = 16; bpp 220 drivers/video/fbdev/omap/lcdc.c lcdc.screen_width * bpp / 8 / esize); bpp 312 drivers/video/fbdev/omap/lcdc.c lcdc.bpp = 8; bpp 317 drivers/video/fbdev/omap/lcdc.c lcdc.bpp = 16; bpp 322 drivers/video/fbdev/omap/lcdc.c lcdc.bpp = 16; bpp 328 drivers/video/fbdev/omap/lcdc.c lcdc.bpp = 12; bpp 334 drivers/video/fbdev/omap/lcdc.c lcdc.bpp = 16; bpp 470 drivers/video/fbdev/omap/lcdc.c l |= (is_tft && panel->bpp == 8) ? 0x810000 : 0; bpp 621 drivers/video/fbdev/omap/lcdc.c int bpp; bpp 625 drivers/video/fbdev/omap/lcdc.c bpp = panel->bpp; bpp 626 drivers/video/fbdev/omap/lcdc.c if (bpp == 12) bpp 627 drivers/video/fbdev/omap/lcdc.c bpp = 16; bpp 628 drivers/video/fbdev/omap/lcdc.c frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res); bpp 61 drivers/video/fbdev/omap/omapfb.h int bpp; /* Pixel format in fb mem */ bpp 145 drivers/video/fbdev/omap/omapfb_main.c int bpp = panel->bpp; bpp 148 drivers/video/fbdev/omap/omapfb_main.c if (bpp == 12) bpp 149 drivers/video/fbdev/omap/omapfb_main.c bpp = 16; bpp 150 drivers/video/fbdev/omap/omapfb_main.c def_size = def_vxres * def_vyres * bpp / 8; bpp 376 drivers/video/fbdev/omap/omapfb_main.c int bpp; bpp 392 drivers/video/fbdev/omap/omapfb_main.c bpp = var->bits_per_pixel; bpp 400 drivers/video/fbdev/omap/omapfb_main.c bpp = 16; bpp 410 drivers/video/fbdev/omap/omapfb_main.c fix->line_length = var->xres_virtual * bpp / 8; bpp 452 drivers/video/fbdev/omap/omapfb_main.c if (plane->fbdev->panel->bpp == 12) bpp 469 drivers/video/fbdev/omap/omapfb_main.c int bpp; bpp 481 drivers/video/fbdev/omap/omapfb_main.c bpp = var->bits_per_pixel; bpp 483 drivers/video/fbdev/omap/omapfb_main.c bpp = 16; bpp 526 drivers/video/fbdev/omap/omapfb_main.c line_size = var->xres_virtual * bpp / 8; bpp 530 drivers/video/fbdev/omap/omapfb_main.c var->xres_virtual = line_size * 8 / bpp; bpp 534 drivers/video/fbdev/omap/omapfb_main.c line_size = var->xres * bpp / 8; bpp 1465 drivers/video/fbdev/omap/omapfb_main.c var->bits_per_pixel = fbdev->panel->bpp; bpp 3313 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3319 drivers/video/fbdev/omap2/omapfb/dss/dsi.c if (dsi->line_buffer_size <= timings->x_res * bpp / 8) bpp 3447 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3487 drivers/video/fbdev/omap2/omapfb/dss/dsi.c width_bytes = DIV_ROUND_UP(timings->x_res * bpp, 8); bpp 3699 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3706 drivers/video/fbdev/omap2/omapfb/dss/dsi.c width_bytes = DIV_ROUND_UP(timings->x_res * bpp, 8); bpp 3809 drivers/video/fbdev/omap2/omapfb/dss/dsi.c int bpp = dsi_get_pixel_size(dsi->pix_fmt); bpp 3849 drivers/video/fbdev/omap2/omapfb/dss/dsi.c word_count = DIV_ROUND_UP(dsi->timings.x_res * bpp, 8); bpp 2004 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omap_video_timings *timings, u8 *bpp) bpp 2014 drivers/video/fbdev/omap2/omapfb/omapfb-main.c *bpp = 24; bpp 2018 drivers/video/fbdev/omap2/omapfb/omapfb-main.c *bpp = 24; bpp 2026 drivers/video/fbdev/omap2/omapfb/omapfb-main.c *bpp = 0; bpp 2084 drivers/video/fbdev/omap2/omapfb/omapfb-main.c *bpp = 16; bpp 2089 drivers/video/fbdev/omap2/omapfb/omapfb-main.c *bpp = 24; bpp 2107 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u8 bpp; bpp 2111 drivers/video/fbdev/omap2/omapfb/omapfb-main.c r = omapfb_mode_to_timings(mode_str, display, &timings, &bpp); bpp 2116 drivers/video/fbdev/omap2/omapfb/omapfb-main.c d->bpp_override = bpp; bpp 231 drivers/video/fbdev/pm2fb.c static u32 to3264(u32 timing, int bpp, int is64) bpp 233 drivers/video/fbdev/pm2fb.c switch (bpp) { bpp 182 drivers/video/fbdev/pm3fb.c static inline int pm3fb_shift_bpp(unsigned bpp, int v) bpp 184 drivers/video/fbdev/pm3fb.c switch (bpp) { bpp 192 drivers/video/fbdev/pm3fb.c DPRINTK("Unsupported depth %u\n", bpp); bpp 731 drivers/video/fbdev/pm3fb.c const unsigned bpp = info->var.bits_per_pixel; bpp 740 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, htotal - 1)); bpp 742 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, hsend)); bpp 744 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, hsstart)); bpp 746 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, hbend)); bpp 748 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, hbend)); bpp 750 drivers/video/fbdev/pm3fb.c pm3fb_shift_bpp(bpp, width)); bpp 756 drivers/video/fbdev/pm3fb.c switch (bpp) { bpp 797 drivers/video/fbdev/pm3fb.c DPRINTK("Unsupported depth %d\n", bpp); bpp 914 drivers/video/fbdev/pm3fb.c unsigned bpp = var->red.length + var->green.length bpp 917 drivers/video/fbdev/pm3fb.c if (bpp != var->bits_per_pixel) { bpp 1017 drivers/video/fbdev/pm3fb.c const unsigned bpp = info->var.bits_per_pixel; bpp 1019 drivers/video/fbdev/pm3fb.c par->base = pm3fb_shift_bpp(bpp, (info->var.yoffset * xres) bpp 1041 drivers/video/fbdev/pm3fb.c switch (bpp) { bpp 1057 drivers/video/fbdev/pm3fb.c (bpp == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; bpp 1058 drivers/video/fbdev/pm3fb.c info->fix.line_length = ((info->var.xres_virtual + 7) >> 3) * bpp; bpp 249 drivers/video/fbdev/pvr2fb.c static inline unsigned long get_line_length(int xres_virtual, int bpp) bpp 251 drivers/video/fbdev/pvr2fb.c return (unsigned long)((((xres_virtual*bpp)+31)&~31) >> 3); bpp 251 drivers/video/fbdev/pxafb.c int bpp = -EINVAL; bpp 254 drivers/video/fbdev/pxafb.c case 1: bpp = 0; break; bpp 255 drivers/video/fbdev/pxafb.c case 2: bpp = 1; break; bpp 256 drivers/video/fbdev/pxafb.c case 4: bpp = 2; break; bpp 257 drivers/video/fbdev/pxafb.c case 8: bpp = 3; break; bpp 258 drivers/video/fbdev/pxafb.c case 16: bpp = 4; break; bpp 261 drivers/video/fbdev/pxafb.c case 18: bpp = 6; break; /* 18-bits/pixel packed */ bpp 262 drivers/video/fbdev/pxafb.c case 19: bpp = 8; break; /* 19-bits/pixel packed */ bpp 263 drivers/video/fbdev/pxafb.c case 24: bpp = 9; break; bpp 268 drivers/video/fbdev/pxafb.c case 18: bpp = 5; break; /* 18-bits/pixel unpacked */ bpp 269 drivers/video/fbdev/pxafb.c case 19: bpp = 7; break; /* 19-bits/pixel unpacked */ bpp 270 drivers/video/fbdev/pxafb.c case 25: bpp = 10; break; bpp 274 drivers/video/fbdev/pxafb.c return bpp; bpp 290 drivers/video/fbdev/pxafb.c int bpp = pxafb_var_to_bpp(var); bpp 293 drivers/video/fbdev/pxafb.c if (bpp < 0) bpp 296 drivers/video/fbdev/pxafb.c lccr3 = LCCR3_BPP(bpp); bpp 381 drivers/video/fbdev/pxafb.c modelist[i].bpp >= var->bits_per_pixel) { bpp 396 drivers/video/fbdev/pxafb.c var->bits_per_pixel = mode->bpp; bpp 769 drivers/video/fbdev/pxafb.c int xpos, ypos, pfor, bpp; bpp 775 drivers/video/fbdev/pxafb.c bpp = pxafb_var_to_bpp(var); bpp 776 drivers/video/fbdev/pxafb.c if (bpp < 0) bpp 786 drivers/video/fbdev/pxafb.c bpp = pxafb_var_to_bpp(var); bpp 787 drivers/video/fbdev/pxafb.c if (bpp < 0) bpp 792 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV444_PACKED: bpp = 24; break; bpp 793 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV444_PLANAR: bpp = 8; break; bpp 794 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV422_PLANAR: bpp = 4; break; bpp 795 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV420_PLANAR: bpp = 2; break; bpp 801 drivers/video/fbdev/pxafb.c if ((xpos * bpp) % 32) bpp 805 drivers/video/fbdev/pxafb.c var->xres = roundup(var->xres * bpp, 32) / bpp; bpp 820 drivers/video/fbdev/pxafb.c int size, bpp = 0; bpp 823 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_RGB: bpp = var->bits_per_pixel; break; bpp 824 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV444_PACKED: bpp = 24; break; bpp 825 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV444_PLANAR: bpp = 24; break; bpp 826 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV422_PLANAR: bpp = 16; break; bpp 827 drivers/video/fbdev/pxafb.c case OVERLAY_FORMAT_YUV420_PLANAR: bpp = 12; break; bpp 830 drivers/video/fbdev/pxafb.c ofb->fb.fix.line_length = var->xres_virtual * bpp / 8; bpp 845 drivers/video/fbdev/pxafb.c int xpos, ypos, pfor, bpp, ret; bpp 851 drivers/video/fbdev/pxafb.c bpp = pxafb_var_to_bpp(var); bpp 857 drivers/video/fbdev/pxafb.c OVLxC1_BPP(bpp); bpp 1113 drivers/video/fbdev/pxafb.c int nbytes, dma, pal, bpp = var->bits_per_pixel; bpp 1117 drivers/video/fbdev/pxafb.c pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); bpp 1784 drivers/video/fbdev/pxafb.c m->xres * m->yres * m->bpp / 8); bpp 1862 drivers/video/fbdev/pxafb.c unsigned int xres = 0, yres = 0, bpp = 0; bpp 1870 drivers/video/fbdev/pxafb.c bpp = simple_strtoul(&name[i+1], NULL, 0); bpp 1898 drivers/video/fbdev/pxafb.c switch (bpp) { bpp 1904 drivers/video/fbdev/pxafb.c inf->modes[0].bpp = bpp; bpp 1905 drivers/video/fbdev/pxafb.c dev_info(dev, "overriding bit depth: %d\n", bpp); bpp 1908 drivers/video/fbdev/pxafb.c dev_err(dev, "Depth %d is not valid\n", bpp); bpp 2203 drivers/video/fbdev/pxafb.c info->modes[i].bpp = bus_width; bpp 2276 drivers/video/fbdev/pxafb.c inf->modes->bpp); bpp 2279 drivers/video/fbdev/pxafb.c inf->modes->bpp == 0) { bpp 674 drivers/video/fbdev/riva/fbdev.c int bpp, width, hDisplaySize, hDisplay, hStart, bpp 685 drivers/video/fbdev/riva/fbdev.c bpp = info->var.bits_per_pixel; bpp 686 drivers/video/fbdev/riva/fbdev.c if (bpp == 16 && info->var.green.length == 5) bpp 687 drivers/video/fbdev/riva/fbdev.c bpp = 15; bpp 746 drivers/video/fbdev/riva/fbdev.c newmode.crtc[0x13] = (width / 8) * ((bpp + 1) / 8); bpp 783 drivers/video/fbdev/riva/fbdev.c rc = CalcStateExt(&par->riva, &newmode.ext, par->pdev, bpp, width, bpp 659 drivers/video/fbdev/riva/riva_hw.c int data, pagemiss, cas,width, video_enable, color_key_enable, bpp, align; bpp 676 drivers/video/fbdev/riva/riva_hw.c bpp = arb->pix_bpp; bpp 716 drivers/video/fbdev/riva/riva_hw.c crtc_drain_rate = pclk_freq * bpp/8; bpp 747 drivers/video/fbdev/riva/riva_hw.c crtc_drain_rate = pclk_freq * bpp/8; bpp 757 drivers/video/fbdev/riva/riva_hw.c p1 = p1 * bpp / 8; bpp 845 drivers/video/fbdev/riva/riva_hw.c int data, pagemiss, cas,width, video_enable, color_key_enable, bpp, align; bpp 867 drivers/video/fbdev/riva/riva_hw.c bpp = arb->pix_bpp; bpp 904 drivers/video/fbdev/riva/riva_hw.c mclk_extra = (bpp == 32) ? 31 : 42; /* Margin of error */ bpp 909 drivers/video/fbdev/riva/riva_hw.c mclk_extra = (bpp == 32) ? 8 : 4; /* Margin of error */ bpp 946 drivers/video/fbdev/riva/riva_hw.c crtc_drain_rate = pclk_freq * bpp/8; /* MB/s */ bpp 969 drivers/video/fbdev/riva/riva_hw.c crtc_drain_rate = pclk_freq * bpp/8; /* bpp * pclk/8 */ bpp 1025 drivers/video/fbdev/riva/riva_hw.c p2 = p1clk * bpp / 8; /* bytes drained. */ bpp 1240 drivers/video/fbdev/riva/riva_hw.c int bpp, bpp 1254 drivers/video/fbdev/riva/riva_hw.c state->bpp = bpp; /* this is not bitsPerPixel, it's 8,15,16,32 */ bpp 1260 drivers/video/fbdev/riva/riva_hw.c pixelDepth = (bpp + 1)/8; bpp 1293 drivers/video/fbdev/riva/riva_hw.c state->general = bpp == 16 ? 0x00101100 : 0x00100100; bpp 1319 drivers/video/fbdev/riva/riva_hw.c state->general = bpp == 16 ? 0x00101100 : 0x00100100; bpp 1326 drivers/video/fbdev/riva/riva_hw.c if((bpp != 8) && (chip->Architecture != NV_ARCH_03)) bpp 1430 drivers/video/fbdev/riva/riva_hw.c switch (state->bpp) bpp 1470 drivers/video/fbdev/riva/riva_hw.c switch (state->bpp) bpp 1516 drivers/video/fbdev/riva/riva_hw.c switch (state->bpp) bpp 495 drivers/video/fbdev/riva/riva_hw.h U032 bpp; bpp 540 drivers/video/fbdev/riva/riva_hw.h int bpp, bpp 441 drivers/video/fbdev/s1d13xxxfb.c u16 bpp; bpp 446 drivers/video/fbdev/s1d13xxxfb.c bpp = (info->var.bits_per_pixel >> 3); bpp 447 drivers/video/fbdev/s1d13xxxfb.c stride = bpp * info->var.xres; bpp 451 drivers/video/fbdev/s1d13xxxfb.c dst = (((dy + height - 1) * stride) + (bpp * (dx + width - 1))); bpp 452 drivers/video/fbdev/s1d13xxxfb.c src = (((sy + height - 1) * stride) + (bpp * (sx + width - 1))); bpp 456 drivers/video/fbdev/s1d13xxxfb.c dst = (dy * stride) + (bpp * dx); bpp 457 drivers/video/fbdev/s1d13xxxfb.c src = (sy * stride) + (bpp * sx); bpp 490 drivers/video/fbdev/s1d13xxxfb.c s1d13xxxfb_writereg(info->par, S1DREG_BBLT_CTL1, (bpp >> 1)); bpp 500 drivers/video/fbdev/s1d13xxxfb.c dbg_blit("(copyarea) bpp=%d=0x0%d, mem_offset1=%d, mem_offset2=%d\n", bpp, (bpp >> 1), bpp 528 drivers/video/fbdev/s1d13xxxfb.c u16 bpp = (info->var.bits_per_pixel >> 3); bpp 534 drivers/video/fbdev/s1d13xxxfb.c screen_stride = (bpp * info->var.xres); bpp 537 drivers/video/fbdev/s1d13xxxfb.c dest = ((rect->dy * screen_stride) + (bpp * rect->dx)); bpp 643 drivers/video/fbdev/s1d13xxxfb.c int bpp, lcd_bpp; bpp 662 drivers/video/fbdev/s1d13xxxfb.c bpp = display & 0x07; bpp 664 drivers/video/fbdev/s1d13xxxfb.c switch (bpp) { bpp 675 drivers/video/fbdev/s1d13xxxfb.c dbg("bpp: %i\n", bpp); bpp 226 drivers/video/fbdev/s3c-fb.c static bool s3c_fb_validate_win_bpp(struct s3c_fb_win *win, unsigned int bpp) bpp 228 drivers/video/fbdev/s3c-fb.c return win->variant.valid_bpp & VALID_BPP(bpp); bpp 375 drivers/video/fbdev/s3c-fb.c static int s3c_fb_align_word(unsigned int bpp, unsigned int pix) bpp 379 drivers/video/fbdev/s3c-fb.c if (bpp > 16) bpp 382 drivers/video/fbdev/s3c-fb.c pix_per_word = (8 * 32) / bpp; bpp 139 drivers/video/fbdev/s3c2410fb.c var->bits_per_pixel == default_display->bpp) bpp 146 drivers/video/fbdev/s3c2410fb.c var->bits_per_pixel == mach_info->displays[i].bpp) { bpp 947 drivers/video/fbdev/s3c2410fb.c smem_len *= mach_info->displays[i].bpp; bpp 965 drivers/video/fbdev/s3c2410fb.c fbinfo->var.bits_per_pixel = display->bpp; bpp 606 drivers/video/fbdev/s3fb.c u32 bpp = info->var.bits_per_pixel; bpp 609 drivers/video/fbdev/s3fb.c if (bpp != 0) { bpp 611 drivers/video/fbdev/s3fb.c info->fix.line_length = (info->var.xres_virtual * bpp) / 8; bpp 617 drivers/video/fbdev/s3fb.c info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); bpp 620 drivers/video/fbdev/s3fb.c offset_value = (info->var.xres_virtual * bpp) / 64; bpp 736 drivers/video/fbdev/s3fb.c dbytes = info->var.xres * ((bpp+7)/8); bpp 1128 drivers/video/fbdev/sa1100fb.c fbi->fb.var.bits_per_pixel = inf->bpp; bpp 1141 drivers/video/fbdev/sa1100fb.c inf->bpp / 8; bpp 77 drivers/video/fbdev/sa1100fb.h #define SA1100_PALETTE_MODE_VAL(bpp) (((bpp) & 0x018) << 9) bpp 249 drivers/video/fbdev/savage/savagefb.h #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16)) bpp 21 drivers/video/fbdev/sbuslib.c int bpp) bpp 29 drivers/video/fbdev/sbuslib.c var->bits_per_pixel = bpp; bpp 16 drivers/video/fbdev/sbuslib.h struct device_node *dp, int bpp); bpp 122 drivers/video/fbdev/sh7760fb.c u16 lddfr, int *bpp, int *gray) bpp 157 drivers/video/fbdev/sh7760fb.c if (bpp) bpp 158 drivers/video/fbdev/sh7760fb.c *bpp = lbpp; bpp 170 drivers/video/fbdev/sh7760fb.c int ret, bpp; bpp 173 drivers/video/fbdev/sh7760fb.c ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, NULL); bpp 177 drivers/video/fbdev/sh7760fb.c var->bits_per_pixel = bpp; bpp 204 drivers/video/fbdev/sh7760fb.c int ret, bpp, gray; bpp 225 drivers/video/fbdev/sh7760fb.c ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, &gray); bpp 230 drivers/video/fbdev/sh7760fb.c vdln, bpp, gray ? "grayscale" : "color", bpp 270 drivers/video/fbdev/sh7760fb.c stride *= (bpp + 7) >> 3; bpp 272 drivers/video/fbdev/sh7760fb.c if (bpp == 1) bpp 274 drivers/video/fbdev/sh7760fb.c else if (bpp == 2) bpp 276 drivers/video/fbdev/sh7760fb.c else if (bpp == 4) bpp 378 drivers/video/fbdev/sh7760fb.c int ret, bpp; bpp 384 drivers/video/fbdev/sh7760fb.c ret = sh7760fb_get_color_info(info->dev, par->pd->lddfr, &bpp, NULL); bpp 395 drivers/video/fbdev/sh7760fb.c if (bpp == 1) bpp 397 drivers/video/fbdev/sh7760fb.c else if (bpp == 2) bpp 399 drivers/video/fbdev/sh7760fb.c else if (bpp == 4) bpp 401 drivers/video/fbdev/sh7760fb.c } else if (bpp > 8) bpp 546 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int bpp; bpp 554 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 16, bpp 559 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 24, bpp 564 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 32, bpp 569 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 12, bpp 574 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 12, bpp 579 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 16, bpp 584 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 16, bpp 589 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 24, bpp 594 drivers/video/fbdev/sh_mobile_lcdcfb.c .bpp = 24, bpp 1131 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = format->bpp; bpp 1381 drivers/video/fbdev/sh_mobile_lcdcfb.c * ovl->format->bpp / 8; bpp 1384 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int xsub = ovl->format->bpp < 24 ? 2 : 1; bpp 1385 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int ysub = ovl->format->bpp < 16 ? 2 : 1; bpp 1453 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = info->var.xres_virtual * ovl->format->bpp / 8; bpp 1616 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = ovl->format->bpp; bpp 1695 drivers/video/fbdev/sh_mobile_lcdcfb.c * ch->format->bpp / 8; bpp 1698 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int xsub = ch->format->bpp < 24 ? 2 : 1; bpp 1699 drivers/video/fbdev/sh_mobile_lcdcfb.c unsigned int ysub = ch->format->bpp < 16 ? 2 : 1; bpp 1896 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = info->var.xres_virtual * ch->format->bpp / 8; bpp 2109 drivers/video/fbdev/sh_mobile_lcdcfb.c var->bits_per_pixel = ch->format->bpp; bpp 2386 drivers/video/fbdev/sh_mobile_lcdcfb.c ovl->pitch = ovl->xres_virtual * format->bpp / 8; bpp 2392 drivers/video/fbdev/sh_mobile_lcdcfb.c * format->bpp / 8 * 2; bpp 2474 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->pitch = ch->xres_virtual * format->bpp / 8; bpp 2485 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->fb_size = max_size * format->bpp / 8 * 2; bpp 180 drivers/video/fbdev/sis/sis_accel.h #define SiS300SetupDSTColorDepth(bpp) \ bpp 182 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT16(ivideo->mmio_vbase, BR(1)+2, bpp);\ bpp 310 drivers/video/fbdev/sis/sis_accel.h #define SiS310SetupDSTColorDepth(bpp) \ bpp 312 drivers/video/fbdev/sis/sis_accel.h MMIO_OUT16(ivideo->mmio_vbase, AGP_BASE, bpp);\ bpp 1263 drivers/video/fbdev/sis/sis_main.c (sisbios_mode[ivideo->sisfb_mode_idx].bpp == var->bits_per_pixel)) { bpp 1314 drivers/video/fbdev/sis/sis_main.c ivideo->video_bpp = sisbios_mode[ivideo->sisfb_mode_idx].bpp; bpp 1500 drivers/video/fbdev/sis/sis_main.c (sisbios_mode[search_idx].bpp == var->bits_per_pixel)) { bpp 1516 drivers/video/fbdev/sis/sis_main.c (var->bits_per_pixel == sisbios_mode[search_idx].bpp) ) { bpp 6375 drivers/video/fbdev/sis/sis_main.c sisbios_mode[bu].bpp); bpp 6415 drivers/video/fbdev/sis/sis_main.c ivideo->video_bpp = sisbios_mode[ivideo->sisfb_mode_idx].bpp; bpp 145 drivers/video/fbdev/sis/sis_main.h u16 bpp; bpp 2226 drivers/video/fbdev/sm501fb.c module_param_named(bpp, default_bpp, ulong, 0); bpp 2227 drivers/video/fbdev/sm501fb.c MODULE_PARM_DESC(bpp, "Specify bit-per-pixel if not specified mode"); bpp 80 drivers/video/fbdev/sm712.h int bpp; bpp 1193 drivers/video/fbdev/sm712fb.c vgamode[j].bpp != sfb->fb->var.bits_per_pixel || bpp 1200 drivers/video/fbdev/sm712fb.c vgamode[j].bpp, vgamode[j].hz); bpp 1058 drivers/video/fbdev/sstfb.c static void sst_set_vidmod_att_ti(struct fb_info *info, const int bpp) bpp 1077 drivers/video/fbdev/sstfb.c switch(bpp) { bpp 1082 drivers/video/fbdev/sstfb.c dprintk("%s: bad depth '%u'\n", __func__, bpp); bpp 1087 drivers/video/fbdev/sstfb.c static void sst_set_vidmod_ics(struct fb_info *info, const int bpp) bpp 1091 drivers/video/fbdev/sstfb.c switch(bpp) { bpp 1096 drivers/video/fbdev/sstfb.c dprintk("%s: bad depth '%u'\n", __func__, bpp); bpp 1126 drivers/video/fbdev/stifb.c int bpp, xres, yres; bpp 1174 drivers/video/fbdev/stifb.c bpp = 8; bpp 1208 drivers/video/fbdev/stifb.c bpp = 32; bpp 1221 drivers/video/fbdev/stifb.c bpp = bpp_pref; bpp 1223 drivers/video/fbdev/stifb.c bpp = 32; bpp 1225 drivers/video/fbdev/stifb.c bpp = 8; bpp 1238 drivers/video/fbdev/stifb.c bpp = 1; /* default to 1 bpp */ bpp 1254 drivers/video/fbdev/stifb.c fix->line_length = (fb->sti->glob_cfg->total_x * bpp) / 8; bpp 1264 drivers/video/fbdev/stifb.c switch (bpp) { bpp 1290 drivers/video/fbdev/stifb.c var->bits_per_pixel = bpp; bpp 849 drivers/video/fbdev/tdfxfb.c u32 bpp = info->var.bits_per_pixel; bpp 851 drivers/video/fbdev/tdfxfb.c u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); bpp 869 drivers/video/fbdev/tdfxfb.c dstbase += dx * bpp >> 3; bpp 893 drivers/video/fbdev/tdfxfb.c u32 bpp = info->var.bits_per_pixel; bpp 896 drivers/video/fbdev/tdfxfb.c u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); bpp 907 drivers/video/fbdev/tdfxfb.c srcbase += sx * bpp >> 3; bpp 917 drivers/video/fbdev/tdfxfb.c dstbase += dx * bpp >> 3; bpp 952 drivers/video/fbdev/tdfxfb.c u32 bpp = info->var.bits_per_pixel; bpp 953 drivers/video/fbdev/tdfxfb.c u32 dstfmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); bpp 963 drivers/video/fbdev/tdfxfb.c srcfmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13) | bpp 995 drivers/video/fbdev/tdfxfb.c dstbase += dx * bpp >> 3; bpp 1254 drivers/video/fbdev/tgafb.c unsigned long line_length, bpp; bpp 1280 drivers/video/fbdev/tgafb.c bpp = info->var.bits_per_pixel; bpp 1283 drivers/video/fbdev/tgafb.c if (!(line_length & 63) && width * (bpp >> 3) == line_length) { bpp 1284 drivers/video/fbdev/tgafb.c if (bpp == 8) bpp 1293 drivers/video/fbdev/tgafb.c else if (bpp == 32) bpp 64 drivers/video/fbdev/tridentfb.c static int bpp = 8; bpp 82 drivers/video/fbdev/tridentfb.c module_param(bpp, int, 0); bpp 305 drivers/video/fbdev/tridentfb.c static void blade_init_accel(struct tridentfb_par *par, int pitch, int bpp) bpp 308 drivers/video/fbdev/tridentfb.c int tmp = bpp == 24 ? 2 : (bpp >> 4); bpp 379 drivers/video/fbdev/tridentfb.c static void xp_init_accel(struct tridentfb_par *par, int pitch, int bpp) bpp 381 drivers/video/fbdev/tridentfb.c unsigned char x = bpp == 24 ? 3 : (bpp >> 4); bpp 382 drivers/video/fbdev/tridentfb.c int v1 = pitch << (bpp == 24 ? 20 : (18 + x)); bpp 384 drivers/video/fbdev/tridentfb.c switch (pitch << (bpp >> 3)) { bpp 477 drivers/video/fbdev/tridentfb.c static void image_init_accel(struct tridentfb_par *par, int pitch, int bpp) bpp 479 drivers/video/fbdev/tridentfb.c int tmp = bpp == 24 ? 2: (bpp >> 4); bpp 543 drivers/video/fbdev/tridentfb.c static void tgui_init_accel(struct tridentfb_par *par, int pitch, int bpp) bpp 545 drivers/video/fbdev/tridentfb.c unsigned char x = bpp == 24 ? 3 : (bpp >> 4); bpp 551 drivers/video/fbdev/tridentfb.c switch ((pitch * bpp) / 8) { bpp 994 drivers/video/fbdev/tridentfb.c int bpp = var->bits_per_pixel; bpp 1000 drivers/video/fbdev/tridentfb.c if (bpp == 24) bpp 1001 drivers/video/fbdev/tridentfb.c bpp = var->bits_per_pixel = 32; bpp 1002 drivers/video/fbdev/tridentfb.c if (bpp != 8 && bpp != 16 && bpp != 32) bpp 1004 drivers/video/fbdev/tridentfb.c if (par->chip_id == TGUI9440 && bpp == 32) bpp 1020 drivers/video/fbdev/tridentfb.c line_length = var->xres_virtual * bpp / 8; bpp 1026 drivers/video/fbdev/tridentfb.c var->xres_virtual = 512 * 8 / bpp; bpp 1028 drivers/video/fbdev/tridentfb.c var->xres_virtual = 1024 * 8 / bpp; bpp 1030 drivers/video/fbdev/tridentfb.c var->xres_virtual = 2048 * 8 / bpp; bpp 1032 drivers/video/fbdev/tridentfb.c var->xres_virtual = 4096 * 8 / bpp; bpp 1034 drivers/video/fbdev/tridentfb.c var->xres_virtual = 8192 * 8 / bpp; bpp 1038 drivers/video/fbdev/tridentfb.c line_length = var->xres_virtual * bpp / 8; bpp 1048 drivers/video/fbdev/tridentfb.c switch (bpp) { bpp 1080 drivers/video/fbdev/tridentfb.c ramdac = (bpp >= 16) ? 45000 : 90000; bpp 1095 drivers/video/fbdev/tridentfb.c if (bpp == 32) bpp 1139 drivers/video/fbdev/tridentfb.c int bpp = var->bits_per_pixel; bpp 1262 drivers/video/fbdev/tridentfb.c switch (bpp) { bpp 1305 drivers/video/fbdev/tridentfb.c if (bpp == 32 || (par->chip_id == TGUI9440 && bpp == 16)) { bpp 1326 drivers/video/fbdev/tridentfb.c switch (bpp) { bpp 1349 drivers/video/fbdev/tridentfb.c info->fix.line_length = info->var.xres_virtual * bpp / 8; bpp 1353 drivers/video/fbdev/tridentfb.c par->init_accel(par, info->var.xres_virtual, bpp); bpp 1355 drivers/video/fbdev/tridentfb.c info->fix.visual = (bpp == 8) ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; bpp 1356 drivers/video/fbdev/tridentfb.c info->cmap.len = (bpp == 8) ? 256 : 16; bpp 1366 drivers/video/fbdev/tridentfb.c int bpp = info->var.bits_per_pixel; bpp 1372 drivers/video/fbdev/tridentfb.c if (bpp == 8) { bpp 1381 drivers/video/fbdev/tridentfb.c if (bpp == 16) { /* RGB 565 */ bpp 1388 drivers/video/fbdev/tridentfb.c } else if (bpp == 32) /* ARGB 8888 */ bpp 1793 drivers/video/fbdev/tridentfb.c bpp = simple_strtoul(opt + 4, NULL, 0); bpp 98 drivers/video/fbdev/vfb.c static u_long get_line_length(int xres_virtual, int bpp) bpp 102 drivers/video/fbdev/vfb.c length = xres_virtual * bpp; bpp 13 drivers/video/fbdev/via/accel.c static int viafb_set_bpp(void __iomem *engine, u8 bpp) bpp 20 drivers/video/fbdev/via/accel.c switch (bpp) { bpp 31 drivers/video/fbdev/via/accel.c printk(KERN_WARNING "viafb_set_bpp: Unsupported bpp %d\n", bpp); bpp 1513 drivers/video/fbdev/via/hw.c void viafb_update_device_setting(int hres, int vres, int bpp, int flag) bpp 655 drivers/video/fbdev/via/hw.h void viafb_update_device_setting(int hres, int vres, int bpp, int flag); bpp 67 drivers/video/fbdev/via/ioctl.c int viafb_ioctl_hotplug(int hres, int vres, int bpp) bpp 85 drivers/video/fbdev/via/ioctl.h unsigned short bpp; bpp 106 drivers/video/fbdev/via/ioctl.h u32 bpp; bpp 187 drivers/video/fbdev/via/ioctl.h int viafb_ioctl_hotplug(int hres, int vres, int bpp); bpp 436 drivers/video/fbdev/via/lcd.c static void via_pitch_alignment_patch_lcd(int iga_path, int hres, int bpp) bpp 442 drivers/video/fbdev/via/lcd.c dwPitch = hres * (bpp >> 3); bpp 446 drivers/video/fbdev/via/lcd.c if (bpp > 8) { bpp 464 drivers/video/fbdev/via/lcd.c if (bpp > 8) { bpp 118 drivers/video/fbdev/via/via_utility.c void viafb_set_gamma_table(int bpp, unsigned int *gamma_table) bpp 131 drivers/video/fbdev/via/via_utility.c if (bpp == 8) bpp 222 drivers/video/fbdev/via/via_utility.c void viafb_get_gamma_support_state(int bpp, unsigned int *support_state) bpp 224 drivers/video/fbdev/via/via_utility.c if (bpp == 8) bpp 16 drivers/video/fbdev/via/via_utility.h void viafb_set_gamma_table(int bpp, unsigned int *gamma_table); bpp 18 drivers/video/fbdev/via/via_utility.h void viafb_get_gamma_support_state(int bpp, unsigned int *support_state); bpp 135 drivers/video/fbdev/via/viafbdev.c u32 bpp = info->var.bits_per_pixel; bpp 138 drivers/video/fbdev/via/viafbdev.c bpp == 8 ? FB_VISUAL_PSEUDOCOLOR : FB_VISUAL_TRUECOLOR; bpp 139 drivers/video/fbdev/via/viafbdev.c info->fix.line_length = ALIGN(info->var.xres_virtual * bpp / 8, bpp 425 drivers/video/fbdev/via/viafbdev.c u.viamode.bpp = (u32) viafb_hotplug_bpp; bpp 516 drivers/video/fbdev/via/viafbdev.c u.active_dev.bpp = viafb_bpp; bpp 275 drivers/video/fbdev/vt8500lcdfb.c u32 bpp; bpp 345 drivers/video/fbdev/vt8500lcdfb.c ret = of_property_read_u32(pdev->dev.of_node, "bits-per-pixel", &bpp); bpp 350 drivers/video/fbdev/vt8500lcdfb.c fb_mem_len = of_mode.xres * of_mode.yres * 2 * (bpp / 8); bpp 400 drivers/video/fbdev/vt8500lcdfb.c fbi->fb.var.bits_per_pixel = bpp; bpp 379 drivers/video/fbdev/vt8623fb.c u32 bpp = info->var.bits_per_pixel; bpp 381 drivers/video/fbdev/vt8623fb.c if (bpp != 0) { bpp 383 drivers/video/fbdev/vt8623fb.c info->fix.line_length = (info->var.xres_virtual * bpp) / 8; bpp 389 drivers/video/fbdev/vt8623fb.c info->pixmap.blit_x = (bpp == 4) ? (1 << (8 - 1)) : (~(u32)0); bpp 392 drivers/video/fbdev/vt8623fb.c offset_value = (info->var.xres_virtual * bpp) / 64; bpp 393 drivers/video/fbdev/vt8623fb.c fetch_value = ((info->var.xres * bpp) / 128) + 4; bpp 395 drivers/video/fbdev/vt8623fb.c if (bpp == 4) bpp 270 drivers/video/fbdev/wm8505fb.c u32 bpp; bpp 315 drivers/video/fbdev/wm8505fb.c ret = of_property_read_u32(pdev->dev.of_node, "bits-per-pixel", &bpp); bpp 328 drivers/video/fbdev/wm8505fb.c fb_mem_len = mode.xres * mode.yres * 2 * (bpp / 8); bpp 338 drivers/video/fbdev/wm8505fb.c fbi->fb.var.bits_per_pixel = bpp; bpp 2607 fs/ext4/inode.c int bpp = ext4_journal_blocks_per_page(inode); bpp 2610 fs/ext4/inode.c MAX_WRITEPAGES_EXTENT_LEN + bpp - 1, bpp); bpp 5868 fs/ext4/inode.c int bpp = ext4_journal_blocks_per_page(inode); bpp 5871 fs/ext4/inode.c ret = ext4_meta_trans_blocks(inode, bpp, bpp); bpp 5875 fs/ext4/inode.c ret += bpp; bpp 177 fs/jfs/jfs_logmgr.c static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp); bpp 1969 fs/jfs/jfs_logmgr.c static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp) bpp 1977 fs/jfs/jfs_logmgr.c *bpp = bp = lbmAllocate(log, pn); bpp 451 fs/jfs/jfs_mount.c int readSuper(struct super_block *sb, struct buffer_head **bpp) bpp 454 fs/jfs/jfs_mount.c *bpp = sb_bread(sb, SUPER1_OFF >> sb->s_blocksize_bits); bpp 455 fs/jfs/jfs_mount.c if (*bpp) bpp 459 fs/jfs/jfs_mount.c *bpp = sb_bread(sb, SUPER2_OFF >> sb->s_blocksize_bits); bpp 460 fs/jfs/jfs_mount.c if (*bpp) bpp 143 fs/nfs/dns_resolve.c char **bpp, int *blen) bpp 147 fs/nfs/dns_resolve.c qword_add(bpp, blen, key->hostname); bpp 148 fs/nfs/dns_resolve.c (*bpp)[-1] = '\n'; bpp 55 fs/nfsd/export.c char **bpp, int *blen) bpp 61 fs/nfsd/export.c qword_add(bpp, blen, ek->ek_client->name); bpp 63 fs/nfsd/export.c qword_add(bpp, blen, type); bpp 64 fs/nfsd/export.c qword_addhex(bpp, blen, (char*)ek->ek_fsid, key_len(ek->ek_fsidtype)); bpp 65 fs/nfsd/export.c (*bpp)[-1] = '\n'; bpp 335 fs/nfsd/export.c char **bpp, int *blen) bpp 341 fs/nfsd/export.c qword_add(bpp, blen, exp->ex_client->name); bpp 342 fs/nfsd/export.c pth = d_path(&exp->ex_path, *bpp, *blen); bpp 345 fs/nfsd/export.c (*bpp)[0] = '\n'; bpp 348 fs/nfsd/export.c qword_add(bpp, blen, pth); bpp 349 fs/nfsd/export.c (*bpp)[-1] = '\n'; bpp 126 fs/nfsd/nfs4idmap.c idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, bpp 132 fs/nfsd/nfs4idmap.c qword_add(bpp, blen, ent->authname); bpp 134 fs/nfsd/nfs4idmap.c qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); bpp 135 fs/nfsd/nfs4idmap.c qword_add(bpp, blen, idstr); bpp 137 fs/nfsd/nfs4idmap.c (*bpp)[-1] = '\n'; bpp 299 fs/nfsd/nfs4idmap.c nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, bpp 304 fs/nfsd/nfs4idmap.c qword_add(bpp, blen, ent->authname); bpp 305 fs/nfsd/nfs4idmap.c qword_add(bpp, blen, ent->type == IDMAP_TYPE_GROUP ? "group" : "user"); bpp 306 fs/nfsd/nfs4idmap.c qword_add(bpp, blen, ent->name); bpp 308 fs/nfsd/nfs4idmap.c (*bpp)[-1] = '\n'; bpp 656 fs/xfs/libxfs/xfs_alloc.c xfs_buf_t **bpp) /* buffer for the ag free block array */ bpp 669 fs/xfs/libxfs/xfs_alloc.c *bpp = bp; bpp 2691 fs/xfs/libxfs/xfs_alloc.c struct xfs_buf **bpp) /* buffer for the ag freelist header */ bpp 2701 fs/xfs/libxfs/xfs_alloc.c XFS_FSS_TO_BB(mp, 1), flags, bpp, &xfs_agf_buf_ops); bpp 2704 fs/xfs/libxfs/xfs_alloc.c if (!*bpp) bpp 2707 fs/xfs/libxfs/xfs_alloc.c ASSERT(!(*bpp)->b_error); bpp 2708 fs/xfs/libxfs/xfs_alloc.c xfs_buf_set_ref(*bpp, XFS_AGF_REF); bpp 2721 fs/xfs/libxfs/xfs_alloc.c struct xfs_buf **bpp) /* buffer for the ag freelist header */ bpp 2732 fs/xfs/libxfs/xfs_alloc.c bpp); bpp 2735 fs/xfs/libxfs/xfs_alloc.c if (!*bpp) bpp 2737 fs/xfs/libxfs/xfs_alloc.c ASSERT(!(*bpp)->b_error); bpp 2739 fs/xfs/libxfs/xfs_alloc.c agf = XFS_BUF_TO_AGF(*bpp); bpp 168 fs/xfs/libxfs/xfs_alloc.h struct xfs_buf **bpp); /* buffer for the ag freelist header */ bpp 222 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno, int flags, struct xfs_buf **bpp); bpp 224 fs/xfs/libxfs/xfs_alloc.h xfs_agnumber_t agno, struct xfs_buf **bpp); bpp 46 fs/xfs/libxfs/xfs_attr_leaf.c xfs_dablk_t which_block, struct xfs_buf **bpp); bpp 371 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_buf **bpp) bpp 375 fs/xfs/libxfs/xfs_attr_leaf.c err = xfs_da_read_buf(tp, dp, bno, mappedbno, bpp, bpp 377 fs/xfs/libxfs/xfs_attr_leaf.c if (!err && tp && *bpp) bpp 378 fs/xfs/libxfs/xfs_attr_leaf.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_ATTR_LEAF_BUF); bpp 1153 fs/xfs/libxfs/xfs_attr_leaf.c struct xfs_buf **bpp) bpp 1195 fs/xfs/libxfs/xfs_attr_leaf.c *bpp = bp; bpp 89 fs/xfs/libxfs/xfs_attr_leaf.h struct xfs_buf **bpp); bpp 671 fs/xfs/libxfs/xfs_btree.c struct xfs_buf **bpp) /* buffer containing the block */ bpp 675 fs/xfs/libxfs/xfs_btree.c *bpp = NULL; bpp 679 fs/xfs/libxfs/xfs_btree.c *bpp = cur->bc_bufs[level]; bpp 680 fs/xfs/libxfs/xfs_btree.c return XFS_BUF_TO_BLOCK(*bpp); bpp 843 fs/xfs/libxfs/xfs_btree.c struct xfs_buf **bpp, /* buffer for fsbno */ bpp 860 fs/xfs/libxfs/xfs_btree.c *bpp = bp; bpp 1285 fs/xfs/libxfs/xfs_btree.c struct xfs_buf **bpp) bpp 1294 fs/xfs/libxfs/xfs_btree.c *bpp = xfs_trans_get_buf(cur->bc_tp, mp->m_ddev_targp, d, bpp 1297 fs/xfs/libxfs/xfs_btree.c if (!*bpp) bpp 1300 fs/xfs/libxfs/xfs_btree.c (*bpp)->b_ops = cur->bc_ops->buf_ops; bpp 1301 fs/xfs/libxfs/xfs_btree.c *block = XFS_BUF_TO_BLOCK(*bpp); bpp 1315 fs/xfs/libxfs/xfs_btree.c struct xfs_buf **bpp) bpp 1328 fs/xfs/libxfs/xfs_btree.c mp->m_bsize, flags, bpp, bpp 1333 fs/xfs/libxfs/xfs_btree.c xfs_btree_set_refs(cur, *bpp); bpp 1334 fs/xfs/libxfs/xfs_btree.c *block = XFS_BUF_TO_BLOCK(*bpp); bpp 346 fs/xfs/libxfs/xfs_btree.h struct xfs_buf **bpp, /* buffer for fsbno */ bpp 501 fs/xfs/libxfs/xfs_btree.h int level, struct xfs_buf **bpp); bpp 284 fs/xfs/libxfs/xfs_da_btree.c struct xfs_buf **bpp, bpp 289 fs/xfs/libxfs/xfs_da_btree.c err = xfs_da_read_buf(tp, dp, bno, mappedbno, bpp, bpp 291 fs/xfs/libxfs/xfs_da_btree.c if (!err && tp && *bpp) { bpp 292 fs/xfs/libxfs/xfs_da_btree.c struct xfs_da_blkinfo *info = (*bpp)->b_addr; bpp 311 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_brelse(tp, *bpp); bpp 312 fs/xfs/libxfs/xfs_da_btree.c *bpp = NULL; bpp 315 fs/xfs/libxfs/xfs_da_btree.c xfs_trans_buf_set_type(tp, *bpp, type); bpp 332 fs/xfs/libxfs/xfs_da_btree.c struct xfs_buf **bpp, bpp 370 fs/xfs/libxfs/xfs_da_btree.c *bpp = bp; bpp 2596 fs/xfs/libxfs/xfs_da_btree.c struct xfs_buf **bpp, bpp 2605 fs/xfs/libxfs/xfs_da_btree.c *bpp = NULL; bpp 2626 fs/xfs/libxfs/xfs_da_btree.c *bpp = bp; bpp 2644 fs/xfs/libxfs/xfs_da_btree.c struct xfs_buf **bpp, bpp 2654 fs/xfs/libxfs/xfs_da_btree.c *bpp = NULL; bpp 2676 fs/xfs/libxfs/xfs_da_btree.c *bpp = bp; bpp 153 fs/xfs/libxfs/xfs_da_btree.h int level, struct xfs_buf **bpp, int whichfork); bpp 176 fs/xfs/libxfs/xfs_da_btree.h struct xfs_buf **bpp, int which_fork); bpp 189 fs/xfs/libxfs/xfs_da_btree.h struct xfs_buf **bpp, int whichfork, bpp 30 fs/xfs/libxfs/xfs_dir2_block.c static int xfs_dir2_block_lookup_int(xfs_da_args_t *args, struct xfs_buf **bpp, bpp 121 fs/xfs/libxfs/xfs_dir2_block.c struct xfs_buf **bpp) bpp 126 fs/xfs/libxfs/xfs_dir2_block.c err = xfs_da_read_buf(tp, dp, mp->m_dir_geo->datablk, -1, bpp, bpp 128 fs/xfs/libxfs/xfs_dir2_block.c if (!err && tp && *bpp) bpp 129 fs/xfs/libxfs/xfs_dir2_block.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_BLOCK_BUF); bpp 648 fs/xfs/libxfs/xfs_dir2_block.c struct xfs_buf **bpp, /* returned block buffer */ bpp 724 fs/xfs/libxfs/xfs_dir2_block.c *bpp = bp; bpp 358 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_buf **bpp) bpp 362 fs/xfs/libxfs/xfs_dir2_data.c err = xfs_da_read_buf(tp, dp, bno, mapped_bno, bpp, bpp 364 fs/xfs/libxfs/xfs_dir2_data.c if (!err && tp && *bpp) bpp 365 fs/xfs/libxfs/xfs_dir2_data.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_DATA_BUF); bpp 636 fs/xfs/libxfs/xfs_dir2_data.c struct xfs_buf **bpp) /* output block buffer */ bpp 700 fs/xfs/libxfs/xfs_dir2_data.c *bpp = bp; bpp 220 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_buf **bpp) bpp 224 fs/xfs/libxfs/xfs_dir2_leaf.c err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, bpp 226 fs/xfs/libxfs/xfs_dir2_leaf.c if (!err && tp && *bpp) bpp 227 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAF1_BUF); bpp 237 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_buf **bpp) bpp 241 fs/xfs/libxfs/xfs_dir2_leaf.c err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, bpp 243 fs/xfs/libxfs/xfs_dir2_leaf.c if (!err && tp && *bpp) bpp 244 fs/xfs/libxfs/xfs_dir2_leaf.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_LEAFN_BUF); bpp 300 fs/xfs/libxfs/xfs_dir2_leaf.c struct xfs_buf **bpp, bpp 322 fs/xfs/libxfs/xfs_dir2_leaf.c *bpp = bp; bpp 198 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_buf **bpp) bpp 203 fs/xfs/libxfs/xfs_dir2_node.c err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, bpp 205 fs/xfs/libxfs/xfs_dir2_node.c if (err || !*bpp) bpp 209 fs/xfs/libxfs/xfs_dir2_node.c fa = xfs_dir3_free_header_check(dp, fbno, *bpp); bpp 211 fs/xfs/libxfs/xfs_dir2_node.c xfs_verifier_error(*bpp, -EFSCORRUPTED, fa); bpp 212 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_brelse(tp, *bpp); bpp 218 fs/xfs/libxfs/xfs_dir2_node.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_DIR_FREE_BUF); bpp 228 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_buf **bpp) bpp 230 fs/xfs/libxfs/xfs_dir2_node.c return __xfs_dir3_free_read(tp, dp, fbno, -1, bpp); bpp 238 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_buf **bpp) bpp 240 fs/xfs/libxfs/xfs_dir2_node.c return __xfs_dir3_free_read(tp, dp, fbno, -2, bpp); bpp 247 fs/xfs/libxfs/xfs_dir2_node.c struct xfs_buf **bpp) bpp 282 fs/xfs/libxfs/xfs_dir2_node.c *bpp = bp; bpp 20 fs/xfs/libxfs/xfs_dir2_priv.h struct xfs_buf **bpp); bpp 38 fs/xfs/libxfs/xfs_dir2_priv.h xfs_dablk_t bno, xfs_daddr_t mapped_bno, struct xfs_buf **bpp); bpp 47 fs/xfs/libxfs/xfs_dir2_priv.h struct xfs_buf **bpp); bpp 51 fs/xfs/libxfs/xfs_dir2_priv.h xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); bpp 53 fs/xfs/libxfs/xfs_dir2_priv.h xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); bpp 63 fs/xfs/libxfs/xfs_dir2_priv.h struct xfs_buf **bpp, uint16_t magic); bpp 108 fs/xfs/libxfs/xfs_dir2_priv.h xfs_dablk_t fbno, struct xfs_buf **bpp); bpp 2573 fs/xfs/libxfs/xfs_ialloc.c struct xfs_buf **bpp) /* allocation group hdr buf */ bpp 2582 fs/xfs/libxfs/xfs_ialloc.c XFS_FSS_TO_BB(mp, 1), 0, bpp, &xfs_agi_buf_ops); bpp 2586 fs/xfs/libxfs/xfs_ialloc.c xfs_trans_buf_set_type(tp, *bpp, XFS_BLFT_AGI_BUF); bpp 2588 fs/xfs/libxfs/xfs_ialloc.c xfs_buf_set_ref(*bpp, XFS_AGI_REF); bpp 2597 fs/xfs/libxfs/xfs_ialloc.c struct xfs_buf **bpp) /* allocation group hdr buf */ bpp 2605 fs/xfs/libxfs/xfs_ialloc.c error = xfs_read_agi(mp, tp, agno, bpp); bpp 2609 fs/xfs/libxfs/xfs_ialloc.c agi = XFS_BUF_TO_AGI(*bpp); bpp 105 fs/xfs/libxfs/xfs_ialloc.h struct xfs_buf **bpp); /* allocation group hdr buf */ bpp 138 fs/xfs/libxfs/xfs_ialloc.h xfs_agnumber_t agno, struct xfs_buf **bpp); bpp 174 fs/xfs/libxfs/xfs_inode_buf.c struct xfs_buf **bpp, bpp 195 fs/xfs/libxfs/xfs_inode_buf.c *bpp = bp; bpp 59 fs/xfs/libxfs/xfs_rtbitmap.c xfs_buf_t **bpp) /* output: buffer for the block */ bpp 85 fs/xfs/libxfs/xfs_rtbitmap.c *bpp = bp; bpp 1162 fs/xfs/libxfs/xfs_sb.c struct xfs_buf **bpp) bpp 1174 fs/xfs/libxfs/xfs_sb.c *bpp = bp; bpp 1184 fs/xfs/libxfs/xfs_sb.c struct xfs_buf **bpp) bpp 1196 fs/xfs/libxfs/xfs_sb.c *bpp = bp; bpp 40 fs/xfs/libxfs/xfs_sb.h struct xfs_buf **bpp); bpp 43 fs/xfs/libxfs/xfs_sb.h struct xfs_buf **bpp); bpp 337 fs/xfs/scrub/repair.c struct xfs_buf **bpp, bpp 356 fs/xfs/scrub/repair.c *bpp = bp; bpp 28 fs/xfs/scrub/repair.h struct xfs_buf **bpp, xfs_btnum_t btnum, bpp 879 fs/xfs/xfs_buf.c struct xfs_buf **bpp, bpp 884 fs/xfs/xfs_buf.c *bpp = NULL; bpp 904 fs/xfs/xfs_buf.c *bpp = bp; bpp 242 fs/xfs/xfs_buf.h size_t numblks, int flags, struct xfs_buf **bpp, bpp 240 fs/xfs/xfs_dir2_readdir.c struct xfs_buf **bpp) bpp 328 fs/xfs/xfs_dir2_readdir.c *bpp = bp; bpp 283 fs/xfs/xfs_dquot.c struct xfs_buf **bpp) bpp 365 fs/xfs/xfs_dquot.c *bpp = bp; bpp 377 fs/xfs/xfs_dquot.c struct xfs_buf **bpp) bpp 429 fs/xfs/xfs_dquot.c *bpp = bp; bpp 519 fs/xfs/xfs_dquot.c struct xfs_buf **bpp) bpp 529 fs/xfs/xfs_dquot.c error = xfs_dquot_disk_alloc(&tp, dqp, bpp); bpp 539 fs/xfs/xfs_dquot.c xfs_buf_relse(*bpp); bpp 540 fs/xfs/xfs_dquot.c *bpp = NULL; bpp 1068 fs/xfs/xfs_dquot.c struct xfs_buf **bpp) bpp 1082 fs/xfs/xfs_dquot.c *bpp = NULL; bpp 1175 fs/xfs/xfs_dquot.c *bpp = bp; bpp 2300 fs/xfs/xfs_inode.c struct xfs_buf **bpp) bpp 2313 fs/xfs/xfs_inode.c error = xfs_imap_to_bp(mp, tp, imap, dipp, bpp, 0, 0); bpp 2342 fs/xfs/xfs_inode.c struct xfs_buf **bpp, bpp 2350 fs/xfs/xfs_inode.c *bpp = NULL; bpp 2355 fs/xfs/xfs_inode.c error = xfs_iunlink_map_ino(tp, agno, *agino, imap, dipp, bpp); bpp 2366 fs/xfs/xfs_inode.c xfs_trans_brelse(tp, *bpp); bpp 2367 fs/xfs/xfs_inode.c *bpp = NULL; bpp 2378 fs/xfs/xfs_inode.c if (*bpp) bpp 2379 fs/xfs/xfs_inode.c xfs_trans_brelse(tp, *bpp); bpp 2383 fs/xfs/xfs_inode.c bpp); bpp 3635 fs/xfs/xfs_inode.c struct xfs_buf **bpp) bpp 3649 fs/xfs/xfs_inode.c *bpp = NULL; bpp 3724 fs/xfs/xfs_inode.c *bpp = bp; bpp 104 fs/xfs/xfs_rtalloc.h xfs_rtblock_t block, int issum, struct xfs_buf **bpp); bpp 194 fs/xfs/xfs_trans.h struct xfs_buf **bpp, bpp 205 fs/xfs/xfs_trans.h struct xfs_buf **bpp, bpp 210 fs/xfs/xfs_trans.h flags, bpp, ops); bpp 230 fs/xfs/xfs_trans_buf.c struct xfs_buf **bpp, bpp 237 fs/xfs/xfs_trans_buf.c *bpp = NULL; bpp 297 fs/xfs/xfs_trans_buf.c *bpp = bp; bpp 345 fs/xfs/xfs_trans_buf.c *bpp = bp; bpp 1011 include/drm/drm_connector.h int bpp; bpp 613 include/drm/drm_dp_mst_helper.h int drm_dp_calc_pbn_mode(int clock, int bpp); bpp 312 include/drm/drm_fourcc.h uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth); bpp 314 include/drm/drm_fourcc.h uint32_t bpp, uint32_t depth); bpp 51 include/linux/amba/clcd.h unsigned int bpp:8, bpp 579 include/linux/fb.h #define FB_LEFT_POS(p, bpp) (fb_be_math(p) ? (32 - (bpp)) : 0) bpp 279 include/linux/phy/phy-mipi-dphy.h unsigned int bpp, bpp 5395 include/linux/platform_data/cros_ec_commands.h uint16_t bpp; bpp 5410 include/linux/platform_data/cros_ec_commands.h uint16_t bpp; bpp 55 include/linux/platform_data/video-imxfb.h unsigned char bpp; bpp 71 include/linux/platform_data/video-pxafb.h u_char bpp; bpp 78 include/linux/sunrpc/cache.h char **bpp, int *blen); bpp 236 include/linux/sunrpc/cache.h extern void qword_add(char **bpp, int *lp, char *str); bpp 237 include/linux/sunrpc/cache.h extern void qword_addhex(char **bpp, int *lp, char *buf, int blen); bpp 238 include/linux/sunrpc/cache.h extern int qword_get(char **bpp, char *dest, int bufsize); bpp 240 include/linux/sunrpc/cache.h static inline int get_int(char **bpp, int *anint) bpp 245 include/linux/sunrpc/cache.h int len = qword_get(bpp, buf, sizeof(buf)); bpp 260 include/linux/sunrpc/cache.h static inline int get_uint(char **bpp, unsigned int *anint) bpp 263 include/linux/sunrpc/cache.h int len = qword_get(bpp, buf, sizeof(buf)); bpp 276 include/linux/sunrpc/cache.h static inline int get_time(char **bpp, time_t *time) bpp 280 include/linux/sunrpc/cache.h int len = qword_get(bpp, buf, sizeof(buf)); bpp 294 include/linux/sunrpc/cache.h static inline time_t get_expiry(char **bpp) bpp 299 include/linux/sunrpc/cache.h if (get_time(bpp, &rv)) bpp 37 include/media/davinci/vpfe_capture.h int bpp; bpp 474 include/media/v4l2-common.h u8 bpp[4]; bpp 480 include/uapi/drm/drm_mode.h __u32 bpp; bpp 803 include/uapi/drm/drm_mode.h __u32 bpp; bpp 50 include/video/da8xx-fb.h int bpp; bpp 20 include/video/mbxfb.h struct mbxfb_val bpp; bpp 37 include/video/sa1100fb.h u_char bpp; bpp 328 include/video/sstfb.h void (*set_vidmod) (struct fb_info *info, const int bpp); bpp 505 include/xen/interface/io/displif.h uint32_t bpp; bpp 706 include/xen/interface/io/displif.h uint32_t bpp; bpp 186 net/sunrpc/auth_gss/svcauth_gss.c char **bpp, int *blen) bpp 190 net/sunrpc/auth_gss/svcauth_gss.c qword_addhex(bpp, blen, rsii->in_handle.data, rsii->in_handle.len); bpp 191 net/sunrpc/auth_gss/svcauth_gss.c qword_addhex(bpp, blen, rsii->in_token.data, rsii->in_token.len); bpp 192 net/sunrpc/auth_gss/svcauth_gss.c (*bpp)[-1] = '\n'; bpp 1111 net/sunrpc/cache.c void qword_add(char **bpp, int *lp, char *str) bpp 1113 net/sunrpc/cache.c char *bp = *bpp; bpp 1129 net/sunrpc/cache.c *bpp = bp; bpp 1134 net/sunrpc/cache.c void qword_addhex(char **bpp, int *lp, char *buf, int blen) bpp 1136 net/sunrpc/cache.c char *bp = *bpp; bpp 1156 net/sunrpc/cache.c *bpp = bp; bpp 1254 net/sunrpc/cache.c int qword_get(char **bpp, char *dest, int bufsize) bpp 1257 net/sunrpc/cache.c char *bp = *bpp; bpp 1303 net/sunrpc/cache.c *bpp = bp; bpp 153 net/sunrpc/svcauth_unix.c char **bpp, int *blen) bpp 163 net/sunrpc/svcauth_unix.c qword_add(bpp, blen, im->m_class); bpp 164 net/sunrpc/svcauth_unix.c qword_add(bpp, blen, text_addr); bpp 165 net/sunrpc/svcauth_unix.c (*bpp)[-1] = '\n'; bpp 472 net/sunrpc/svcauth_unix.c char **bpp, int *blen) bpp 478 net/sunrpc/svcauth_unix.c qword_add(bpp, blen, tuid); bpp 479 net/sunrpc/svcauth_unix.c (*bpp)[-1] = '\n'; bpp 194 sound/usb/caiaq/audio.c int bytes_per_sample, bpp, ret, i; bpp 253 sound/usb/caiaq/audio.c bpp = ((runtime->rate / 8000) + CLOCK_DRIFT_TOLERANCE) bpp 256 sound/usb/caiaq/audio.c if (bpp > MAX_ENDPOINT_SIZE) bpp 257 sound/usb/caiaq/audio.c bpp = MAX_ENDPOINT_SIZE; bpp 260 sound/usb/caiaq/audio.c runtime->sample_bits, bpp); bpp 503 sound/usb/caiaq/audio.c if (iso->actual_length < cdev->bpp) bpp 252 sound/usb/caiaq/device.c int rate, int depth, int bpp) bpp 273 sound/usb/caiaq/device.c tmp[2] = bpp & 0xff; bpp 274 sound/usb/caiaq/device.c tmp[3] = bpp >> 8; bpp 278 sound/usb/caiaq/device.c rate, depth, bpp); bpp 294 sound/usb/caiaq/device.c cdev->bpp = bpp; bpp 91 sound/usb/caiaq/device.h unsigned int samplerates, bpp;