Home
last modified time | relevance | path

Searched refs:drm_dp_dpcd_writeb (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Datombios_dp.c479 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/
Ddrm_dp_cec.c98 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()
Ddrm_dp_helper.c1752 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()
Ddrm_dp_mst_topology.c3743 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/
Dintel_dp_aux_backlight.c48 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()
Dintel_psr.c403 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()
Dintel_dp.c3497 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()
Dintel_ddi.c3239 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/
Datombios_dp.c529 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/
Dzynqmp_dp.c695 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/
Ddp.c281 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/
Danalogix_dp_core.c134 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 …]
Danalogix-anx6345.c162 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()
Danalogix-anx78xx.c674 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/
Ddp_link.c63 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()
Ddp_ctrl.c1057 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/
Dcdns-mhdp8546-core.c551 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/
Dedp_ctrl.c982 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/
Dtc358767.c974 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()
Dti-sn65dsi86.c745 drm_dp_dpcd_writeb(&pdata->aux, DP_EDP_CONFIGURATION_SET, in ti_sn_bridge_enable()
/kernel/linux/linux-5.10/include/drm/
Ddrm_dp_helper.h1637 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/
Ddisp.c1497 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/
Ddrivers.patch7882 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,