Searched refs:test_device (Results 1 - 4 of 4) sorted by relevance

/linux-master/lib/kunit/
H A Dkunit-test.c701 struct device *test_device; local
704 test_device = kunit_device_register(test, "my_device");
705 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device);
708 devm_add_action(test_device, test_dev_action, &action_was_run);
712 kunit_device_unregister(test, test_device);
719 struct device *test_device; local
722 test_device = kunit_device_register(test, "my_device");
723 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_device);
726 devm_add_action(test_device, test_dev_action, &action_was_run);
763 struct device *test_device; local
[all...]
/linux-master/include/linux/usb/
H A Dotg-fsm.h76 * @test_device: TRUE when the B-device switches to B-Host and detects an OTG
138 int test_device; member in struct:otg_fsm
/linux-master/drivers/dma/
H A Ddmatest.c32 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));
/linux-master/drivers/usb/common/
H A Dusb-otg-fsm.c379 else if (!fsm->b_bus_req || !fsm->a_conn || fsm->test_device)

Completed in 109 milliseconds