Searched refs:nr_eps (Results 1 – 5 of 5) sorted by relevance
/qemu/include/hw/ |
H A D | usb.h | 341 int (*alloc_streams)(USBDevice *dev, USBEndpoint **eps, int nr_eps, 343 void (*free_streams)(USBDevice *dev, USBEndpoint **eps, int nr_eps); 553 int usb_device_alloc_streams(USBDevice *dev, USBEndpoint **eps, int nr_eps, 555 void usb_device_free_streams(USBDevice *dev, USBEndpoint **eps, int nr_eps);
|
/qemu/hw/usb/ |
H A D | bus.c | 210 int usb_device_alloc_streams(USBDevice *dev, USBEndpoint **eps, int nr_eps, in usb_device_alloc_streams() argument 215 return klass->alloc_streams(dev, eps, nr_eps, streams); in usb_device_alloc_streams() 220 void usb_device_free_streams(USBDevice *dev, USBEndpoint **eps, int nr_eps) in usb_device_free_streams() argument 224 klass->free_streams(dev, eps, nr_eps); in usb_device_free_streams()
|
H A D | host-libusb.c | 1660 int nr_eps, int streams) in usb_host_alloc_streams() argument 1667 for (i = 0; i < nr_eps; i++) { in usb_host_alloc_streams() 1673 rc = libusb_alloc_streams(s->dh, streams, endpoints, nr_eps); in usb_host_alloc_streams() 1689 int nr_eps) in usb_host_free_streams() argument 1696 for (i = 0; i < nr_eps; i++) { in usb_host_free_streams() 1702 libusb_free_streams(s->dh, endpoints, nr_eps); in usb_host_free_streams()
|
H A D | hcd-xhci.c | 937 int nr_eps; in xhci_free_device_streams() local 939 nr_eps = xhci_epmask_to_eps_with_streams(xhci, slotid, epmask, NULL, eps); in xhci_free_device_streams() 940 if (nr_eps) { in xhci_free_device_streams() 941 usb_device_free_streams(eps[0]->dev, eps, nr_eps); in xhci_free_device_streams() 950 int i, r, nr_eps, req_nr_streams, dev_max_streams; in xhci_alloc_device_streams() local 952 nr_eps = xhci_epmask_to_eps_with_streams(xhci, slotid, epmask, epctxs, in xhci_alloc_device_streams() 954 if (nr_eps == 0) { in xhci_alloc_device_streams() 961 for (i = 1; i < nr_eps; i++) { in xhci_alloc_device_streams() 995 r = usb_device_alloc_streams(eps[0]->dev, eps, nr_eps, req_nr_streams); in xhci_alloc_device_streams()
|
H A D | redirect.c | 1151 int nr_eps, int streams) in usbredir_alloc_streams() argument 1171 for (i = 0; i < nr_eps; i++) { in usbredir_alloc_streams() 1189 int nr_eps) in usbredir_free_streams() argument 1202 for (i = 0; i < nr_eps; i++) { in usbredir_free_streams()
|