Home
last modified time | relevance | path

Searched refs:num_eps (Results 1 – 25 of 25) sorted by relevance

/drivers/usb/gadget/udc/bdc/
Dbdc_core.c296 for (i = 1; i < bdc->num_eps; ++i) in bdc_mem_init()
395 bdc->num_eps = num_ieps + num_oeps + 2; in bdc_mem_alloc()
398 num_ieps, num_oeps, bdc->num_eps); in bdc_mem_alloc()
400 bdc->bdc_ep_array = kcalloc(bdc->num_eps, sizeof(struct bdc_ep *), in bdc_mem_alloc()
Dbdc.h415 unsigned int num_eps; member
Dbdc_ep.c907 for (epnum = 1; epnum < bdc->num_eps; epnum++) { in bdc_free_ep()
2009 for (epnum = 2; epnum <= bdc->num_eps / 2; epnum++) { in bdc_init_ep()
/drivers/usb/musb/
Djz4740.c71 .num_eps = 4,
181 .num_eps = 11,
Dmusb_core.c1515 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1532 n + 1, musb->config->num_eps * 2 - 1, in ep_config_from_table()
1559 for (epnum = 1; epnum < musb->config->num_eps; epnum++) { in ep_config_from_hw()
2169 BUG_ON(musb->config->num_eps > MUSB_C_NUM_EPS); in allocate_instance()
2171 epnum < musb->config->num_eps; in allocate_instance()
2686 for (i = 0; i < musb->config->num_eps; ++i) { in musb_save_context()
2767 for (i = 0; i < musb->config->num_eps; ++i) { in musb_restore_context()
Dsunxi.c652 .num_eps = SUNXI_MUSB_MAX_EP_NUM,
661 .num_eps = SUNXI_MUSB_MAX_EP_NUM_H3,
Dux500.c23 .num_eps = 16,
Domap2430.c352 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe()
Dda8xx.c496 .num_eps = 5,
Dmediatek.c441 .num_eps = MTK_MUSB_MAX_EP_NUM,
Dmusb_dsps.c779 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev()
/drivers/usb/core/
Ddevio.c942 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
949 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams()
952 if (num_eps < 1 || num_eps > USB_MAXENDPOINTS) in parse_usbdevfs_streams()
959 eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams()
963 for (i = 0; i < num_eps; i++) { in parse_usbdevfs_streams()
997 *num_eps_ret = num_eps; in parse_usbdevfs_streams()
2486 unsigned num_streams, num_eps; in proc_alloc_streams() local
2491 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2499 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
2506 unsigned num_eps; in proc_free_streams() local
[all …]
Dhcd.c2040 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams() argument
2056 for (i = 0; i < num_eps; i++) { in usb_alloc_streams()
2065 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2070 for (i = 0; i < num_eps; i++) in usb_alloc_streams()
2090 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams() argument
2103 for (i = 0; i < num_eps; i++) in usb_free_streams()
2107 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams()
2111 for (i = 0; i < num_eps; i++) in usb_free_streams()
/drivers/usb/mtu3/
Dmtu3_qmu.c552 for (i = 1; i < mtu->num_eps; i++) { in qmu_done_isr()
568 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
580 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
589 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
Dmtu3_core.c615 mtu->num_eps = min(in_ep_num, out_ep_num) + 1; in mtu3_mem_alloc()
616 ep_array = kcalloc(mtu->num_eps * 2, sizeof(*ep_array), GFP_KERNEL); in mtu3_mem_alloc()
622 mtu->out_eps = &ep_array[mtu->num_eps]; in mtu3_mem_alloc()
628 for (i = 1; i < mtu->num_eps; i++) { in mtu3_mem_alloc()
Dmtu3_gadget.c549 for (i = 1; i < mtu->num_eps; i++) { in stop_activity()
667 __func__, mtu->num_eps); in mtu3_gadget_init_eps()
670 for (epnum = 1; epnum < mtu->num_eps; epnum++) { in mtu3_gadget_init_eps()
Dmtu3_debugfs.c101 for (i = 0; i < mtu->num_eps; i++) { in mtu3_ep_used_show()
395 for (i = 1; i < mtu->num_eps; i++) { in mtu3_debugfs_create_ep_dirs()
Dmtu3.h336 int num_eps; member
Dmtu3_gadget_ep0.c235 if (epnum >= mtu->num_eps) { in ep0_get_status()
409 if (epnum == 0 || epnum >= mtu->num_eps || in ep0_handle_feature()
/drivers/usb/host/
Dxhci.c3431 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_calculate_streams_and_bitmask() argument
3439 for (i = 0; i < num_eps; i++) { in xhci_calculate_streams_and_bitmask()
3463 struct usb_host_endpoint **eps, unsigned int num_eps) in xhci_calculate_no_streams_bitmask() argument
3475 for (i = 0; i < num_eps; i++) { in xhci_calculate_no_streams_bitmask()
3519 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_alloc_streams() argument
3569 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
3586 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3600 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3615 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3645 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
[all …]
/drivers/usb/gadget/udc/
Ddummy_hcd.c2554 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_alloc_streams() argument
2564 if (!num_eps) in dummy_alloc_streams()
2568 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2588 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2601 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_free_streams() argument
2611 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
2619 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
/drivers/usb/usbip/
Dvhci_hcd.c1297 struct usb_host_endpoint **eps, unsigned int num_eps, in vhci_alloc_streams() argument
1306 struct usb_host_endpoint **eps, unsigned int num_eps, in vhci_free_streams() argument
/drivers/usb/dwc3/
Dcore.h1252 u8 num_eps; member
Dgadget.c724 for (num = 3; num < min_t(int, dwc->num_eps, DWC3_ENDPOINTS_NUM); in dwc3_gadget_clear_tx_fifos()
2360 for (epnum = 2; epnum < dwc->num_eps; epnum++) { in dwc3_stop_active_transfers()
4484 ret = dwc3_gadget_init_endpoints(dwc, dwc->num_eps); in dwc3_gadget_init()
Dcore.c550 dwc->num_eps = DWC3_NUM_EPS(parms); in dwc3_core_num_eps()