Lines Matching refs:status
33 /* status change bits: nonzero writes will clear */
81 status = inw(port_addr); \
82 status &= ~(RWC_BITS|WZ_BITS); \
83 status &= ~(x); \
84 status |= RWC_BITS & (x); \
85 outw(status, port_addr)
88 status = inw(port_addr); \
89 status |= (x); \
90 status &= ~(RWC_BITS|WZ_BITS); \
91 outw(status, port_addr)
99 int status;
140 int status;
144 status = inw(port_addr);
145 if (unlikely(status & USBPORTSC_PR)) {
159 * status change. Clear these changes. */
164 if (unlikely(status & USBPORTSC_RD)) {
188 int status = 0;
197 status = get_hub_status_data(uhci, buf);
203 if (status || uhci->resuming_ports)
209 if (status)
235 return status;
243 int status, lstatus, retval = 0, len = 0;
263 status = inw(port_addr);
271 status ^= USBPORTSC_OC;
275 if (status & USBPORTSC_CSC)
277 if (status & USBPORTSC_PEC)
279 if ((status & USBPORTSC_OCC) && !ignore_oc)
291 if (status & USBPORTSC_CCS)
293 if (status & USBPORTSC_PE) {
295 if (status & SUSPEND_BITS)
298 if (status & USBPORTSC_OC)
300 if (status & USBPORTSC_PR)
302 if (status & USBPORTSC_LSDA)
307 wIndex, status, lstatus);