Lines Matching refs:component
41 * helper struct we use when registering component, as we load topology during
42 * component probe, we need to pass struct kunit somehow to probe function, so
53 static int d_probe(struct snd_soc_component *component)
56 container_of(component, struct kunit_soc_component, comp);
59 ret = snd_soc_tplg_component_load(component, NULL, &kunit_comp->fw);
66 static void d_remove(struct snd_soc_component *component)
69 container_of(component, struct kunit_soc_component, comp);
72 ret = snd_soc_tplg_component_remove(component);
210 // Test passing NULL component as parameter to snd_soc_tplg_component_load
214 * topology load during component initialization, we don't need .remove
217 static int d_probe_null_comp(struct snd_soc_component *component)
220 container_of(component, struct kunit_soc_component, comp);
223 /* instead of passing component pointer as first argument, pass NULL here */
318 * when calling topology load during component initialization, we don't need
321 static int d_probe_null_fw(struct snd_soc_component *component)
324 container_of(component, struct kunit_soc_component, comp);
328 ret = snd_soc_tplg_component_load(component, NULL, NULL);
694 // with component reload