Lines Matching refs:epnum
591 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force);
754 req->epnum = dep->number; in dwc3_gadget_ep_alloc_request()
1087 req->epnum = dep->number; in __dwc3_gadget_ep_queue()
1714 u8 epnum = (i << 1) | (!!direction); in dwc3_gadget_init_hw_endpoints() local
1721 dep->number = epnum; in dwc3_gadget_init_hw_endpoints()
1723 dwc->eps[epnum] = dep; in dwc3_gadget_init_hw_endpoints()
1725 snprintf(dep->name, sizeof(dep->name), "ep%d%s", epnum >> 1, in dwc3_gadget_init_hw_endpoints()
1726 (epnum & 1) ? "in" : "out"); in dwc3_gadget_init_hw_endpoints()
1732 if (epnum == 0 || epnum == 1) { in dwc3_gadget_init_hw_endpoints()
1736 if (!epnum) in dwc3_gadget_init_hw_endpoints()
1785 u8 epnum; in dwc3_gadget_free_endpoints() local
1787 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_free_endpoints()
1788 dep = dwc->eps[epnum]; in dwc3_gadget_free_endpoints()
1800 if (epnum != 0 && epnum != 1) { in dwc3_gadget_free_endpoints()
1992 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
1994 dep = dwc->eps[epnum]; in dwc3_endpoint_interrupt()
1999 if (epnum == 0 || epnum == 1) { in dwc3_endpoint_interrupt()
2108 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) in dwc3_stop_active_transfer() argument
2115 dep = dwc->eps[epnum]; in dwc3_stop_active_transfer()
2153 u32 epnum; in dwc3_stop_active_transfers() local
2155 for (epnum = 2; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_stop_active_transfers()
2158 dep = dwc->eps[epnum]; in dwc3_stop_active_transfers()
2171 u32 epnum; in dwc3_clear_stall_all_ep() local
2173 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_clear_stall_all_ep()
2178 dep = dwc->eps[epnum]; in dwc3_clear_stall_all_ep()