Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/hda/
Dhdac_component.c37 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_set_codec_wakeup() local
39 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup()
42 if (!acomp->ops->codec_wake_override) in snd_hdac_set_codec_wakeup()
48 acomp->ops->codec_wake_override(acomp->dev, enable); in snd_hdac_set_codec_wakeup()
68 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_display_power() local
79 if (!acomp || !acomp->ops) in snd_hdac_display_power()
86 if (acomp->ops->get_power) in snd_hdac_display_power()
87 cookie = acomp->ops->get_power(acomp->dev); in snd_hdac_display_power()
97 if (acomp->ops->put_power) in snd_hdac_display_power()
98 acomp->ops->put_power(acomp->dev, cookie); in snd_hdac_display_power()
[all …]
Dhdac_i915.c35 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_i915_set_bclk() local
40 if (!acomp || !acomp->ops || !acomp->ops->get_cdclk_freq) in snd_hdac_i915_set_bclk()
45 cdclk_freq = acomp->ops->get_cdclk_freq(acomp->dev); in snd_hdac_i915_set_bclk()
145 struct drm_audio_component *acomp; in snd_hdac_i915_init() local
153 sizeof(struct i915_audio_component) - sizeof(*acomp)); in snd_hdac_i915_init()
156 acomp = bus->audio_component; in snd_hdac_i915_init()
157 if (!acomp) in snd_hdac_i915_init()
159 if (!acomp->ops) { in snd_hdac_i915_init()
163 wait_for_completion_timeout(&acomp->master_bind_complete, in snd_hdac_i915_init()
167 if (!acomp->ops) { in snd_hdac_i915_init()
/kernel/linux/linux-5.10/crypto/
Dacompress.c54 struct crypto_acomp *acomp = __crypto_acomp_tfm(tfm); in crypto_acomp_exit_tfm() local
55 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm()
57 alg->exit(acomp); in crypto_acomp_exit_tfm()
62 struct crypto_acomp *acomp = __crypto_acomp_tfm(tfm); in crypto_acomp_init_tfm() local
63 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm()
68 acomp->compress = alg->compress; in crypto_acomp_init_tfm()
69 acomp->decompress = alg->decompress; in crypto_acomp_init_tfm()
70 acomp->dst_free = alg->dst_free; in crypto_acomp_init_tfm()
71 acomp->reqsize = alg->reqsize; in crypto_acomp_init_tfm()
74 acomp->base.exit = crypto_acomp_exit_tfm; in crypto_acomp_init_tfm()
[all …]
Dscompress.c215 struct crypto_acomp *acomp = crypto_acomp_reqtfm(req); in crypto_acomp_scomp_alloc_ctx() local
216 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_alloc_ctx()
234 struct crypto_acomp *acomp = crypto_acomp_reqtfm(req); in crypto_acomp_scomp_free_ctx() local
235 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_free_ctx()
Dtestmgr.c3546 struct crypto_acomp *acomp; in alg_test_comp() local
3551 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp()
3552 if (IS_ERR(acomp)) { in alg_test_comp()
3554 driver, PTR_ERR(acomp)); in alg_test_comp()
3555 return PTR_ERR(acomp); in alg_test_comp()
3557 err = test_acomp(acomp, desc->suite.comp.comp.vecs, in alg_test_comp()
3561 crypto_free_acomp(acomp); in alg_test_comp()
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Ddp-mst.rst44 - MST must be dyn_pcm_assign, and it is acomp (for Intel scenario);
45 - NON-MST may or may not be dyn_pcm_assign, it can be acomp or !acomp;
48 a. MST (&& dyn_pcm_assign && acomp)
49 b. NON-MST && dyn_pcm_assign && acomp
50 c. NON-MST && !dyn_pcm_assign && !acomp
78 Enable unsolicited event if !acomp.
83 - acomp
91 - !acomp
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c579 nv50_audio_component_eld_notify(struct drm_audio_component *acomp, int port, in nv50_audio_component_eld_notify() argument
582 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in nv50_audio_component_eld_notify()
583 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in nv50_audio_component_eld_notify()
644 struct drm_audio_component *acomp = data; in nv50_audio_component_bind() local
650 acomp->ops = &nv50_audio_component_ops; in nv50_audio_component_bind()
651 acomp->dev = kdev; in nv50_audio_component_bind()
652 drm->audio.component = acomp; in nv50_audio_component_bind()
663 struct drm_audio_component *acomp = data; in nv50_audio_component_unbind() local
667 acomp->ops = NULL; in nv50_audio_component_unbind()
668 acomp->dev = NULL; in nv50_audio_component_unbind()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/pci/hda/
Dpatch_hdmi.c2626 static void generic_acomp_notifier_set(struct drm_audio_component *acomp, in generic_acomp_notifier_set() argument
2632 spec = container_of(acomp->audio_ops, struct hdmi_spec, drm_audio_ops); in generic_acomp_notifier_set()
2648 struct drm_audio_component *acomp) in generic_acomp_master_bind() argument
2650 generic_acomp_notifier_set(acomp, true); in generic_acomp_master_bind()
2655 struct drm_audio_component *acomp) in generic_acomp_master_unbind() argument
2657 generic_acomp_notifier_set(acomp, false); in generic_acomp_master_unbind()