Lines Matching refs:nv_crtc

454 	struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder);  in nv50_dac_atomic_enable()  local
456 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_dac_atomic_enable()
460 switch (nv_crtc->index) { in nv50_dac_atomic_enable()
477 nv_encoder->crtc = &nv_crtc->base; in nv50_dac_atomic_enable()
573 struct nouveau_crtc *nv_crtc; in nv50_audio_component_get_eld() local
588 nv_crtc = nouveau_crtc(nv_encoder->crtc); in nv50_audio_component_get_eld()
590 if (!nv_crtc || nv_encoder->outp.or.id != port || nv_crtc->index != dev_id) in nv50_audio_component_get_eld()
687 nv50_audio_disable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc) in nv50_audio_disable() argument
700 nvif_outp_hda_eld(&nv_encoder->outp, nv_crtc->index, NULL, 0); in nv50_audio_disable()
704 nv50_audio_component_eld_notify(drm->audio.component, outp->or.id, nv_crtc->index); in nv50_audio_disable()
708 nv50_audio_enable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc, in nv50_audio_enable() argument
721 nvif_outp_hda_eld(&nv_encoder->outp, nv_crtc->index, nv_connector->base.eld, in nv50_audio_enable()
728 nv50_audio_component_eld_notify(drm->audio.component, outp->or.id, nv_crtc->index); in nv50_audio_enable()
735 nv50_hdmi_enable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc, in nv50_hdmi_enable() argument
778 ret = nvif_outp_acquire_tmds(&nv_encoder->outp, nv_crtc->index, true, in nv50_hdmi_enable()
785 args.infoframe.head = nv_crtc->index; in nv50_hdmi_enable()
808 nv50_audio_enable(encoder, nv_crtc, nv_connector, state, mode); in nv50_hdmi_enable()
1497 struct nouveau_crtc *nv_crtc = nouveau_crtc(nv_encoder->crtc); in nv50_sor_atomic_disable() local
1526 nv_encoder->update(nv_encoder, nv_crtc->index, NULL, 0, 0); in nv50_sor_atomic_disable()
1527 nv50_audio_disable(encoder, nv_crtc); in nv50_sor_atomic_disable()
1536 struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder); in nv50_sor_atomic_enable() local
1538 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_sor_atomic_enable()
1554 nv_encoder->crtc = &nv_crtc->base; in nv50_sor_atomic_enable()
1565 nvif_outp_acquire_tmds(outp, nv_crtc->index, false, 0, 0, 0, false); in nv50_sor_atomic_enable()
1567 nv50_hdmi_enable(encoder, nv_crtc, nv_connector, state, mode, hda); in nv50_sor_atomic_enable()
1623 nv50_audio_enable(encoder, nv_crtc, nv_connector, state, mode); in nv50_sor_atomic_enable()
1638 nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth); in nv50_sor_atomic_enable()
1785 struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder); in nv50_pior_atomic_enable() local
1787 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_pior_atomic_enable()
1791 switch (nv_crtc->index) { in nv50_pior_atomic_enable()
1821 nv_encoder->crtc = &nv_crtc->base; in nv50_pior_atomic_enable()