/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_dp.c | 479 drm_dp_dpcd_writeb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_set_rx_power_state() 532 drm_dp_dpcd_writeb(dp_info->aux, DP_TRAINING_PATTERN_SET, tp); in amdgpu_atombios_dp_set_tp() 547 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init() 550 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init() 554 drm_dp_dpcd_writeb(dp_info->aux, DP_EDP_CONFIGURATION_SET, 1); in amdgpu_atombios_dp_link_train_init() 560 drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); in amdgpu_atombios_dp_link_train_init() 564 drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); in amdgpu_atombios_dp_link_train_init() 571 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_init() 584 drm_dp_dpcd_writeb(dp_info->aux, in amdgpu_atombios_dp_link_train_finish()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_dp_cec.c | 98 err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); in drm_dp_cec_adap_enable() 130 err = drm_dp_dpcd_writeb(aux, DP_CEC_TX_MESSAGE_INFO, in drm_dp_cec_adap_transmit() 152 err = drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_CONTROL, val); in drm_dp_cec_adap_monitor_all_enable() 232 drm_dp_dpcd_writeb(aux, DP_CEC_TUNNELING_IRQ_FLAGS, flags); in drm_dp_cec_handle_irq() 261 drm_dp_dpcd_writeb(aux, DP_DEVICE_SERVICE_IRQ_VECTOR_ESI1, DP_CEC_IRQ); in drm_dp_cec_irq()
|
D | drm_dp_helper.c | 1752 ret = drm_dp_dpcd_writeb(aux, DP_TEST_SINK, buf | DP_TEST_SINK_START); in drm_dp_start_crc() 1779 ret = drm_dp_dpcd_writeb(aux, DP_TEST_SINK, buf & ~DP_TEST_SINK_START); in drm_dp_stop_crc() 2190 err = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, in drm_dp_set_phy_test_pattern() 2196 err = drm_dp_dpcd_writeb(aux, in drm_dp_set_phy_test_pattern()
|
D | drm_dp_mst_topology.c | 3743 ret = drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, in drm_dp_mst_topology_mgr_set_mst() 3762 drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, 0); in drm_dp_mst_topology_mgr_set_mst() 3807 drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, in drm_dp_mst_topology_mgr_suspend() 3858 ret = drm_dp_dpcd_writeb(mgr->aux, DP_MSTM_CTRL, in drm_dp_mst_topology_mgr_resume() 4621 drm_dp_dpcd_writeb(mgr->aux, DP_PAYLOAD_TABLE_UPDATE_STATUS, in drm_dp_dpcd_write_payload()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_dp_aux_backlight.c | 48 if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_EDP_DISPLAY_CONTROL_REGISTER, in set_aux_backlight_enable() 167 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_aux_set_pwm_freq() 202 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_aux_enable_backlight() 221 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_aux_enable_backlight() 306 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_aux_calc_max_backlight()
|
D | intel_psr.c | 403 drm_dp_dpcd_writeb(&intel_dp->aux, DP_RECEIVER_ALPM_CONFIG, in intel_psr_enable_sink() 416 drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_EN_CFG, dpcd_val); in intel_psr_enable_sink() 418 drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, DP_SET_POWER_D0); in intel_psr_enable_sink() 1118 drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_EN_CFG, 0); in intel_psr_disable_locked() 1121 drm_dp_dpcd_writeb(&intel_dp->aux, DP_RECEIVER_ALPM_CONFIG, 0); in intel_psr_disable_locked() 1411 drm_dp_dpcd_writeb(&psr->dp->aux, DP_SET_POWER, DP_SET_POWER_D0); in intel_psr_handle_irq() 1645 drm_dp_dpcd_writeb(aux, DP_RECEIVER_ALPM_STATUS, val); in psr_alpm_check() 1669 drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_ESI, val); in psr_capability_changed_check() 1719 drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_ERROR_STATUS, error_status); in intel_psr_short_pulse()
|
D | intel_dp.c | 3497 ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_DSC_ENABLE, in intel_dp_sink_set_decompression_state() 3520 ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, mode); in intel_dp_set_power() 3529 ret = drm_dp_dpcd_writeb(&intel_dp->aux, DP_SET_POWER, mode); in intel_dp_set_power() 3880 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_configure_protocol_converter() 3888 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_configure_protocol_converter() 3896 if (drm_dp_dpcd_writeb(&intel_dp->aux, in intel_dp_configure_protocol_converter() 5406 if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_EDID_CHECKSUM, in intel_dp_autotest_edid() 5639 status = drm_dp_dpcd_writeb(&intel_dp->aux, DP_TEST_RESPONSE, response); in intel_dp_handle_test_request() 5957 drm_dp_dpcd_writeb(&intel_dp->aux, DP_DEVICE_SERVICE_IRQ_VECTOR, val); in intel_dp_check_service_irq()
|
D | intel_ddi.c | 3239 if (drm_dp_dpcd_writeb(&intel_dp->aux, DP_FEC_CONFIGURATION, DP_FEC_READY) <= 0) in intel_dp_sink_set_fec_ready()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | atombios_dp.c | 529 drm_dp_dpcd_writeb(&radeon_connector->ddc_bus->aux, in radeon_dp_set_rx_power_state() 596 drm_dp_dpcd_writeb(dp_info->aux, DP_TRAINING_PATTERN_SET, tp); in radeon_dp_set_tp() 610 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_init() 613 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_init() 617 drm_dp_dpcd_writeb(dp_info->aux, DP_EDP_CONFIGURATION_SET, 1); in radeon_dp_link_train_init() 623 drm_dp_dpcd_writeb(dp_info->aux, DP_LANE_COUNT_SET, tmp); in radeon_dp_link_train_init() 627 drm_dp_dpcd_writeb(dp_info->aux, DP_LINK_BW_SET, tmp); in radeon_dp_link_train_init() 638 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_init() 650 drm_dp_dpcd_writeb(dp_info->aux, in radeon_dp_link_train_finish()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xlnx/ |
D | zynqmp_dp.c | 695 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in zynqmp_dp_link_train_cr() 765 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in zynqmp_dp_link_train_ce() 817 drm_dp_dpcd_writeb(&dp->aux, DP_DOWNSPREAD_CTRL, in zynqmp_dp_train() 821 drm_dp_dpcd_writeb(&dp->aux, DP_DOWNSPREAD_CTRL, 0); in zynqmp_dp_train() 824 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, aux_lane_cnt); in zynqmp_dp_train() 830 ret = drm_dp_dpcd_writeb(&dp->aux, DP_MAIN_LINK_CHANNEL_CODING_SET, in zynqmp_dp_train() 837 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LINK_BW_SET, bw_code); in zynqmp_dp_train() 872 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in zynqmp_dp_train() 1415 ret = drm_dp_dpcd_writeb(&dp->aux, DP_SET_POWER, in zynqmp_dp_encoder_enable() 1440 drm_dp_dpcd_writeb(&dp->aux, DP_SET_POWER, DP_SET_POWER_D3); in zynqmp_dp_encoder_disable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | dp.c | 281 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_up() 318 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in drm_dp_link_power_down() 360 err = drm_dp_dpcd_writeb(aux, DP_MAIN_LINK_CHANNEL_CODING_SET, value); in drm_dp_link_configure() 365 err = drm_dp_dpcd_writeb(aux, DP_EDP_CONFIGURATION_SET, in drm_dp_link_configure() 516 err = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, pattern); in drm_dp_link_apply_training()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 134 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr() 142 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr() 150 ret = drm_dp_dpcd_writeb(&dp->aux, DP_PSR_EN_CFG, psr_en); in analogix_dp_enable_sink_psr() 179 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, in analogix_dp_enable_rx_to_enhanced_mode() 183 ret = drm_dp_dpcd_writeb(&dp->aux, DP_LANE_COUNT_SET, in analogix_dp_enable_rx_to_enhanced_mode() 230 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_training_pattern_dis() 309 retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_link_start() 489 retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_process_clock_recovery() 872 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_enable_scramble() 881 ret = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_enable_scramble() [all …]
|
D | analogix-anx6345.c | 162 err = drm_dp_dpcd_writeb(&anx6345->aux, DP_SET_POWER, dpcd[0]); in anx6345_dp_link_training() 191 err = drm_dp_dpcd_writeb(&anx6345->aux, DP_DOWNSPREAD_CTRL, in anx6345_dp_link_training() 196 err = drm_dp_dpcd_writeb(&anx6345->aux, DP_DOWNSPREAD_CTRL, 0); in anx6345_dp_link_training()
|
D | analogix-anx78xx.c | 674 err = drm_dp_dpcd_writeb(&anx78xx->aux, DP_SET_POWER, dpcd[0]); in anx78xx_dp_link_training() 703 err = drm_dp_dpcd_writeb(&anx78xx->aux, DP_DOWNSPREAD_CTRL, in anx78xx_dp_link_training() 708 err = drm_dp_dpcd_writeb(&anx78xx->aux, DP_DOWNSPREAD_CTRL, 0); in anx78xx_dp_link_training()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 63 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in dp_aux_link_power_up() 88 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in dp_aux_link_power_down() 794 ret = drm_dp_dpcd_writeb(link->aux, DP_TEST_RESPONSE, in dp_link_send_test_response() 841 ret = drm_dp_dpcd_writeb(link->aux, DP_TEST_EDID_CHECKSUM, in dp_link_send_edid_checksum()
|
D | dp_ctrl.c | 1057 ret = drm_dp_dpcd_writeb(ctrl->aux, DP_TRAINING_PATTERN_SET, buf); in dp_ctrl_train_pattern_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-core.c | 551 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in cdns_mhdp_link_power_up() 590 err = drm_dp_dpcd_writeb(aux, DP_SET_POWER, value); in cdns_mhdp_link_power_down() 863 drm_dp_dpcd_writeb(&mhdp->aux, DP_TRAINING_PATTERN_SET, in cdns_mhdp_link_training_init() 903 drm_dp_dpcd_writeb(&mhdp->aux, DP_TRAINING_PATTERN_SET, in cdns_mhdp_link_training_init() 1044 drm_dp_dpcd_writeb(&mhdp->aux, DP_TRAINING_PATTERN_SET, in cdns_mhdp_link_training_channel_eq() 1302 drm_dp_dpcd_writeb(&mhdp->aux, DP_TRAINING_PATTERN_SET, in cdns_mhdp_link_training() 1333 drm_dp_dpcd_writeb(&mhdp->aux, DP_TRAINING_PATTERN_SET, in cdns_mhdp_link_training()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/edp/ |
D | edp_ctrl.c | 982 ret = drm_dp_dpcd_writeb(ctrl->drm_aux, DP_SET_POWER, value); in edp_ctrl_on_worker() 1046 drm_dp_dpcd_writeb(ctrl->drm_aux, DP_SET_POWER, value); in edp_ctrl_off_worker()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
D | tc358767.c | 974 ret = drm_dp_dpcd_writeb(aux, DP_EDP_CONFIGURATION_SET, tmp[0]); in tc_main_link_enable() 1103 ret = drm_dp_dpcd_writeb(aux, DP_TRAINING_PATTERN_SET, tmp[0]); in tc_main_link_enable()
|
D | ti-sn65dsi86.c | 745 drm_dp_dpcd_writeb(&pdata->aux, DP_EDP_CONFIGURATION_SET, in ti_sn_bridge_enable()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_dp_helper.h | 1637 static inline ssize_t drm_dp_dpcd_writeb(struct drm_dp_aux *aux, in drm_dp_dpcd_writeb() function
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 1497 ret = drm_dp_dpcd_writeb(aux, DP_MSTM_CTRL, 0); in nv50_mstm_detect() 1636 drm_dp_dpcd_writeb(aux, DP_SET_POWER, pwr); in nv50_sor_disable()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 7882 retval = drm_dp_dpcd_writeb(&dp->aux, DP_TRAINING_PATTERN_SET, 8106 + ret = drm_dp_dpcd_writeb(&dp->aux, DP_SET_POWER, value); 8130 + ret = drm_dp_dpcd_writeb(&dp->aux, DP_SET_POWER, value); 8159 + return drm_dp_dpcd_writeb(&dp->aux, DP_EDP_CONFIGURATION_SET,
|