Home
last modified time | relevance | path

Searched refs:acomp (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/i915/display/
Dintel_audio.c390 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()
[all …]
/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c611 nv50_audio_component_eld_notify(struct drm_audio_component *acomp, int port, in nv50_audio_component_eld_notify() argument
614 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in nv50_audio_component_eld_notify()
615 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in nv50_audio_component_eld_notify()
676 struct drm_audio_component *acomp = data; in nv50_audio_component_bind() local
682 acomp->ops = &nv50_audio_component_ops; in nv50_audio_component_bind()
683 acomp->dev = kdev; in nv50_audio_component_bind()
684 drm->audio.component = acomp; in nv50_audio_component_bind()
695 struct drm_audio_component *acomp = data; in nv50_audio_component_unbind() local
699 acomp->ops = NULL; in nv50_audio_component_unbind()
700 acomp->dev = NULL; in nv50_audio_component_unbind()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c669 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_bind() local
671 acomp->ops = &amdgpu_dm_audio_component_ops; in amdgpu_dm_audio_component_bind()
672 acomp->dev = kdev; in amdgpu_dm_audio_component_bind()
673 adev->dm.audio_component = acomp; in amdgpu_dm_audio_component_bind()
683 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_unbind() local
685 acomp->ops = NULL; in amdgpu_dm_audio_component_unbind()
686 acomp->dev = NULL; in amdgpu_dm_audio_component_unbind()
747 struct drm_audio_component *acomp = adev->dm.audio_component; in amdgpu_dm_audio_eld_notify() local
749 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) { in amdgpu_dm_audio_eld_notify()
752 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in amdgpu_dm_audio_eld_notify()