Lines Matching refs:dpcd
140 max_rate = drm_dp_bw_code_to_link_rate(intel_dp->dpcd[DP_MAX_LINK_RATE]); in intel_dp_set_sink_rates()
184 int sink_max = drm_dp_max_lane_count(intel_dp->dpcd); in intel_dp_max_common_lane_count()
227 ds_max_dotclk = drm_dp_downstream_max_clock(intel_dp->dpcd, in intel_dp_downstream_max_dotclock()
1670 bpc = drm_dp_downstream_max_bpc(intel_dp->dpcd, intel_dp->downstream_ports); in intel_dp_compute_bpp()
1983 if (drm_dp_enhanced_frame_cap(intel_dp->dpcd)) in intel_dp_prepare()
1993 if (drm_dp_enhanced_frame_cap(intel_dp->dpcd)) in intel_dp_prepare()
2008 if (drm_dp_enhanced_frame_cap(intel_dp->dpcd)) in intel_dp_prepare()
2592 return intel_dp->dpcd[DP_DPCD_REV] == 0x11 && in downstream_hpd_needs_d0()
2593 intel_dp->dpcd[DP_DOWNSTREAMPORT_PRESENT] & DP_DWN_STRM_PORT_PRESENT && in downstream_hpd_needs_d0()
2603 if (intel_dp->dpcd[DP_DPCD_REV] < 0x11) in intel_dp_sink_dpms()
2870 uint8_t train_pat_mask = drm_dp_training_pattern_mask(intel_dp->dpcd); in _intel_dp_set_link_train()
3700 if (drm_dp_dpcd_read(&intel_dp->aux, 0x000, intel_dp->dpcd, in intel_dp_read_dpcd()
3701 sizeof(intel_dp->dpcd)) < 0) in intel_dp_read_dpcd()
3704 DRM_DEBUG_KMS("DPCD: %*ph\n", (int) sizeof(intel_dp->dpcd), intel_dp->dpcd); in intel_dp_read_dpcd()
3706 return intel_dp->dpcd[DP_DPCD_REV] != 0; in intel_dp_read_dpcd()
3716 WARN_ON(intel_dp->dpcd[DP_DPCD_REV] != 0); in intel_edp_init_dpcd()
3722 drm_dp_is_branch(intel_dp->dpcd)); in intel_edp_init_dpcd()
3724 if (intel_dp->dpcd[DP_DPCD_REV] >= 0x11) in intel_edp_init_dpcd()
3725 dev_priv->no_aux_handshake = intel_dp->dpcd[DP_MAX_DOWNSPREAD] & in intel_edp_init_dpcd()
3823 if (!drm_dp_is_branch(intel_dp->dpcd)) in intel_dp_get_dpcd()
3826 if (intel_dp->dpcd[DP_DPCD_REV] == 0x10) in intel_dp_get_dpcd()
3848 if (intel_dp->dpcd[DP_DPCD_REV] < 0x12) in intel_dp_can_mst()
4310 if (intel_dp->dpcd[DP_DPCD_REV] >= 0x11 && in intel_dp_short_pulse()
4347 uint8_t *dpcd = intel_dp->dpcd; in intel_dp_detect_dpcd() local
4360 if (!drm_dp_is_branch(dpcd)) in intel_dp_detect_dpcd()
4364 if (intel_dp->dpcd[DP_DPCD_REV] >= 0x11 && in intel_dp_detect_dpcd()
4379 if (intel_dp->dpcd[DP_DPCD_REV] >= 0x11) { in intel_dp_detect_dpcd()
4385 type = intel_dp->dpcd[DP_DOWNSTREAMPORT_PRESENT] & in intel_dp_detect_dpcd()
4700 drm_dp_is_branch(intel_dp->dpcd)); in intel_dp_long_pulse()
4744 if (intel_dp->dpcd[DP_DPCD_REV] >= 0x11 && in intel_dp_long_pulse()