/drivers/usb/mtu3/ |
D | mtu3_qmu.c | 482 for (i = 1; i < mtu->num_eps; i++) { in qmu_done_isr() 498 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr() 510 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr() 519 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
|
D | mtu3_core.c | 497 mtu->num_eps = min(in_ep_num, out_ep_num) + 1; in mtu3_mem_alloc() 498 ep_array = kcalloc(mtu->num_eps * 2, sizeof(*ep_array), GFP_KERNEL); in mtu3_mem_alloc() 504 mtu->out_eps = &ep_array[mtu->num_eps]; in mtu3_mem_alloc() 510 for (i = 1; i < mtu->num_eps; i++) { in mtu3_mem_alloc()
|
D | mtu3_gadget.c | 555 for (i = 1; i < mtu->num_eps; i++) { in stop_activity() 647 __func__, mtu->num_eps); in mtu3_gadget_init_eps() 650 for (epnum = 1; epnum < mtu->num_eps; epnum++) { in mtu3_gadget_init_eps()
|
D | mtu3.h | 311 int num_eps; member
|
D | mtu3_gadget_ep0.c | 232 if (epnum >= mtu->num_eps) { in ep0_get_status() 398 if (epnum == 0 || epnum >= mtu->num_eps || in ep0_handle_feature()
|
/drivers/usb/core/ |
D | devio.c | 913 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local 920 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams() 923 if (num_eps < 1 || num_eps > USB_MAXENDPOINTS) in parse_usbdevfs_streams() 930 eps = kmalloc(num_eps * sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams() 934 for (i = 0; i < num_eps; i++) { in parse_usbdevfs_streams() 968 *num_eps_ret = num_eps; in parse_usbdevfs_streams() 2337 unsigned num_streams, num_eps; in proc_alloc_streams() local 2342 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams() 2350 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams() 2357 unsigned num_eps; in proc_free_streams() local [all …]
|
D | hcd.c | 2144 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams() argument 2160 for (i = 0; i < num_eps; i++) { in usb_alloc_streams() 2169 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams() 2174 for (i = 0; i < num_eps; i++) in usb_alloc_streams() 2194 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams() argument 2207 for (i = 0; i < num_eps; i++) in usb_free_streams() 2211 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams() 2215 for (i = 0; i < num_eps; i++) in usb_free_streams()
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_core.c | 397 bdc->num_eps = num_ieps + num_oeps + 2; in bdc_mem_alloc() 400 num_ieps, num_oeps, bdc->num_eps); in bdc_mem_alloc() 402 bdc->bdc_ep_array = kcalloc(bdc->num_eps, sizeof(struct bdc_ep *), in bdc_mem_alloc()
|
D | bdc.h | 420 unsigned int num_eps; member
|
D | bdc_ep.c | 911 for (epnum = 1; epnum < bdc->num_eps; epnum++) { in bdc_free_ep() 2011 for (epnum = 2; epnum <= bdc->num_eps / 2; epnum++) { in bdc_init_ep()
|
/drivers/usb/host/ |
D | xhci.c | 3067 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_calculate_streams_and_bitmask() argument 3075 for (i = 0; i < num_eps; i++) { in xhci_calculate_streams_and_bitmask() 3099 struct usb_host_endpoint **eps, unsigned int num_eps) in xhci_calculate_no_streams_bitmask() argument 3111 for (i = 0; i < num_eps; i++) { in xhci_calculate_no_streams_bitmask() 3155 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_alloc_streams() argument 3205 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams() 3222 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams() 3236 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams() 3251 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams() 3281 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams() [all …]
|
/drivers/usb/musb/ |
D | jz4740.c | 70 .num_eps = 4,
|
D | musb_core.c | 1371 if (epn >= musb->config->num_eps) { in ep_config_from_table() 1388 n + 1, musb->config->num_eps * 2 - 1, in ep_config_from_table() 1415 for (epnum = 1; epnum < musb->config->num_eps; epnum++) { in ep_config_from_hw() 2015 BUG_ON(musb->config->num_eps > MUSB_C_NUM_EPS); in allocate_instance() 2017 epnum < musb->config->num_eps; in allocate_instance() 2542 for (i = 0; i < musb->config->num_eps; ++i) { in musb_save_context() 2623 for (i = 0; i < musb->config->num_eps; ++i) { in musb_restore_context()
|
D | sunxi.c | 664 .num_eps = SUNXI_MUSB_MAX_EP_NUM, 675 .num_eps = SUNXI_MUSB_MAX_EP_NUM_H3,
|
D | ux500.c | 36 .num_eps = 16,
|
D | omap2430.c | 448 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe()
|
D | da8xx.c | 520 .num_eps = 5,
|
D | musb_dsps.c | 819 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev()
|
/drivers/usb/gadget/udc/ |
D | dummy_hcd.c | 2527 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_alloc_streams() argument 2537 if (!num_eps) in dummy_alloc_streams() 2541 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams() 2561 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams() 2574 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_free_streams() argument 2584 for (i = 0; i < num_eps; i++) { in dummy_free_streams() 2592 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
|
/drivers/usb/usbip/ |
D | vhci_hcd.c | 1304 struct usb_host_endpoint **eps, unsigned int num_eps, in vhci_alloc_streams() argument 1313 struct usb_host_endpoint **eps, unsigned int num_eps, in vhci_free_streams() argument
|
/drivers/usb/dwc3/ |
D | core.h | 982 u8 num_eps; member
|
D | debugfs.c | 767 for (i = 0; i < dwc->num_eps; i++) { in dwc3_debugfs_create_endpoint_dirs()
|
D | core.c | 495 dwc->num_eps = DWC3_NUM_EPS(parms); in dwc3_core_num_eps()
|
D | gadget.c | 3290 ret = dwc3_gadget_init_endpoints(dwc, dwc->num_eps); in dwc3_gadget_init()
|