Lines Matching refs:port
14 * (C) Copyright 2000 Yggdrasil Computing, Inc. (port of new PCI interface
133 int port;
136 * bits in the port status and control registers.
139 for (port = 0; port < uhci->rh_numports; ++port)
140 uhci_writew(uhci, 0, USBPORTSC1 + (port * 2));
735 /* Once the controller is stopped, port resumes that are already
743 "suspend failed because a port is resuming\n");
812 int port;
816 * are. However according to the UHCI spec, Bit 7 of the port
822 for (port = 0; port < (io_size - USBPORTSC1) / 2; port++) {
825 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2));
830 dev_info(uhci_dev(uhci), "detected %d ports\n", port);
833 if (port > UHCI_RH_MAXCHILD) {
835 "port count misdetected? forcing to 2 ports\n");
836 port = 2;
839 return port;