Lines Matching refs:req
76 * dwc3_gadget_move_started_request - move @req to the started_list
77 * @req: the request to be moved
79 * Caller should take care of locking. This function will move @req from its
82 static inline void dwc3_gadget_move_started_request(struct dwc3_request *req)
84 struct dwc3_ep *dep = req->dep;
86 req->status = DWC3_REQUEST_STATUS_STARTED;
87 list_move_tail(&req->list, &dep->started_list);
91 * dwc3_gadget_move_cancelled_request - move @req to the cancelled_list
92 * @req: the request to be moved
95 * Caller should take care of locking. This function will move @req from its
98 static inline void dwc3_gadget_move_cancelled_request(struct dwc3_request *req,
101 struct dwc3_ep *dep = req->dep;
103 req->status = reason;
104 list_move_tail(&req->list, &dep->cancelled_list);
107 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,