Home
last modified time | relevance | path

Searched refs:test_driver (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/rtc/
Drtc-test.c144 static struct platform_driver test_driver = { variable
155 err = platform_driver_register(&test_driver); in test_init()
182 platform_driver_unregister(&test_driver); in test_init()
193 platform_driver_unregister(&test_driver); in test_exit()
/linux-6.12.1/lib/
Dtest_kmod.c73 char *test_driver; member
218 info->ret_sync = request_module("%s", config->test_driver); in run_request()
426 config->test_driver); in run_test_driver()
475 if (config->test_driver) in config_show()
478 config->test_driver); in config_show()
609 return __kstrncpy(&config->test_driver, name, count, GFP_KERNEL); in config_copy_test_driver_name()
624 kfree_const(config->test_driver); in __kmod_config_free()
625 config->test_driver = NULL; in __kmod_config_free()
655 kfree_const(config->test_driver); in config_test_driver_store()
656 config->test_driver = NULL; in config_test_driver_store()
[all …]
Dtest_vmalloc.c423 static struct test_driver { struct
446 struct test_driver *t = private; in test_func() argument
544 struct test_driver *t = &tdriver[i]; in do_concurrent_test()
571 struct test_driver *t = &tdriver[i]; in do_concurrent_test()
/linux-6.12.1/lib/kunit/
Dkunit-test.c804 struct device_driver *test_driver; in kunit_device_driver_test() local
809 test_driver = kunit_driver_create(test, "my_driver"); in kunit_device_driver_test()
812 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_driver); in kunit_device_driver_test()
814 test_driver->probe = driver_probe_hook; in kunit_device_driver_test()
815 test_driver->remove = driver_remove_hook; in kunit_device_driver_test()
817 test_device = kunit_device_register_with_driver(test, "my_device", test_driver); in kunit_device_driver_test()
841 test_device = kunit_device_register_with_driver(test, "my_device", test_driver); in kunit_device_driver_test()
/linux-6.12.1/sound/soc/generic/
Dtest-component.c634 static struct platform_driver test_driver = { variable
642 module_platform_driver(test_driver);
/linux-6.12.1/drivers/pci/endpoint/functions/
Dpci-epf-test.c961 static struct pci_epf_driver test_driver = { variable
980 ret = pci_epf_register_driver(&test_driver); in pci_epf_test_init()
995 pci_epf_unregister_driver(&test_driver); in pci_epf_test_exit()