Lines Matching refs:acomp
854 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
972 list_del(&acomp->node); in avs_component_remove()
1285 struct avs_soc_component *acomp; in avs_soc_component_register() local
1288 acomp = devm_kzalloc(dev, sizeof(*acomp), GFP_KERNEL); in avs_soc_component_register()
1289 if (!acomp) in avs_soc_component_register()
1292 ret = snd_soc_component_initialize(&acomp->base, drv, dev); in avs_soc_component_register()
1297 acomp->base.name = name; in avs_soc_component_register()
1298 INIT_LIST_HEAD(&acomp->node); in avs_soc_component_register()
1300 return snd_soc_add_component(&acomp->base, cpu_dais, num_cpu_dais); in avs_soc_component_register()