Lines Matching defs:component
47 * helper struct we use when registering component, as we load topology during
48 * component probe, we need to pass struct kunit somehow to probe function, so
59 static int d_probe(struct snd_soc_component *component)
62 container_of(component, struct kunit_soc_component, comp);
65 ret = snd_soc_tplg_component_load(component, NULL, &kunit_comp->fw);
72 static void d_remove(struct snd_soc_component *component)
75 container_of(component, struct kunit_soc_component, comp);
78 ret = snd_soc_tplg_component_remove(component);
216 // Test passing NULL component as parameter to snd_soc_tplg_component_load
220 * topology load during component initialization, we don't need .remove
223 static int d_probe_null_comp(struct snd_soc_component *component)
226 container_of(component, struct kunit_soc_component, comp);
229 /* instead of passing component pointer as first argument, pass NULL here */
324 * when calling topology load during component initialization, we don't need
327 static int d_probe_null_fw(struct snd_soc_component *component)
330 container_of(component, struct kunit_soc_component, comp);
334 ret = snd_soc_tplg_component_load(component, NULL, NULL);
700 // with component reload