Lines Matching refs:port
1895 // the port is automagically powered on
1953 TRACE("reset port %d\n", index);
1955 uint32 port = UHCI_PORTSC1 + index * 2;
1956 uint16 status = ReadReg16(port);
1958 WriteReg16(port, status | UHCI_PORTSC_RESET);
1961 status = ReadReg16(port);
1963 WriteReg16(port, status & ~UHCI_PORTSC_RESET);
1967 // try to enable the port
1968 status = ReadReg16(port);
1970 WriteReg16(port, status | UHCI_PORTSC_ENABLED);
1973 status = ReadReg16(port);
1977 // that the port was reset and no device is connected.
1982 // port enabled changed or connection status were set.
1985 WriteReg16(port, status | UHCI_PORTSC_STATCHA | UHCI_PORTSC_ENABCHA);
1990 // the port is enabled
1996 TRACE("port was reset: 0x%04x\n", ReadReg16(port));