Home
last modified time | relevance | path

Searched refs:libusb_device_handle (Results 1 – 13 of 13) sorted by relevance

/external/libusb/libusb/
Dlibusb.h544 struct libusb_device_handle;
591 typedef struct libusb_device_handle libusb_device_handle; typedef
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 *dev, int iface);
805 int libusb_release_interface(libusb_device_handle *dev, int iface);
[all …]
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 *handle,
[all …]
Dcore.c857 API_EXPORTED int libusb_open(libusb_device *dev, libusb_device_handle **handle) in libusb_open()
860 struct libusb_device_handle *_handle; in libusb_open()
948 API_EXPORTED libusb_device_handle *libusb_open_device_with_vid_pid( in libusb_open_device_with_vid_pid()
954 struct libusb_device_handle *handle = NULL; in libusb_open_device_with_vid_pid()
984 struct libusb_device_handle *dev_handle) in do_close()
1006 API_EXPORTED void libusb_close(libusb_device_handle *dev_handle) in libusb_close()
1067 API_EXPORTED libusb_device *libusb_get_device(libusb_device_handle *dev_handle) in libusb_get_device()
1092 API_EXPORTED int libusb_get_configuration(libusb_device_handle *dev, in libusb_get_configuration()
1161 API_EXPORTED int libusb_set_configuration(libusb_device_handle *dev, in libusb_set_configuration()
1192 API_EXPORTED int libusb_claim_interface(libusb_device_handle *dev, in libusb_claim_interface()
[all …]
Dsync.c72 API_EXPORTED int libusb_control_transfer(libusb_device_handle *dev_handle, in libusb_control_transfer()
153 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, in do_sync_bulk_transfer()
255 API_EXPORTED int libusb_bulk_transfer(struct libusb_device_handle *dev_handle, in libusb_bulk_transfer()
305 struct libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_interrupt_transfer()
Ddescriptor.c675 API_EXPORTED int libusb_get_string_descriptor_ascii(libusb_device_handle *dev, in libusb_get_string_descriptor_ascii()
Dio.c2269 void usbi_handle_disconnect(struct libusb_device_handle *handle) in usbi_handle_disconnect()
/external/libusb/libusb/os/
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… in ep_to_pipeRef()
216 struct libusb_device_handle *handle; in darwin_devices_detached()
577 static int darwin_open (struct libusb_device_handle *dev_handle) { in darwin_open()
638 static void darwin_close (struct libusb_device_handle *dev_handle) { in darwin_close()
692 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) { in darwin_get_configuration()
706 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) { in darwin_set_configuration()
756 static int get_endpoints (struct libusb_device_handle *dev_handle, int iface) { in get_endpoints()
[all …]
Dlinux_usbfs.c152 struct libusb_device_handle *handle) in __device_handle_priv()
1049 static int op_open(struct libusb_device_handle *handle) in op_open()
1075 static void op_close(struct libusb_device_handle *dev_handle) in op_close()
1082 static int op_get_configuration(struct libusb_device_handle *handle, in op_get_configuration()
1096 static int op_set_configuration(struct libusb_device_handle *handle, int config) in op_set_configuration()
1131 static int op_claim_interface(struct libusb_device_handle *handle, int iface) in op_claim_interface()
1150 static int op_release_interface(struct libusb_device_handle *handle, int iface) in op_release_interface()
1165 static int op_set_interface(struct libusb_device_handle *handle, int iface, in op_set_interface()
1189 static int op_clear_halt(struct libusb_device_handle *handle, in op_clear_halt()
1209 static int op_reset_device(struct libusb_device_handle *handle) in op_reset_device()
[all …]
/external/libpcap/
Dpcap-canusb-linux.c84 libusb_device_handle *dev;
119 libusb_device_handle *dh = NULL; in canusb_findalldevs()
147 static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char* devserial) in canusb_opendevice()
165 libusb_device_handle *dh = NULL; in canusb_opendevice()
/external/libusb-compat/libusb/
Dusbi.h49 libusb_device_handle *handle;
/external/libusb/examples/
Ddpfp.c60 static struct libusb_device_handle *devh = NULL;
Ddpfp_threaded.c61 static struct libusb_device_handle *devh = NULL;
/external/libusb/
DChangeLog878 libusb_open() returns int instead of libusb_device_handle.
1575 Rename libusb_dev_handle to libusb_device_handle