Lines Matching refs:status
410 static void max3420_nuke(struct max3420_ep *ep, int status);
538 u16 status = 0;
542 /* Get device status */
543 status = udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED;
544 status |= (udc->remote_wkp << USB_DEVICE_REMOTE_WAKEUP);
560 status = 1 << USB_ENDPOINT_HALT;
566 status = cpu_to_le16(status);
567 spi_wr_buf(udc, MAX3420_REG_EP0FIFO, &status, 2);
650 /* Requests with no data phase, status phase from udc */
666 static void max3420_req_done(struct max3420_req *req, int status)
671 if (req->usb_req.status == -EINPROGRESS)
672 req->usb_req.status = status;
674 status = req->usb_req.status;
676 if (status && status != -ESHUTDOWN)
677 dev_err(udc->dev, "%s done %p, status %d\n",
678 ep->ep_usb.name, req, status);
955 static void max3420_nuke(struct max3420_ep *ep, int status)
966 max3420_req_done(req, status);
1032 _req->status = -EINPROGRESS;
1278 /* Detect current vbus status */