Lines Matching refs:epnum
29 if (mep->epnum) in mtu3_req_complete()
49 if (mep->epnum) in nuke()
173 if (usb_endpoint_num(desc) != mep->epnum) in mtu3_gadget_ep_enable()
243 mreq->epnum = mep->epnum; in mtu3_alloc_request()
275 __func__, mep->is_in ? "TX" : "RX", mreq->epnum, ep->name, in mtu3_gadget_queue()
612 u32 epnum, u32 is_in) in init_hw_ep() argument
614 mep->epnum = epnum; in init_hw_ep()
620 sprintf(mep->name, "ep%d%s", epnum, in init_hw_ep()
621 !epnum ? "" : (is_in ? "in" : "out")); in init_hw_ep()
627 if (!epnum) { in init_hw_ep()
644 if (!epnum) { in init_hw_ep()
656 u8 epnum; in mtu3_gadget_init_eps() local
665 for (epnum = 1; epnum < mtu->num_eps; epnum++) { in mtu3_gadget_init_eps()
666 init_hw_ep(mtu, mtu->in_eps + epnum, epnum, 1); in mtu3_gadget_init_eps()
667 init_hw_ep(mtu, mtu->out_eps + epnum, epnum, 0); in mtu3_gadget_init_eps()