Home
last modified time | relevance | path

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

/qemu/hw/usb/
H A Dhcd-xhci.c931 eps[j++] = ep; in xhci_epmask_to_eps_with_streams()
939 USBEndpoint *eps[30]; in xhci_free_device_streams() local
944 usb_device_free_streams(eps[0]->dev, eps, nr_eps); in xhci_free_device_streams()
952 USBEndpoint *eps[30]; in xhci_alloc_device_streams() local
998 r = usb_device_alloc_streams(eps[0]->dev, eps, nr_eps, req_nr_streams); in xhci_alloc_device_streams()
1141 if (slot->eps[epid-1]) { in xhci_enable_ep()
1238 if (!slot->eps[epid-1]) { in xhci_ep_nuke_xfers()
1275 if (!slot->eps[epid-1]) { in xhci_disable_ep()
1295 slot->eps[epid-1] = NULL; in xhci_disable_ep()
1316 if (!slot->eps[epid-1]) { in xhci_stop_ep()
[all …]
H A Ddev-hid.c100 .eps = (USBDescEndpoint[]) {
131 .eps = (USBDescEndpoint[]) {
161 .eps = (USBDescEndpoint[]) {
191 .eps = (USBDescEndpoint[]) {
222 .eps = (USBDescEndpoint[]) {
253 .eps = (USBDescEndpoint[]) {
H A Ddesc.c194 rc = usb_desc_endpoint(iface->eps + i, flags, dest + pos, len - pos); in usb_desc_iface()
381 pid = (iface->eps[e].bEndpointAddress & USB_DIR_IN) ? in usb_desc_ep_init()
383 ep = iface->eps[e].bEndpointAddress & 0x0f; in usb_desc_ep_init()
384 usb_ep_set_type(dev, pid, ep, iface->eps[e].bmAttributes & 0x03); in usb_desc_ep_init()
387 iface->eps[e].wMaxPacketSize); in usb_desc_ep_init()
389 iface->eps[e].bmAttributes_super); in usb_desc_ep_init()
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 Ddev-audio.c224 .eps = (USBDescEndpoint[]) {
387 .eps = (USBDescEndpoint[]) {
440 .eps = (USBDescEndpoint[]) {
493 .eps = (USBDescEndpoint[]) {
H A Ddev-storage.c64 .eps = (USBDescEndpoint[]) {
99 .eps = (USBDescEndpoint[]) {
134 .eps = (USBDescEndpoint[]) {
H A Dhcd-xhci.h141 XHCIEPContext *eps[31]; member
H A Ddev-network.c161 .eps = (USBDescEndpoint[]) {
175 .eps = (USBDescEndpoint[]) {
232 .eps = (USBDescEndpoint[]) {
253 .eps = (USBDescEndpoint[]) {
H A Dhost-libusb.c1660 static int usb_host_alloc_streams(USBDevice *udev, USBEndpoint **eps, in usb_host_alloc_streams() argument
1669 endpoints[i] = eps[i]->nr; in usb_host_alloc_streams()
1670 if (eps[i]->pid == USB_TOKEN_IN) { in usb_host_alloc_streams()
1689 static void usb_host_free_streams(USBDevice *udev, USBEndpoint **eps, in usb_host_free_streams() argument
1698 endpoints[i] = eps[i]->nr; in usb_host_free_streams()
1699 if (eps[i]->pid == USB_TOKEN_IN) { in usb_host_free_streams()
H A Dcore.c738 struct USBEndpoint *eps; in usb_ep_get() local
746 eps = (pid == USB_TOKEN_IN) ? dev->ep_in : dev->ep_out; in usb_ep_get()
747 return eps + ep - 1; in usb_ep_get()
H A Ddev-serial.c134 .eps = (USBDescEndpoint[]) {
426 const int max_packet_size = desc_iface0.eps[0].wMaxPacketSize; in usb_serial_token_in()
H A Ddesc.h160 USBDescEndpoint *eps; member
H A Du2f.c77 .eps = (USBDescEndpoint[]) {
H A Ddev-wacom.c152 .eps = (USBDescEndpoint[]) {
H A Ddev-uas.c187 .eps = (USBDescEndpoint[]) {
238 .eps = (USBDescEndpoint[]) {
H A Dredirect.c1150 static int usbredir_alloc_streams(USBDevice *udev, USBEndpoint **eps, in usbredir_alloc_streams() argument
1172 alloc_streams.endpoints |= 1 << USBEP2I(eps[i]); in usbredir_alloc_streams()
1188 static void usbredir_free_streams(USBDevice *udev, USBEndpoint **eps, in usbredir_free_streams() argument
1203 free_streams.endpoints |= 1 << USBEP2I(eps[i]); in usbredir_free_streams()
H A Ddev-hub.c116 .eps = (USBDescEndpoint[]) {
H A Dhcd-ehci.c1142 int eps; in ehci_qh_do_overlay() local
1159 eps = get_field(q->qh.epchar, QH_EPCHAR_EPS); in ehci_qh_do_overlay()
1160 if (eps == EHCI_QH_EPS_HIGH) { in ehci_qh_do_overlay()
H A Ddev-mtp.c281 .eps = (USBDescEndpoint[]) {
323 .eps = (USBDescEndpoint[]) {
H A Dtrace-events89 …_fields(uint32_t addr, int rl, int mplen, int eps, int ep, int devaddr) "QH @ 0x%08x - rl %d, mple…
H A Ddev-smartcard-reader.c442 .eps = (USBDescEndpoint[]) {
/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);
/qemu/tests/tcg/xtensa/
H A Dtest_interrupt.S237 rsr a2, glue(eps, HIGH_LEVEL_SOFT_LEVEL)
247 wsr a2, glue(eps, HIGH_LEVEL_SOFT_LEVEL)