Lines Matching defs:test
88 * one ioctl to issue a test ... one lock per device.
110 static struct usb_device *testdev_to_usbdev(struct usbtest_dev *test)
112 return interface_to_usbdev(test->intf);
249 * them with non-zero test data (or test for it) when appropriate.
300 /* To test unaligned transfers add an offset and fill the
309 /* For inbound transfers use guard byte so that test fails if
517 /* We use scatterlist primitives to test queued I/O.
657 * special test firmware.
660 * through usbfs. we can't change that, so we won't test enumeration (which
811 /* sanity test for standard requests working with usb_control_mesg() and some
814 * this doesn't test how endpoint halts behave or data toggles get set, since
822 * NOTE that since this is a sanity test, it's not examining boundary cases
1042 * the device's remote wakeup feature ... if we can, test that here
1058 /* use ch9 requests to test whether:
1079 #define NUM_SUBCASES 16 /* how many test subcases here? */
1153 * be a separate test case.
1517 /* test sync and async paths */
1685 /* set halt (protocol test only), verify it worked */
1813 * USB 2.0 compliance test device: write a buffer, read it back.
1966 "during the test, %lu errors out of %lu\n",
2016 /* For inbound transfers use guard byte so that test fails if
2195 * Just a bunch of test cases that every HCD is expected to handle.
2198 * one firmware image to handle all the test cases.
2598 /* We do performance test, so ignore data compare */
2639 * test. So discovery is simplified, and we have no device naming issues.
2645 * except indirectly by consuming USB bandwidth and CPU resources for test
2647 * is to test when HC queues are in use by many devices.
2651 * the device-under-test, hub_wq will wait block forever waiting for the
2653 * urbs and then call usbtest_disconnect(). To abort a test, you're best
2677 /* FIXME: What if a system sleep starts while a test is running? */
2749 MODULE_PARM_DESC(force_interrupt, "0 = test default; else interrupt");
2804 /* NOTE this doesn't yet test the handful of difference that are
2889 * Any device can test control transfers (default with GENERIC binding).
2915 /* ezusb family device with dedicated usb test firmware,
2918 .name = "usb test device",
2927 /* peripheral running Linux and 'zero.c' test firmware, or
2942 .name = "Linux user mode test driver",
2948 .name = "Linux user mode ISO test driver",
2966 /* we can use any device to test control traffic */
2997 /* re-enumerated usb test device firmware */