| /linux/sound/hda/core/ |
| H A D | i915.c | 36 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/Documentation/sound/hd-audio/ |
| H A D | dp-mst.rst | 44 - 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/drivers/gpu/drm/radeon/ |
| H A D | radeon_audio.c | 737 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() 797 struct drm_audio_component *acomp = data; in radeon_audio_component_bind() local 803 acomp->ops = &radeon_audio_component_ops; in radeon_audio_component_bind() 804 acomp->dev = kdev; in radeon_audio_component_bind() 805 rdev->audio.component = acomp; in radeon_audio_component_bind() 816 struct drm_audio_component *acomp = data; in radeon_audio_component_unbind() local 822 acomp->ops = NULL; in radeon_audio_component_unbind() [all …]
|
| /linux/mm/ |
| H A D | zswap.c | 140 struct crypto_acomp *acomp; member 739 struct crypto_acomp *acomp = NULL; in zswap_cpu_comp_prepare() local 750 acomp = crypto_alloc_acomp_node(pool->tfm_name, 0, 0, cpu_to_node(cpu)); in zswap_cpu_comp_prepare() 751 if (IS_ERR(acomp)) { in zswap_cpu_comp_prepare() 753 pool->tfm_name, acomp); in zswap_cpu_comp_prepare() 754 ret = PTR_ERR(acomp); in zswap_cpu_comp_prepare() 758 req = acomp_request_alloc(acomp); in zswap_cpu_comp_prepare() 783 acomp_ctx->acomp = acomp; in zswap_cpu_comp_prepare() 789 if (!IS_ERR_OR_NULL(acomp)) in zswap_cpu_comp_prepare() 790 crypto_free_acomp(acomp); in zswap_cpu_comp_prepare() [all …]
|
| /linux/sound/soc/intel/avs/ |
| H A D | pcm.c | 958 static int avs_component_load_libraries(struct avs_soc_component *acomp) in avs_component_load_libraries() argument 960 struct avs_tplg *tplg = acomp->tplg; in avs_component_load_libraries() 961 struct avs_dev *adev = to_avs_dev(acomp->base.dev); in avs_component_load_libraries() 994 struct avs_soc_component *acomp; in avs_component_probe() local 1001 acomp = to_avs_soc_component(component); in avs_component_probe() 1004 acomp->tplg = avs_tplg_new(component); in avs_component_probe() 1005 if (!acomp->tplg) in avs_component_probe() 1045 ret = avs_component_load_libraries(acomp); in avs_component_probe() 1056 list_add_tail(&acomp->node, &adev->comp_list); in avs_component_probe() 1068 struct avs_soc_component *acomp = to_avs_soc_component(component); in avs_component_remove() local [all …]
|
| H A D | path.c | 22 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() 841 struct avs_soc_component *acomp; in avs_path_module_send_init_configs() local 843 acomp = to_avs_soc_component(mod->template->owner->owner->owner->owner->comp); in avs_path_module_send_init_configs() 849 struct avs_tplg_init_config *config = &acomp->tplg->init_configs[ids[i]]; in avs_path_module_send_init_configs() 1249 struct avs_soc_component *acomp; in avs_condpaths_walk() local 1261 list_for_each_entry(acomp, &adev->comp_list, node) { in avs_condpaths_walk() 1262 for (int i = 0; i < acomp->tplg->num_condpath_tmpls; i++) { in avs_condpaths_walk() [all …]
|
| H A D | loader.c | 609 struct avs_soc_component *acomp; in avs_load_firmware() local 634 list_for_each_entry(acomp, &adev->comp_list, node) { in avs_load_firmware() 635 struct avs_tplg *tplg = acomp->tplg; in avs_load_firmware()
|
| /linux/crypto/ |
| H A D | deflate.c | 231 static struct acomp_alg acomp = { variable 243 return crypto_register_acomp(&acomp); in deflate_mod_init() 248 crypto_unregister_acomp(&acomp); in deflate_mod_fini()
|
| H A D | testmgr.c | 3466 struct crypto_acomp *acomp; in alg_test_comp() local 3469 acomp = crypto_alloc_acomp(driver, type, mask); in alg_test_comp() 3470 if (IS_ERR(acomp)) { in alg_test_comp() 3471 if (PTR_ERR(acomp) == -ENOENT) in alg_test_comp() 3474 driver, PTR_ERR(acomp)); in alg_test_comp() 3475 return PTR_ERR(acomp); in alg_test_comp() 3477 err = test_acomp(acomp, desc->suite.comp.comp.vecs, in alg_test_comp() 3481 crypto_free_acomp(acomp); in alg_test_comp()
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | hdmi_local.h | 284 struct drm_audio_component *acomp); 286 struct drm_audio_component *acomp);
|
| H A D | hdmi.c | 2173 static void generic_acomp_notifier_set(struct drm_audio_component *acomp, in generic_acomp_notifier_set() argument 2179 spec = container_of(acomp->audio_ops, struct hdmi_spec, drm_audio_ops); in generic_acomp_notifier_set() 2194 struct drm_audio_component *acomp) in snd_hda_hdmi_acomp_master_bind() argument 2196 generic_acomp_notifier_set(acomp, true); in snd_hda_hdmi_acomp_master_bind() 2202 struct drm_audio_component *acomp) in snd_hda_hdmi_acomp_master_unbind() argument 2204 generic_acomp_notifier_set(acomp, false); in snd_hda_hdmi_acomp_master_unbind()
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | disp.c | 593 nv50_audio_component_eld_notify(struct drm_audio_component *acomp, int port, in nv50_audio_component_eld_notify() argument 596 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) in nv50_audio_component_eld_notify() 597 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in nv50_audio_component_eld_notify() 651 struct drm_audio_component *acomp = data; in nv50_audio_component_bind() local 657 acomp->ops = &nv50_audio_component_ops; in nv50_audio_component_bind() 658 acomp->dev = kdev; in nv50_audio_component_bind() 659 drm->audio.component = acomp; in nv50_audio_component_bind() 669 struct drm_audio_component *acomp = data; in nv50_audio_component_unbind() local 673 acomp->ops = NULL; in nv50_audio_component_unbind() 674 acomp->dev = NULL; in nv50_audio_component_unbind()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 1157 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_bind() local 1159 acomp->ops = &amdgpu_dm_audio_component_ops; in amdgpu_dm_audio_component_bind() 1160 acomp->dev = kdev; in amdgpu_dm_audio_component_bind() 1161 adev->dm.audio_component = acomp; in amdgpu_dm_audio_component_bind() 1170 struct drm_audio_component *acomp = data; in amdgpu_dm_audio_component_unbind() local 1172 acomp->ops = NULL; in amdgpu_dm_audio_component_unbind() 1173 acomp->dev = NULL; in amdgpu_dm_audio_component_unbind() 1234 struct drm_audio_component *acomp = adev->dm.audio_component; in amdgpu_dm_audio_eld_notify() local 1236 if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify) { in amdgpu_dm_audio_eld_notify() 1239 acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, in amdgpu_dm_audio_eld_notify()
|