Lines Matching refs:acomp
390 struct i915_audio_component *acomp = dev_priv->audio_component; in hsw_dp_audio_config_update() local
397 rate = acomp ? acomp->aud_sample_rate[port] : 0; in hsw_dp_audio_config_update()
438 struct i915_audio_component *acomp = dev_priv->audio_component; in hsw_hdmi_audio_config_update() local
444 rate = acomp ? acomp->aud_sample_rate[port] : 0; in hsw_hdmi_audio_config_update()
835 struct i915_audio_component *acomp = dev_priv->audio_component; in intel_audio_codec_enable() local
869 if (acomp && acomp->base.audio_ops && in intel_audio_codec_enable()
870 acomp->base.audio_ops->pin_eld_notify) { in intel_audio_codec_enable()
874 acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr, in intel_audio_codec_enable()
897 struct i915_audio_component *acomp = dev_priv->audio_component; in intel_audio_codec_disable() local
912 if (acomp && acomp->base.audio_ops && in intel_audio_codec_disable()
913 acomp->base.audio_ops->pin_eld_notify) { in intel_audio_codec_disable()
917 acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr, in intel_audio_codec_disable()
1143 struct i915_audio_component *acomp = dev_priv->audio_component; in i915_audio_component_sync_audio_rate() local
1167 acomp->aud_sample_rate[port] = rate; in i915_audio_component_sync_audio_rate()
1221 struct i915_audio_component *acomp = data; in i915_audio_component_bind() local
1225 if (drm_WARN_ON(&dev_priv->drm, acomp->base.ops || acomp->base.dev)) in i915_audio_component_bind()
1234 acomp->base.ops = &i915_audio_component_ops; in i915_audio_component_bind()
1235 acomp->base.dev = i915_kdev; in i915_audio_component_bind()
1237 for (i = 0; i < ARRAY_SIZE(acomp->aud_sample_rate); i++) in i915_audio_component_bind()
1238 acomp->aud_sample_rate[i] = 0; in i915_audio_component_bind()
1239 dev_priv->audio_component = acomp; in i915_audio_component_bind()
1248 struct i915_audio_component *acomp = data; in i915_audio_component_unbind() local
1252 acomp->base.ops = NULL; in i915_audio_component_unbind()
1253 acomp->base.dev = NULL; in i915_audio_component_unbind()