Home
last modified time | relevance | path

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

/drivers/usb/mtu3/
Dmtu3_qmu.c482 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()
Dmtu3_core.c497 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()
Dmtu3_gadget.c555 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()
Dmtu3.h311 int num_eps; member
Dmtu3_gadget_ep0.c232 if (epnum >= mtu->num_eps) { in ep0_get_status()
398 if (epnum == 0 || epnum >= mtu->num_eps || in ep0_handle_feature()
/drivers/usb/core/
Ddevio.c913 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 …]
Dhcd.c2144 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/
Dbdc_core.c397 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()
Dbdc.h420 unsigned int num_eps; member
Dbdc_ep.c911 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/
Dxhci.c3067 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/
Djz4740.c70 .num_eps = 4,
Dmusb_core.c1371 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()
Dsunxi.c664 .num_eps = SUNXI_MUSB_MAX_EP_NUM,
675 .num_eps = SUNXI_MUSB_MAX_EP_NUM_H3,
Dux500.c36 .num_eps = 16,
Domap2430.c448 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe()
Dda8xx.c520 .num_eps = 5,
Dmusb_dsps.c819 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev()
/drivers/usb/gadget/udc/
Ddummy_hcd.c2527 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/
Dvhci_hcd.c1304 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/
Dcore.h982 u8 num_eps; member
Ddebugfs.c767 for (i = 0; i < dwc->num_eps; i++) { in dwc3_debugfs_create_endpoint_dirs()
Dcore.c495 dwc->num_eps = DWC3_NUM_EPS(parms); in dwc3_core_num_eps()
Dgadget.c3290 ret = dwc3_gadget_init_endpoints(dwc, dwc->num_eps); in dwc3_gadget_init()