Lines Matching refs:port_addr
81 status = inw(port_addr); \
85 outw(status, port_addr)
88 status = inw(port_addr); \
91 outw(status, port_addr)
97 unsigned long port_addr)
102 if (inw(port_addr) & SUSPEND_BITS) {
113 if (!(inw(port_addr) & SUSPEND_BITS))
124 static void wait_for_HP(unsigned long port_addr)
129 if (inw(port_addr) & USBPORTSC_CSC)
139 unsigned long port_addr;
143 port_addr = uhci->io_addr + USBPORTSC1 + 2 * port;
144 status = inw(port_addr);
154 wait_for_HP(port_addr);
178 uhci_finish_suspend(uhci, port, port_addr);
245 unsigned long port_addr = uhci->io_addr + USBPORTSC1 + 2 * port;
263 status = inw(port_addr);
334 uhci_finish_suspend(uhci, port, port_addr);
355 uhci_finish_suspend(uhci, port, port_addr);
361 if (!(inw(port_addr) & USBPORTSC_SUSP)) {
364 uhci_finish_suspend(uhci, port, port_addr);
373 if (!(inw(port_addr) & USBPORTSC_RD))
375 port_addr);