Lines Matching defs:ports
30 /* After a power loss, ports that were owned by the companion must be
54 /* Make sure the ports are powered */
235 * for the root hub and any ports are in the middle of a resume or
248 * to manually suspend all the active unsuspended ports, and
261 /* keep track of which ports we suspend */
269 /* enable remote wakeup on all ports, if told to do so */
463 /* manually resume the ports we suspended during bus_suspend() */
623 int ports, i, retval = 1;
629 ports = HCS_N_PORTS (ehci->hcs_params);
630 if (ports > 7) {
661 for (i = 0; i < ports; i++) {
669 * Return status information even for ports with OWNER set.
702 int ports = HCS_N_PORTS (ehci->hcs_params);
709 desc->bNbrPorts = ports;
710 temp = 1 + (ports / 8);
713 /* two bitmaps: ports removable, and usb 1.0 legacy PortPwrCtrlMask */
741 int ports = HCS_N_PORTS (ehci->hcs_params);
779 if (!wIndex || wIndex > ports)
867 if (!wIndex || wIndex > ports)
968 /* transfer dedicated ports to the companion hc */
1043 if (!wIndex || wIndex > ports)
1128 /* For downstream facing ports (these): one hub port is put
1150 /* Put all enabled ports into suspend */
1151 while (ports--) {
1153 &ehci->regs->port_status[ports];