Lines Matching defs:port
186 * This is an indication that some port
259 uint8_t port;
265 port = child->hs_port_no;
276 (port == 0) || (ep->edesc == NULL)) {
283 up = hub->ports + port - 1;
287 port = 1;
294 req.wIndex[0] = port;
306 req.wIndex[0] = port;
336 /* find first port which needs a TT reset */
451 DPRINTFN(6, "cannot set port feature\n");
454 /* clear port enable */
458 DPRINTFN(0, "Could not disable port "
512 /* get device assosiated with the given port */
560 DPRINTFN(4, "port %d, HUB looks dead, too many errors\n", portno);
581 DPRINTFN(4, "port %d, wPortStatus=0x%04x, "
593 * Else: port status debounce or power-unsettling
596 * When the port status has been unchanged for 300ms it returns 0.
665 DPRINTF("reattaching port %d\n", portno);
674 /* first clear the port connection change bit */
705 /* check if nothing is connected to the port */
718 /* check if there is no power on the port and print a warning */
737 DPRINTF("WARNING: strange, connected port %d "
763 /* reset port, which implies enabling it */
768 DPRINTFN(0, "port %d reset "
773 /* get port status again, it might have changed during reset */
779 /* check if something changed during port reset */
784 DPRINTFN(0, "giving up port %d reset - "
848 DPRINTFN(0, "port %d U1 timeout "
855 DPRINTFN(0, "port %d U2 timeout "
900 "disabling port %d\n", usbd_errstr(err), portno);
942 DPRINTF("port %d\n", portno);
948 /* first clear the port suspend change bit */
966 DPRINTF("reading port status failed.\n");
1100 DPRINTF("Overcurrent on port %u.\n", portno);
1118 * Ignore the port error if the device
1123 "port %d\n", portno);
1127 DPRINTFN(0, "port error, giving up "
1128 "port %d\n", portno);
1209 /* assuming that there is one port */
1330 /* assuming that there is one port */
1412 DPRINTF("Assuming HUB has only one port\n");
1486 * get port status
1492 * get port status
1508 /* check if port is removable */
1521 DPRINTF("Assuming removable port\n");
1531 DPRINTFN(0, "port %d power on failed, %s\n",
1534 DPRINTF("turn on port %d power\n",
1557 if (portno == 1) { /* if it is the hub 1 port */
1570 } else { /* it is the hub other port(2,3,...) */
1579 device_printf(dev, "%d port%s with %d "
1765 (void)snprintf(buf, buflen, "bus=%u hubaddr=%u port=%u devaddr=%u interface=%u",
2295 * have an USB port, and that is the Root Hub!
2760 /* resume current port (Valid in Host and Device Mode) */
2764 /* resume current port (Valid in Host and Device Mode) */
2770 DPRINTFN(0, "Resuming port failed: %s (ignored)\n",
2925 /* resume current port (Valid in Host and Device Mode) */
2930 "port suspend failed\n");
2959 /* suspend current port */
2963 DPRINTFN(0, "Suspending port failed\n");
2967 /* suspend current port */
2971 DPRINTFN(0, "Suspending port failed\n");