Searched refs:test_driver (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/rtc/ |
H A D | rtc-test.c | 144 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/lib/ |
H A D | test_kmod.c | 79 char *test_driver; member 224 info->ret_sync = request_module("%s", config->test_driver); in run_request() 432 config->test_driver); in run_test_driver() 481 if (config->test_driver) in config_show() 484 config->test_driver); in config_show() 620 return __kstrncpy(&config->test_driver, name, count, GFP_KERNEL); in config_copy_test_driver_name() 635 kfree_const(config->test_driver); in __kmod_config_free() 636 config->test_driver = NULL; in __kmod_config_free() 666 kfree_const(config->test_driver); in config_test_driver_store() 667 config->test_driver = NULL; in config_test_driver_store() [all …]
|
H A D | test_vmalloc.c | 424 static struct test_driver { 447 struct test_driver *t = private; in test_func() 546 struct test_driver *t = &tdriver[i]; in do_concurrent_test() 573 struct test_driver *t = &tdriver[i]; in do_concurrent_test() 422 static struct test_driver { global() struct 445 stoptest_driver test_func() argument
|
/linux/lib/kunit/ |
H A D | kunit-test.c | 808 struct device_driver *test_driver; in kunit_device_driver_test() local 815 test_driver = kunit_driver_create(test, "my_driver"); in kunit_device_driver_test() 818 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_driver); in kunit_device_driver_test() 820 test_driver->probe = driver_probe_hook; in kunit_device_driver_test() 821 test_driver->remove = driver_remove_hook; in kunit_device_driver_test() 823 test_device = kunit_device_register_with_driver(test, "my_device", test_driver); in kunit_device_driver_test() 847 test_device = kunit_device_register_with_driver(test, "my_device", test_driver); in kunit_device_driver_test()
|
/linux/sound/soc/generic/ |
H A D | test-component.c | 644 static struct platform_driver test_driver = { variable 652 module_platform_driver(test_driver);
|
/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-test.c | 1156 static struct pci_epf_driver test_driver = { variable 1175 ret = pci_epf_register_driver(&test_driver); in pci_epf_test_init() 1190 pci_epf_unregister_driver(&test_driver); in pci_epf_test_exit()
|