Lines Matching defs:status
273 /* scrub most status bits, and flush any fifo state */
346 net2272_done(struct net2272_ep *ep, struct net2272_request *req, int status)
361 if (req->req.status == -EINPROGRESS)
362 req->req.status = status;
364 status = req->req.status;
371 if (status && status != -ESHUTDOWN)
373 ep->ep.name, &req->req, status,
426 int status;
437 * Clear interrupt status
468 status = net2272_kick_dma(ep, req);
470 if (status < 0)
593 int status;
597 status = net2272_kick_dma(ep, req);
598 if ((status < 0) &&
814 int status = -1;
830 status = usb_gadget_map_request(&dev->gadget, _req,
832 if (status)
833 return status;
842 _req->status = -EINPROGRESS;
847 /* maybe there's no control data, just status ack */
850 dev_vdbg(dev->dev, "%s status ack\n", ep->ep.name);
865 status = net2272_read_fifo(ep, req);
873 status = net2272_kick_dma(ep, req);
875 if (status < 0) {
879 status = 0;
882 status = net2272_write_fifo(ep, req);
886 status = net2272_read_fifo(ep, req);
889 if (unlikely(status != 0)) {
890 if (status > 0)
891 status = 0;
1245 (t2 & (1 << CONTROL_STATUS_PHASE_HANDSHAKE)) ? "status " : "",
1522 int status;
1560 status = net2272_kick_dma(ep, req);
1561 if (status < 0)
1621 * direction must be validated, otherwise control read status phase
1693 /* wait for status phase to complete */
1802 * synchronization before letting the status phase happen.
1821 u16 status = 0;
1829 status = cpu_to_le16(1);
1831 status = cpu_to_le16(0);
1835 writew(status, net2272_reg_addr(dev, EP_DATA));
1839 ep->ep.name, status);
1845 status = (1 << USB_DEVICE_SELF_POWERED);
1849 writew(status, net2272_reg_addr(dev, EP_DATA));
1852 dev_vdbg(dev->dev, "device stat %02x\n", status);
1860 writew(status, net2272_reg_addr(dev, EP_DATA));
1863 dev_vdbg(dev->dev, "interface status %02x\n", status);
2044 /* clear any other status/irqs */
2048 /* some status we can just ignore */