Lines Matching refs:status
81 status = uhci_readw(uhci, port_addr); \
82 status &= ~(RWC_BITS|WZ_BITS); \
83 status &= ~(x); \
84 status |= RWC_BITS & (x); \
85 uhci_writew(uhci, status, port_addr)
88 status = uhci_readw(uhci, port_addr); \
89 status |= (x); \
90 status &= ~(RWC_BITS|WZ_BITS); \
91 uhci_writew(uhci, status, port_addr)
99 int status; in uhci_finish_suspend() local
141 int status; in uhci_check_ports() local
145 status = uhci_readw(uhci, port_addr); in uhci_check_ports()
146 if (unlikely(status & USBPORTSC_PR)) { in uhci_check_ports()
164 if (unlikely(status & USBPORTSC_RD)) { in uhci_check_ports()
190 int status = 0; in uhci_hub_status_data() local
199 status = get_hub_status_data(uhci, buf); in uhci_hub_status_data()
204 if (status || uhci->resuming_ports) { in uhci_hub_status_data()
205 status = 1; in uhci_hub_status_data()
212 if (status) in uhci_hub_status_data()
239 return status; in uhci_hub_status_data()
247 int status, lstatus, retval = 0; in uhci_hub_control() local
268 status = uhci_readw(uhci, port_addr); in uhci_hub_control()
275 status ^= USBPORTSC_OC; in uhci_hub_control()
279 if (status & USBPORTSC_CSC) in uhci_hub_control()
281 if (status & USBPORTSC_PEC) in uhci_hub_control()
283 if ((status & USBPORTSC_OCC) && !ignore_oc) in uhci_hub_control()
295 if (status & USBPORTSC_CCS) in uhci_hub_control()
297 if (status & USBPORTSC_PE) { in uhci_hub_control()
299 if (status & SUSPEND_BITS) in uhci_hub_control()
302 if (status & USBPORTSC_OC) in uhci_hub_control()
304 if (status & USBPORTSC_PR) in uhci_hub_control()
306 if (status & USBPORTSC_LSDA) in uhci_hub_control()
311 wIndex, status, lstatus); in uhci_hub_control()