Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/function/
H A Du_midi2.h77 unsigned int num_eps; member
/linux/drivers/usb/gadget/udc/bdc/
H A 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 = kzalloc_objs(struct bdc_ep *, bdc->num_eps); in bdc_mem_alloc()
H A Dbdc.h415 unsigned int num_eps; member
/linux/Documentation/driver-api/usb/
H A Dbulk-streams.rst34 struct usb_host_endpoint **eps, unsigned int num_eps,
79 struct usb_host_endpoint **eps, unsigned int num_eps,
H A Dwriting_musb_glue_layer.rst528 .num_eps = 4,
546 is not OTG compatible. Then ``num_eps`` (line 5) defines the number of USB
/linux/drivers/usb/core/
H A Ddevio.c956 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
963 get_user(num_eps, &streams->num_eps)) in parse_usbdevfs_streams()
966 if (num_eps < 1 || num_eps > USB_MAXENDPOINTS) in parse_usbdevfs_streams()
973 eps = kmalloc_objs(*eps, num_eps); in parse_usbdevfs_streams()
977 for (i = 0; i < num_eps; i++) { in parse_usbdevfs_streams()
1011 *num_eps_ret = num_eps; in parse_usbdevfs_streams()
2499 unsigned num_streams, num_eps; in proc_alloc_streams() local
2504 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2512 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
2519 unsigned num_eps; in proc_free_streams() local
[all …]
H A Dhcd.c2012 * @num_eps: number of endpoints in the array.
2024 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_alloc_streams()
2040 for (i = 0; i < num_eps; i++) { in usb_alloc_streams()
2049 ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps, in usb_alloc_streams()
2054 for (i = 0; i < num_eps; i++) in usb_alloc_streams()
2065 * @num_eps: number of endpoints in the array.
2074 struct usb_host_endpoint **eps, unsigned int num_eps, in usb_free_streams()
2087 for (i = 0; i < num_eps; i++) in usb_free_streams()
2091 ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags); in usb_free_streams()
2095 for (i = 0; i < num_eps; in usb_free_streams()
2022 usb_alloc_streams(struct usb_interface * interface,struct usb_host_endpoint ** eps,unsigned int num_eps,unsigned int num_streams,gfp_t mem_flags) usb_alloc_streams() argument
2072 usb_free_streams(struct usb_interface * interface,struct usb_host_endpoint ** eps,unsigned int num_eps,gfp_t mem_flags) usb_free_streams() argument
[all...]
/linux/drivers/usb/mtu3/
H A 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()
H A Dmtu3_core.c615 mtu->num_eps = min(in_ep_num, out_ep_num) + 1; in mtu3_mem_alloc()
616 ep_array = kzalloc_objs(*ep_array, mtu->num_eps * 2); 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()
H A 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()
H A Dmtu3.h346 int num_eps; member
H A 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/include/uapi/linux/
H A Dusbdevice_fs.h178 unsigned int num_eps; member
/linux/tools/include/uapi/linux/
H A Dusbdevice_fs.h
/linux/drivers/usb/host/
H A Dxhci.c3525 struct usb_host_endpoint **eps, unsigned int num_eps,
3533 for (i = 0; i < num_eps; i++) { in xhci_calculate_streams_and_bitmask()
3557 struct usb_host_endpoint **eps, unsigned int num_eps)
3569 for (i = 0; i < num_eps; i++) { in xhci_calculate_no_streams_bitmask()
3613 struct usb_host_endpoint **eps, unsigned int num_eps,
3663 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
3680 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3694 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3709 for (i = 0; i < num_eps; i++) { in xhci_alloc_streams()
3739 for (i = 0; i < num_eps; in xhci_alloc_streams()
3528 xhci_calculate_streams_and_bitmask(struct xhci_hcd * xhci,struct usb_device * udev,struct usb_host_endpoint ** eps,unsigned int num_eps,unsigned int * num_streams,u32 * changed_ep_bitmask) xhci_calculate_streams_and_bitmask() argument
3560 xhci_calculate_no_streams_bitmask(struct xhci_hcd * xhci,struct usb_device * udev,struct usb_host_endpoint ** eps,unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3616 xhci_alloc_streams(struct usb_hcd * hcd,struct usb_device * udev,struct usb_host_endpoint ** eps,unsigned int num_eps,unsigned int num_streams,gfp_t mem_flags) xhci_alloc_streams() argument
3783 xhci_free_streams(struct usb_hcd * hcd,struct usb_device * udev,struct usb_host_endpoint ** eps,unsigned int num_eps,gfp_t mem_flags) xhci_free_streams() argument
[all...]
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c2587 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_alloc_streams() argument
2597 if (!num_eps) in dummy_alloc_streams()
2601 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2621 for (i = 0; i < num_eps; i++) { in dummy_alloc_streams()
2634 struct usb_host_endpoint **eps, unsigned int num_eps, in dummy_free_streams() argument
2644 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
2652 for (i = 0; i < num_eps; i++) { in dummy_free_streams()
/linux/drivers/usb/musb/
H A Dmpfs.c48 .num_eps = MPFS_MUSB_MAX_EP_NUM,
H A Dda8xx.c505 .num_eps = 5,
H A Domap2430.c361 of_property_read_u32(np, "num-eps", (u32 *)&config->num_eps); in omap2430_probe()
H A Dmusb_dsps.c780 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev()
/linux/include/linux/
H A Dusb.h898 struct usb_host_endpoint **eps, unsigned int num_eps,
903 struct usb_host_endpoint **eps, unsigned int num_eps,
/linux/drivers/usb/usbip/
H A Dvhci_hcd.c1324 struct usb_host_endpoint **eps, unsigned int num_eps, in vhci_alloc_streams() argument
1333 struct usb_host_endpoint **eps, unsigned int num_eps, in vhci_free_streams() argument
/linux/drivers/usb/dwc3/
H A Dcore.c614 dwc->num_eps = DWC3_NUM_EPS(parms); in dwc3_core_num_eps()