Lines Matching refs:nv_crtc

486 	struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder);  in nv50_dac_atomic_enable()  local
488 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_dac_atomic_enable()
492 switch (nv_crtc->index) { in nv50_dac_atomic_enable()
510 nv_encoder->crtc = &nv_crtc->base; in nv50_dac_atomic_enable()
598 struct nouveau_crtc *nv_crtc; in nv50_audio_component_get_eld() local
613 nv_crtc = nouveau_crtc(nv_encoder->crtc); in nv50_audio_component_get_eld()
615 if (!nv_crtc || nv_encoder->outp.or.id != port || nv_crtc->index != dev_id) in nv50_audio_component_get_eld()
722 nv50_audio_disable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc) in nv50_audio_disable() argument
734 nvif_outp_hda_eld(&nv_encoder->outp, nv_crtc->index, NULL, 0); in nv50_audio_disable()
738 nv50_audio_component_eld_notify(drm->audio.component, outp->or.id, nv_crtc->index); in nv50_audio_disable()
742 nv50_audio_enable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc, in nv50_audio_enable() argument
755 nvif_outp_hda_eld(&nv_encoder->outp, nv_crtc->index, nv_connector->base.eld, in nv50_audio_enable()
761 nv50_audio_component_eld_notify(drm->audio.component, outp->or.id, nv_crtc->index); in nv50_audio_enable()
768 nv50_hdmi_enable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc, in nv50_hdmi_enable() argument
811 ret = nvif_outp_hdmi(&nv_encoder->outp, nv_crtc->index, true, max_ac_packet, rekey, in nv50_hdmi_enable()
819 args.infoframe.head = nv_crtc->index; in nv50_hdmi_enable()
1740 struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder); in nv50_sor_atomic_enable() local
1742 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_sor_atomic_enable()
1745 struct nv50_head *head = nv50_head(&nv_crtc->base); in nv50_sor_atomic_enable()
1759 nv_encoder->crtc = &nv_crtc->base; in nv50_sor_atomic_enable()
1774 nv50_hdmi_enable(encoder, nv_crtc, nv_connector, state, mode, hda); in nv50_sor_atomic_enable()
1847 nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth); in nv50_sor_atomic_enable()
1977 struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder); in nv50_pior_atomic_enable() local
1979 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_pior_atomic_enable()
1983 switch (nv_crtc->index) { in nv50_pior_atomic_enable()
2015 nv_encoder->crtc = &nv_crtc->base; in nv50_pior_atomic_enable()