Lines Matching refs:acomp

351 	struct i915_audio_component *acomp = i915->display.audio.component;  in hsw_hdmi_audio_config_update()  local
357 rate = acomp ? acomp->aud_sample_rate[port] : 0; in hsw_hdmi_audio_config_update()
731 struct i915_audio_component *acomp = i915->display.audio.component; in intel_audio_codec_enable() local
762 if (acomp && acomp->base.audio_ops && in intel_audio_codec_enable()
763 acomp->base.audio_ops->pin_eld_notify) { in intel_audio_codec_enable()
767 acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr, in intel_audio_codec_enable()
790 struct i915_audio_component *acomp = i915->display.audio.component; in intel_audio_codec_disable() local
819 if (acomp && acomp->base.audio_ops && in intel_audio_codec_disable()
820 acomp->base.audio_ops->pin_eld_notify) { in intel_audio_codec_disable()
824 acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr, in intel_audio_codec_disable()
1121 struct i915_audio_component *acomp = i915->display.audio.component; in i915_audio_component_sync_audio_rate() local
1147 acomp->aud_sample_rate[port] = rate; in i915_audio_component_sync_audio_rate()
1203 struct i915_audio_component *acomp = data; in i915_audio_component_bind() local
1206 if (drm_WARN_ON(&i915->drm, acomp->base.ops || acomp->base.dev)) in i915_audio_component_bind()
1215 acomp->base.ops = &i915_audio_component_ops; in i915_audio_component_bind()
1216 acomp->base.dev = drv_kdev; in i915_audio_component_bind()
1218 for (i = 0; i < ARRAY_SIZE(acomp->aud_sample_rate); i++) in i915_audio_component_bind()
1219 acomp->aud_sample_rate[i] = 0; in i915_audio_component_bind()
1220 i915->display.audio.component = acomp; in i915_audio_component_bind()
1231 struct i915_audio_component *acomp = data; in i915_audio_component_unbind() local
1234 acomp->base.ops = NULL; in i915_audio_component_unbind()
1235 acomp->base.dev = NULL; in i915_audio_component_unbind()