Lines Matching refs:epnum
725 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force);
871 req->epnum = dep->number; in dwc3_gadget_ep_alloc_request()
1332 req->epnum = dep->number; in __dwc3_gadget_ep_queue()
1990 int epnum; in dwc3_gadget_stop() local
1999 for (epnum = 2; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_stop()
2000 struct dwc3_ep *dep = dwc->eps[epnum]; in dwc3_gadget_stop()
2095 u8 epnum; in dwc3_gadget_init_endpoints() local
2099 for (epnum = 0; epnum < total; epnum++) { in dwc3_gadget_init_endpoints()
2100 bool direction = epnum & 1; in dwc3_gadget_init_endpoints()
2101 u8 num = epnum >> 1; in dwc3_gadget_init_endpoints()
2108 dep->number = epnum; in dwc3_gadget_init_endpoints()
2110 dep->regs = dwc->regs + DWC3_DEP_BASE(epnum); in dwc3_gadget_init_endpoints()
2111 dwc->eps[epnum] = dep; in dwc3_gadget_init_endpoints()
2204 u8 epnum; in dwc3_gadget_free_endpoints() local
2206 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_free_endpoints()
2207 dep = dwc->eps[epnum]; in dwc3_gadget_free_endpoints()
2219 if (epnum != 0 && epnum != 1) { in dwc3_gadget_free_endpoints()
2475 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
2478 dep = dwc->eps[epnum]; in dwc3_endpoint_interrupt()
2489 if (epnum == 0 || epnum == 1) { in dwc3_endpoint_interrupt()
2579 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) in dwc3_stop_active_transfer() argument
2586 dep = dwc->eps[epnum]; in dwc3_stop_active_transfer()
2641 u32 epnum; in dwc3_clear_stall_all_ep() local
2643 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_clear_stall_all_ep()
2647 dep = dwc->eps[epnum]; in dwc3_clear_stall_all_ep()