Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/arm/mach-davinci/
Dusb.c21 .num_eps = 5,
Dusb-da8xx.c55 .num_eps = 5,
/linux-6.1.9/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
/linux-6.1.9/drivers/usb/musb/
Djz4740.c71 .num_eps = 4,
177 .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()
2684 for (i = 0; i < musb->config->num_eps; ++i) { in musb_save_context()
2759 for (i = 0; i < musb->config->num_eps; ++i) { in musb_restore_context()
Dmpfs.c47 .num_eps = MPFS_MUSB_MAX_EP_NUM,
Dux500.c23 .num_eps = 16,
Dsunxi.c660 .num_eps = SUNXI_MUSB_MAX_EP_NUM,
669 .num_eps = SUNXI_MUSB_MAX_EP_NUM_H3,
/linux-6.1.9/drivers/usb/mtu3/
Dmtu3_qmu.c551 for (i = 1; i < mtu->num_eps; i++) { in qmu_done_isr()
567 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
579 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
588 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
Dmtu3_gadget.c567 for (i = 1; i < mtu->num_eps; i++) { in stop_activity()
698 __func__, mtu->num_eps); in mtu3_gadget_init_eps()
701 for (epnum = 1; epnum < mtu->num_eps; epnum++) { in mtu3_gadget_init_eps()
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_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.h337 int num_eps; member
Dmtu3_gadget_ep0.c237 if (epnum >= mtu->num_eps) { in ep0_get_status()
409 if (epnum == 0 || epnum >= mtu->num_eps || in ep0_handle_feature()
/linux-6.1.9/include/linux/usb/
Dmusb.h74 u8 num_eps; /* number of endpoints _with_ ep0 */ member
Dhcd.h335 struct usb_host_endpoint **eps, unsigned int num_eps,
341 struct usb_host_endpoint **eps, unsigned int num_eps,
/linux-6.1.9/Documentation/driver-api/usb/
Dbulk-streams.rst34 struct usb_host_endpoint **eps, unsigned int num_eps,
79 struct usb_host_endpoint **eps, unsigned int num_eps,
/linux-6.1.9/drivers/usb/core/
Ddevio.c944 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
951 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams()
954 if (num_eps < 1 || num_eps > USB_MAXENDPOINTS) in parse_usbdevfs_streams()
961 eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams()
965 for (i = 0; i < num_eps; i++) { in parse_usbdevfs_streams()
999 *num_eps_ret = num_eps; in parse_usbdevfs_streams()
2488 unsigned num_streams, num_eps; in proc_alloc_streams() local
2493 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2501 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
2508 unsigned num_eps; in proc_free_streams() local
[all …]
Dhcd.c2037 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams() argument
2053 for (i = 0; i < num_eps; i++) { in usb_alloc_streams()
2062 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2067 for (i = 0; i < num_eps; i++) in usb_alloc_streams()
2087 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams() argument
2100 for (i = 0; i < num_eps; i++) in usb_free_streams()
2104 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams()
2108 for (i = 0; i < num_eps; i++) in usb_free_streams()
/linux-6.1.9/tools/include/uapi/linux/
Dusbdevice_fs.h178 unsigned int num_eps; member
/linux-6.1.9/include/uapi/linux/
Dusbdevice_fs.h178 unsigned int num_eps; member
/linux-6.1.9/drivers/usb/host/
Dxhci.c3424 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_calculate_streams_and_bitmask() argument
3432 for (i = 0; i < num_eps; i++) { in xhci_calculate_streams_and_bitmask()
3456 struct usb_host_endpoint **eps, unsigned int num_eps) in xhci_calculate_no_streams_bitmask() argument
3468 for (i = 0; i < num_eps; i++) { in xhci_calculate_no_streams_bitmask()
3512 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_alloc_streams() argument
3562 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
3579 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3593 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3608 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3638 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
[all …]
/linux-6.1.9/drivers/usb/gadget/udc/
Ddummy_hcd.c2555 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_alloc_streams() argument
2565 if (!num_eps) in dummy_alloc_streams()
2569 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2589 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2602 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_free_streams() argument
2612 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
2620 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
/linux-6.1.9/arch/arm/mach-omap2/
Dboard-n8x0.c100 .num_eps = 16,

12