Searched refs:libusb_device_handle (Results 1 - 11 of 11) sorted by relevance

/external/libusb/libusb/
H A Dlibusb.h544 struct libusb_device_handle;
591 typedef struct libusb_device_handle libusb_device_handle; typedef in typeref:struct:libusb_device_handle
718 libusb_device_handle *dev_handle;
784 int libusb_get_configuration(libusb_device_handle *dev, int *config);
799 int libusb_open(libusb_device *dev, libusb_device_handle **handle);
800 void libusb_close(libusb_device_handle *dev_handle);
801 libusb_device *libusb_get_device(libusb_device_handle *dev_handle);
803 int libusb_set_configuration(libusb_device_handle *dev, int configuration);
804 int libusb_claim_interface(libusb_device_handle *de
[all...]
H A Dlibusbi.h221 struct libusb_device_handle { struct
301 void usbi_handle_disconnect(struct libusb_device_handle *handle);
443 int (*open)(struct libusb_device_handle *handle);
453 void (*close)(struct libusb_device_handle *handle);
544 int (*get_configuration)(struct libusb_device_handle *handle, int *config);
561 int (*set_configuration)(struct libusb_device_handle *handle, int config);
580 int (*claim_interface)(struct libusb_device_handle *handle, int iface);
597 int (*release_interface)(struct libusb_device_handle *handle, int iface);
613 int (*set_interface_altsetting)(struct libusb_device_handle *handle,
627 int (*clear_halt)(struct libusb_device_handle *handl
[all...]
H A Dcore.c359 libusb_device_handle *handle;
398 * (a \ref libusb_device_handle pointer). All "real" I/O operations then
857 API_EXPORTED int libusb_open(libusb_device *dev, libusb_device_handle **handle)
860 struct libusb_device_handle *_handle;
948 API_EXPORTED libusb_device_handle *libusb_open_device_with_vid_pid(
954 struct libusb_device_handle *handle = NULL;
984 struct libusb_device_handle *dev_handle)
1006 API_EXPORTED void libusb_close(libusb_device_handle *dev_handle)
1067 API_EXPORTED libusb_device *libusb_get_device(libusb_device_handle *dev_handle)
1092 API_EXPORTED int libusb_get_configuration(libusb_device_handle *de
[all...]
H A Dsync.c72 API_EXPORTED int libusb_control_transfer(libusb_device_handle *dev_handle,
153 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle,
255 API_EXPORTED int libusb_bulk_transfer(struct libusb_device_handle *dev_handle,
305 struct libusb_device_handle *dev_handle, unsigned char endpoint,
H A Ddescriptor.c675 API_EXPORTED int libusb_get_string_descriptor_ascii(libusb_device_handle *dev,
H A Dio.c2269 void usbi_handle_disconnect(struct libusb_device_handle *handle)
/external/libusb-compat/libusb/
H A Dusbi.h49 libusb_device_handle *handle;
/external/libusb/libusb/os/
H A Ddarwin_usb.c53 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface);
54 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface);
55 static int darwin_reset_device(struct libusb_device_handle *dev_handle);
116 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8_t *ifcp) {
216 struct libusb_device_handle *handle;
577 static int darwin_open (struct libusb_device_handle *dev_handle) {
638 static void darwin_close (struct libusb_device_handle *dev_handle) {
692 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) {
706 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) {
756 static int get_endpoints (struct libusb_device_handle *dev_handl
[all...]
H A Dlinux_usbfs.c152 struct libusb_device_handle *handle)
1049 static int op_open(struct libusb_device_handle *handle)
1075 static void op_close(struct libusb_device_handle *dev_handle)
1082 static int op_get_configuration(struct libusb_device_handle *handle,
1096 static int op_set_configuration(struct libusb_device_handle *handle, int config)
1131 static int op_claim_interface(struct libusb_device_handle *handle, int iface)
1150 static int op_release_interface(struct libusb_device_handle *handle, int iface)
1165 static int op_set_interface(struct libusb_device_handle *handle, int iface,
1189 static int op_clear_halt(struct libusb_device_handle *handle,
1209 static int op_reset_device(struct libusb_device_handle *handl
[all...]
/external/libusb/examples/
H A Ddpfp.c60 static struct libusb_device_handle *devh = NULL;
H A Ddpfp_threaded.c61 static struct libusb_device_handle *devh = NULL;

Completed in 114 milliseconds