Lines Matching refs:status
263 static void max3420_req_done(struct max3420_req *req, int status)
267 if (req->usb_req.status == -EINPROGRESS)
268 req->usb_req.status = status;
270 status = req->usb_req.status;
272 if (status && status != -ESHUTDOWN)
273 dev_err(ep->udc->dev, "%s done %p, status %d\n",
274 ep->ep_usb.name, req, status);
280 static void max3420_ep_nuke(struct max3420_ep *ep, int status)
286 max3420_req_done(req, status);
328 _req->status = -EINPROGRESS;
500 u16 status = 0;
504 /* Get device status */
505 status = 0 << USB_DEVICE_SELF_POWERED;
506 status |= (udc->remote_wkp << USB_DEVICE_REMOTE_WAKEUP);
515 status = 1 << USB_ENDPOINT_HALT;
521 status = cpu_to_le16(status);
522 spi_wr_buf(udc, MAX3420_REG_EP0FIFO, &status, 2);
597 /* Requests with no data phase, status phase from udc */