Home
last modified time | relevance | path

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

12

/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()
/external/chromium_org/third_party/libusb/src/libusb/
Dlibusb.h902 struct libusb_device_handle;
973 typedef struct libusb_device_handle libusb_device_handle; typedef
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 *dev,
1379 int LIBUSB_CALL libusb_claim_interface(libusb_device_handle *dev,
[all …]
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 *handle,
[all …]
Dcore.c1079 libusb_device_handle **handle) in libusb_open()
1082 struct libusb_device_handle *_handle; in libusb_open()
1148 libusb_device_handle * LIBUSB_CALL libusb_open_device_with_vid_pid( in libusb_open_device_with_vid_pid()
1154 struct libusb_device_handle *handle = NULL; in libusb_open_device_with_vid_pid()
1184 struct libusb_device_handle *dev_handle) in do_close()
1252 void API_EXPORTED libusb_close(libusb_device_handle *dev_handle) in libusb_close()
1314 libusb_device * LIBUSB_CALL libusb_get_device(libusb_device_handle *dev_handle) in libusb_get_device()
1339 int API_EXPORTED libusb_get_configuration(libusb_device_handle *dev, in libusb_get_configuration()
1416 int API_EXPORTED libusb_set_configuration(libusb_device_handle *dev, in libusb_set_configuration()
1451 int API_EXPORTED libusb_claim_interface(libusb_device_handle *dev, in libusb_claim_interface()
[all …]
Dsync.c90 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle, in libusb_control_transfer()
158 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, in do_sync_bulk_transfer()
252 int API_EXPORTED libusb_bulk_transfer(struct libusb_device_handle *dev_handle, in libusb_bulk_transfer()
302 struct libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_interrupt_transfer()
Ddescriptor.c902 int API_EXPORTED libusb_get_bos_descriptor(libusb_device_handle *handle, in libusb_get_bos_descriptor()
1148 int API_EXPORTED libusb_get_string_descriptor_ascii(libusb_device_handle *dev, in libusb_get_string_descriptor_ascii()
Dio.c1527 struct libusb_device_handle *handle = transfer->dev_handle; in usbi_handle_transfer_completion()
2519 void usbi_handle_disconnect(struct libusb_device_handle *handle) in usbi_handle_disconnect()
/external/chromium_org/third_party/libusb/src/libusb/os/
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 *handle) in obsd_open()
[all …]
Dwindows_usb.c50 static int common_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int ifa…
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 if…
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 ifac…
61 static int winusbx_set_interface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, i…
63 static int winusbx_clear_halt(int sub_api, struct libusb_device_handle *dev_handle, unsigned char e…
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_handle);
[all …]
Dwince_usb.c414 static int wince_open(struct libusb_device_handle *handle) in wince_open()
421 static void wince_close(struct libusb_device_handle *handle) in wince_close()
465 struct libusb_device_handle *handle, in wince_get_configuration()
478 struct libusb_device_handle *handle, in wince_set_configuration()
493 struct libusb_device_handle *handle, in wince_claim_interface()
504 struct libusb_device_handle *handle, in wince_release_interface()
518 struct libusb_device_handle *handle, in wince_set_interface_altsetting()
529 struct libusb_device_handle *handle, in wince_clear_halt()
543 struct libusb_device_handle *handle) in wince_reset_device()
553 struct libusb_device_handle *handle, in wince_kernel_driver_active()
[all …]
Dlinux_usbfs.c133 static int detach_kernel_driver_and_claim(struct libusb_device_handle *, int);
220 struct libusb_device_handle *handle) in _device_handle_priv()
1262 static int op_open(struct libusb_device_handle *handle) in op_open()
1299 static void op_close(struct libusb_device_handle *dev_handle) in op_close()
1306 static int op_get_configuration(struct libusb_device_handle *handle, in op_get_configuration()
1328 static int op_set_configuration(struct libusb_device_handle *handle, int config) in op_set_configuration()
1351 static int claim_interface(struct libusb_device_handle *handle, int iface) in claim_interface()
1370 static int release_interface(struct libusb_device_handle *handle, int iface) in release_interface()
1385 static int op_set_interface(struct libusb_device_handle *handle, int iface, in op_set_interface()
1409 static int op_clear_halt(struct libusb_device_handle *handle, in op_clear_halt()
[all …]
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, i…
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) in _device_handle_priv()
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… in ep_to_pipeRef()
922 static int darwin_open (struct libusb_device_handle *dev_handle) { in darwin_open()
979 static void darwin_close (struct libusb_device_handle *dev_handle) { in darwin_close()
1026 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) { in darwin_get_configuration()
1034 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) { in darwin_set_configuration()
1096 static int get_endpoints (struct libusb_device_handle *dev_handle, int iface) { in get_endpoints()
1139 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface) { in darwin_claim_interface()
[all …]
/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.c83 libusb_device_handle *dev;
118 libusb_device_handle *dh = NULL; in canusb_findalldevs()
146 static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char* devserial) in canusb_opendevice()
164 libusb_device_handle *dh = NULL; in canusb_opendevice()
/external/libusb-compat/libusb/
Dusbi.h49 libusb_device_handle *handle;
/external/chromium_org/third_party/libusb/
Dupstream-tick147.patch5 @@ -1268,7 +1268,7 @@ static int darwin_release_interface(struct libusb_device_handle *dev_handle, …
/external/chromium_org/device/usb/
Dusb_device_handle_impl.h29 typedef libusb_device_handle* PlatformUsbDeviceHandle;
/external/libusb/examples/
Ddpfp.c60 static struct libusb_device_handle *devh = NULL;
Ddpfp_threaded.c61 static struct libusb_device_handle *devh = NULL;

12