/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_hdcp.c | 99 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BKSV, bksv, in intel_dp_hdcp_read_bksv() 120 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BINFO, in intel_dp_hdcp_read_bstatus() 137 ret = drm_dp_dpcd_read(aux, DP_AUX_HDCP_BCAPS, in intel_dp_hdcp_read_bcaps() 171 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_RI_PRIME, in intel_dp_hdcp_read_ri_prime() 190 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, in intel_dp_hdcp_read_ksv_ready() 212 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in intel_dp_hdcp_read_ksv_fifo() 236 ret = drm_dp_dpcd_read(&dig_port->dp.aux, in intel_dp_hdcp_read_v_prime_part() 264 ret = drm_dp_dpcd_read(&dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, in intel_dp_hdcp_check_link() 351 ret = drm_dp_dpcd_read(aux, in intel_dp_hdcp2_read_rx_status() 499 ret = drm_dp_dpcd_read(aux, in get_receiver_id_list_rx_info() [all …]
|
H A D | intel_lspcon.c | 130 ret = drm_dp_dpcd_read(&intel_dp->aux, get_hdr_status_reg(lspcon), in lspcon_detect_hdr_capability() 323 ret = drm_dp_dpcd_read(aux, LSPCON_PARADE_AVI_IF_CTRL, in lspcon_parade_fw_ready() 446 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 463 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_write_avi_infoframe_mca() 600 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_read_avi_infoframe_enabled_mca() 615 ret = drm_dp_dpcd_read(aux, reg, &val, 1); in _lspcon_read_avi_infoframe_enabled_parade()
|
H A D | intel_dp_aux_backlight.c | 121 ret = drm_dp_dpcd_read(aux, INTEL_EDP_HDR_TCON_CAP0, tcon_cap, sizeof(tcon_cap)); in intel_dp_aux_supports_hdr_backlight() 198 if (drm_dp_dpcd_read(&intel_dp->aux, INTEL_EDP_BRIGHTNESS_NITS_LSB, buf, in intel_dp_aux_hdr_get_backlight()
|
H A D | intel_dp.c | 3422 if (drm_dp_dpcd_read(&intel_dp->aux, DP_SOURCE_OUI, buf, sizeof(buf)) < 0) in intel_dp_init_source_oui() 3589 if (drm_dp_dpcd_read(&intel_dp->aux, DP_PCON_DSC_ENCODER, in intel_dp_get_pcon_dsc_cap() 3967 if (drm_dp_dpcd_read(aux, DP_DSC_SUPPORT, dsc_dpcd, in intel_dp_read_dsc_dpcd() 4131 drm_dp_dpcd_read(&intel_dp->aux, DP_SUPPORTED_LINK_RATES, in intel_edp_set_sink_rates() 4189 if (drm_dp_dpcd_read(&intel_dp->aux, DP_EDP_DPCD_REV, in intel_edp_init_dpcd() 4375 return drm_dp_dpcd_read(&intel_dp->aux, DP_SINK_COUNT_ESI, esi, 4) == 4; in intel_dp_get_sink_irq_esi() 4890 if (drm_dp_dpcd_read(&intel_dp->aux, DP_LANE0_1_STATUS_ESI, link_status, in intel_dp_mst_link_status()
|
H A D | intel_psr.c | 566 r = drm_dp_dpcd_read(&intel_dp->aux, in intel_dp_get_su_granularity() 579 r = drm_dp_dpcd_read(&intel_dp->aux, in intel_dp_get_su_granularity() 672 drm_dp_dpcd_read(&intel_dp->aux, DP_PSR_SUPPORT, intel_dp->psr_dpcd, in intel_psr_init_dpcd()
|
H A D | intel_dp_link_training.c | 801 drm_dp_dpcd_read(&intel_dp->aux, DP_SUPPORTED_LINK_RATES, in intel_dp_prepare_link_train()
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 649 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, in drm_dp_dpcd_read() function 681 EXPORT_SYMBOL(drm_dp_dpcd_read); 724 return drm_dp_dpcd_read(aux, DP_LANE0_1_STATUS, status, in drm_dp_dpcd_read_link_status() 749 ret = drm_dp_dpcd_read(aux, in drm_dp_dpcd_read_phy_link_status() 762 ret = drm_dp_dpcd_read(aux, in drm_dp_dpcd_read_phy_link_status() 862 if (drm_dp_dpcd_read(aux, DP_DEVICE_SERVICE_IRQ_VECTOR, in drm_dp_send_real_edid_checksum() 870 if (drm_dp_dpcd_read(aux, DP_TEST_REQUEST, &link_edid_read, 1) < 1) { in drm_dp_send_real_edid_checksum() 936 ret = drm_dp_dpcd_read(aux, DP_DP13_DPCD_REV, &dpcd_ext, in drm_dp_read_extended_dpcd_caps() 978 ret = drm_dp_dpcd_read(aux, DP_DPCD_REV, dpcd, DP_RECEIVER_CAP_SIZE); in drm_dp_read_dpcd_caps() 1031 ret = drm_dp_dpcd_read(aux, DP_DOWNSTREAM_PORT_0, downstream_ports, len); in drm_dp_read_downstream_info() [all …]
|
H A D | drm_dp_aux_dev.c | 166 res = drm_dp_dpcd_read(aux_dev->aux, pos, buf, todo); in auxdev_read_iter()
|
H A D | drm_dp_cec.c | 205 err = drm_dp_dpcd_read(aux, DP_CEC_RX_MESSAGE_BUFFER, msg.msg, msg.len); in drm_dp_cec_received()
|
H A D | drm_dp_tunnel.c | 225 if (drm_dp_dpcd_read(aux, address, tunnel_reg_ptr(regs, address), len) < 0) in read_tunnel_regs()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 221 …if (drm_dp_dpcd_read(port->mgr->aux, DP_BRANCH_VENDOR_SPECIFIC_START, &branch_vendor_data, 4) == 4… in is_synaptics_cascaded_panamera() 262 if (drm_dp_dpcd_read(aconnector->dsc_aux, DP_DSC_SUPPORT, dsc_caps, 16) < 0) in validate_dsc_caps_on_connector() 265 if (drm_dp_dpcd_read(aconnector->dsc_aux, in validate_dsc_caps_on_connector() 285 if (drm_dp_dpcd_read(aconnector->dsc_aux, DP_DOWNSTREAMPORT_PRESENT, &ds_port_present, 1) < 0) { in retrieve_downstream_port_device() 683 dret = drm_dp_dpcd_read( in dm_handle_mst_sideband_msg_ready_event() 1732 if (drm_dp_dpcd_read(aux, DP_MAIN_LINK_CHANNEL_CODING_SET, &dp_link_encoding, 1) != 1 || in dp_get_link_current_set_bw() 1733 drm_dp_dpcd_read(aux, DP_LANE_COUNT_SET, &lane_count.raw, 1) != 1 || in dp_get_link_current_set_bw() 1734 drm_dp_dpcd_read(aux, DP_LINK_BW_SET, &link_bw_set, 1) != 1) in dp_get_link_current_set_bw()
|
/linux/drivers/gpu/drm/tegra/ |
H A 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/drivers/gpu/drm/radeon/ |
H A D | atombios_dp.c | 373 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) in radeon_dp_probe_oui() 377 if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) in radeon_dp_probe_oui() 388 ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg, in radeon_dp_getdpcd()
|
/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | analogix_dp_core.c | 396 retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); in analogix_dp_process_clock_recovery() 416 retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, in analogix_dp_process_clock_recovery() 462 retval = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, 2); in analogix_dp_process_equalizer_training() 471 retval = drm_dp_dpcd_read(&dp->aux, DP_ADJUST_REQUEST_LANE0_1, in analogix_dp_process_equalizer_training() 663 ret = drm_dp_dpcd_read(&dp->aux, DP_LANE0_1_STATUS, link_status, in analogix_dp_fast_link_train()
|
H A D | analogix-anx6345.c | 133 err = drm_dp_dpcd_read(&anx6345->aux, DP_DPCD_REV, in anx6345_dp_link_training()
|
H A D | analogix-anx78xx.c | 646 err = drm_dp_dpcd_read(&anx78xx->aux, DP_DPCD_REV, in anx78xx_dp_link_training()
|
/linux/include/drm/display/ |
H A D | drm_dp_helper.h | 525 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset, 542 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_backlight.c | 252 ret = drm_dp_dpcd_read(&nv_conn->aux, DP_EDP_DPCD_REV, edp_dpcd, in nv50_backlight_init()
|
H A D | nouveau_dp.c | 117 ret = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, rates, sizeof(rates)); in nouveau_dp_probe_dpcd()
|
/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_panel.c | 36 rlen = drm_dp_dpcd_read(panel->aux, DP_PSR_SUPPORT, in msm_dp_panel_read_psr_cap()
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dp.c | 1621 drm_dp_dpcd_read(&mtk_dp->aux, DP_ADJUST_REQUEST_LANE0_1, in mtk_dp_train_cr() 1689 drm_dp_dpcd_read(&mtk_dp->aux, DP_ADJUST_REQUEST_LANE0_1, in mtk_dp_train_eq()
|
/linux/drivers/gpu/drm/bridge/ |
H A D | tc358767.c | 835 ret = drm_dp_dpcd_read(&tc->aux, DP_DPCD_REV, tc->link.dpcd, in tc_get_display_props()
|
/linux/drivers/gpu/drm/bridge/cadence/ |
H A D | cdns-mhdp8546-core.c | 1442 err = drm_dp_dpcd_read(&mhdp->aux, addr, dpcd, DP_RECEIVER_CAP_SIZE); in cdns_mhdp_link_up()
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | disp.c | 1391 rc = drm_dp_dpcd_read(aux, DP_SINK_COUNT_ESI, esi, 8); in nv50_mstm_service()
|