Lines Matching refs:dpcd
42 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc);
69 u8 *dpcd = outp->dp.dpcd;
78 !drm_dp_read_dpcd_caps(aux, dpcd) &&
79 !drm_dp_read_lttpr_common_caps(aux, dpcd, outp->dp.lttpr.caps)) {
86 ret = drm_dp_read_dpcd_caps(aux, dpcd);
90 outp->dp.link_nr = dpcd[DP_MAX_LANE_COUNT] & DP_MAX_LANE_COUNT_MASK;
101 if (connector->connector_type == DRM_MODE_CONNECTOR_eDP && dpcd[DP_DPCD_REV] >= 0x13) {
121 outp->dp.rate[j].dpcd = i;
130 u32 max_rate = dpcd[DP_MAX_LINK_RATE] * 27000;
143 outp->dp.rate[outp->dp.rate_nr].dpcd = -1;
164 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd));
171 mstm->can_mst = drm_dp_read_mst_cap(aux, dpcd) == DRM_DP_MST;
189 ret = drm_dp_read_downstream_info(aux, dpcd,
212 u8 *dpcd = nv_encoder->dp.dpcd;
264 NV_DEBUG(drm, "sink dpcd version: 0x%02x\n", dpcd[DP_DPCD_REV]);
327 if ( (outp->dp.dpcd[DP_MAX_LANE_COUNT] & 0x20) &&
328 !(outp->dp.dpcd[DP_MAX_DOWNSPREAD] & DP_TPS4_SUPPORTED))
332 ret = nvif_outp_dp_train(&outp->outp, outp->dp.dpcd,
550 ds_max_dotclock = drm_dp_downstream_max_dotclock(outp->dp.dpcd, outp->dp.downstream_ports);