Home
last modified time | relevance | path

Searched refs:libusb_device_handle (Results 1 – 25 of 25) 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_aah/libusb/
Dlibusb.h639 struct libusb_device_handle;
709 typedef struct libusb_device_handle libusb_device_handle; typedef
886 libusb_device_handle *dev_handle;
966 int LIBUSB_CALL libusb_get_configuration(libusb_device_handle *dev,
986 int LIBUSB_CALL libusb_open(libusb_device *dev, libusb_device_handle **handle);
987 void LIBUSB_CALL libusb_close(libusb_device_handle *dev_handle);
988 libusb_device * LIBUSB_CALL libusb_get_device(libusb_device_handle *dev_handle);
990 int LIBUSB_CALL libusb_set_configuration(libusb_device_handle *dev,
992 int LIBUSB_CALL libusb_claim_interface(libusb_device_handle *dev,
994 int LIBUSB_CALL libusb_release_interface(libusb_device_handle *dev,
[all …]
Dlibusbi.h331 struct libusb_device_handle { struct
423 void usbi_handle_disconnect(struct libusb_device_handle *handle);
566 int (*open)(struct libusb_device_handle *handle);
576 void (*close)(struct libusb_device_handle *handle);
667 int (*get_configuration)(struct libusb_device_handle *handle, int *config);
684 int (*set_configuration)(struct libusb_device_handle *handle, int config);
703 int (*claim_interface)(struct libusb_device_handle *handle, int interface_number);
720 int (*release_interface)(struct libusb_device_handle *handle, int interface_number);
736 int (*set_interface_altsetting)(struct libusb_device_handle *handle,
750 int (*clear_halt)(struct libusb_device_handle *handle,
[all …]
Dcore.c942 libusb_device_handle **handle) in libusb_open()
945 struct libusb_device_handle *_handle; in libusb_open()
1006 libusb_device_handle * LIBUSB_CALL libusb_open_device_with_vid_pid( in libusb_open_device_with_vid_pid()
1012 struct libusb_device_handle *handle = NULL; in libusb_open_device_with_vid_pid()
1042 struct libusb_device_handle *dev_handle) in do_close()
1110 void API_EXPORTED libusb_close(libusb_device_handle *dev_handle) in libusb_close()
1172 libusb_device * LIBUSB_CALL libusb_get_device(libusb_device_handle *dev_handle) in libusb_get_device()
1197 int API_EXPORTED libusb_get_configuration(libusb_device_handle *dev, in libusb_get_configuration()
1266 int API_EXPORTED libusb_set_configuration(libusb_device_handle *dev, in libusb_set_configuration()
1297 int API_EXPORTED libusb_claim_interface(libusb_device_handle *dev, in libusb_claim_interface()
[all …]
Dsync.c72 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle, in libusb_control_transfer()
156 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, in do_sync_bulk_transfer()
258 int API_EXPORTED libusb_bulk_transfer(struct libusb_device_handle *dev_handle, in libusb_bulk_transfer()
308 struct libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_interrupt_transfer()
Ddescriptor.c678 int API_EXPORTED libusb_get_string_descriptor_ascii(libusb_device_handle *dev, in libusb_get_string_descriptor_ascii()
Dio.c2499 void usbi_handle_disconnect(struct libusb_device_handle *handle) in usbi_handle_disconnect()
/external/libusb_aah/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 *);
203 obsd_open(struct libusb_device_handle *handle) in obsd_open()
[all …]
Dwindows_usb.c58 static int winusb_open(struct libusb_device_handle *dev_handle);
59 static void winusb_close(struct libusb_device_handle *dev_handle);
60 static int winusb_configure_endpoints(struct libusb_device_handle *dev_handle, int iface);
61 static int winusb_claim_interface(struct libusb_device_handle *dev_handle, int iface);
62 static int winusb_release_interface(struct libusb_device_handle *dev_handle, int iface);
64 static int winusb_set_interface_altsetting(struct libusb_device_handle *dev_handle, int iface, int …
66 static int winusb_clear_halt(struct libusb_device_handle *dev_handle, unsigned char endpoint);
69 static int winusb_reset_device(struct libusb_device_handle *dev_handle);
74 static int composite_open(struct libusb_device_handle *dev_handle);
75 static void composite_close(struct libusb_device_handle *dev_handle);
[all …]
Ddarwin_usb.c65 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface);
66 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface);
67 static int darwin_reset_device(struct libusb_device_handle *dev_handle);
129 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8… in ep_to_pipeRef()
257 struct libusb_device_handle *handle; in darwin_devices_detached()
287 list_for_each_entry(handle, &ctx->open_devs, list, struct libusb_device_handle) { in darwin_devices_detached()
790 static int darwin_open (struct libusb_device_handle *dev_handle) { in darwin_open()
860 static void darwin_close (struct libusb_device_handle *dev_handle) { in darwin_close()
914 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) { in darwin_get_configuration()
922 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) { in darwin_set_configuration()
[all …]
Dwindows_usb.h128 int (*open)(struct libusb_device_handle *dev_handle);
129 void (*close)(struct libusb_device_handle *dev_handle);
130 int (*claim_interface)(struct libusb_device_handle *dev_handle, int iface);
131 …int (*set_interface_altsetting)(struct libusb_device_handle *dev_handle, int iface, int altsetting…
132 int (*release_interface)(struct libusb_device_handle *dev_handle, int iface);
133 int (*clear_halt)(struct libusb_device_handle *dev_handle, unsigned char endpoint);
134 int (*reset_device)(struct libusb_device_handle *dev_handle);
224 struct libusb_device_handle *handle) in _device_handle_priv()
Dlinux_usbfs.c168 struct libusb_device_handle *handle) in _device_handle_priv()
1214 static int op_open(struct libusb_device_handle *handle) in op_open()
1243 static void op_close(struct libusb_device_handle *dev_handle) in op_close()
1250 static int op_get_configuration(struct libusb_device_handle *handle, in op_get_configuration()
1269 static int op_set_configuration(struct libusb_device_handle *handle, int config) in op_set_configuration()
1304 static int op_claim_interface(struct libusb_device_handle *handle, int iface) in op_claim_interface()
1323 static int op_release_interface(struct libusb_device_handle *handle, int iface) in op_release_interface()
1338 static int op_set_interface(struct libusb_device_handle *handle, int iface, in op_set_interface()
1362 static int op_clear_halt(struct libusb_device_handle *handle, in op_clear_halt()
1382 static int op_reset_device(struct libusb_device_handle *handle) in op_reset_device()
[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/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_aah/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