Lines Matching refs:epnum

523 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force);
682 req->epnum = dep->number; in dwc3_gadget_ep_alloc_request()
976 req->epnum = dep->number; in __dwc3_gadget_ep_queue()
1594 u8 epnum = (i << 1) | (!!direction); in dwc3_gadget_init_hw_endpoints() local
1601 dep->number = epnum; in dwc3_gadget_init_hw_endpoints()
1603 dwc->eps[epnum] = dep; in dwc3_gadget_init_hw_endpoints()
1605 snprintf(dep->name, sizeof(dep->name), "ep%d%s", epnum >> 1, in dwc3_gadget_init_hw_endpoints()
1606 (epnum & 1) ? "in" : "out"); in dwc3_gadget_init_hw_endpoints()
1612 if (epnum == 0 || epnum == 1) { in dwc3_gadget_init_hw_endpoints()
1616 if (!epnum) in dwc3_gadget_init_hw_endpoints()
1666 u8 epnum; in dwc3_gadget_free_endpoints() local
1668 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_free_endpoints()
1669 dep = dwc->eps[epnum]; in dwc3_gadget_free_endpoints()
1681 if (epnum != 0 && epnum != 1) { in dwc3_gadget_free_endpoints()
1874 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
1876 dep = dwc->eps[epnum]; in dwc3_endpoint_interrupt()
1881 if (epnum == 0 || epnum == 1) { in dwc3_endpoint_interrupt()
1988 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) in dwc3_stop_active_transfer() argument
1995 dep = dwc->eps[epnum]; in dwc3_stop_active_transfer()
2033 u32 epnum; in dwc3_stop_active_transfers() local
2035 for (epnum = 2; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_stop_active_transfers()
2038 dep = dwc->eps[epnum]; in dwc3_stop_active_transfers()
2051 u32 epnum; in dwc3_clear_stall_all_ep() local
2053 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_clear_stall_all_ep()
2058 dep = dwc->eps[epnum]; in dwc3_clear_stall_all_ep()