Lines Matching refs:status
23 static bool rt2x00usb_check_usb_error(struct rt2x00_dev *rt2x00dev, int status)
25 if (status == -ENODEV || status == -ENOENT)
31 if (status == -EPROTO || status == -ETIMEDOUT)
52 int status;
62 status = usb_control_msg(usb_dev, pipe, request, requesttype,
65 if (status >= 0)
68 if (rt2x00usb_check_usb_error(rt2x00dev, status)) {
77 request, offset, status);
79 return status;
88 int status;
103 status = rt2x00usb_vendor_request(rt2x00dev, request, requesttype,
107 if (!status && requesttype == USB_VENDOR_REQUEST_IN)
110 return status;
119 int status = 0;
128 while (len && !status) {
130 status = rt2x00usb_vendor_req_buff_lock(rt2x00dev, request,
141 return status;
181 if (rd->callback(rd->rt2x00dev, urb->status, le32_to_cpu(rd->reg))) {
238 * way to determine the transmission status right now.
278 if (urb->status)
288 * Schedule the delayed work for reading the TX status
302 int status;
315 status = skb_padto(entry->skb, length);
316 if (unlikely(status)) {
330 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC);
331 if (status) {
332 if (rt2x00usb_check_usb_error(rt2x00dev, status))
385 if (urb->actual_length < entry->queue->desc_size || urb->status)
404 int status;
416 status = usb_submit_urb(entry_priv->urb, GFP_ATOMIC);
417 if (status) {
418 if (rt2x00usb_check_usb_error(rt2x00dev, status))
717 int status;
722 status = rt2x00usb_find_endpoints(rt2x00dev);
723 if (status)
730 status = rt2x00usb_alloc_entries(queue);
731 if (status)
740 return status;