Lines Matching refs:status

80 	status = uhci_readw(uhci, port_addr);	\
81 status &= ~(RWC_BITS|WZ_BITS); \
82 status &= ~(x); \
83 status |= RWC_BITS & (x); \
84 uhci_writew(uhci, status, port_addr)
87 status = uhci_readw(uhci, port_addr); \
88 status |= (x); \
89 status &= ~(RWC_BITS|WZ_BITS); \
90 uhci_writew(uhci, status, port_addr)
98 int status; in uhci_finish_suspend() local
140 int status; in uhci_check_ports() local
144 status = uhci_readw(uhci, port_addr); in uhci_check_ports()
145 if (unlikely(status & USBPORTSC_PR)) { in uhci_check_ports()
163 if (unlikely(status & USBPORTSC_RD)) { in uhci_check_ports()
189 int status = 0; in uhci_hub_status_data() local
198 status = get_hub_status_data(uhci, buf); in uhci_hub_status_data()
203 if (status || uhci->resuming_ports) { in uhci_hub_status_data()
204 status = 1; in uhci_hub_status_data()
211 if (status) in uhci_hub_status_data()
238 return status; in uhci_hub_status_data()
246 int status, lstatus, retval = 0; in uhci_hub_control() local
267 status = uhci_readw(uhci, port_addr); in uhci_hub_control()
274 status ^= USBPORTSC_OC; in uhci_hub_control()
278 if (status & USBPORTSC_CSC) in uhci_hub_control()
280 if (status & USBPORTSC_PEC) in uhci_hub_control()
282 if ((status & USBPORTSC_OCC) && !ignore_oc) in uhci_hub_control()
294 if (status & USBPORTSC_CCS) in uhci_hub_control()
296 if (status & USBPORTSC_PE) { in uhci_hub_control()
298 if (status & SUSPEND_BITS) in uhci_hub_control()
301 if (status & USBPORTSC_OC) in uhci_hub_control()
303 if (status & USBPORTSC_PR) in uhci_hub_control()
305 if (status & USBPORTSC_LSDA) in uhci_hub_control()
310 wIndex, status, lstatus); in uhci_hub_control()