/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dp_hdcp.c | 93 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BKSV, bksv, in intel_dp_hdcp_read_bksv() 114 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BINFO, in intel_dp_hdcp_read_bstatus() 131 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BCAPS, in intel_dp_hdcp_read_bcaps() 164 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_RI_PRIME, in intel_dp_hdcp_read_ri_prime() 182 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, in intel_dp_hdcp_read_ksv_ready() 204 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in intel_dp_hdcp_read_ksv_fifo() 228 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in intel_dp_hdcp_read_v_prime_part() 256 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, in intel_dp_hdcp_check_link() 340 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in intel_dp_hdcp2_read_rx_status() 481 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in get_receiver_id_list_rx_info() [all …]
|
D | intel_lspcon.c | 130 ret = drm_dp_dpcd_read(&intel_dp->aux, get_hdr_status_reg(lspcon), in lspcon_detect_hdr_capability() 310 ret = drm_dp_dpcd_read(aux, LSPCON_PARADE_AVI_IF_CTRL, in lspcon_parade_fw_ready() 433 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 450 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 587 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_read_avi_infoframe_enabled_mca() 602 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_read_avi_infoframe_enabled_parade()
|
D | intel_dp_aux_backlight.c | 126 ret = drm_dp_dpcd_read(aux, INTEL_EDP_HDR_TCON_CAP0, tcon_cap, sizeof(tcon_cap)); in intel_dp_aux_supports_hdr_backlight() 191 if (drm_dp_dpcd_read(&intel_dp->aux, INTEL_EDP_BRIGHTNESS_NITS_LSB, buf, in intel_dp_aux_hdr_get_backlight()
|
D | intel_dp.c | 2460 if (drm_dp_dpcd_read(&intel_dp->aux, DP_SOURCE_OUI, buf, sizeof(buf)) < 0) in intel_edp_init_source_oui() 2612 if (drm_dp_dpcd_read(&intel_dp->aux, DP_PCON_DSC_ENCODER, in intel_dp_get_pcon_dsc_cap() 3003 if (drm_dp_dpcd_read(&intel_dp->aux, DP_DSC_SUPPORT, in intel_dp_get_dsc_sink_cap() 3138 if (drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV, in intel_edp_init_dpcd() 3162 drm_dp_dpcd_read(&intel_dp->aux, DP_SUPPORTED_LINK_RATES, in intel_edp_init_dpcd() 3302 return drm_dp_dpcd_read(&intel_dp->aux, DP_SINK_COUNT_ESI, esi, 4) == 4; in intel_dp_get_sink_irq_esi() 3807 status = drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_H_WIDTH_HI, in intel_dp_autotest_video_pattern() 3814 status = drm_dp_dpcd_read(&intel_dp->aux, DP_TEST_V_HEIGHT_HI, in intel_dp_autotest_video_pattern() 4103 if (drm_dp_dpcd_read(&intel_dp->aux, DP_LANE0_1_STATUS_ESI, link_status, in intel_dp_mst_link_status()
|
D | intel_psr.c | 450 r = drm_dp_dpcd_read(&intel_dp->aux, DP_PSR2_SU_X_GRANULARITY, &w, 2); in intel_dp_get_su_granularity() 461 r = drm_dp_dpcd_read(&intel_dp->aux, DP_PSR2_SU_Y_GRANULARITY, &y, 1); in intel_dp_get_su_granularity() 480 drm_dp_dpcd_read(&intel_dp->aux, DP_PSR_SUPPORT, intel_dp->psr_dpcd, in intel_psr_init_dpcd()
|
D | intel_dp_link_training.c | 711 drm_dp_dpcd_read(&intel_dp->aux, DP_SUPPORTED_LINK_RATES, in intel_dp_prepare_link_train()
|
/linux-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_panel.c | 32 rlen = drm_dp_dpcd_read(panel->aux, DP_PSR_SUPPORT, in dp_panel_read_psr_cap() 59 rlen = drm_dp_dpcd_read(panel->aux, offset, in dp_panel_read_dpcd() 80 rlen = drm_dp_dpcd_read(panel->aux, offset, in dp_panel_read_dpcd() 122 rlen = drm_dp_dpcd_read(panel->aux, in dp_panel_read_dpcd() 209 rlen = drm_dp_dpcd_read(panel->aux, DP_SINK_COUNT, in dp_panel_read_sink_caps()
|
D | dp_link.c | 321 rlen = drm_dp_dpcd_read(link->aux, addr, bp, len); in dp_link_parse_timing_params1() 343 rlen = drm_dp_dpcd_read(link->aux, addr, bp, len); in dp_link_parse_timing_params2() 362 rlen = drm_dp_dpcd_read(link->aux, addr, &bp, len); in dp_link_parse_timing_params3() 945 drm_dp_dpcd_read(link->aux, DP_PSR_ERROR_STATUS, &status, 1); in dp_link_read_psr_error_status() 963 drm_dp_dpcd_read(link->aux, DP_PSR_ESI, &status, 1); in dp_link_psr_capability_changed()
|
/linux-6.6.21/drivers/gpu/drm/display/ |
D | drm_dp_helper.c | 616 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, in drm_dp_dpcd_read() function 648 EXPORT_SYMBOL(drm_dp_dpcd_read); 691 return drm_dp_dpcd_read(aux, DP_LANE0_1_STATUS, status, in drm_dp_dpcd_read_link_status() 716 ret = drm_dp_dpcd_read(aux, in drm_dp_dpcd_read_phy_link_status() 729 ret = drm_dp_dpcd_read(aux, in drm_dp_dpcd_read_phy_link_status() 826 if (drm_dp_dpcd_read(aux, DP_DEVICE_SERVICE_IRQ_VECTOR, in drm_dp_send_real_edid_checksum() 834 if (drm_dp_dpcd_read(aux, DP_TEST_REQUEST, &link_edid_read, 1) < 1) { in drm_dp_send_real_edid_checksum() 900 ret = drm_dp_dpcd_read(aux, DP_DP13_DPCD_REV, &dpcd_ext, in drm_dp_read_extended_dpcd_caps() 942 ret = drm_dp_dpcd_read(aux, DP_DPCD_REV, dpcd, DP_RECEIVER_CAP_SIZE); in drm_dp_read_dpcd_caps() 995 ret = drm_dp_dpcd_read(aux, DP_DOWNSTREAM_PORT_0, downstream_ports, len); in drm_dp_read_downstream_info() [all …]
|
D | drm_dp_aux_dev.c | 166 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); in auxdev_read_iter()
|
D | drm_dp_mst_topology.c | 3750 ret = drm_dp_dpcd_read(mgr->aux, DP_GUID, guid, 16); in drm_dp_mst_topology_mgr_resume() 3803 ret = drm_dp_dpcd_read(mgr->aux, basereg, replyblock, len); in drm_dp_get_one_sb_msg() 3842 ret = drm_dp_dpcd_read(mgr->aux, basereg + curreply, in drm_dp_get_one_sb_msg() 4782 if (drm_dp_dpcd_read(mgr->aux, in dump_dp_payload_table() 4864 ret = drm_dp_dpcd_read(mgr->aux, DP_FAUX_CAP, buf, 2); in drm_dp_mst_dump_topology() 4871 ret = drm_dp_dpcd_read(mgr->aux, DP_MSTM_CTRL, buf, 1); in drm_dp_mst_dump_topology() 4879 ret = drm_dp_dpcd_read(mgr->aux, DP_BRANCH_OUI, buf, DP_BRANCH_OUI_HEADER_SIZE); in drm_dp_mst_dump_topology() 5881 if (drm_dp_dpcd_read(&port->aux, in drm_dp_mst_dsc_aux_for_port() 5884 if (drm_dp_dpcd_read(&port->aux, in drm_dp_mst_dsc_aux_for_port() 5887 if (drm_dp_dpcd_read(&immediate_upstream_port->aux, in drm_dp_mst_dsc_aux_for_port() [all …]
|
D | drm_dp_cec.c | 204 err = drm_dp_dpcd_read(aux, DP_CEC_RX_MESSAGE_BUFFER, msg.msg, msg.len); in drm_dp_cec_received()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_dp.c | 325 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui() 329 if (drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in amdgpu_atombios_dp_probe_oui() 340 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, in amdgpu_atombios_dp_ds_ports() 356 ret = drm_dp_dpcd_read(&amdgpu_connector->ddc_bus->aux, DP_DPCD_REV, in amdgpu_atombios_dp_get_dpcd()
|
/linux-6.6.21/drivers/gpu/drm/tegra/ |
D | dp.c | 178 err = drm_dp_dpcd_read(aux, DP_DPCD_REV, dpcd, sizeof(dpcd)); in drm_dp_link_probe() 241 err = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, in drm_dp_link_probe() 555 err = drm_dp_dpcd_read(link->aux, DP_ADJUST_REQUEST_POST_CURSOR2, in drm_dp_link_get_adjustments()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | atombios_dp.c | 378 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in radeon_dp_probe_oui() 382 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in radeon_dp_probe_oui() 393 ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg, in radeon_dp_getdpcd()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 550 return drm_dp_dpcd_read(&aconnector->dm_dp_aux.aux, address, data, in dm_helpers_dp_read_dpcd() 652 drm_dp_dpcd_read(aux, SYNAPTICS_RC_COMMAND, &rc_cmd, sizeof(rc_cmd)); in execute_synaptics_rc_command() 660 drm_dp_dpcd_read(aux, SYNAPTICS_RC_RESULT, &rc_result, sizeof(rc_result)); in execute_synaptics_rc_command() 665 drm_dp_dpcd_read(aux, SYNAPTICS_RC_DATA, data, length); in execute_synaptics_rc_command()
|
D | amdgpu_dm_mst_types.c | 214 …if (drm_dp_dpcd_read(port->mgr->aux, DP_BRANCH_VENDOR_SPECIFIC_START, &branch_vendor_data, 4) == 4… in is_synaptics_cascaded_panamera() 255 if (drm_dp_dpcd_read(aconnector->dsc_aux, DP_DSC_SUPPORT, dsc_caps, 16) < 0) in validate_dsc_caps_on_connector() 258 if (drm_dp_dpcd_read(aconnector->dsc_aux, in validate_dsc_caps_on_connector() 277 if (drm_dp_dpcd_read(aconnector->dsc_aux, DP_DOWNSTREAMPORT_PRESENT, &ds_port_present, 1) < 0) { in retrieve_downstream_port_device() 658 dret = drm_dp_dpcd_read( in dm_handle_mst_sideband_msg_ready_event()
|
/linux-6.6.21/include/drm/display/ |
D | drm_dp_helper.h | 455 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, 472 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb()
|
/linux-6.6.21/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 477 retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); in analogix_dp_process_clock_recovery() 481 retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, in analogix_dp_process_clock_recovery() 549 retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); in analogix_dp_process_equalizer_training() 558 retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, in analogix_dp_process_equalizer_training() 762 ret = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, in analogix_dp_fast_link_train()
|
D | analogix-anx6345.c | 133 err = drm_dp_dpcd_read(&anx6345->aux, DP_DPCD_REV, in anx6345_dp_link_training()
|
D | analogix-anx78xx.c | 646 err = drm_dp_dpcd_read(&anx78xx->aux, DP_DPCD_REV, in anx78xx_dp_link_training()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 169 ret = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, sink_rates, sizeof(sink_rates)); in nouveau_dp_detect()
|
D | nouveau_backlight.c | 317 ret = drm_dp_dpcd_read(&nv_conn->aux, DP_EDP_DPCD_REV, edp_dpcd, in nv50_backlight_init()
|
/linux-6.6.21/drivers/gpu/drm/xlnx/ |
D | zynqmp_dp.c | 1540 ret = drm_dp_dpcd_read(&dp->aux, 0x0, dp->dpcd, in zynqmp_dp_bridge_detect() 1649 ret = drm_dp_dpcd_read(&dp->aux, DP_SINK_COUNT, status, in zynqmp_dp_irq_handler()
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_dp.c | 1520 drm_dp_dpcd_read(&mtk_dp->aux, DP_ADJUST_REQUEST_LANE0_1, in mtk_dp_train_cr() 1588 drm_dp_dpcd_read(&mtk_dp->aux, DP_ADJUST_REQUEST_LANE0_1, in mtk_dp_train_eq()
|