Lines Matching refs:dwc3_ep
30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
32 struct dwc3_ep *dep, struct dwc3_request *req);
34 static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, in dwc3_ep0_prepare_one_trb()
63 static int dwc3_ep0_start_trans(struct dwc3_ep *dep) in dwc3_ep0_start_trans()
87 static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, in __dwc3_gadget_ep0_queue()
192 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_queue()
223 struct dwc3_ep *dep; in dwc3_ep0_stall_and_restart()
250 struct dwc3_ep *dep = to_dwc3_ep(ep); in __dwc3_gadget_ep0_set_halt()
260 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_set_halt()
274 struct dwc3_ep *dep; in dwc3_ep0_out_start()
286 struct dwc3_ep *dwc3_ep; in dwc3_ep0_out_start() local
288 dwc3_ep = dwc->eps[i]; in dwc3_ep0_out_start()
289 if (!dwc3_ep) in dwc3_ep0_out_start()
292 if (!(dwc3_ep->flags & DWC3_EP_DELAY_STOP)) in dwc3_ep0_out_start()
295 dwc3_ep->flags &= ~DWC3_EP_DELAY_STOP; in dwc3_ep0_out_start()
297 dwc3_stop_active_transfer(dwc3_ep, true, true); in dwc3_ep0_out_start()
299 dwc3_remove_requests(dwc, dwc3_ep, -ESHUTDOWN); in dwc3_ep0_out_start()
303 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
305 struct dwc3_ep *dep; in dwc3_wIndex_to_dep()
343 struct dwc3_ep *dep; in dwc3_ep0_handle_status()
542 struct dwc3_ep *dep; in dwc3_ep0_handle_endpoint()
697 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_ep0_set_sel_cmpl()
741 struct dwc3_ep *dep; in dwc3_ep0_set_sel()
868 struct dwc3_ep *ep0; in dwc3_ep0_complete_data()
924 struct dwc3_ep *dep; in dwc3_ep0_complete_status()
962 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; in dwc3_ep0_xfer_complete()
986 struct dwc3_ep *dep, struct dwc3_request *req) in __dwc3_ep0_do_control_data()
1070 static int dwc3_ep0_start_control_status(struct dwc3_ep *dep) in dwc3_ep0_start_control_status()
1082 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep) in __dwc3_ep0_do_control_status()
1090 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; in dwc3_ep0_do_control_status()
1109 void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_ep0_end_control_data()
1151 struct dwc3_ep *dep = dwc->eps[dwc->ep0_expect_in]; in dwc3_ep0_xfernotready()
1173 struct dwc3_ep *dep = dwc->eps[0]; in dwc3_ep0_xfernotready()
1198 struct dwc3_ep *dep = dwc->eps[event->endpoint_number]; in dwc3_ep0_interrupt()