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) in uhci_finish_suspend() argument
102 if (uhci_readw(uhci, port_addr) & SUSPEND_BITS) { in uhci_finish_suspend()
113 if (!(uhci_readw(uhci, port_addr) & SUSPEND_BITS)) in uhci_finish_suspend()
125 static void wait_for_HP(struct uhci_hcd *uhci, unsigned long port_addr) in wait_for_HP() argument
130 if (uhci_readw(uhci, port_addr) & USBPORTSC_CSC) in wait_for_HP()
140 unsigned long port_addr; in uhci_check_ports() local
144 port_addr = USBPORTSC1 + 2 * port; in uhci_check_ports()
145 status = uhci_readw(uhci, port_addr); in uhci_check_ports()
154 wait_for_HP(uhci, port_addr); in uhci_check_ports()
180 uhci_finish_suspend(uhci, port, port_addr); in uhci_check_ports()
249 unsigned long port_addr = USBPORTSC1 + 2 * port; in uhci_hub_control() local
268 status = uhci_readw(uhci, port_addr); in uhci_hub_control()
339 uhci_finish_suspend(uhci, port, port_addr); in uhci_hub_control()
361 uhci_finish_suspend(uhci, port, port_addr); in uhci_hub_control()
367 if (!(uhci_readw(uhci, port_addr) & USBPORTSC_SUSP)) { in uhci_hub_control()
370 uhci_finish_suspend(uhci, port, port_addr); in uhci_hub_control()
379 if (!(uhci_readw(uhci, port_addr) & in uhci_hub_control()
382 port_addr); in uhci_hub_control()