Lines Matching refs:crtc
152 static bool audio_rate_need_prog(struct intel_crtc *crtc, in audio_rate_need_prog() argument
157 intel_pipe_has_type(crtc, INTEL_OUTPUT_HDMI)) in audio_rate_need_prog()
251 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc); in hsw_audio_codec_disable()
283 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc); in hsw_audio_codec_enable()
361 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc); in ilk_audio_codec_disable()
410 struct intel_crtc *intel_crtc = to_intel_crtc(encoder->base.crtc); in ilk_audio_codec_enable()
498 struct intel_crtc *crtc = to_intel_crtc(encoder->crtc); in intel_audio_codec_enable() local
499 const struct drm_display_mode *adjusted_mode = &crtc->config->base.adjusted_mode; in intel_audio_codec_enable()
519 if (intel_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT)) in intel_audio_codec_enable()
638 struct intel_crtc *crtc; in i915_audio_component_sync_audio_rate() local
658 crtc = to_intel_crtc(intel_encoder->base.crtc); in i915_audio_component_sync_audio_rate()
659 if (!crtc) { in i915_audio_component_sync_audio_rate()
663 pipe = crtc->pipe; in i915_audio_component_sync_audio_rate()
675 mode = &crtc->config->base.adjusted_mode; in i915_audio_component_sync_audio_rate()
681 if (!audio_rate_need_prog(crtc, mode)) { in i915_audio_component_sync_audio_rate()