Home
last modified time | relevance | path

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

/linux-6.12.1/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.c36 struct drm_audio_component *acomp = bus->audio_component; in snd_hdac_i915_set_bclk() local
41 if (!acomp || !acomp->ops || !acomp->ops->get_cdclk_freq) in snd_hdac_i915_set_bclk()
46 cdclk_freq = acomp->ops->get_cdclk_freq(acomp->dev); in snd_hdac_i915_set_bclk()
187 struct drm_audio_component *acomp; in snd_hdac_i915_init() local
195 sizeof(struct i915_audio_component) - sizeof(*acomp)); in snd_hdac_i915_init()
198 acomp = bus->audio_component; in snd_hdac_i915_init()
199 if (!acomp) in snd_hdac_i915_init()
201 if (!acomp->ops) { in snd_hdac_i915_init()
/linux-6.12.1/crypto/
Dacompress.c58 struct crypto_acomp *acomp = __crypto_acomp_tfm(tfm); in crypto_acomp_exit_tfm() local
59 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm()
61 alg->exit(acomp); in crypto_acomp_exit_tfm()
66 struct crypto_acomp *acomp = __crypto_acomp_tfm(tfm); in crypto_acomp_init_tfm() local
67 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_init_tfm()
72 acomp->compress = alg->compress; in crypto_acomp_init_tfm()
73 acomp->decompress = alg->decompress; in crypto_acomp_init_tfm()
74 acomp->dst_free = alg->dst_free; in crypto_acomp_init_tfm()
75 acomp->reqsize = alg->reqsize; in crypto_acomp_init_tfm()
78 acomp->base.exit = crypto_acomp_exit_tfm; in crypto_acomp_init_tfm()
[all …]
Dscompress.c236 struct crypto_acomp *acomp = crypto_acomp_reqtfm(req); in crypto_acomp_scomp_alloc_ctx() local
237 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_alloc_ctx()
255 struct crypto_acomp *acomp = crypto_acomp_reqtfm(req); in crypto_acomp_scomp_free_ctx() local
256 struct crypto_tfm *tfm = crypto_acomp_tfm(acomp); in crypto_acomp_scomp_free_ctx()
Dtestmgr.c3721 struct crypto_acomp *acomp; in alg_test_comp() local
3726 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp()
3727 if (IS_ERR(acomp)) { in alg_test_comp()
3728 if (PTR_ERR(acomp) == -ENOENT) in alg_test_comp()
3731 driver, PTR_ERR(acomp)); in alg_test_comp()
3732 return PTR_ERR(acomp); in alg_test_comp()
3734 err = test_acomp(acomp, desc->suite.comp.comp.vecs, in alg_test_comp()
3738 crypto_free_acomp(acomp); in alg_test_comp()
/linux-6.12.1/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
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_audio.c351 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()
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_audio.c737 struct drm_audio_component *acomp; in radeon_audio_component_notify() local
740 acomp = rdev->audio.component; in radeon_audio_component_notify()
741 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in radeon_audio_component_notify()
742 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in radeon_audio_component_notify()
791 struct drm_audio_component *acomp = data; in radeon_audio_component_bind() local
797 acomp->ops = &radeon_audio_component_ops; in radeon_audio_component_bind()
798 acomp->dev = kdev; in radeon_audio_component_bind()
799 rdev->audio.component = acomp; in radeon_audio_component_bind()
810 struct drm_audio_component *acomp = data; in radeon_audio_component_unbind() local
816 acomp->ops = NULL; in radeon_audio_component_unbind()
[all …]
/linux-6.12.1/mm/
Dzswap.c145 struct crypto_acomp *acomp; member
815 struct crypto_acomp *acomp; in zswap_cpu_comp_prepare() local
825 acomp = crypto_alloc_acomp_node(pool->tfm_name, 0, 0, cpu_to_node(cpu)); in zswap_cpu_comp_prepare()
826 if (IS_ERR(acomp)) { in zswap_cpu_comp_prepare()
828 pool->tfm_name, PTR_ERR(acomp)); in zswap_cpu_comp_prepare()
829 ret = PTR_ERR(acomp); in zswap_cpu_comp_prepare()
832 acomp_ctx->acomp = acomp; in zswap_cpu_comp_prepare()
833 acomp_ctx->is_sleepable = acomp_is_async(acomp); in zswap_cpu_comp_prepare()
835 req = acomp_request_alloc(acomp_ctx->acomp); in zswap_cpu_comp_prepare()
856 crypto_free_acomp(acomp_ctx->acomp); in zswap_cpu_comp_prepare()
[all …]
/linux-6.12.1/sound/soc/intel/avs/
Dtopology.c335 struct avs_soc_component *acomp = to_avs_soc_component(comp); \
340 if (idx >= acomp->tplg->num_##member) \
343 *val = &acomp->tplg->member[idx]; \
515 struct avs_soc_component *acomp = to_avs_soc_component(comp); in avs_tplg_parse_libraries() local
516 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_libraries()
580 struct avs_soc_component *acomp = to_avs_soc_component(comp); in avs_tplg_parse_audio_formats() local
581 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_audio_formats()
621 struct avs_soc_component *acomp = to_avs_soc_component(comp); in avs_tplg_parse_modcfgs_base() local
622 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_modcfgs_base()
931 struct avs_soc_component *acomp = to_avs_soc_component(comp); in avs_tplg_parse_modcfgs_ext() local
[all …]
Dpcm.c854 static int avs_component_load_libraries(struct avs_soc_component *acomp) in avs_component_load_libraries() argument
856 struct avs_tplg *tplg = acomp->tplg; in avs_component_load_libraries()
857 struct avs_dev *adev = to_avs_dev(acomp->base.dev); in avs_component_load_libraries()
891 struct avs_soc_component *acomp; in avs_component_probe() local
898 acomp = to_avs_soc_component(component); in avs_component_probe()
901 acomp->tplg = avs_tplg_new(component); in avs_component_probe()
902 if (!acomp->tplg) in avs_component_probe()
941 ret = avs_component_load_libraries(acomp); in avs_component_probe()
952 list_add_tail(&acomp->node, &adev->comp_list); in avs_component_probe()
964 struct avs_soc_component *acomp = to_avs_soc_component(component); in avs_component_remove() local
[all …]
Dpath.c22 struct avs_soc_component *acomp; in avs_path_find_tplg() local
24 list_for_each_entry(acomp, &adev->comp_list, node) in avs_path_find_tplg()
25 if (!strcmp(acomp->tplg->name, name)) in avs_path_find_tplg()
26 return acomp->tplg; in avs_path_find_tplg()
551 struct avs_soc_component *acomp; in avs_path_module_send_init_configs() local
553 acomp = to_avs_soc_component(mod->template->owner->owner->owner->owner->comp); in avs_path_module_send_init_configs()
559 struct avs_tplg_init_config *config = &acomp->tplg->init_configs[ids[i]]; in avs_path_module_send_init_configs()
Dipc.c97 struct avs_soc_component *acomp; in avs_dsp_recovery() local
103 list_for_each_entry(acomp, &adev->comp_list, node) { in avs_dsp_recovery()
107 card = acomp->base.card; in avs_dsp_recovery()
Dloader.c602 struct avs_soc_component *acomp; in avs_dsp_boot_firmware() local
627 list_for_each_entry(acomp, &adev->comp_list, node) { in avs_dsp_boot_firmware()
628 struct avs_tplg *tplg = acomp->tplg; in avs_dsp_boot_firmware()
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c583 nv50_audio_component_eld_notify(struct drm_audio_component *acomp, int port, in nv50_audio_component_eld_notify() argument
586 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in nv50_audio_component_eld_notify()
587 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in nv50_audio_component_eld_notify()
641 struct drm_audio_component *acomp = data; in nv50_audio_component_bind() local
647 acomp->ops = &nv50_audio_component_ops; in nv50_audio_component_bind()
648 acomp->dev = kdev; in nv50_audio_component_bind()
649 drm->audio.component = acomp; in nv50_audio_component_bind()
659 struct drm_audio_component *acomp = data; in nv50_audio_component_unbind() local
663 acomp->ops = NULL; in nv50_audio_component_unbind()
664 acomp->dev = NULL; in nv50_audio_component_unbind()
/linux-6.12.1/sound/pci/hda/
Dpatch_hdmi.c2632 static void generic_acomp_notifier_set(struct drm_audio_component *acomp, in generic_acomp_notifier_set() argument
2638 spec = container_of(acomp->audio_ops, struct hdmi_spec, drm_audio_ops); in generic_acomp_notifier_set()
2654 struct drm_audio_component *acomp) in generic_acomp_master_bind() argument
2656 generic_acomp_notifier_set(acomp, true); in generic_acomp_master_bind()
2661 struct drm_audio_component *acomp) in generic_acomp_master_unbind() argument
2663 generic_acomp_notifier_set(acomp, false); in generic_acomp_master_unbind()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c1062 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_bind() local
1064 acomp->ops = &amdgpu_dm_audio_component_ops; in amdgpu_dm_audio_component_bind()
1065 acomp->dev = kdev; in amdgpu_dm_audio_component_bind()
1066 adev->dm.audio_component = acomp; in amdgpu_dm_audio_component_bind()
1075 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_unbind() local
1077 acomp->ops = NULL; in amdgpu_dm_audio_component_unbind()
1078 acomp->dev = NULL; in amdgpu_dm_audio_component_unbind()
1139 struct drm_audio_component *acomp = adev->dm.audio_component; in amdgpu_dm_audio_eld_notify() local
1141 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) { in amdgpu_dm_audio_eld_notify()
1144 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in amdgpu_dm_audio_eld_notify()