Lines Matching defs:status

194 		struct dwc3_request *req, int status)
203 if (req->request.status == -EINPROGRESS)
204 req->request.status = status;
221 * @status: completion code for the request
228 int status)
232 dwc3_gadget_del_and_unmap_request(dep, req, status);
233 req->status = DWC3_REQUEST_STATUS_COMPLETED;
253 int status = 0;
263 status = DWC3_DGCMD_STATUS(reg);
264 if (status)
272 status = -ETIMEDOUT;
275 trace_dwc3_gadget_generic_cmd(cmd, param, status);
416 * with an error status of 'Bus Expiry'.
425 dev_WARN(dwc->dev, "UNKNOWN cmd status\n");
971 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status)
985 dwc3_gadget_giveback(dep, req, status);
991 dwc3_gadget_giveback(dep, req, status);
997 dwc3_gadget_giveback(dep, req, status);
1138 req->status = DWC3_REQUEST_STATUS_UNKNOWN;
1757 * (or 2 seconds). 4 seconds into the future will result in a bus-expiry status.
1759 * be 2 successful and 2 failure START COMMAND status. One of the 2 successful
1760 * command status will result in a 2-second delay start. The smaller BIT[15:14]
1767 * Let test0 = test status for combination 'b00 and test1 = test status for 'b01
1811 /* Store the first test status */
1908 * status, issue END_TRANSFER command and retry on the next XferNotReady
1931 if (WARN(req->status < DWC3_REQUEST_STATUS_COMPLETED,
1939 req->request.status = -EINPROGRESS;
1944 req->status = DWC3_REQUEST_STATUS_QUEUED;
2038 switch (req->status) {
2049 dev_err(dwc->dev, "request cancelled with wrong reason:%d\n", req->status);
2357 * Since link status change events are enabled we will receive
2640 * Attempt to end pending SETUP status phase, and not wait for the
3353 const struct dwc3_event_depevt *event, int status, int chain)
3402 if ((trb->ctrl & DWC3_TRB_CTRL_HWO) && status != -ESHUTDOWN)
3405 if (event->status & DEPEVT_STATUS_SHORT && !chain)
3421 int status)
3437 trb, event, status, true);
3447 int status)
3452 event, status, false);
3462 struct dwc3_request *req, int status)
3469 status);
3472 status);
3481 status);
3486 * The event status only reflects the status of the TRB with IOC set.
3488 * needs to check and return the status of the completed TRBs associated
3489 * with the request. Use the status of the last TRB of the request.
3510 request_status = status;
3520 const struct dwc3_event_depevt *event, int status)
3529 req, status);
3571 const struct dwc3_event_depevt *event, int status)
3576 dwc3_gadget_ep_cleanup_completed_requests(dep, event, status);
3586 (list_empty(&dep->pending_list) || status == -EXDEV))
3624 int status = 0;
3632 if (event->status & DEPEVT_STATUS_BUSERR)
3633 status = -ECONNRESET;
3635 if (event->status & DEPEVT_STATUS_MISSED_ISOC)
3636 status = -EXDEV;
3638 dwc3_gadget_endpoint_trbs_complete(dep, event, status);
3644 int status = 0;
3648 if (event->status & DEPEVT_STATUS_BUSERR)
3649 status = -ECONNRESET;
3651 if (dwc3_gadget_endpoint_trbs_complete(dep, event, status))
3724 if (event->status == DEPEVT_STREAMEVT_FOUND) {
4025 * status for EP0 TRBs and gets cleared on XferComplete for the