/drivers/usb/gadget/udc/bdc/ |
D | bdc_core.c | 296 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()
|
D | bdc.h | 415 unsigned int num_eps; member
|
D | bdc_ep.c | 907 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/ |
D | jz4740.c | 71 .num_eps = 4, 181 .num_eps = 11,
|
D | musb_core.c | 1515 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()
|
D | sunxi.c | 652 .num_eps = SUNXI_MUSB_MAX_EP_NUM, 661 .num_eps = SUNXI_MUSB_MAX_EP_NUM_H3,
|
D | ux500.c | 23 .num_eps = 16,
|
D | omap2430.c | 352 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe()
|
D | da8xx.c | 496 .num_eps = 5,
|
D | mediatek.c | 441 .num_eps = MTK_MUSB_MAX_EP_NUM,
|
D | musb_dsps.c | 779 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev()
|
/drivers/usb/core/ |
D | devio.c | 942 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 …]
|
D | hcd.c | 2040 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/ |
D | mtu3_qmu.c | 552 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()
|
D | mtu3_core.c | 615 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()
|
D | mtu3_gadget.c | 549 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()
|
D | mtu3_debugfs.c | 101 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()
|
D | mtu3.h | 336 int num_eps; member
|
D | mtu3_gadget_ep0.c | 235 if (epnum >= mtu->num_eps) { in ep0_get_status() 409 if (epnum == 0 || epnum >= mtu->num_eps || in ep0_handle_feature()
|
/drivers/usb/host/ |
D | xhci.c | 3431 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/ |
D | dummy_hcd.c | 2554 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/ |
D | vhci_hcd.c | 1297 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/ |
D | core.h | 1252 u8 num_eps; member
|
D | gadget.c | 724 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()
|
D | core.c | 550 dwc->num_eps = DWC3_NUM_EPS(parms); in dwc3_core_num_eps()
|