bpc 398 arch/mips/alchemy/common/clock.c struct clk_hw *pc, *bpc, *free; bpc 404 arch/mips/alchemy/common/clock.c bpc = NULL; bpc 439 arch/mips/alchemy/common/clock.c bpc = pc; bpc 466 arch/mips/alchemy/common/clock.c bpc = free; bpc 478 arch/mips/alchemy/common/clock.c req->best_parent_hw = bpc; bpc 103 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c int bpc = 8; bpc 111 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (connector->display_info.bpc) bpc 112 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = connector->display_info.bpc; bpc 119 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (connector->display_info.bpc) bpc 120 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = connector->display_info.bpc; bpc 128 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (connector->display_info.bpc) bpc 129 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = connector->display_info.bpc; bpc 134 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (connector->display_info.bpc) bpc 135 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = connector->display_info.bpc; bpc 144 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 6; bpc 146 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 8; bpc 158 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if (bpc > 12) { bpc 160 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c connector->name, bpc); bpc 161 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 12; bpc 176 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { bpc 179 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 10; bpc 181 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 8; bpc 184 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c connector->name, bpc); bpc 187 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { bpc 188 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 8; bpc 190 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c connector->name, bpc); bpc 192 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c } else if (bpc > 8) { bpc 196 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 8; bpc 200 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c if ((amdgpu_deep_color == 0) && (bpc > 8)) { bpc 203 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c bpc = 8; bpc 207 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c connector->name, connector->display_info.bpc, bpc); bpc 209 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c return bpc; bpc 412 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h int bpc; bpc 318 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int bpc = amdgpu_crtc->bpc; bpc 359 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c switch (bpc) { bpc 586 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c int bpc, bpc 655 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c switch (bpc) { bpc 686 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c switch (bpc) { bpc 714 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c switch (bpc) { bpc 757 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->bpc = 8; bpc 773 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->bpc = amdgpu_connector_get_monitor_bpc(connector); bpc 832 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c (amdgpu_crtc->bpc > 8)) bpc 863 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c amdgpu_crtc->bpc, amdgpu_crtc->ss_enabled, &amdgpu_crtc->ss); bpc 52 drivers/gpu/drm/amd/amdgpu/atombios_crtc.h int bpc, bpc 245 drivers/gpu/drm/amd/amdgpu/atombios_dp.c static unsigned amdgpu_atombios_dp_convert_bpc_to_bpp(int bpc) bpc 247 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if (bpc == 0) bpc 250 drivers/gpu/drm/amd/amdgpu/atombios_dp.c return bpc * 3; bpc 350 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c int bpc = 8; bpc 354 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bpc = amdgpu_crtc->bpc; bpc 357 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c switch (bpc) { bpc 505 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c int bpc = 0; bpc 511 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c bpc = amdgpu_connector_get_monitor_bpc(connector); bpc 524 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (bpc == 0) bpc 527 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (bpc) { bpc 1562 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c int bpc = 8; bpc 1574 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c bpc = amdgpu_crtc->bpc; bpc 1590 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c switch (bpc) { bpc 1599 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c connector->name, bpc); bpc 1654 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c if (bpc > 8) bpc 531 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c int bpc = 0; bpc 537 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c bpc = amdgpu_connector_get_monitor_bpc(connector); bpc 550 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (bpc == 0) bpc 553 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (bpc) { bpc 1604 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c int bpc = 8; bpc 1616 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c bpc = amdgpu_crtc->bpc; bpc 1632 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c switch (bpc) { bpc 1641 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c connector->name, bpc); bpc 1696 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c if (bpc > 8) bpc 2706 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c amdgpu_crtc->bpc, amdgpu_crtc->ss_enabled, &amdgpu_crtc->ss); bpc 403 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c int bpc = 0; bpc 409 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c bpc = amdgpu_connector_get_monitor_bpc(connector); bpc 417 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c if (bpc == 0) bpc 421 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c switch (bpc) { bpc 1391 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c uint32_t clock, int bpc) bpc 1403 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c bpc > 8 ? 0 : 1); bpc 1637 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c int bpc = 8; bpc 1663 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c bpc = amdgpu_crtc->bpc; bpc 1676 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c dce_v6_0_audio_set_acr(encoder, mode->clock, bpc); bpc 445 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c int bpc = 0; bpc 451 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c bpc = amdgpu_connector_get_monitor_bpc(connector); bpc 464 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (bpc == 0) bpc 467 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (bpc) { bpc 1509 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c int bpc = 8; bpc 1523 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c bpc = amdgpu_crtc->bpc; bpc 1541 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c switch (bpc) { bpc 1548 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c connector->name, bpc); bpc 1592 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c if (bpc > 8) bpc 3187 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c uint8_t bpc = (uint8_t)connector->display_info.bpc; bpc 3190 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bpc = bpc ? bpc : 8; bpc 3204 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bpc = min(bpc, state->max_requested_bpc); bpc 3207 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c bpc = bpc - (bpc & 1); bpc 3210 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c switch (bpc) { bpc 688 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c unsigned int bpc; bpc 710 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c bpc = 6; bpc 713 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c bpc = 8; bpc 716 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c bpc = 10; bpc 719 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c bpc = 12; bpc 722 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c bpc = 16; bpc 728 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c seq_printf(m, "Current: %u\n", bpc); bpc 729 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c seq_printf(m, "Maximum: %u\n", connector->display_info.bpc); bpc 2434 drivers/gpu/drm/amd/display/dc/core/dc_link.c uint32_t bpc; bpc 2440 drivers/gpu/drm/amd/display/dc/core/dc_link.c bpc = get_color_depth(pipe_ctx->stream_res.pix_clk_params.color_depth); bpc 2502 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c static int translate_dpcd_max_bpc(enum dpcd_downstream_port_max_bpc bpc) bpc 2504 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c switch (bpc) { bpc 425 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c enum dsc_bits_per_comp bpc = DSC_BPC_UNKNOWN; bpc 429 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c bpc = DSC_BPC_8; bpc 432 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c bpc = DSC_BPC_10; bpc 435 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c bpc = DSC_BPC_12; bpc 438 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c bpc = DSC_BPC_UNKNOWN; bpc 442 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c return bpc; bpc 48 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c unsigned int bpc, bpc 300 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c unsigned int bpc, bpc 331 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c if (bpc == 8) bpc 333 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c else if (bpc == 10) bpc 48 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c unsigned int bpc, bpc 323 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c unsigned int bpc, bpc 354 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c if (bpc == 8) bpc 356 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c else if (bpc == 10) bpc 73 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c unsigned int bpc, bpc 495 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c unsigned int bpc, bpc 526 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c if (bpc == 8) bpc 528 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c else if (bpc == 10) bpc 32 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c #define table_hash(mode, bpc, max_min) ((mode << 16) | (bpc << 8) | max_min) bpc 38 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c #define TABLE_CASE(mode, bpc, max) case (table_hash(mode, BPC_##bpc, max)): \ bpc 39 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c table = qp_table_##mode##_##bpc##bpc_##max; \ bpc 40 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c table_size = sizeof(qp_table_##mode##_##bpc##bpc_##max)/sizeof(*qp_table_##mode##_##bpc##bpc_##max); \ bpc 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) bpc 47 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c int sel = table_hash(mode, bpc, max_min); bpc 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) bpc 184 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->rc_quant_incr_limit0 = ((bpc == BPC_8) ? 11 : (bpc == BPC_10 ? 15 : 19)) - ((minor_version == 1 && cm == CM_444) ? 1 : 0); bpc 185 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->rc_quant_incr_limit1 = ((bpc == BPC_8) ? 11 : (bpc == BPC_10 ? 15 : 19)) - ((minor_version == 1 && cm == CM_444) ? 1 : 0); bpc 192 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((3 * bpc * 3) - (3 * bpp_group))); bpc 193 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->second_line_bpg_offset = median3(0, 12, (int)((3 * bpc * 3) - (3 * bpp_group))); bpc 197 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((3 * bpc * 4) - (3 * bpp_group))); bpc 203 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)(((3 * bpc + (cm == CM_444 ? 0 : 2)) * 3) - (3 * bpp_group))); bpc 220 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c source_bpp = MODE_SELECT(bpc * 3, bpc * 2, bpc * 1.5); bpc 222 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->flatness_min_qp = ((bpc == BPC_8) ? (3) : ((bpc == BPC_10) ? (7) : (11))) - ((minor_version == 1 && cm == CM_444) ? 1 : 0); bpc 223 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->flatness_max_qp = ((bpc == BPC_8) ? (12) : ((bpc == BPC_10) ? (16) : (20))) - ((minor_version == 1 && cm == CM_444) ? 1 : 0); bpc 224 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c rc->flatness_det_thresh = 2 << (bpc - 8); bpc 226 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c get_qp_set(rc->qp_min, cm, bpc, MM_MIN, bpp); bpc 227 drivers/gpu/drm/amd/display/dc/dsc/rc_calc.c get_qp_set(rc->qp_max, cm, bpc, MM_MAX, bpp); bpc 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); bpc 108 drivers/gpu/drm/amd/display/dc/dsc/rc_calc_dpi.c enum bits_per_comp bpc = (pps->bits_per_component == 8) ? BPC_8 : bpc 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); bpc 1517 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c switch (display_info->bpc) { bpc 409 drivers/gpu/drm/drm_atomic.c state->max_bpc = info->bpc ? info->bpc : 8; bpc 514 drivers/gpu/drm/drm_dp_helper.c int bpc; bpc 524 drivers/gpu/drm/drm_dp_helper.c bpc = port_cap[2] & DP_DS_MAX_BPC_MASK; bpc 526 drivers/gpu/drm/drm_dp_helper.c switch (bpc) { bpc 571 drivers/gpu/drm/drm_dp_helper.c int bpc; bpc 634 drivers/gpu/drm/drm_dp_helper.c bpc = drm_dp_downstream_max_bpc(dpcd, port_cap); bpc 636 drivers/gpu/drm/drm_dp_helper.c if (bpc > 0) bpc 637 drivers/gpu/drm/drm_dp_helper.c seq_printf(m, "\t\tMax bpc: %d\n", bpc); bpc 4500 drivers/gpu/drm/drm_edid.c info->bpc = 8; bpc 4534 drivers/gpu/drm/drm_edid.c info->bpc = dc_bpc; bpc 4629 drivers/gpu/drm/drm_edid.c info->bpc = 0; bpc 4671 drivers/gpu/drm/drm_edid.c if (info->bpc == 0 && edid->revision == 3 && bpc 4673 drivers/gpu/drm/drm_edid.c info->bpc = 8; bpc 4675 drivers/gpu/drm/drm_edid.c connector->name, info->bpc); bpc 4684 drivers/gpu/drm/drm_edid.c info->bpc = 6; bpc 4687 drivers/gpu/drm/drm_edid.c info->bpc = 8; bpc 4690 drivers/gpu/drm/drm_edid.c info->bpc = 10; bpc 4693 drivers/gpu/drm/drm_edid.c info->bpc = 12; bpc 4696 drivers/gpu/drm/drm_edid.c info->bpc = 14; bpc 4699 drivers/gpu/drm/drm_edid.c info->bpc = 16; bpc 4703 drivers/gpu/drm/drm_edid.c info->bpc = 0; bpc 4708 drivers/gpu/drm/drm_edid.c connector->name, info->bpc); bpc 4905 drivers/gpu/drm/drm_edid.c connector->display_info.bpc = 6; bpc 4908 drivers/gpu/drm/drm_edid.c connector->display_info.bpc = 8; bpc 4911 drivers/gpu/drm/drm_edid.c connector->display_info.bpc = 10; bpc 4914 drivers/gpu/drm/drm_edid.c connector->display_info.bpc = 12; bpc 5270 drivers/gpu/drm/i915/display/intel_display.c u32 bpc = (I915_READ(PIPECONF(pipe)) & PIPECONF_BPC_MASK) >> 5; bpc 5279 drivers/gpu/drm/i915/display/intel_display.c temp |= bpc << 9; /* same format but at 11:9 */ bpc 11907 drivers/gpu/drm/i915/display/intel_display.c bpp, 3 * info->bpc, 3 * conn_state->max_requested_bpc, bpc 1136 drivers/gpu/drm/i915/display/intel_display_types.h u8 bpc; bpc 1872 drivers/gpu/drm/i915/display/intel_dp.c int bpp, bpc; bpc 1875 drivers/gpu/drm/i915/display/intel_dp.c bpc = drm_dp_downstream_max_bpc(intel_dp->dpcd, intel_dp->downstream_ports); bpc 1877 drivers/gpu/drm/i915/display/intel_dp.c if (bpc > 0) bpc 1878 drivers/gpu/drm/i915/display/intel_dp.c bpp = min(bpp, 3*bpc); bpc 1882 drivers/gpu/drm/i915/display/intel_dp.c if (intel_connector->base.display_info.bpc == 0 && bpc 1900 drivers/gpu/drm/i915/display/intel_dp.c if (intel_dp->compliance.test_data.bpc != 0) { bpc 1901 drivers/gpu/drm/i915/display/intel_dp.c int bpp = 3 * intel_dp->compliance.test_data.bpc; bpc 4591 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->compliance.test_data.bpc = 6; bpc 4594 drivers/gpu/drm/i915/display/intel_dp.c intel_dp->compliance.test_data.bpc = 8; bpc 2192 drivers/gpu/drm/i915/display/intel_hdmi.c int bpc) bpc 2206 drivers/gpu/drm/i915/display/intel_hdmi.c if (bpc == 10 && INTEL_GEN(dev_priv) < 11) bpc 2209 drivers/gpu/drm/i915/display/intel_hdmi.c if (crtc_state->pipe_bpp < bpc * 3) bpc 2231 drivers/gpu/drm/i915/display/intel_hdmi.c if (bpc == 12 && !(hdmi->y420_dc_modes & bpc 2234 drivers/gpu/drm/i915/display/intel_hdmi.c else if (bpc == 10 && !(hdmi->y420_dc_modes & bpc 2238 drivers/gpu/drm/i915/display/intel_hdmi.c if (bpc == 12 && !(info->edid_hdmi_dc_modes & bpc 2241 drivers/gpu/drm/i915/display/intel_hdmi.c else if (bpc == 10 && !(info->edid_hdmi_dc_modes & bpc 2248 drivers/gpu/drm/i915/display/intel_hdmi.c if (bpc == 12 && IS_GLK_REVID(dev_priv, 0, GLK_REVID_A1) && bpc 2254 drivers/gpu/drm/i915/display/intel_hdmi.c bpc == 10 && INTEL_GEN(dev_priv) >= 11 && bpc 3264 drivers/gpu/drm/i915/i915_debugfs.c intel_dp->compliance.test_data.bpc); bpc 48 drivers/gpu/drm/mediatek/mtk_disp_color.c unsigned int bpc) bpc 117 drivers/gpu/drm/mediatek/mtk_disp_ovl.c unsigned int bpc) bpc 128 drivers/gpu/drm/mediatek/mtk_disp_rdma.c unsigned int bpc) bpc 216 drivers/gpu/drm/mediatek/mtk_drm_crtc.c unsigned int width, height, vrefresh, bpc = MTK_MAX_BPC; bpc 236 drivers/gpu/drm/mediatek/mtk_drm_crtc.c if (connector->display_info.bpc != 0 && bpc 237 drivers/gpu/drm/mediatek/mtk_drm_crtc.c bpc > connector->display_info.bpc) bpc 238 drivers/gpu/drm/mediatek/mtk_drm_crtc.c bpc = connector->display_info.bpc; bpc 275 drivers/gpu/drm/mediatek/mtk_drm_crtc.c mtk_ddp_comp_config(comp, width, height, vrefresh, bpc); bpc 67 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c void mtk_dither_set(struct mtk_ddp_comp *comp, unsigned int bpc, bpc 71 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c if (bpc == 0) bpc 74 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c if (bpc >= MTK_MIN_BPC) { bpc 77 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c writel(DITHER_LSB_ERR_SHIFT_R(MTK_MAX_BPC - bpc) | bpc 78 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c DITHER_ADD_LSHIFT_R(MTK_MAX_BPC - bpc) | bpc 81 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c writel(DITHER_LSB_ERR_SHIFT_B(MTK_MAX_BPC - bpc) | bpc 82 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c DITHER_ADD_LSHIFT_B(MTK_MAX_BPC - bpc) | bpc 83 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c DITHER_LSB_ERR_SHIFT_G(MTK_MAX_BPC - bpc) | bpc 84 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c DITHER_ADD_LSHIFT_G(MTK_MAX_BPC - bpc), bpc 92 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c unsigned int bpc) bpc 96 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c mtk_dither_set(comp, bpc, DISP_OD_CFG); bpc 111 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c unsigned int bpc) bpc 128 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c unsigned int bpc) bpc 131 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c mtk_dither_set(comp, bpc, DISP_GAMMA_CFG); bpc 68 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h unsigned int h, unsigned int vrefresh, unsigned int bpc); bpc 93 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h unsigned int vrefresh, unsigned int bpc) bpc 96 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h comp->funcs->config(comp, w, h, vrefresh, bpc); bpc 168 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h void mtk_dither_set(struct mtk_ddp_comp *comp, unsigned int bpc, bpc 110 drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c bpp = 3 * connector->display_info.bpc; bpc 128 drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c switch (connector->display_info.bpc) { bpc 80 drivers/gpu/drm/msm/edp/edp_connector.c if (connector->display_info.bpc > 8) bpc 1269 drivers/gpu/drm/msm/edp/edp_ctrl.c ctrl->color_depth = info->bpc; bpc 419 drivers/gpu/drm/nouveau/dispnv04/dfp.c fb->format->depth > connector->display_info.bpc * 3)) { bpc 117 drivers/gpu/drm/nouveau/dispnv50/atom.h u8 bpc; bpc 367 drivers/gpu/drm/nouveau/dispnv50/disp.c asyh->or.bpc = connector->display_info.bpc; bpc 808 drivers/gpu/drm/nouveau/dispnv50/disp.c asyh->or.bpc = min(connector->display_info.bpc, 8U); bpc 809 drivers/gpu/drm/nouveau/dispnv50/disp.c asyh->dp.pbn = drm_dp_calc_pbn_mode(clock, asyh->or.bpc * 3); bpc 823 drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_dp_bpc_to_depth(unsigned int bpc) bpc 825 drivers/gpu/drm/nouveau/dispnv50/disp.c switch (bpc) { bpc 873 drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_dp_bpc_to_depth(armh->or.bpc)); bpc 975 drivers/gpu/drm/nouveau/dispnv50/disp.c if (!mstc->connector.display_info.bpc) bpc 976 drivers/gpu/drm/nouveau/dispnv50/disp.c mstc->connector.display_info.bpc = 8; bpc 1527 drivers/gpu/drm/nouveau/dispnv50/disp.c if (asyh->or.bpc == 8) bpc 1534 drivers/gpu/drm/nouveau/dispnv50/disp.c depth = nv50_dp_bpc_to_depth(asyh->or.bpc); bpc 1685 drivers/gpu/drm/nouveau/dispnv50/disp.c switch (asyh->or.bpc) { bpc 87 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->base.depth > asyh->or.bpc * 3) bpc 94 drivers/gpu/drm/nouveau/dispnv50/head.c if (asyh->or.bpc >= 8) bpc 865 drivers/gpu/drm/nouveau/nouveau_connector.c if (nv_connector->edid && connector->display_info.bpc) bpc 870 drivers/gpu/drm/nouveau/nouveau_connector.c connector->display_info.bpc = 6; bpc 876 drivers/gpu/drm/nouveau/nouveau_connector.c connector->display_info.bpc = 8; bpc 880 drivers/gpu/drm/nouveau/nouveau_connector.c connector->display_info.bpc = 6; bpc 885 drivers/gpu/drm/nouveau/nouveau_connector.c connector->display_info.bpc = 8; bpc 900 drivers/gpu/drm/nouveau/nouveau_connector.c connector->display_info.bpc = 8; bpc 1066 drivers/gpu/drm/nouveau/nouveau_connector.c clock = clock * (connector->display_info.bpc * 3) / 10; bpc 34 drivers/gpu/drm/panel/panel-innolux-p079zca.c unsigned int bpc; bpc 243 drivers/gpu/drm/panel/panel-innolux-p079zca.c .bpc = 8, bpc 391 drivers/gpu/drm/panel/panel-innolux-p079zca.c .bpc = 8, bpc 427 drivers/gpu/drm/panel/panel-innolux-p079zca.c panel->connector->display_info.bpc = innolux->desc->bpc; bpc 354 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c panel->connector->display_info.bpc = 8; bpc 225 drivers/gpu/drm/panel/panel-novatek-nt39016.c connector->display_info.bpc = 8; bpc 46 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c u32 bpc; bpc 195 drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c connector->display_info.bpc = lcd_info->bpc; bpc 343 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c connector->display_info.bpc = 8; bpc 143 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c panel->connector->display_info.bpc = 8; bpc 29 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c unsigned int bpc; bpc 113 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c connector->display_info.bpc = panel->desc->bpc; bpc 327 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c .bpc = 8, bpc 63 drivers/gpu/drm/panel/panel-simple.c unsigned int bpc; bpc 220 drivers/gpu/drm/panel/panel-simple.c connector->display_info.bpc = panel->desc->bpc; bpc 532 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 557 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 582 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 607 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 629 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 653 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 676 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 699 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 722 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 749 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 778 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 802 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 824 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 853 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 882 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 911 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 938 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 965 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1024 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1053 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1078 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1102 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1125 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1148 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1172 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1197 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1226 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1257 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1283 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1307 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1333 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1345 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1372 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1397 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1444 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1468 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1498 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1522 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1546 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1574 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1622 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1652 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1679 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1708 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1746 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1769 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1793 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1820 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1843 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1866 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 1890 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 1938 drivers/gpu/drm/panel/panel-simple.c .bpc = 16, bpc 2007 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2030 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2069 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2088 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2118 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2147 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2196 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2221 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2247 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2271 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2334 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2359 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2385 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2411 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2460 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2484 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2536 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2559 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2583 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2609 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2635 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2659 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2683 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2711 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2735 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 2813 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2838 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2862 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2889 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 2918 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3014 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 3025 drivers/gpu/drm/panel/panel-simple.c .bpc = 6, bpc 3050 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3076 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3103 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3501 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3559 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3587 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3615 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3644 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 3673 drivers/gpu/drm/panel/panel-simple.c .bpc = 8, bpc 571 drivers/gpu/drm/radeon/atombios_crtc.c int bpc = radeon_crtc->bpc; bpc 658 drivers/gpu/drm/radeon/atombios_crtc.c switch (bpc) { bpc 833 drivers/gpu/drm/radeon/atombios_crtc.c int bpc, bpc 901 drivers/gpu/drm/radeon/atombios_crtc.c switch (bpc) { bpc 930 drivers/gpu/drm/radeon/atombios_crtc.c switch (bpc) { bpc 972 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->bpc = 8; bpc 990 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->bpc = radeon_get_monitor_bpc(connector); bpc 1079 drivers/gpu/drm/radeon/atombios_crtc.c (radeon_crtc->bpc > 8)) bpc 1118 drivers/gpu/drm/radeon/atombios_crtc.c radeon_crtc->bpc, radeon_crtc->ss_enabled, &radeon_crtc->ss); bpc 295 drivers/gpu/drm/radeon/atombios_dp.c static int convert_bpc_to_bpp(int bpc) bpc 297 drivers/gpu/drm/radeon/atombios_dp.c if (bpc == 0) bpc 300 drivers/gpu/drm/radeon/atombios_dp.c return bpc * 3; bpc 461 drivers/gpu/drm/radeon/atombios_encoders.c int bpc = 8; bpc 465 drivers/gpu/drm/radeon/atombios_encoders.c bpc = radeon_crtc->bpc; bpc 468 drivers/gpu/drm/radeon/atombios_encoders.c switch (bpc) { bpc 8751 drivers/gpu/drm/radeon/cik.c int bpc = 0; bpc 8757 drivers/gpu/drm/radeon/cik.c bpc = radeon_get_monitor_bpc(connector); bpc 8770 drivers/gpu/drm/radeon/cik.c if (bpc == 0) bpc 8773 drivers/gpu/drm/radeon/cik.c switch (bpc) { bpc 1302 drivers/gpu/drm/radeon/evergreen.c int bpc = 0; bpc 1308 drivers/gpu/drm/radeon/evergreen.c bpc = radeon_get_monitor_bpc(connector); bpc 1321 drivers/gpu/drm/radeon/evergreen.c if (bpc == 0) bpc 1324 drivers/gpu/drm/radeon/evergreen.c switch (bpc) { bpc 72 drivers/gpu/drm/radeon/evergreen_hdmi.c int bpc = 8; bpc 76 drivers/gpu/drm/radeon/evergreen_hdmi.c bpc = radeon_crtc->bpc; bpc 79 drivers/gpu/drm/radeon/evergreen_hdmi.c if (bpc > 8) bpc 317 drivers/gpu/drm/radeon/evergreen_hdmi.c void dce4_hdmi_set_color_depth(struct drm_encoder *encoder, u32 offset, int bpc) bpc 328 drivers/gpu/drm/radeon/evergreen_hdmi.c switch (bpc) { bpc 335 drivers/gpu/drm/radeon/evergreen_hdmi.c connector->name, bpc); bpc 303 drivers/gpu/drm/radeon/r600.c int bpc = 0; bpc 309 drivers/gpu/drm/radeon/r600.c bpc = radeon_get_monitor_bpc(connector); bpc 322 drivers/gpu/drm/radeon/r600.c if (bpc == 0) bpc 325 drivers/gpu/drm/radeon/r600.c switch (bpc) { bpc 91 drivers/gpu/drm/radeon/radeon_audio.c u32 offset, int bpc); bpc 649 drivers/gpu/drm/radeon/radeon_audio.c int bpc = 8; bpc 658 drivers/gpu/drm/radeon/radeon_audio.c bpc = radeon_crtc->bpc; bpc 662 drivers/gpu/drm/radeon/radeon_audio.c radeon_encoder->audio->set_color_depth(encoder, dig->afmt->offset, bpc); bpc 59 drivers/gpu/drm/radeon/radeon_audio.h void (*set_color_depth)(struct drm_encoder *encoder, u32 offset, int bpc); bpc 126 drivers/gpu/drm/radeon/radeon_connectors.c int bpc = 8; bpc 134 drivers/gpu/drm/radeon/radeon_connectors.c if (connector->display_info.bpc) bpc 135 drivers/gpu/drm/radeon/radeon_connectors.c bpc = connector->display_info.bpc; bpc 142 drivers/gpu/drm/radeon/radeon_connectors.c if (connector->display_info.bpc) bpc 143 drivers/gpu/drm/radeon/radeon_connectors.c bpc = connector->display_info.bpc; bpc 151 drivers/gpu/drm/radeon/radeon_connectors.c if (connector->display_info.bpc) bpc 152 drivers/gpu/drm/radeon/radeon_connectors.c bpc = connector->display_info.bpc; bpc 157 drivers/gpu/drm/radeon/radeon_connectors.c if (connector->display_info.bpc) bpc 158 drivers/gpu/drm/radeon/radeon_connectors.c bpc = connector->display_info.bpc; bpc 167 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 6; bpc 169 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 8; bpc 176 drivers/gpu/drm/radeon/radeon_connectors.c if ((bpc > 8) && !ASIC_IS_DCE4(rdev)) { bpc 178 drivers/gpu/drm/radeon/radeon_connectors.c connector->name, bpc); bpc 179 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 8; bpc 188 drivers/gpu/drm/radeon/radeon_connectors.c if (bpc > 12) { bpc 190 drivers/gpu/drm/radeon/radeon_connectors.c connector->name, bpc); bpc 191 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 12; bpc 206 drivers/gpu/drm/radeon/radeon_connectors.c if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { bpc 209 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 10; bpc 211 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 8; bpc 214 drivers/gpu/drm/radeon/radeon_connectors.c connector->name, bpc); bpc 217 drivers/gpu/drm/radeon/radeon_connectors.c if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { bpc 218 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 8; bpc 220 drivers/gpu/drm/radeon/radeon_connectors.c connector->name, bpc); bpc 223 drivers/gpu/drm/radeon/radeon_connectors.c else if (bpc > 8) { bpc 227 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 8; bpc 231 drivers/gpu/drm/radeon/radeon_connectors.c if ((radeon_deep_color == 0) && (bpc > 8)) { bpc 234 drivers/gpu/drm/radeon/radeon_connectors.c bpc = 8; bpc 238 drivers/gpu/drm/radeon/radeon_connectors.c connector->name, connector->display_info.bpc, bpc); bpc 240 drivers/gpu/drm/radeon/radeon_connectors.c return bpc; bpc 364 drivers/gpu/drm/radeon/radeon_dp_mst.c if (radeon_connector->base.display_info.bpc) bpc 365 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_crtc->bpc = radeon_connector->base.display_info.bpc; bpc 367 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_crtc->bpc = 8; bpc 361 drivers/gpu/drm/radeon/radeon_mode.h int bpc; bpc 164 drivers/gpu/drm/radeon/rs600.c int bpc = 0; bpc 170 drivers/gpu/drm/radeon/rs600.c bpc = radeon_get_monitor_bpc(connector); bpc 178 drivers/gpu/drm/radeon/rs600.c if (bpc == 0) bpc 181 drivers/gpu/drm/radeon/rs600.c switch (bpc) { bpc 125 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c di->bpc = 8; bpc 248 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c s->output_bpc = di->bpc; bpc 283 drivers/gpu/drm/rockchip/cdn-dp-core.c u8 lanes, bpc; bpc 289 drivers/gpu/drm/rockchip/cdn-dp-core.c switch (display_info->bpc) { bpc 291 drivers/gpu/drm/rockchip/cdn-dp-core.c bpc = 10; bpc 294 drivers/gpu/drm/rockchip/cdn-dp-core.c bpc = 6; bpc 297 drivers/gpu/drm/rockchip/cdn-dp-core.c bpc = 8; bpc 301 drivers/gpu/drm/rockchip/cdn-dp-core.c requested = mode->clock * bpc * 3 / 1000; bpc 548 drivers/gpu/drm/rockchip/cdn-dp-core.c switch (display_info->bpc) { bpc 307 drivers/gpu/drm/sun4i/sun4i_tcon.c if (connector->display_info.bpc == 6) bpc 441 drivers/gpu/drm/tegra/sor.c unsigned int bpc; bpc 1063 drivers/gpu/drm/tegra/sor.c switch (state->bpc) { bpc 1716 drivers/gpu/drm/tegra/sor.c config.bits_per_pixel = state->bpc * 3; bpc 2018 drivers/gpu/drm/tegra/sor.c switch (info->bpc) { bpc 2021 drivers/gpu/drm/tegra/sor.c state->bpc = info->bpc; bpc 2025 drivers/gpu/drm/tegra/sor.c DRM_DEBUG_KMS("%u bits-per-color not supported\n", info->bpc); bpc 2026 drivers/gpu/drm/tegra/sor.c state->bpc = 8; bpc 2713 drivers/gpu/drm/tegra/sor.c switch (state->bpc) { bpc 2731 drivers/gpu/drm/tegra/sor.c WARN(1, "%u bits-per-color not supported\n", state->bpc); bpc 190 drivers/net/ethernet/brocade/bna/bna_enet.c bna_stats_copy(bpc, bpc); bpc 332 drivers/spi/spi-bcm-qspi.c int bpp, int bpc, int flex_mode) bpc 335 drivers/spi/spi-bcm-qspi.c bcm_qspi_write(qspi, BSPI, BSPI_BITS_PER_CYCLE, bpc); bpc 344 drivers/spi/spi-bcm-qspi.c int bpc = 0, bpp = 0; bpc 365 drivers/spi/spi-bcm-qspi.c bpc = 0x00000001; bpc 367 drivers/spi/spi-bcm-qspi.c bpc |= 0x00010100; /* address and mode are 2-bit */ bpc 372 drivers/spi/spi-bcm-qspi.c bpc = 0x00000002; bpc 374 drivers/spi/spi-bcm-qspi.c bpc |= 0x00020200; /* address and mode are 4-bit */ bpc 382 drivers/spi/spi-bcm-qspi.c bcm_qspi_bspi_set_xfer_params(qspi, command, bpp, bpc, flex_mode); bpc 497 drivers/video/console/sticore.c unsigned int size, bpc; bpc 512 drivers/video/console/sticore.c bpc = ((fbfont->width+7)/8) * fbfont->height; bpc 513 drivers/video/console/sticore.c size = bpc * 256; bpc 525 drivers/video/console/sticore.c nf->bytes_per_char = bpc; bpc 532 drivers/video/console/sticore.c memcpy(dest, fbfont->data, bpc*256); bpc 117 drivers/video/fbdev/omap/omapfb.h void (*set_bits_per_cycle)(int bpc); bpc 355 drivers/video/fbdev/omap/sossi.c static void sossi_set_bits_per_cycle(int bpc) bpc 364 drivers/video/fbdev/omap/sossi.c switch (bpc) { bpc 1140 fs/ocfs2/aops.c int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); bpc 1198 fs/ocfs2/aops.c p_blkno += (user_pos >> inode->i_sb->s_blocksize_bits) & (u64)(bpc - 1); bpc 664 fs/ocfs2/extent_map.c int bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); bpc 682 fs/ocfs2/extent_map.c boff += (v_blkno & (u64)(bpc - 1)); bpc 689 fs/ocfs2/extent_map.c *ret_count -= v_blkno & (u64)(bpc - 1); bpc 1622 fs/ocfs2/suballoc.c unsigned int bpc = le16_to_cpu(cl->cl_bpc); bpc 1623 fs/ocfs2/suballoc.c unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; bpc 1624 fs/ocfs2/suballoc.c unsigned int bitcount = le16_to_cpu(rec->e_leaf_clusters) * bpc; bpc 1106 fs/ocfs2/xattr.c u32 cpos, p_cluster, num_clusters, bpc, clusters; bpc 1115 fs/ocfs2/xattr.c bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); bpc 1129 fs/ocfs2/xattr.c for (i = 0; i < num_clusters * bpc; i++, blkno++) { bpc 1356 fs/ocfs2/xattr.c u32 cpos = 0, bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); bpc 1378 fs/ocfs2/xattr.c for (i = 0; i < num_clusters * bpc; i++, blkno++) { bpc 3974 fs/ocfs2/xattr.c u32 bpc = ocfs2_xattr_buckets_per_cluster(OCFS2_SB(inode->i_sb)); bpc 3975 fs/ocfs2/xattr.c u32 num_buckets = clusters * bpc; bpc 5105 fs/ocfs2/xattr.c u16 bpc = ocfs2_clusters_to_blocks(inode->i_sb, 1); bpc 5140 fs/ocfs2/xattr.c if (bucket_blkno(first) + (prev_clusters * bpc) == block && bpc 6936 fs/ocfs2/xattr.c unsigned int bpc = bpc 6956 fs/ocfs2/xattr.c reflink_buckets = min(num_buckets, bpc * num_clusters); bpc 375 include/drm/drm_connector.h unsigned int bpc; bpc 39 include/linux/mtd/nand.h #define NAND_MEMORG(bpc, ps, os, ppe, epl, mbb, ppl, lpt, nt) \ bpc 41 include/linux/mtd/nand.h .bits_per_cell = (bpc), \