Home
last modified time | relevance | path

Searched refs:ep_number (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/gadget/udc/
H A Dudc-xilinx.c1304 u32 ep_number; in xudc_eps_init() local
1308 for (ep_number = 0; ep_number < XUSB_MAX_ENDPOINTS; ep_number++) { in xudc_eps_init()
1309 struct xusb_ep *ep = &udc->ep[ep_number]; in xudc_eps_init()
1311 if (ep_number) { in xudc_eps_init()
1316 snprintf(ep->name, EPNAME_SIZE, "ep%d", ep_number); in xudc_eps_init()
1335 ep->epnumber = ep_number; in xudc_eps_init()
1341 ep->offset = XUSB_EP0_CONFIG_OFFSET + (ep_number * 0x10); in xudc_eps_init()
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c3154 int ep_dir, ep_number; in cdns3_init_eps() local
3167 ep_number = i & 0xF; /* i % 16 */ in cdns3_init_eps()
3173 if (ep_dir && !ep_number) { in cdns3_init_eps()
3186 priv_ep->num = ep_number; in cdns3_init_eps()
3189 if (!ep_number) { in cdns3_init_eps()
3197 ep_number, !!ep_dir ? "in" : "out"); in cdns3_init_eps()