Lines Matching defs:epnum
909 req->epnum = dep->number;
2088 u32 epnum;
2090 for (epnum = 2; epnum < dwc->num_eps; epnum++) {
2093 dep = dwc->eps[epnum];
2677 static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum)
2680 bool direction = epnum & 1;
2682 u8 num = epnum >> 1;
2689 dep->number = epnum;
2691 dep->regs = dwc->regs + DWC3_DEP_BASE(epnum);
2692 dwc->eps[epnum] = dep;
2730 u8 epnum;
2734 for (epnum = 0; epnum < total; epnum++) {
2737 ret = dwc3_gadget_init_endpoint(dwc, epnum);
2748 u8 epnum;
2750 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) {
2751 dep = dwc->eps[epnum];
2763 if (epnum != 0 && epnum != 1) {
3200 u8 epnum = event->endpoint_number;
3202 dep = dwc->eps[epnum];
3213 if (epnum == 0 || epnum == 1) {
3321 u32 epnum;
3323 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) {
3327 dep = dwc->eps[epnum];