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));
737 /* Once the controller is stopped, port resumes that are already
745 "suspend failed because a port is resuming\n");
814 int port;
818 * are. However according to the UHCI spec, Bit 7 of the port
824 for (port = 0; port < (io_size - USBPORTSC1) / 2; port++) {
827 portstatus = uhci_readw(uhci, USBPORTSC1 + (port * 2));
832 dev_info(uhci_dev(uhci), "detected %d ports\n", port);
835 if (port > UHCI_RH_MAXCHILD) {
837 "port count misdetected? forcing to 2 ports\n");
838 port = 2;
841 return port;