Home
last modified time | relevance | path

Searched refs:nr_eps (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/include/hw/
H A Dusb.h341 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);
/openbmc/qemu/hw/usb/
H A Dbus.c211 int usb_device_alloc_streams(USBDevice *dev, USBEndpoint **eps, int nr_eps, in usb_device_alloc_streams() argument
216 return klass->alloc_streams(dev, eps, nr_eps, streams); in usb_device_alloc_streams()
221 void usb_device_free_streams(USBDevice *dev, USBEndpoint **eps, int nr_eps) in usb_device_free_streams() argument
225 klass->free_streams(dev, eps, nr_eps); in usb_device_free_streams()
H A Dhost-libusb.c1660 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 Dhcd-xhci.c932 int nr_eps; in xhci_free_device_streams() local
934 nr_eps = xhci_epmask_to_eps_with_streams(xhci, slotid, epmask, NULL, eps); in xhci_free_device_streams()
935 if (nr_eps) { in xhci_free_device_streams()
936 usb_device_free_streams(eps[0]->dev, eps, nr_eps); in xhci_free_device_streams()
945 int i, r, nr_eps, req_nr_streams, dev_max_streams; in xhci_alloc_device_streams() local
947 nr_eps = xhci_epmask_to_eps_with_streams(xhci, slotid, epmask, epctxs, in xhci_alloc_device_streams()
949 if (nr_eps == 0) { in xhci_alloc_device_streams()
956 for (i = 1; i < nr_eps; i++) { in xhci_alloc_device_streams()
990 r = usb_device_alloc_streams(eps[0]->dev, eps, nr_eps, req_nr_streams); in xhci_alloc_device_streams()
H A Dredirect.c1151 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()
/openbmc/linux/drivers/cxl/core/
H A Dregion.c872 cxl_rr->nr_eps++; in cxl_rr_ep_add()
1037 cxl_rr->nr_eps, cxl_rr->nr_targets); in cxl_port_attach_region()
1043 if (cxl_rr->nr_eps == 0) in cxl_port_attach_region()
1066 cxl_rr->nr_eps--; in cxl_port_detach_region()
1074 cxl_rr->nr_eps--; in cxl_port_detach_region()
1085 if (cxl_rr->nr_eps == 0) in cxl_port_detach_region()
/openbmc/linux/drivers/cxl/
H A Dcxl.h667 int nr_eps; member