/linux-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 59 len = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in dp_aux_link_power_up() 86 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in dp_aux_link_power_down() 107 if (drm_dp_dpcd_readb(link->aux, addr, &data) < 0) { in dp_link_get_period() 198 rlen = drm_dp_dpcd_readb(link->aux, in dp_link_parse_audio_pattern_type() 228 rlen = drm_dp_dpcd_readb(link->aux, DP_TEST_AUDIO_MODE, &data); in dp_link_parse_audio_mode() 385 rlen = drm_dp_dpcd_readb(link->aux, DP_TEST_PATTERN, &bp); in dp_link_parse_video_pattern_params() 401 rlen = drm_dp_dpcd_readb(link->aux, DP_TEST_MISC0, &bp); in dp_link_parse_video_pattern_params() 541 rlen = drm_dp_dpcd_readb(link->aux, DP_TEST_LINK_RATE, &bp); in dp_link_parse_link_training_params() 556 rlen = drm_dp_dpcd_readb(link->aux, DP_TEST_LANE_COUNT, &bp); in dp_link_parse_link_training_params() 586 rlen = drm_dp_dpcd_readb(link->aux, DP_PHY_TEST_PATTERN, in dp_link_parse_phy_test_params() [all …]
|
/linux-6.6.21/drivers/gpu/drm/display/ |
D | drm_dp_cec.c | 146 err = drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_CONTROL, &val); in drm_dp_cec_adap_monitor_all_enable() 196 err = drm_dp_dpcd_readb(aux, DP_CEC_RX_MESSAGE_INFO, &rx_msg_info); in drm_dp_cec_received() 217 if (drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_IRQ_FLAGS, &flags) < 0) in drm_dp_cec_handle_irq() 255 ret = drm_dp_dpcd_readb(aux, DP_DEVICE_SERVICE_IRQ_VECTOR_ESI1, in drm_dp_cec_irq() 271 if (drm_dp_dpcd_readb(aux, DP_CEC_TUNNELING_CAPABILITY, &cap) != 1 || in drm_dp_cec_cap()
|
D | drm_dp_helper.c | 328 if (drm_dp_dpcd_readb(aux, offset, &rd_interval) != 1) { in __read_delay() 359 if (drm_dp_dpcd_readb(aux, DP_128B132B_TRAINING_AUX_RD_INTERVAL, &val) != 1) { in drm_dp_128b132b_read_aux_rd_interval() 1565 ret = drm_dp_dpcd_readb(aux, DP_SINK_COUNT, &count); in drm_dp_read_sink_count() 1955 ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); in drm_dp_aux_get_crc() 1961 ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK_MISC, &buf); in drm_dp_aux_get_crc() 2179 ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); in drm_dp_start_crc() 2206 ret = drm_dp_dpcd_readb(aux, DP_TEST_SINK, &buf); in drm_dp_stop_crc() 2637 err = drm_dp_dpcd_readb(aux, DP_TEST_LINK_RATE, &rate); in drm_dp_get_phy_test_pattern() 2642 err = drm_dp_dpcd_readb(aux, DP_TEST_LANE_COUNT, &lanes); in drm_dp_get_phy_test_pattern() 2650 err = drm_dp_dpcd_readb(aux, DP_PHY_TEST_PATTERN, &data->phy_pattern); in drm_dp_get_phy_test_pattern() [all …]
|
D | drm_dp_mst_topology.c | 3584 if (drm_dp_dpcd_readb(aux, DP_MSTM_CAP, &mstm_cap) != 1) in drm_dp_read_mst_cap() 4615 ret = drm_dp_dpcd_readb(mgr->aux, DP_PAYLOAD_TABLE_UPDATE_STATUS, &status); in drm_dp_dpcd_write_payload() 4642 ret = drm_dp_dpcd_readb(aux, DP_PAYLOAD_TABLE_UPDATE_STATUS, &status); in do_get_act_status()
|
/linux-6.6.21/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 112 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_SUPPORT, &psr_version); in analogix_dp_detect_sink_psr() 128 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_EN_CFG, &psr_en); in analogix_dp_enable_sink_psr() 175 ret = drm_dp_dpcd_readb(&dp->aux, DP_LANE_COUNT_SET, &data); in analogix_dp_enable_rx_to_enhanced_mode() 196 ret = drm_dp_dpcd_readb(&dp->aux, DP_MAX_LANE_COUNT, &data); in analogix_dp_is_enhanced_mode_available() 563 retval = drm_dp_dpcd_readb(&dp->aux, DP_LANE_ALIGN_STATUS_UPDATED, in analogix_dp_process_equalizer_training() 624 drm_dp_dpcd_readb(&dp->aux, DP_MAX_LINK_RATE, &data); in analogix_dp_get_max_rx_bandwidth() 637 drm_dp_dpcd_readb(&dp->aux, DP_MAX_LANE_COUNT, &data); in analogix_dp_get_max_rx_lane_count() 754 ret = drm_dp_dpcd_readb(&dp->aux, DP_LANE_ALIGN_STATUS_UPDATED, in analogix_dp_fast_link_train() 869 ret = drm_dp_dpcd_readb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_enable_scramble() 878 ret = drm_dp_dpcd_readb(&dp->aux, DP_TRAINING_PATTERN_SET, in analogix_dp_enable_scramble() [all …]
|
D | analogix-anx6345.c | 108 err = drm_dp_dpcd_readb(&anx6345->aux, DP_MAX_LINK_RATE, &dp_bw); in anx6345_dp_link_training() 151 err = drm_dp_dpcd_readb(&anx6345->aux, DP_SET_POWER, &dpcd[0]); in anx6345_dp_link_training() 439 err = drm_dp_dpcd_readb(&anx6345->aux, DP_SINK_COUNT, &value); in anx6345_get_downstream_info()
|
D | analogix-anx78xx.c | 620 err = drm_dp_dpcd_readb(&anx78xx->aux, DP_MAX_LINK_RATE, &dp_bw); in anx78xx_dp_link_training() 664 err = drm_dp_dpcd_readb(&anx78xx->aux, DP_SET_POWER, &dpcd[0]); in anx78xx_dp_link_training() 811 err = drm_dp_dpcd_readb(&anx78xx->aux, DP_SINK_COUNT, &value); in anx78xx_get_downstream_info()
|
D | analogix_dp_reg.c | 943 val = drm_dp_dpcd_readb(&dp->aux, DP_PSR_STATUS, &status); in analogix_dp_get_psr_status()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_dp.c | 386 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_get_panel_mode() 398 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_get_panel_mode() 743 if (drm_dp_dpcd_readb(&amdgpu_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) in amdgpu_atombios_dp_link_train()
|
/linux-6.6.21/drivers/gpu/drm/tegra/ |
D | dp.c | 194 err = drm_dp_dpcd_readb(aux, DP_EDP_DPCD_REV, &value); in drm_dp_link_probe() 274 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_up() 311 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in drm_dp_link_power_down()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | atombios_dp.c | 428 if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, in radeon_dp_get_panel_mode() 440 if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, in radeon_dp_get_panel_mode() 831 if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) in radeon_dp_link_train()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dp_aux_backlight.c | 174 if (drm_dp_dpcd_readb(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, &tmp) != 1) { in intel_dp_aux_hdr_get_backlight() 246 ret = drm_dp_dpcd_readb(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, &old_ctrl); in intel_dp_aux_hdr_enable_backlight()
|
D | intel_psr.c | 415 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_RECEIVER_ALPM_CAP, in intel_dp_get_alpm_status() 426 if (drm_dp_dpcd_readb(&intel_dp->aux, in intel_dp_get_sink_sync_latency() 2747 ret = drm_dp_dpcd_readb(aux, DP_PSR_STATUS, status); in psr_get_status_and_error_status() 2751 ret = drm_dp_dpcd_readb(aux, DP_PSR_ERROR_STATUS, error_status); in psr_get_status_and_error_status() 2771 r = drm_dp_dpcd_readb(aux, DP_RECEIVER_ALPM_STATUS, &val); in psr_alpm_check() 2795 r = drm_dp_dpcd_readb(&intel_dp->aux, DP_PSR_ESI, &val); in psr_capability_changed_check() 3180 ret = drm_dp_dpcd_readb(&intel_dp->aux, DP_PSR_STATUS, &val); in i915_psr_sink_status_show()
|
D | intel_dp.c | 178 drm_dp_dpcd_readb(&intel_dp->aux, in intel_dp_set_dpcd_sink_rates() 2981 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_DPRX_FEATURE_ENUMERATION_LIST, in intel_dp_get_colorimetry_status() 3016 drm_dp_dpcd_readb(&intel_dp->aux, DP_FEC_CAPABILITY, in intel_dp_get_dsc_sink_cap() 3088 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_EDP_MSO_LINK_CAPABILITIES, &mso) != 1) { in intel_edp_mso_init() 3761 status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_LANE_COUNT, in intel_dp_autotest_link_training() 3770 status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_LINK_RATE, in intel_dp_autotest_link_training() 3798 status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_PATTERN, in intel_dp_autotest_video_pattern() 3821 status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_MISC0, in intel_dp_autotest_video_pattern() 4017 status = drm_dp_dpcd_readb(&intel_dp->aux, DP_TEST_REQUEST, &request); in intel_dp_handle_test_request() 4179 if (drm_dp_dpcd_readb(&intel_dp->aux, DP_PCON_HDMI_LINK_CONFIG_1, &buf) < 0) in intel_dp_handle_hdmi_link_status_change() [all …]
|
D | intel_lspcon.c | 218 if (drm_dp_dpcd_readb(&lspcon_to_intel_dp(lspcon)->aux, DP_DPCD_REV, in lspcon_wake_native_aux_ch()
|
D | intel_dp_link_training.c | 1010 ret = drm_dp_dpcd_readb(&intel_dp->aux, DP_SINK_STATUS, &sink_status); in intel_dp_128b132b_intra_hop()
|
/linux-6.6.21/drivers/gpu/drm/bridge/ |
D | tc358767.c | 758 ret = drm_dp_dpcd_readb(&tc->aux, DP_MAX_DOWNSPREAD, ®); in tc_get_display_props() 763 ret = drm_dp_dpcd_readb(&tc->aux, DP_MAIN_LINK_CHANNEL_CODING, ®); in tc_get_display_props() 769 ret = drm_dp_dpcd_readb(&tc->aux, DP_EDP_CONFIGURATION_SET, ®); in tc_get_display_props() 1067 ret = drm_dp_dpcd_readb(aux, DP_EDP_CONFIGURATION_SET, tmp); in tc_main_link_enable()
|
D | ti-sn65dsi86.c | 888 ret = drm_dp_dpcd_readb(&pdata->aux, DP_EDP_DPCD_REV, &dpcd_val); in ti_sn_bridge_read_valid_rates() 934 ret = drm_dp_dpcd_readb(&pdata->aux, DP_MAX_LINK_RATE, &dpcd_val); in ti_sn_bridge_read_valid_rates() 1006 ret = drm_dp_dpcd_readb(&pdata->aux, DP_MAX_LANE_COUNT, &data); in ti_sn_get_max_lanes()
|
D | ite-it6505.c | 604 ret = drm_dp_dpcd_readb(&it6505->aux, offset, &value); in it6505_dpcd_read() 758 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in it6505_drm_dp_link_set_power()
|
/linux-6.6.21/include/drm/display/ |
D | drm_dp_helper.h | 469 static inline ssize_t drm_dp_dpcd_readb(struct drm_dp_aux *aux, in drm_dp_dpcd_readb() function
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 1646 ret = drm_dp_dpcd_readb(&mtk_dp->aux, DP_MSTM_CAP, &val); in mtk_dp_parse_capabilities() 1654 ret = drm_dp_dpcd_readb(&mtk_dp->aux, in mtk_dp_parse_capabilities() 2020 drm_dp_dpcd_readb(&mtk_dp->aux, DP_SINK_COUNT, &sink_count); in mtk_dp_bdg_detect()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_mst_types.c | 449 ret = drm_dp_dpcd_readb(&port->aux, DP_DP13_DPCD_REV, &dpcd_rev); in dm_dp_mst_detect() 456 ret = drm_dp_dpcd_readb(&port->aux, DP_DPCD_REV, &dpcd_rev); in dm_dp_mst_detect()
|
/linux-6.6.21/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-core.c | 565 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in cdns_mhdp_link_power_up() 604 err = drm_dp_dpcd_readb(aux, DP_SET_POWER, &value); in cdns_mhdp_link_power_down() 1434 drm_dp_dpcd_readb(&mhdp->aux, DP_TRAINING_AUX_RD_INTERVAL, in cdns_mhdp_link_up()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 1557 ret = drm_dp_dpcd_readb(aux, DP_SET_POWER, &pwr); in nv50_sor_atomic_disable()
|