Lines Matching full:aux

65 	struct drm_dp_aux *aux = &nv_connector->aux;  in nouveau_dp_probe_dpcd()  local
78 !drm_dp_read_dpcd_caps(aux, dpcd) && in nouveau_dp_probe_dpcd()
79 !drm_dp_read_lttpr_common_caps(aux, dpcd, outp->dp.lttpr.caps)) { in nouveau_dp_probe_dpcd()
83 drm_dp_dpcd_writeb(aux, DP_PHY_REPEATER_MODE, in nouveau_dp_probe_dpcd()
87 ret = drm_dp_dpcd_writeb(aux, DP_PHY_REPEATER_MODE, in nouveau_dp_probe_dpcd()
90 drm_dp_dpcd_writeb(aux, DP_PHY_REPEATER_MODE, in nouveau_dp_probe_dpcd()
99 ret = drm_dp_read_dpcd_caps(aux, dpcd); in nouveau_dp_probe_dpcd()
117 ret = drm_dp_dpcd_read(aux, DP_SUPPORTED_LINK_RATES, rates, sizeof(rates)); in nouveau_dp_probe_dpcd()
177 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd()
184 mstm->can_mst = drm_dp_read_mst_cap(aux, dpcd) == DRM_DP_MST; in nouveau_dp_probe_dpcd()
188 ret = drm_dp_read_sink_count(aux); in nouveau_dp_probe_dpcd()
202 ret = drm_dp_read_downstream_info(aux, dpcd, in nouveau_dp_probe_dpcd()
238 // Ensure that the aux bus is enabled for probing in nouveau_dp_detect()
239 drm_dp_dpcd_set_powered(&nv_connector->aux, true); in nouveau_dp_detect()
302 /* GSP doesn't like when we try to do aux transactions on a port it considers disconnected, in nouveau_dp_detect()
303 * and since we don't really have a usecase for that anyway - just disable the aux bus here in nouveau_dp_detect()
307 drm_dp_dpcd_set_powered(&nv_connector->aux, false); in nouveau_dp_detect()
316 struct drm_dp_aux *aux = &outp->conn->aux; in nouveau_dp_power_down() local
322 ret = drm_dp_dpcd_readb(aux, DP_SET_POWER, &pwr); in nouveau_dp_power_down()
326 drm_dp_dpcd_writeb(aux, DP_SET_POWER, pwr); in nouveau_dp_power_down()
336 struct drm_dp_aux *aux = &outp->conn->aux; in nouveau_dp_train_link() local
360 ret = drm_dp_dpcd_read_phy_link_status(aux, DP_PHY_DPRX, stat); in nouveau_dp_train_link()
377 ret = drm_dp_dpcd_read_phy_link_status(aux, DP_PHY_DPRX, stat); in nouveau_dp_train_link()
405 if (drm_dp_dpcd_readb(aux, DP_LANE_COUNT_SET, &tmp) == 1) { in nouveau_dp_train_link()
407 drm_dp_dpcd_writeb(aux, DP_LANE_COUNT_SET, tmp); in nouveau_dp_train_link()
421 struct drm_dp_aux *aux = &outp->conn->aux; in nouveau_dp_train() local
436 if (drm_dp_dpcd_readb(aux, DP_SET_POWER, &pwr) == 1) { in nouveau_dp_train()
440 drm_dp_dpcd_writeb(aux, DP_SET_POWER, pwr); in nouveau_dp_train()
470 if (drm_dp_dpcd_read_phy_link_status(&outp->conn->aux, DP_PHY_DPRX, link_status) < 0) in nouveau_dp_link_check_locked()
519 drm_dp_cec_irq(&nv_connector->aux); in nouveau_dp_irq()
522 ret = drm_dp_read_sink_count(&nv_connector->aux); in nouveau_dp_irq()