Lines Matching refs:status
112 int status = usb_control_msg(dev->udev,
119 if (status > 0)
120 status = 0;
121 if (!status)
123 return status;
216 static inline void nc_dump_status(struct usbnet *dev, u16 status)
219 "net1080 %s-%s status 0x%x: this (%c) PKT=%d%s%s%s; other PKT=%d%s%s%s; unspec 0x%x\n",
221 status,
225 (status & STATUS_PORT_A) ? 'A' : 'B',
226 STATUS_PACKETS_THIS(status),
227 (status & STATUS_CONN_THIS) ? " CON" : "",
228 (status & STATUS_SUSPEND_THIS) ? " SUS" : "",
229 (status & STATUS_MAILBOX_THIS) ? " MBOX" : "",
231 STATUS_PACKETS_OTHER(status),
232 (status & STATUS_CONN_OTHER) ? " CON" : "",
233 (status & STATUS_SUSPEND_OTHER) ? " SUS" : "",
234 (status & STATUS_MAILBOX_OTHER) ? " MBOX" : "",
236 status & STATUS_UNSPEC_MASK);
260 u16 usbctl, status, ttl;
270 dbg("can't read %s-%s status: %d",
274 status = *vp;
275 nc_dump_status(dev, status);
299 (status & STATUS_PORT_A) ? 'A' : 'B',
300 (status & STATUS_CONN_OTHER) ? "" : "dis");
311 u16 status;
317 status = *vp;
323 if ((status & STATUS_CONN_OTHER) != STATUS_CONN_OTHER)
340 int status;
370 status = usb_submit_urb(urb, GFP_ATOMIC);
371 if (status) {