Home
last modified time | relevance | path

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

12

/Linux-v5.10/arch/arm/mach-davinci/
Dusb.c22 .num_eps = 5,
Dusb-da8xx.c56 .num_eps = 5,
/Linux-v5.10/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-v5.10/drivers/usb/musb/
Djz4740.c71 .num_eps = 4,
181 .num_eps = 11,
Dmusb_core.c1514 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1531 n + 1, musb->config->num_eps * 2 - 1, in ep_config_from_table()
1558 for (epnum = 1; epnum < musb->config->num_eps; epnum++) { in ep_config_from_hw()
2155 BUG_ON(musb->config->num_eps > MUSB_C_NUM_EPS); in allocate_instance()
2157 epnum < musb->config->num_eps; in allocate_instance()
2669 for (i = 0; i < musb->config->num_eps; ++i) { in musb_save_context()
2750 for (i = 0; i < musb->config->num_eps; ++i) { in musb_restore_context()
Dux500.c23 .num_eps = 16,
Dsunxi.c652 .num_eps = SUNXI_MUSB_MAX_EP_NUM,
661 .num_eps = SUNXI_MUSB_MAX_EP_NUM_H3,
/Linux-v5.10/include/linux/usb/
Dmusb.h74 u8 num_eps; /* number of endpoints _with_ ep0 */ member
Dhcd.h346 struct usb_host_endpoint **eps, unsigned int num_eps,
352 struct usb_host_endpoint **eps, unsigned int num_eps,
/Linux-v5.10/drivers/usb/core/
Ddevio.c931 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
938 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams()
941 if (num_eps < 1 || num_eps > USB_MAXENDPOINTS) in parse_usbdevfs_streams()
948 eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams()
952 for (i = 0; i < num_eps; i++) { in parse_usbdevfs_streams()
986 *num_eps_ret = num_eps; in parse_usbdevfs_streams()
2389 unsigned num_streams, num_eps; in proc_alloc_streams() local
2394 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2402 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
2409 unsigned num_eps; in proc_free_streams() local
[all …]
Dhcd.c2002 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams() argument
2018 for (i = 0; i < num_eps; i++) { in usb_alloc_streams()
2027 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2032 for (i = 0; i < num_eps; i++) in usb_alloc_streams()
2052 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams() argument
2065 for (i = 0; i < num_eps; i++) in usb_free_streams()
2069 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams()
2073 for (i = 0; i < num_eps; i++) in usb_free_streams()
/Linux-v5.10/drivers/usb/mtu3/
Dmtu3_qmu.c546 for (i = 1; i < mtu->num_eps; i++) { in qmu_done_isr()
562 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
574 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
583 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
Dmtu3_gadget.c538 for (i = 1; i < mtu->num_eps; i++) { in stop_activity()
656 __func__, mtu->num_eps); in mtu3_gadget_init_eps()
659 for (epnum = 1; epnum < mtu->num_eps; epnum++) { in mtu3_gadget_init_eps()
Dmtu3_core.c574 mtu->num_eps = min(in_ep_num, out_ep_num) + 1; in mtu3_mem_alloc()
575 ep_array = kcalloc(mtu->num_eps * 2, sizeof(*ep_array), GFP_KERNEL); in mtu3_mem_alloc()
581 mtu->out_eps = &ep_array[mtu->num_eps]; in mtu3_mem_alloc()
587 for (i = 1; i < mtu->num_eps; i++) { in mtu3_mem_alloc()
Dmtu3_debugfs.c100 for (i = 0; i < mtu->num_eps; i++) { in mtu3_ep_used_show()
394 for (i = 1; i < mtu->num_eps; i++) { in mtu3_debugfs_create_ep_dirs()
Dmtu3.h339 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()
/Linux-v5.10/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-v5.10/include/uapi/linux/
Dusbdevice_fs.h178 unsigned int num_eps; member
/Linux-v5.10/tools/include/uapi/linux/
Dusbdevice_fs.h178 unsigned int num_eps; member
/Linux-v5.10/drivers/usb/host/
Dxhci.c3316 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_calculate_streams_and_bitmask() argument
3324 for (i = 0; i < num_eps; i++) { in xhci_calculate_streams_and_bitmask()
3348 struct usb_host_endpoint **eps, unsigned int num_eps) in xhci_calculate_no_streams_bitmask() argument
3360 for (i = 0; i < num_eps; i++) { in xhci_calculate_no_streams_bitmask()
3404 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_alloc_streams() argument
3454 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
3471 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3485 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3500 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3530 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
[all …]
/Linux-v5.10/drivers/usb/gadget/udc/
Ddummy_hcd.c2519 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_alloc_streams() argument
2529 if (!num_eps) in dummy_alloc_streams()
2533 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2553 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2566 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_free_streams() argument
2576 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
2584 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
/Linux-v5.10/arch/arm/mach-omap2/
Dboard-n8x0.c100 .num_eps = 16,
/Linux-v5.10/include/linux/
Dusb.h832 struct usb_host_endpoint **eps, unsigned int num_eps,
837 struct usb_host_endpoint **eps, unsigned int num_eps,

12