Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/hda/
A Dhdac_component.c39 if (!acomp || !acomp->ops) in snd_hdac_set_codec_wakeup()
48 acomp->ops->codec_wake_override(acomp->dev, enable); in snd_hdac_set_codec_wakeup()
79 if (!acomp || !acomp->ops) in snd_hdac_display_power()
87 cookie = acomp->ops->get_power(acomp->dev); in snd_hdac_display_power()
98 acomp->ops->put_power(acomp->dev, cookie); in snd_hdac_display_power()
128 if (!acomp || !acomp->ops || !acomp->ops->sync_audio_rate) in snd_hdac_sync_audio_rate()
169 if (!acomp || !acomp->ops || !acomp->ops->get_eld) in snd_hdac_acomp_get_eld()
196 if (WARN_ON(!(acomp->dev && acomp->ops))) { in hdac_component_master_bind()
208 ret = acomp->audio_ops->master_bind(dev, acomp); in hdac_component_master_bind()
230 acomp->audio_ops->master_unbind(dev, acomp); in hdac_component_master_unbind()
[all …]
A 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()
150 struct drm_audio_component *acomp; in snd_hdac_i915_init() local
158 sizeof(struct i915_audio_component) - sizeof(*acomp)); in snd_hdac_i915_init()
161 acomp = bus->audio_component; in snd_hdac_i915_init()
162 if (!acomp) in snd_hdac_i915_init()
164 if (!acomp->ops) { in snd_hdac_i915_init()
168 wait_for_completion_killable_timeout(&acomp->master_bind_complete, in snd_hdac_i915_init()
172 if (!acomp->ops) { in snd_hdac_i915_init()
/linux-6.3-rc2/crypto/
A Dacompress.c55 struct acomp_alg *alg = crypto_acomp_alg(acomp); in crypto_acomp_exit_tfm()
57 alg->exit(acomp); in crypto_acomp_exit_tfm()
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()
77 return alg->init(acomp); in crypto_acomp_init_tfm()
125 req = __acomp_request_alloc(acomp); in acomp_request_alloc()
[all …]
A 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()
A Dtestmgr.c3618 struct crypto_acomp *acomp; in alg_test_comp() local
3623 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp()
3624 if (IS_ERR(acomp)) { in alg_test_comp()
3626 driver, PTR_ERR(acomp)); in alg_test_comp()
3627 return PTR_ERR(acomp); in alg_test_comp()
3629 err = test_acomp(acomp, desc->suite.comp.comp.vecs, in alg_test_comp()
3633 crypto_free_acomp(acomp); in alg_test_comp()
/linux-6.3-rc2/Documentation/sound/hd-audio/
A 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.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_audio.c396 rate = acomp ? acomp->aud_sample_rate[port] : 0; in hsw_dp_audio_config_update()
443 rate = acomp ? acomp->aud_sample_rate[port] : 0; in hsw_hdmi_audio_config_update()
843 if (acomp && acomp->base.audio_ops && in intel_audio_codec_enable()
848 acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr, in intel_audio_codec_enable()
900 if (acomp && acomp->base.audio_ops && in intel_audio_codec_disable()
905 acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr, in intel_audio_codec_disable()
1284 if (drm_WARN_ON(&i915->drm, acomp->base.ops || acomp->base.dev)) in i915_audio_component_bind()
1294 acomp->base.dev = i915_kdev; in i915_audio_component_bind()
1297 acomp->aud_sample_rate[i] = 0; in i915_audio_component_bind()
1311 acomp->base.ops = NULL; in i915_audio_component_unbind()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_audio.c735 struct drm_audio_component *acomp; in radeon_audio_component_notify() local
738 acomp = rdev->audio.component; in radeon_audio_component_notify()
739 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in radeon_audio_component_notify()
740 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in radeon_audio_component_notify()
789 struct drm_audio_component *acomp = data; in radeon_audio_component_bind() local
795 acomp->ops = &radeon_audio_component_ops; in radeon_audio_component_bind()
796 acomp->dev = kdev; in radeon_audio_component_bind()
797 rdev->audio.component = acomp; in radeon_audio_component_bind()
808 struct drm_audio_component *acomp = data; in radeon_audio_component_unbind() local
814 acomp->ops = NULL; in radeon_audio_component_unbind()
[all …]
/linux-6.3-rc2/sound/soc/intel/avs/
A Dpcm.c726 struct avs_tplg *tplg = acomp->tplg; in avs_component_load_libraries()
761 struct avs_soc_component *acomp; in avs_component_probe() local
768 acomp = to_avs_soc_component(component); in avs_component_probe()
771 acomp->tplg = avs_tplg_new(component); in avs_component_probe()
772 if (!acomp->tplg) in avs_component_probe()
820 list_del(&acomp->node); in avs_component_remove()
1131 struct avs_soc_component *acomp; in avs_soc_component_register() local
1134 acomp = devm_kzalloc(dev, sizeof(*acomp), GFP_KERNEL); in avs_soc_component_register()
1135 if (!acomp) in avs_soc_component_register()
1143 acomp->base.name = name; in avs_soc_component_register()
[all …]
A Dtopology.c339 if (idx >= acomp->tplg->num_##member) \
342 *val = &acomp->tplg->member[idx]; \
486 struct avs_soc_component *acomp = to_avs_soc_component(comp); in avs_tplg_parse_libraries() local
487 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_libraries()
552 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_audio_formats()
593 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_modcfgs_base()
891 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_modcfgs_ext()
963 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_pplcfgs()
1028 struct avs_tplg *tplg = acomp->tplg; in avs_tplg_parse_bindings()
1420 tplg = acomp->tplg; in avs_widget_load()
[all …]
A 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()
A Dloader.c600 struct avs_soc_component *acomp; in avs_dsp_boot_firmware() local
625 list_for_each_entry(acomp, &adev->comp_list, node) { in avs_dsp_boot_firmware()
626 struct avs_tplg *tplg = acomp->tplg; in avs_dsp_boot_firmware()
A Dpath.c21 struct avs_soc_component *acomp; in avs_path_find_tplg() local
23 list_for_each_entry(acomp, &adev->comp_list, node) in avs_path_find_tplg()
24 if (!strcmp(acomp->tplg->name, name)) in avs_path_find_tplg()
25 return acomp->tplg; in avs_path_find_tplg()
/linux-6.3-rc2/mm/
A Dzswap.c143 struct crypto_acomp *acomp; member
464 struct crypto_acomp *acomp; in zswap_cpu_comp_prepare() local
467 acomp = crypto_alloc_acomp_node(pool->tfm_name, 0, 0, cpu_to_node(cpu)); in zswap_cpu_comp_prepare()
468 if (IS_ERR(acomp)) { in zswap_cpu_comp_prepare()
470 pool->tfm_name, PTR_ERR(acomp)); in zswap_cpu_comp_prepare()
471 return PTR_ERR(acomp); in zswap_cpu_comp_prepare()
473 acomp_ctx->acomp = acomp; in zswap_cpu_comp_prepare()
475 req = acomp_request_alloc(acomp_ctx->acomp); in zswap_cpu_comp_prepare()
479 crypto_free_acomp(acomp_ctx->acomp); in zswap_cpu_comp_prepare()
507 if (!IS_ERR_OR_NULL(acomp_ctx->acomp)) in zswap_cpu_comp_dead()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/
A Ddisp.c557 nv50_audio_component_eld_notify(struct drm_audio_component *acomp, int port, in nv50_audio_component_eld_notify() argument
560 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in nv50_audio_component_eld_notify()
561 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in nv50_audio_component_eld_notify()
617 struct drm_audio_component *acomp = data; in nv50_audio_component_bind() local
623 acomp->ops = &nv50_audio_component_ops; in nv50_audio_component_bind()
624 acomp->dev = kdev; in nv50_audio_component_bind()
625 drm->audio.component = acomp; in nv50_audio_component_bind()
636 struct drm_audio_component *acomp = data; in nv50_audio_component_unbind() local
640 acomp->ops = NULL; in nv50_audio_component_unbind()
641 acomp->dev = NULL; in nv50_audio_component_unbind()
/linux-6.3-rc2/sound/pci/hda/
A Dpatch_hdmi.c2618 static void generic_acomp_notifier_set(struct drm_audio_component *acomp, in generic_acomp_notifier_set() argument
2624 spec = container_of(acomp->audio_ops, struct hdmi_spec, drm_audio_ops); in generic_acomp_notifier_set()
2640 struct drm_audio_component *acomp) in generic_acomp_master_bind() argument
2642 generic_acomp_notifier_set(acomp, true); in generic_acomp_master_bind()
2647 struct drm_audio_component *acomp) in generic_acomp_master_unbind() argument
2649 generic_acomp_notifier_set(acomp, false); in generic_acomp_master_unbind()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm.c922 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_bind() local
924 acomp->ops = &amdgpu_dm_audio_component_ops; in amdgpu_dm_audio_component_bind()
925 acomp->dev = kdev; in amdgpu_dm_audio_component_bind()
926 adev->dm.audio_component = acomp; in amdgpu_dm_audio_component_bind()
936 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_unbind() local
938 acomp->ops = NULL; in amdgpu_dm_audio_component_unbind()
939 acomp->dev = NULL; in amdgpu_dm_audio_component_unbind()
1000 struct drm_audio_component *acomp = adev->dm.audio_component; in amdgpu_dm_audio_eld_notify() local
1002 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) { in amdgpu_dm_audio_eld_notify()
1005 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in amdgpu_dm_audio_eld_notify()

Completed in 63 milliseconds