Lines Matching refs:epnum
58 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans() argument
67 dep = dwc->eps[epnum]; in dwc3_ep0_start_trans()
115 req->epnum = dep->number; in __dwc3_gadget_ep0_queue()
313 u32 epnum; in dwc3_wIndex_to_dep() local
315 epnum = (windex & USB_ENDPOINT_NUMBER_MASK) << 1; in dwc3_wIndex_to_dep()
317 epnum |= 1; in dwc3_wIndex_to_dep()
319 dep = dwc->eps[epnum]; in dwc3_wIndex_to_dep()
784 u8 epnum; in dwc3_ep0_complete_data() local
786 epnum = event->endpoint_number; in dwc3_ep0_complete_data()
832 if ((epnum & 1) && ur->actual < ur->length) { in dwc3_ep0_complete_data()
845 ret = dwc3_ep0_start_trans(dwc, epnum, in dwc3_ep0_complete_data()
1077 u8 epnum = event->endpoint_number; in dwc3_ep0_interrupt() local
1081 epnum >> 1, (epnum & 1) ? "in" : "out", in dwc3_ep0_interrupt()