Lines Matching refs:status
412 static void max3420_nuke(struct max3420_ep *ep, int status);
542 u16 status = 0;
546 /* Get device status */
547 status = udc->gadget.is_selfpowered << USB_DEVICE_SELF_POWERED;
548 status |= (udc->remote_wkp << USB_DEVICE_REMOTE_WAKEUP);
564 status = 1 << USB_ENDPOINT_HALT;
570 status = cpu_to_le16(status);
571 spi_wr_buf(udc, MAX3420_REG_EP0FIFO, &status, 2);
654 /* Requests with no data phase, status phase from udc */
670 static void max3420_req_done(struct max3420_req *req, int status)
675 if (req->usb_req.status == -EINPROGRESS)
676 req->usb_req.status = status;
678 status = req->usb_req.status;
680 if (status && status != -ESHUTDOWN)
681 dev_err(udc->dev, "%s done %p, status %d\n",
682 ep->ep_usb.name, req, status);
959 static void max3420_nuke(struct max3420_ep *ep, int status)
970 max3420_req_done(req, status);
1036 _req->status = -EINPROGRESS;
1282 /* Detect current vbus status */