Lines Matching defs:epnum
1155 req->epnum = dep->number;
2496 u32 epnum;
2498 for (epnum = 2; epnum < dwc->num_eps; epnum++) {
2501 dep = dwc->eps[epnum];
3261 static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum)
3264 bool direction = epnum & 1;
3266 u8 num = epnum >> 1;
3273 dep->number = epnum;
3275 dep->regs = dwc->regs + DWC3_DEP_BASE(epnum);
3276 dwc->eps[epnum] = dep;
3314 u8 epnum;
3318 for (epnum = 0; epnum < total; epnum++) {
3321 ret = dwc3_gadget_init_endpoint(dwc, epnum);
3332 u8 epnum;
3334 for (epnum = 0; epnum < DWC3_ENDPOINTS_NUM; epnum++) {
3335 dep = dwc->eps[epnum];
3347 if (epnum != 0 && epnum != 1) {
3796 u8 epnum = event->endpoint_number;
3798 dep = dwc->eps[epnum];
3801 if ((epnum > 1) && !(dep->flags & DWC3_EP_TRANSFER_STARTED))
3806 !(epnum <= 1 && event->endpoint_event == DWC3_DEPEVT_XFERCOMPLETE))
3810 if (epnum == 0 || epnum == 1) {
3947 u32 epnum;
3949 for (epnum = 1; epnum < DWC3_ENDPOINTS_NUM; epnum++) {
3953 dep = dwc->eps[epnum];