Home
last modified time | relevance | path

Searched refs:usb_dev_handle (Results 1 – 6 of 6) sorted by relevance

/external/libusb-compat/libusb/
Dusb.h274 struct usb_dev_handle;
275 typedef struct usb_dev_handle usb_dev_handle; typedef
287 usb_dev_handle *usb_open(struct usb_device *dev);
288 int usb_close(usb_dev_handle *dev);
289 int usb_get_string(usb_dev_handle *dev, int index, int langid, char *buf,
291 int usb_get_string_simple(usb_dev_handle *dev, int index, char *buf,
295 int usb_get_descriptor_by_endpoint(usb_dev_handle *udev, int ep,
297 int usb_get_descriptor(usb_dev_handle *udev, unsigned char type,
301 int usb_bulk_write(usb_dev_handle *dev, int ep, char *bytes, int size,
303 int usb_bulk_read(usb_dev_handle *dev, int ep, char *bytes, int size,
[all …]
Dcore.c652 API_EXPORTED usb_dev_handle *usb_open(struct usb_device *dev) in usb_open()
657 usb_dev_handle *udev = malloc(sizeof(*udev)); in usb_open()
674 API_EXPORTED int usb_close(usb_dev_handle *dev) in usb_close()
682 API_EXPORTED struct usb_device *usb_device(usb_dev_handle *dev) in usb_device()
687 API_EXPORTED int usb_set_configuration(usb_dev_handle *dev, int configuration) in usb_set_configuration()
693 API_EXPORTED int usb_claim_interface(usb_dev_handle *dev, int interface) in usb_claim_interface()
707 API_EXPORTED int usb_release_interface(usb_dev_handle *dev, int interface) in usb_release_interface()
719 API_EXPORTED int usb_set_altinterface(usb_dev_handle *dev, int alternate) in usb_set_altinterface()
729 API_EXPORTED int usb_resetep(usb_dev_handle *dev, unsigned int ep) in usb_resetep()
734 API_EXPORTED int usb_clear_halt(usb_dev_handle *dev, unsigned int ep) in usb_clear_halt()
[all …]
Dusbi.h48 struct usb_dev_handle { struct
/external/libusb-compat/examples/
Dtestlibusb.c64 usb_dev_handle *udev; in print_device()
/external/libmtp/src/
Dlibusb-glue.h89 usb_dev_handle* handle;
Dlibusb-glue.c239 usb_dev_handle *devh; in probe_device_descriptor()
1655 usb_dev_handle *device_handle; in init_ptp_usb()