Lines Matching refs:status
35 /* status change bits: nonzero writes will clear */
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;
141 int status;
145 status = uhci_readw(uhci, port_addr);
146 if (unlikely(status & USBPORTSC_PR)) {
159 * status change. Clear these changes. */
164 if (unlikely(status & USBPORTSC_RD)) {
190 int status = 0;
199 status = get_hub_status_data(uhci, buf);
204 if (status || uhci->resuming_ports) {
205 status = 1;
212 if (status)
239 return status;
247 int status, lstatus, retval = 0;
268 status = uhci_readw(uhci, port_addr);
275 status ^= USBPORTSC_OC;
279 if (status & USBPORTSC_CSC)
281 if (status & USBPORTSC_PEC)
283 if ((status & USBPORTSC_OCC) && !ignore_oc)
295 if (status & USBPORTSC_CCS)
297 if (status & USBPORTSC_PE) {
299 if (status & SUSPEND_BITS)
302 if (status & USBPORTSC_OC)
304 if (status & USBPORTSC_PR)
306 if (status & USBPORTSC_LSDA)
311 wIndex, status, lstatus);