Lines Matching refs:port_addr
80 status = uhci_readw(uhci, port_addr); \
84 uhci_writew(uhci, status, port_addr)
87 status = uhci_readw(uhci, port_addr); \
90 uhci_writew(uhci, status, port_addr)
96 unsigned long port_addr) in uhci_finish_suspend() argument
101 if (uhci_readw(uhci, port_addr) & SUSPEND_BITS) { in uhci_finish_suspend()
112 if (!(uhci_readw(uhci, port_addr) & SUSPEND_BITS)) in uhci_finish_suspend()
124 static void wait_for_HP(struct uhci_hcd *uhci, unsigned long port_addr) in wait_for_HP() argument
129 if (uhci_readw(uhci, port_addr) & USBPORTSC_CSC) in wait_for_HP()
139 unsigned long port_addr; in uhci_check_ports() local
143 port_addr = USBPORTSC1 + 2 * port; in uhci_check_ports()
144 status = uhci_readw(uhci, port_addr); in uhci_check_ports()
153 wait_for_HP(uhci, port_addr); in uhci_check_ports()
179 uhci_finish_suspend(uhci, port, port_addr); in uhci_check_ports()
248 unsigned long port_addr = USBPORTSC1 + 2 * port; in uhci_hub_control() local
267 status = uhci_readw(uhci, port_addr); in uhci_hub_control()
338 uhci_finish_suspend(uhci, port, port_addr); in uhci_hub_control()
360 uhci_finish_suspend(uhci, port, port_addr); in uhci_hub_control()
366 if (!(uhci_readw(uhci, port_addr) & USBPORTSC_SUSP)) { in uhci_hub_control()
369 uhci_finish_suspend(uhci, port, port_addr); in uhci_hub_control()
378 if (!(uhci_readw(uhci, port_addr) & in uhci_hub_control()
381 port_addr); in uhci_hub_control()