Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/usb/gadget/function/
Df_midi2.c143 unsigned int num_eps; member
1290 for (i = 0; i < midi2->num_eps; i++) { in f_midi2_set_alt()
1301 for (i = 0; i < midi2->num_eps; i++) { in f_midi2_set_alt()
1365 for (i = 0; i < midi2->num_eps; i++) { in assign_block_descriptors()
1540 for (i = 0; i < midi2->num_eps; i++) { in f_midi2_create_card()
1590 for (i = 0; i < midi2->num_eps; i++) { in f_midi2_create_card()
1725 for (i = 0; i < midi2->num_eps; i++) in f_midi2_create_usb_configs()
1736 for (i = 0; i < midi2->num_eps; i++) in f_midi2_create_usb_configs()
1821 for (i = 0; i < midi2->num_eps; i++) { in f_midi2_create_usb_configs()
1943 for (i = 0; i < midi2->num_eps; i++) { in f_midi2_bind()
[all …]
Du_midi2.h77 unsigned int num_eps; member
/linux-6.6.21/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.6.21/include/linux/usb/
Dmusb.h74 u8 num_eps; /* number of endpoints _with_ ep0 */ member
Dhcd.h336 struct usb_host_endpoint **eps, unsigned int num_eps,
342 struct usb_host_endpoint **eps, unsigned int num_eps,
/linux-6.6.21/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.6.21/drivers/usb/musb/
Djz4740.c72 .num_eps = 4,
223 .num_eps = 11,
Dmusb_core.c1510 if (epn >= musb->config->num_eps) { in ep_config_from_table()
1527 n + 1, musb->config->num_eps * 2 - 1, in ep_config_from_table()
1554 for (epnum = 1; epnum < musb->config->num_eps; epnum++) { in ep_config_from_hw()
2164 BUG_ON(musb->config->num_eps > MUSB_C_NUM_EPS); in allocate_instance()
2166 epnum < musb->config->num_eps; in allocate_instance()
2677 for (i = 0; i < musb->config->num_eps; ++i) { in musb_save_context()
2752 for (i = 0; i < musb->config->num_eps; ++i) { in musb_restore_context()
Dmpfs.c48 .num_eps = MPFS_MUSB_MAX_EP_NUM,
Dux500.c23 .num_eps = 16,
Dsunxi.c665 .num_eps = (ARRAY_SIZE(sunxi_musb_mode_cfg_5eps) / 2) + 1,
675 .num_eps = (ARRAY_SIZE(sunxi_musb_mode_cfg_4eps) / 2) + 1,
/linux-6.6.21/drivers/usb/mtu3/
Dmtu3_qmu.c590 for (i = 1; i < mtu->num_eps; i++) { in qmu_done_isr()
608 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
622 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
631 for (i = 1; i < mtu->num_eps; i++) { in qmu_exception_isr()
Dmtu3_gadget.c566 for (i = 1; i < mtu->num_eps; i++) { in stop_activity()
697 __func__, mtu->num_eps); in mtu3_gadget_init_eps()
700 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.h338 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.6.21/drivers/usb/core/
Ddevio.c953 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
960 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams()
963 if (num_eps < 1 || num_eps > USB_MAXENDPOINTS) in parse_usbdevfs_streams()
970 eps = kmalloc_array(num_eps, sizeof(*eps), GFP_KERNEL); in parse_usbdevfs_streams()
974 for (i = 0; i < num_eps; i++) { in parse_usbdevfs_streams()
1008 *num_eps_ret = num_eps; in parse_usbdevfs_streams()
2497 unsigned num_streams, num_eps; in proc_alloc_streams() local
2502 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2510 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
2517 unsigned num_eps; in proc_free_streams() local
[all …]
Dhcd.c2016 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams() argument
2032 for (i = 0; i < num_eps; i++) { in usb_alloc_streams()
2041 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2046 for (i = 0; i < num_eps; i++) in usb_alloc_streams()
2066 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams() argument
2079 for (i = 0; i < num_eps; i++) in usb_free_streams()
2083 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams()
2087 for (i = 0; i < num_eps; i++) in usb_free_streams()
/linux-6.6.21/include/uapi/linux/
Dusbdevice_fs.h178 unsigned int num_eps; member
/linux-6.6.21/tools/include/uapi/linux/
Dusbdevice_fs.h178 unsigned int num_eps; member
/linux-6.6.21/drivers/usb/host/
Dxhci.c3265 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_calculate_streams_and_bitmask() argument
3273 for (i = 0; i < num_eps; i++) { in xhci_calculate_streams_and_bitmask()
3297 struct usb_host_endpoint **eps, unsigned int num_eps) in xhci_calculate_no_streams_bitmask() argument
3309 for (i = 0; i < num_eps; i++) { in xhci_calculate_no_streams_bitmask()
3353 struct usb_host_endpoint **eps, unsigned int num_eps, in xhci_alloc_streams() argument
3403 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
3420 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3434 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3449 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3479 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/arch/arm/mach-omap2/
Dboard-n8x0.c68 .num_eps = 16,

12