Searched refs:libusb_device_handle (Results 1 - 25 of 25) 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/chromium_org/third_party/libusb/src/libusb/
H A Dlibusbi.h320 struct libusb_device_handle { struct
422 void usbi_handle_disconnect(struct libusb_device_handle *handle);
616 int (*open)(struct libusb_device_handle *handle);
626 void (*close)(struct libusb_device_handle *handle);
733 int (*get_configuration)(struct libusb_device_handle *handle, int *config);
750 int (*set_configuration)(struct libusb_device_handle *handle, int config);
769 int (*claim_interface)(struct libusb_device_handle *handle, int interface_number);
786 int (*release_interface)(struct libusb_device_handle *handle, int interface_number);
802 int (*set_interface_altsetting)(struct libusb_device_handle *handle,
816 int (*clear_halt)(struct libusb_device_handle *handl
[all...]
H A Dlibusb.h902 struct libusb_device_handle;
973 typedef struct libusb_device_handle libusb_device_handle; typedef in typeref:struct:libusb_device_handle
1212 libusb_device_handle *dev_handle;
1322 int LIBUSB_CALL libusb_get_configuration(libusb_device_handle *dev,
1340 int LIBUSB_CALL libusb_get_bos_descriptor(libusb_device_handle *handle,
1373 int LIBUSB_CALL libusb_open(libusb_device *dev, libusb_device_handle **handle);
1374 void LIBUSB_CALL libusb_close(libusb_device_handle *dev_handle);
1375 libusb_device * LIBUSB_CALL libusb_get_device(libusb_device_handle *dev_handle);
1377 int LIBUSB_CALL libusb_set_configuration(libusb_device_handle *de
[all...]
H A Dsync.c90 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle,
158 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle,
252 int API_EXPORTED libusb_bulk_transfer(struct libusb_device_handle *dev_handle,
302 struct libusb_device_handle *dev_handle, unsigned char endpoint,
H A Dcore.c366 libusb_device_handle *handle;
405 * (a \ref libusb_device_handle pointer). All "real" I/O operations then
1079 libusb_device_handle **handle)
1082 struct libusb_device_handle *_handle;
1148 libusb_device_handle * LIBUSB_CALL libusb_open_device_with_vid_pid(
1154 struct libusb_device_handle *handle = NULL;
1184 struct libusb_device_handle *dev_handle)
1252 void API_EXPORTED libusb_close(libusb_device_handle *dev_handle)
1314 libusb_device * LIBUSB_CALL libusb_get_device(libusb_device_handle *dev_handle)
1339 int API_EXPORTED libusb_get_configuration(libusb_device_handle *de
[all...]
H A Ddescriptor.c902 int API_EXPORTED libusb_get_bos_descriptor(libusb_device_handle *handle,
1148 int API_EXPORTED libusb_get_string_descriptor_ascii(libusb_device_handle *dev,
H A Dio.c554 void my_close_handle(libusb_device_handle *handle)
1527 struct libusb_device_handle *handle = transfer->dev_handle;
2519 void usbi_handle_disconnect(struct libusb_device_handle *handle)
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dopenbsd_usb.c52 static int obsd_open(struct libusb_device_handle *);
53 static void obsd_close(struct libusb_device_handle *);
62 static int obsd_get_configuration(struct libusb_device_handle *, int *);
63 static int obsd_set_configuration(struct libusb_device_handle *, int);
65 static int obsd_claim_interface(struct libusb_device_handle *, int);
66 static int obsd_release_interface(struct libusb_device_handle *, int);
68 static int obsd_set_interface_altsetting(struct libusb_device_handle *, int,
70 static int obsd_clear_halt(struct libusb_device_handle *, unsigned char);
71 static int obsd_reset_device(struct libusb_device_handle *);
239 obsd_open(struct libusb_device_handle *handl
[all...]
H A Dwindows_usb.c50 static int common_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int iface);
55 static int winusbx_open(int sub_api, struct libusb_device_handle *dev_handle);
56 static void winusbx_close(int sub_api, struct libusb_device_handle *dev_handle);
57 static int winusbx_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int iface);
58 static int winusbx_claim_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface);
59 static int winusbx_release_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface);
61 static int winusbx_set_interface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting);
63 static int winusbx_clear_halt(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint);
66 static int winusbx_reset_device(int sub_api, struct libusb_device_handle *dev_handle);
71 static int hid_open(int sub_api, struct libusb_device_handle *dev_handl
[all...]
H A Dwince_usb.c414 static int wince_open(struct libusb_device_handle *handle)
421 static void wince_close(struct libusb_device_handle *handle)
465 struct libusb_device_handle *handle,
478 struct libusb_device_handle *handle,
493 struct libusb_device_handle *handle,
504 struct libusb_device_handle *handle,
518 struct libusb_device_handle *handle,
529 struct libusb_device_handle *handle,
543 struct libusb_device_handle *handle)
553 struct libusb_device_handle *handl
[all...]
H A Dlinux_usbfs.c133 static int detach_kernel_driver_and_claim(struct libusb_device_handle *, int);
220 struct libusb_device_handle *handle)
1262 static int op_open(struct libusb_device_handle *handle)
1299 static void op_close(struct libusb_device_handle *dev_handle)
1306 static int op_get_configuration(struct libusb_device_handle *handle,
1328 static int op_set_configuration(struct libusb_device_handle *handle, int config)
1351 static int claim_interface(struct libusb_device_handle *handle, int iface)
1370 static int release_interface(struct libusb_device_handle *handle, int iface)
1385 static int op_set_interface(struct libusb_device_handle *handle, int iface,
1409 static int op_clear_halt(struct libusb_device_handle *handl
[all...]
H A Ddarwin_usb.c64 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface);
65 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface);
66 static int darwin_reset_device(struct libusb_device_handle *dev_handle);
152 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8_t *ifcp) {
922 static int darwin_open (struct libusb_device_handle *dev_handle) {
979 static void darwin_close (struct libusb_device_handle *dev_handle) {
1026 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) {
1034 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) {
1096 static int get_endpoints (struct libusb_device_handle *dev_handle, int iface) {
1139 static int darwin_claim_interface(struct libusb_device_handle *dev_handl
[all...]
H A Dwindows_usb.h114 int (*open)(int sub_api, struct libusb_device_handle *dev_handle);
115 void (*close)(int sub_api, struct libusb_device_handle *dev_handle);
116 int (*configure_endpoints)(int sub_api, struct libusb_device_handle *dev_handle, int iface);
117 int (*claim_interface)(int sub_api, struct libusb_device_handle *dev_handle, int iface);
118 int (*set_interface_altsetting)(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting);
119 int (*release_interface)(int sub_api, struct libusb_device_handle *dev_handle, int iface);
120 int (*clear_halt)(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint);
121 int (*reset_device)(int sub_api, struct libusb_device_handle *dev_handle);
284 struct 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/libpcap/
H A Dpcap-canusb-linux.c83 libusb_device_handle *dev;
118 libusb_device_handle *dh = NULL;
146 static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char* devserial)
164 libusb_device_handle *dh = NULL;
/external/chromium_org/device/usb/
H A Dusb_device_handle_impl.h29 typedef libusb_device_handle* PlatformUsbDeviceHandle;
/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 253 milliseconds