Lines Matching refs:epnum

608 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force);
756 req->epnum = dep->number; in dwc3_gadget_ep_alloc_request()
1088 req->epnum = dep->number; in __dwc3_gadget_ep_queue()
1729 u8 epnum = (i << 1) | (!!direction); in dwc3_gadget_init_hw_endpoints() local
1736 dep->number = epnum; in dwc3_gadget_init_hw_endpoints()
1738 dwc->eps[epnum] = dep; in dwc3_gadget_init_hw_endpoints()
1740 snprintf(dep->name, sizeof(dep->name), "ep%d%s", epnum >> 1, in dwc3_gadget_init_hw_endpoints()
1741 (epnum & 1) ? "in" : "out"); in dwc3_gadget_init_hw_endpoints()
1747 if (epnum == 0 || epnum == 1) { in dwc3_gadget_init_hw_endpoints()
1751 if (!epnum) in dwc3_gadget_init_hw_endpoints()
1767 if (epnum == 0 || epnum == 1) { in dwc3_gadget_init_hw_endpoints()
1811 u8 epnum; in dwc3_gadget_free_endpoints() local
1813 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_free_endpoints()
1814 dep = dwc->eps[epnum]; in dwc3_gadget_free_endpoints()
1826 if (epnum != 0 && epnum != 1) { in dwc3_gadget_free_endpoints()
2026 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
2028 dep = dwc->eps[epnum]; in dwc3_endpoint_interrupt()
2033 if (epnum == 0 || epnum == 1) { in dwc3_endpoint_interrupt()
2143 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) in dwc3_stop_active_transfer() argument
2150 dep = dwc->eps[epnum]; in dwc3_stop_active_transfer()
2188 u32 epnum; in dwc3_stop_active_transfers() local
2190 for (epnum = 2; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_stop_active_transfers()
2193 dep = dwc->eps[epnum]; in dwc3_stop_active_transfers()
2206 u32 epnum; in dwc3_clear_stall_all_ep() local
2208 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_clear_stall_all_ep()
2213 dep = dwc->eps[epnum]; in dwc3_clear_stall_all_ep()