Home
last modified time | relevance | path

Searched refs:USB_DIR_IN (Results 1 – 18 of 18) sorted by relevance

/qemu/include/hw/
H A Dusb.h93 #define USB_DIR_IN 0x80 macro
107 #define DeviceRequest ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE)<<8)
109 #define VendorDeviceRequest ((USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_DEVICE)<<8)
114 ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_INTERFACE)<<8)
118 ((USB_DIR_IN|USB_TYPE_CLASS|USB_RECIP_INTERFACE)<<8)
122 ((USB_DIR_IN|USB_TYPE_VENDOR|USB_RECIP_INTERFACE)<<8)
126 #define EndpointRequest ((USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_ENDPOINT)<<8)
/qemu/hw/usb/
H A Ddev-hid.c102 .bEndpointAddress = USB_DIR_IN | 0x01,
133 .bEndpointAddress = USB_DIR_IN | 0x01,
163 .bEndpointAddress = USB_DIR_IN | 0x01,
193 .bEndpointAddress = USB_DIR_IN | 0x01,
224 .bEndpointAddress = USB_DIR_IN | 0x01,
255 .bEndpointAddress = USB_DIR_IN | 0x01,
H A Dredirect.c455 (ep & USB_DIR_IN) ? USB_TOKEN_IN : USB_TOKEN_OUT, in usbredir_find_packet_by_id()
560 if (!(ep & USB_DIR_IN)) { in usbredir_handle_iso_data()
577 if (ep & USB_DIR_IN) { in usbredir_handle_iso_data()
817 if (ep & USB_DIR_IN || size == 0) { in usbredir_handle_bulk_data()
964 ep |= USB_DIR_IN; in usbredir_handle_data()
984 if (ep & USB_DIR_IN) { in usbredir_handle_data()
1010 if (ep & USB_DIR_IN) { in usbredir_stop_ep()
1018 if (ep & USB_DIR_IN) { in usbredir_stop_ep()
1133 control_packet.endpoint = control_packet.requesttype & USB_DIR_IN; in usbredir_handle_control()
1138 if (control_packet.requesttype & USB_DIR_IN) { in usbredir_handle_control()
[all …]
H A Dcore.c156 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_setup()
193 if (!(s->setup_buf[0] & USB_DIR_IN)) { in do_token_in()
207 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_in()
235 if (s->setup_buf[0] & USB_DIR_IN) { in do_token_out()
245 if (!(s->setup_buf[0] & USB_DIR_IN)) { in do_token_out()
H A Ddev-storage.c66 .bEndpointAddress = USB_DIR_IN | 0x01,
101 .bEndpointAddress = USB_DIR_IN | 0x01,
136 .bEndpointAddress = USB_DIR_IN | 0x01,
H A Dhost-libusb.c450 udev->setup_buf[0] == USB_DIR_IN && in usb_host_req_complete_ctrl()
571 xfer->xfer->endpoint |= USB_DIR_IN; in usb_host_iso_alloc()
910 pid = (devep & USB_DIR_IN) ? USB_TOKEN_IN : USB_TOKEN_OUT; in usb_host_ep_update()
926 (devep & USB_DIR_IN) ? "in" : "out", in usb_host_ep_update()
1497 int pid = (index & USB_DIR_IN) ? USB_TOKEN_IN : USB_TOKEN_OUT; in usb_host_handle_control()
1505 r = usb_host_req_alloc(s, p, (request >> 8) & USB_DIR_IN, length + 8); in usb_host_handle_control()
1572 ep = p->ep->nr | (r->in ? USB_DIR_IN : 0); in usb_host_handle_data()
1596 ep = p->ep->nr | (r->in ? USB_DIR_IN : 0); in usb_host_handle_data()
H A Ddev-uas.c199 .bEndpointAddress = USB_DIR_IN | UAS_PIPE_ID_STATUS,
209 .bEndpointAddress = USB_DIR_IN | UAS_PIPE_ID_DATA_IN,
251 .bEndpointAddress = USB_DIR_IN | UAS_PIPE_ID_STATUS,
263 .bEndpointAddress = USB_DIR_IN | UAS_PIPE_ID_DATA_IN,
H A Ddev-network.c163 .bEndpointAddress = USB_DIR_IN | 0x01,
177 .bEndpointAddress = USB_DIR_IN | 0x02,
234 .bEndpointAddress = USB_DIR_IN | 0x01,
255 .bEndpointAddress = USB_DIR_IN | 0x02,
H A Dpcap.c123 bool in = dev->setup_buf[0] & USB_DIR_IN; in do_usb_pcap_ctrl()
H A Du2f.c79 .bEndpointAddress = USB_DIR_IN | 0x01,
H A Ddev-wacom.c154 .bEndpointAddress = USB_DIR_IN | 0x01,
H A Ddev-mtp.c283 .bEndpointAddress = USB_DIR_IN | EP_DATA_IN,
291 .bEndpointAddress = USB_DIR_IN | EP_EVENT,
325 .bEndpointAddress = USB_DIR_IN | EP_DATA_IN,
333 .bEndpointAddress = USB_DIR_IN | EP_EVENT,
H A Ddev-smartcard-reader.c444 .bEndpointAddress = USB_DIR_IN | CCID_INT_IN_EP,
449 .bEndpointAddress = USB_DIR_IN | CCID_BULK_IN_EP,
H A Ddev-serial.c136 .bEndpointAddress = USB_DIR_IN | 0x01,
H A Ddev-hub.c118 .bEndpointAddress = USB_DIR_IN | 0x01,
H A Ddesc.c381 pid = (iface->eps[e].bEndpointAddress & USB_DIR_IN) ? in usb_desc_ep_init()
H A Dhcd-xhci.c1720 xfer->in_xfer = bmRequestType & USB_DIR_IN; in xhci_fire_ctl_transfer()
/qemu/linux-user/
H A Dsyscall.c5007 rw_dir = lurb->host_urb.endpoint & USB_DIR_IN ? VERIFY_WRITE : VERIFY_READ; in do_ioctl_usbdevfs_submiturb()