Lines Matching refs:epnum

840 	req->epnum	= dep->number;  in dwc3_gadget_ep_alloc_request()
1933 int epnum; in dwc3_gadget_stop() local
1943 for (epnum = 2; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_stop()
1944 struct dwc3_ep *dep = dwc->eps[epnum]; in dwc3_gadget_stop()
1962 tmo_eps |= 1 << epnum; in dwc3_gadget_stop()
2131 static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum) in dwc3_gadget_init_endpoint() argument
2134 bool direction = epnum & 1; in dwc3_gadget_init_endpoint()
2136 u8 num = epnum >> 1; in dwc3_gadget_init_endpoint()
2143 dep->number = epnum; in dwc3_gadget_init_endpoint()
2145 dep->regs = dwc->regs + DWC3_DEP_BASE(epnum); in dwc3_gadget_init_endpoint()
2146 dwc->eps[epnum] = dep; in dwc3_gadget_init_endpoint()
2181 u8 epnum; in dwc3_gadget_init_endpoints() local
2185 for (epnum = 0; epnum < total; epnum++) { in dwc3_gadget_init_endpoints()
2188 ret = dwc3_gadget_init_endpoint(dwc, epnum); in dwc3_gadget_init_endpoints()
2199 u8 epnum; in dwc3_gadget_free_endpoints() local
2201 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_gadget_free_endpoints()
2202 dep = dwc->eps[epnum]; in dwc3_gadget_free_endpoints()
2214 if (epnum != 0 && epnum != 1) { in dwc3_gadget_free_endpoints()
2436 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
2439 dep = dwc->eps[epnum]; in dwc3_endpoint_interrupt()
2450 if (epnum == 0 || epnum == 1) { in dwc3_endpoint_interrupt()
2575 u32 epnum; in dwc3_clear_stall_all_ep() local
2577 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) { in dwc3_clear_stall_all_ep()
2581 dep = dwc->eps[epnum]; in dwc3_clear_stall_all_ep()