Searched refs:test_device (Results 1 – 5 of 5) sorted by relevance
| /linux/lib/kunit/ |
| H A D | kunit-test.c | 747 struct device *test_device; in kunit_device_test() local 750 test_device = kunit_device_register(test, "my_device"); in kunit_device_test() 751 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device); in kunit_device_test() 754 devm_add_action(test_device, test_dev_action, &action_was_run); in kunit_device_test() 758 kunit_device_unregister(test, test_device); in kunit_device_test() 765 struct device *test_device; in kunit_device_cleanup_test() local 768 test_device = kunit_device_register(test, "my_device"); in kunit_device_cleanup_test() 769 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device); in kunit_device_cleanup_test() 772 devm_add_action(test_device, test_dev_action, &action_was_run); in kunit_device_cleanup_test() 809 struct device *test_device; in kunit_device_driver_test() local [all …]
|
| /linux/tools/testing/selftests/pci_endpoint/ |
| H A D | pci_endpoint_test.c | 31 static const char *test_device = "/dev/pci-endpoint-test.0"; variable 41 self->fd = open(test_device, O_RDWR); in FIXTURE_SETUP() 80 self->fd = open(test_device, O_RDWR); in FIXTURE_SETUP() 155 self->fd = open(test_device, O_RDWR); in FIXTURE_SETUP() 244 self->fd = open(test_device, O_RDWR); in FIXTURE_SETUP()
|
| /linux/include/linux/usb/ |
| H A D | otg-fsm.h | 138 int test_device; member
|
| /linux/drivers/dma/ |
| H A D | dmatest.c | 32 static char test_device[32]; variable 33 module_param_string(device, test_device, sizeof(test_device), 0644); 1113 strscpy(params->device, strim(test_device), sizeof(params->device)); in add_threaded_test()
|
| /linux/drivers/usb/common/ |
| H A D | usb-otg-fsm.c | 379 else if (!fsm->b_bus_req || !fsm->a_conn || fsm->test_device) in otg_statemachine()
|