Lines Matching refs:port_addr
81 status = uhci_readw(uhci, port_addr); \
85 uhci_writew(uhci, status, port_addr)
88 status = uhci_readw(uhci, port_addr); \
91 uhci_writew(uhci, status, port_addr)
97 unsigned long port_addr)
102 if (uhci_readw(uhci, port_addr) & SUSPEND_BITS) {
113 if (!(uhci_readw(uhci, port_addr) & SUSPEND_BITS))
125 static void wait_for_HP(struct uhci_hcd *uhci, unsigned long port_addr)
130 if (uhci_readw(uhci, port_addr) & USBPORTSC_CSC)
140 unsigned long port_addr;
144 port_addr = USBPORTSC1 + 2 * port;
145 status = uhci_readw(uhci, port_addr);
154 wait_for_HP(uhci, port_addr);
180 uhci_finish_suspend(uhci, port, port_addr);
249 unsigned long port_addr = USBPORTSC1 + 2 * port;
268 status = uhci_readw(uhci, port_addr);
339 uhci_finish_suspend(uhci, port, port_addr);
361 uhci_finish_suspend(uhci, port, port_addr);
367 if (!(uhci_readw(uhci, port_addr) & USBPORTSC_SUSP)) {
370 uhci_finish_suspend(uhci, port, port_addr);
379 if (!(uhci_readw(uhci, port_addr) &
382 port_addr);