Home
last modified time | relevance | path

Searched refs:USB_ENDPOINT_IN (Results 1 – 4 of 4) sorted by relevance

/external/libusb-compat/libusb/
Dcore.c766 if (!(ep & USB_ENDPOINT_IN)) { in usb_bulk_read()
771 ep |= USB_ENDPOINT_IN; in usb_bulk_read()
780 if (ep & USB_ENDPOINT_IN) { in usb_bulk_write()
785 ep &= ~USB_ENDPOINT_IN; in usb_bulk_write()
811 if (!(ep & USB_ENDPOINT_IN)) { in usb_interrupt_read()
816 ep |= USB_ENDPOINT_IN; in usb_interrupt_read()
824 if (ep & USB_ENDPOINT_IN) { in usb_interrupt_write()
829 ep &= ~USB_ENDPOINT_IN; in usb_interrupt_write()
Dusb.h230 #define USB_ENDPOINT_IN 0x80 macro
/external/libmtp/src/
Dlibopenusb1-glue.c378 ctrl.setup.bmRequestType = USB_ENDPOINT_IN | USB_RECIP_DEVICE | USB_REQ_TYPE_VENDOR; in probe_device_descriptor()
388 ret = openusb_ctrl_xfer(*devh, 0, USB_ENDPOINT_IN, &ctrl); in probe_device_descriptor()
433 ctrl.setup.bmRequestType = USB_ENDPOINT_IN | USB_RECIP_DEVICE | USB_REQ_TYPE_VENDOR; in probe_device_descriptor()
443 ret = openusb_ctrl_xfer(*devh, 0, USB_ENDPOINT_IN, &ctrl); in probe_device_descriptor()
1804 ctrl.setup.bmRequestType = USB_REQ_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN; in init_ptp_usb()
1825 ctrl.setup.bmRequestType = USB_REQ_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN; in init_ptp_usb()
1846 ctrl.setup.bmRequestType = USB_REQ_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN; in init_ptp_usb()
1867 ctrl.setup.bmRequestType = USB_REQ_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN; in init_ptp_usb()
2248 ctrl.setup.bmRequestType = USB_ENDPOINT_IN | USB_RECIP_ENDPOINT; in usb_get_endpoint_status()
Dlibusb-glue.c418 USB_ENDPOINT_IN | USB_RECIP_DEVICE | USB_TYPE_VENDOR, in probe_device_descriptor()
458 USB_ENDPOINT_IN | USB_RECIP_DEVICE | USB_TYPE_VENDOR, in probe_device_descriptor()
1747 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, in init_ptp_usb()
1755 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, in init_ptp_usb()
1763 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, in init_ptp_usb()
1771 USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, in init_ptp_usb()