Lines Matching refs:outp
41 struct nouveau_encoder *outp) in nouveau_dp_has_sink_count() argument
43 return drm_dp_read_sink_count_cap(connector, outp->dp.dpcd, &outp->dp.desc); in nouveau_dp_has_sink_count()
48 struct nouveau_encoder *outp) in nouveau_dp_probe_dpcd() argument
55 u8 *dpcd = outp->dp.dpcd; in nouveau_dp_probe_dpcd()
61 ret = drm_dp_read_desc(aux, &outp->dp.desc, drm_dp_is_branch(dpcd)); in nouveau_dp_probe_dpcd()
66 mstm = outp->dp.mstm; in nouveau_dp_probe_dpcd()
71 if (nouveau_dp_has_sink_count(connector, outp)) { in nouveau_dp_probe_dpcd()
76 outp->dp.sink_count = ret; in nouveau_dp_probe_dpcd()
82 if (!outp->dp.sink_count) in nouveau_dp_probe_dpcd()
87 outp->dp.downstream_ports); in nouveau_dp_probe_dpcd()
95 outp->dp.sink_count = 0; in nouveau_dp_probe_dpcd()
188 struct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP); in nouveau_dp_irq() local
193 if (!outp) in nouveau_dp_irq()
196 mstm = outp->dp.mstm; in nouveau_dp_irq()
199 mutex_lock(&outp->dp.hpd_irq_lock); in nouveau_dp_irq()
207 if (nouveau_dp_has_sink_count(connector, outp)) { in nouveau_dp_irq()
209 if (ret != outp->dp.sink_count) in nouveau_dp_irq()
212 outp->dp.sink_count = ret; in nouveau_dp_irq()
216 mutex_unlock(&outp->dp.hpd_irq_lock); in nouveau_dp_irq()
230 struct nouveau_encoder *outp, in nv50_dp_mode_valid() argument
238 if (mode->flags & DRM_MODE_FLAG_INTERLACE && !outp->caps.dp_interlace) in nv50_dp_mode_valid()
244 max_rate = outp->dp.link_nr * outp->dp.link_bw; in nv50_dp_mode_valid()
249 ds_max_dotclock = drm_dp_downstream_max_dotclock(outp->dp.dpcd, outp->dp.downstream_ports); in nv50_dp_mode_valid()