Lines Matching defs:port
496 static int usb_test(struct usb_device *dev, int port, char* arg)
500 if (port > dev->maxchild) {
501 printf("Device is no hub or does not have %d ports.\n", port);
537 if (port)
538 printf(" on downstream facing port %d...\n", port);
540 printf(" on upstream facing port...\n");
543 port ? USB_RT_PORT : USB_RECIP_DEVICE,
544 port ? USB_PORT_FEAT_TEST : USB_FEAT_TEST,
545 (mode << 8) | port,
729 "usb test [dev] [port] [mode] - set USB 2.0 test mode\n"
730 " (specify port 0 to indicate the device's upstream port)\n"