Home
last modified time | relevance | path

Searched refs:test_dev (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/lib/
Dtest_kmod.c109 struct kmod_test_device *test_dev; member
179 static void kmod_test_done_check(struct kmod_test_device *test_dev, in kmod_test_done_check() argument
182 struct test_config *config = &test_dev->config; in kmod_test_done_check()
184 test_dev->done++; in kmod_test_done_check()
185 dev_dbg(test_dev->dev, "Done thread count: %u\n", test_dev->done); in kmod_test_done_check()
187 if (test_dev->done == config->num_threads) { in kmod_test_done_check()
188 dev_info(test_dev->dev, "Done: %u threads have all run now\n", in kmod_test_done_check()
189 test_dev->done); in kmod_test_done_check()
190 dev_info(test_dev->dev, "Last thread to run: %u\n", idx); in kmod_test_done_check()
191 complete(&test_dev->kthreads_done); in kmod_test_done_check()
[all …]
Dtest_firmware.c1468 ATTRIBUTE_GROUPS(test_dev);
/linux-6.1.9/sound/soc/
Dsoc-topology-test.c22 static struct device *test_dev; variable
30 test_dev = root_device_register("sound-soc-topology-test"); in snd_soc_tplg_test_init()
31 test_dev = get_device(test_dev); in snd_soc_tplg_test_init()
32 if (!test_dev) in snd_soc_tplg_test_init()
35 test_dev->driver = &test_drv; in snd_soc_tplg_test_init()
42 put_device(test_dev); in snd_soc_tplg_test_exit()
43 root_device_unregister(test_dev); in snd_soc_tplg_test_exit()
253 kunit_comp->card.dev = test_dev, in snd_soc_tplg_test_load_with_null_comp()
265 ret = snd_soc_component_initialize(&kunit_comp->comp, &test_component_null_comp, test_dev); in snd_soc_tplg_test_load_with_null_comp()
273 snd_soc_unregister_component(test_dev); in snd_soc_tplg_test_load_with_null_comp()
[all …]