/external/libusb/include/libusb/ |
H A D | libusbi.h | 399 struct libusb_device_handle { struct 515 void usbi_handle_disconnect(struct libusb_device_handle *dev_handle); 713 int (*open)(struct libusb_device_handle *dev_handle); 723 void (*close)(struct libusb_device_handle *dev_handle); 830 int (*get_configuration)(struct libusb_device_handle *dev_handle, int *config); 847 int (*set_configuration)(struct libusb_device_handle *dev_handle, int config); 866 int (*claim_interface)(struct libusb_device_handle *dev_handle, int interface_number); 883 int (*release_interface)(struct libusb_device_handle *dev_handle, int interface_number); 899 int (*set_interface_altsetting)(struct libusb_device_handle *dev_handle, 913 int (*clear_halt)(struct libusb_device_handle *dev_handl [all...] |
H A D | libusb.h | 900 struct libusb_device_handle; 970 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 *dev_handle, 1373 int LIBUSB_CALL libusb_open(libusb_device *dev, libusb_device_handle **dev_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_handl [all...] |
/external/libusb/libusb/ |
H A D | libusbi.h | 399 struct libusb_device_handle { struct 515 void usbi_handle_disconnect(struct libusb_device_handle *dev_handle); 713 int (*open)(struct libusb_device_handle *dev_handle); 723 void (*close)(struct libusb_device_handle *dev_handle); 830 int (*get_configuration)(struct libusb_device_handle *dev_handle, int *config); 847 int (*set_configuration)(struct libusb_device_handle *dev_handle, int config); 866 int (*claim_interface)(struct libusb_device_handle *dev_handle, int interface_number); 883 int (*release_interface)(struct libusb_device_handle *dev_handle, int interface_number); 899 int (*set_interface_altsetting)(struct libusb_device_handle *dev_handle, 913 int (*clear_halt)(struct libusb_device_handle *dev_handl [all...] |
H A D | libusb.h | 900 struct libusb_device_handle; 970 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 *dev_handle, 1373 int LIBUSB_CALL libusb_open(libusb_device *dev, libusb_device_handle **dev_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_handl [all...] |
H A D | sync.c | 94 int API_EXPORTED libusb_control_transfer(libusb_device_handle *dev_handle, 166 static int do_sync_bulk_transfer(struct libusb_device_handle *dev_handle, 269 int API_EXPORTED libusb_bulk_transfer(struct libusb_device_handle *dev_handle, 322 struct libusb_device_handle *dev_handle, unsigned char endpoint,
|
H A D | core.c | 459 * - \ref libusb_device_handle 533 libusb_device_handle *handle; 572 * (a \ref libusb_device_handle pointer). All "real" I/O operations then 1241 libusb_device_handle **dev_handle) 1244 struct libusb_device_handle *_dev_handle; 1302 libusb_device_handle * LIBUSB_CALL libusb_open_device_with_vid_pid( 1308 struct libusb_device_handle *dev_handle = NULL; 1338 struct libusb_device_handle *dev_handle) 1402 void API_EXPORTED libusb_close(libusb_device_handle *dev_handle) 1463 libusb_device * LIBUSB_CALL libusb_get_device(libusb_device_handle *dev_handl [all...] |
/external/libusb-compat/libusb/ |
H A D | usbi.h | 49 libusb_device_handle *handle;
|
/external/libusb/examples/ |
H A D | ezusb.h | 96 extern int ezusb_load_ram(libusb_device_handle *device, 110 extern int ezusb_load_eeprom(libusb_device_handle *device,
|
H A D | hotplugtest.c | 27 libusb_device_handle *handle = NULL;
|
H A D | ezusb.c | 125 static int ezusb_write(libusb_device_handle *device, const char *label, 148 static int ezusb_read(libusb_device_handle *device, const char *label, 172 static bool ezusb_cpucs(libusb_device_handle *device, uint32_t addr, bool doRun) 201 static bool ezusb_fx3_jump(libusb_device_handle *device, uint32_t addr) 498 libusb_device_handle *device; 566 static int fx3_load_ram(libusb_device_handle *device, const char *path) 718 int ezusb_load_ram(libusb_device_handle *device, const char *path, int fx_type, int img_type, int stage)
|
H A D | xusb.c | 186 static int display_ps3_status(libusb_device_handle *handle) 277 static int display_xbox_status(libusb_device_handle *handle) 298 static int set_xbox_actuators(libusb_device_handle *handle, uint8_t left, uint8_t right) 315 static int send_mass_storage_command(libusb_device_handle *handle, uint8_t endpoint, uint8_t lun, 371 static int get_mass_storage_status(libusb_device_handle *handle, uint8_t endpoint, uint32_t expected_tag) 418 static void get_sense(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t endpoint_out) 454 static int test_mass_storage(libusb_device_handle *handle, uint8_t endpoint_in, uint8_t endpoint_out) 608 static int test_hid(libusb_device_handle *handle, uint8_t endpoint_in) 705 static void read_ms_winsub_feature_descriptors(libusb_device_handle *handle, uint8_t bRequest, int iface_number) 798 libusb_device_handle *handl [all...] |
H A D | testlibusb.c | 99 static void print_bos(libusb_device_handle *handle)
167 libusb_device_handle *handle = NULL;
|
H A D | sam3u_benchmark.c | 38 static struct libusb_device_handle *devh = NULL;
|
H A D | fxload.c | 97 libusb_device_handle *device = NULL;
|
/external/libusb/libusb/os/ |
H A D | netbsd_usb.c | 52 static int netbsd_open(struct libusb_device_handle *); 53 static void netbsd_close(struct libusb_device_handle *); 62 static int netbsd_get_configuration(struct libusb_device_handle *, int *); 63 static int netbsd_set_configuration(struct libusb_device_handle *, int); 65 static int netbsd_claim_interface(struct libusb_device_handle *, int); 66 static int netbsd_release_interface(struct libusb_device_handle *, int); 68 static int netbsd_set_interface_altsetting(struct libusb_device_handle *, int, 70 static int netbsd_clear_halt(struct libusb_device_handle *, unsigned char); 71 static int netbsd_reset_device(struct libusb_device_handle *); 213 netbsd_open(struct libusb_device_handle *handl [all...] |
H A D | openbsd_usb.c | 52 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 *); 247 obsd_open(struct libusb_device_handle *handl [all...] |
H A D | haiku_usb_raw.cpp | 48 haiku_open(struct libusb_device_handle *dev_handle) 63 haiku_close(struct libusb_device_handle *dev_handle) 110 haiku_set_configuration(struct libusb_device_handle *dev_handle, int config) 117 haiku_claim_interface(struct libusb_device_handle *dev_handle, int interface_number) 124 haiku_set_altsetting(struct libusb_device_handle *dev_handle, int interface_number, int altsetting) 131 haiku_release_interface(struct libusb_device_handle *dev_handle, int interface_number)
|
H A D | sunos_usb.c | 48 static int sunos_open(struct libusb_device_handle *); 49 static void sunos_close(struct libusb_device_handle *); 56 static int sunos_get_configuration(struct libusb_device_handle *, int *); 57 static int sunos_set_configuration(struct libusb_device_handle *, int); 58 static int sunos_claim_interface(struct libusb_device_handle *, int); 59 static int sunos_release_interface(struct libusb_device_handle *, int); 60 static int sunos_set_interface_altsetting(struct libusb_device_handle *, 62 static int sunos_clear_halt(struct libusb_device_handle *, uint8_t); 63 static int sunos_reset_device(struct libusb_device_handle *); 431 sunos_find_interface(struct libusb_device_handle *hde [all...] |
H A D | windows_winusb.c | 62 static int winusbx_open(int sub_api, struct libusb_device_handle *dev_handle); 63 static void winusbx_close(int sub_api, struct libusb_device_handle *dev_handle); 64 static int winusbx_configure_endpoints(int sub_api, struct libusb_device_handle *dev_handle, int iface); 65 static int winusbx_claim_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface); 66 static int winusbx_release_interface(int sub_api, struct libusb_device_handle *dev_handle, int iface); 68 static int winusbx_set_interface_altsetting(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting); 70 static int winusbx_clear_halt(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint); 73 static int winusbx_reset_device(int sub_api, struct libusb_device_handle *dev_handle); 78 static int hid_open(int sub_api, struct libusb_device_handle *dev_handle); 79 static void hid_close(int sub_api, struct libusb_device_handle *dev_handl [all...] |
H A D | linux_usbfs.c | 133 static int detach_kernel_driver_and_claim(struct libusb_device_handle *, int); 234 struct libusb_device_handle *handle) 1283 static int op_open(struct libusb_device_handle *handle) 1324 static void op_close(struct libusb_device_handle *dev_handle) 1333 static int op_get_configuration(struct libusb_device_handle *handle, 1357 static int op_set_configuration(struct libusb_device_handle *handle, int config) 1380 static int claim_interface(struct libusb_device_handle *handle, int iface) 1399 static int release_interface(struct libusb_device_handle *handle, int iface) 1414 static int op_set_interface(struct libusb_device_handle *handle, int iface, 1438 static int op_clear_halt(struct libusb_device_handle *handl [all...] |
H A D | wince_usb.c | 351 static int wince_open(struct libusb_device_handle *handle) 358 static void wince_close(struct libusb_device_handle *handle) 404 struct libusb_device_handle *handle, 418 struct libusb_device_handle *handle, 433 struct libusb_device_handle *handle, 445 struct libusb_device_handle *handle, 460 struct libusb_device_handle *handle, 472 struct libusb_device_handle *handle, 487 struct libusb_device_handle *handle) 498 struct libusb_device_handle *handl [all...] |
H A D | windows_usbdk.c | 417 static int usbdk_open(struct libusb_device_handle *dev_handle) 430 static void usbdk_close(struct libusb_device_handle *dev_handle) 440 static int usbdk_get_configuration(struct libusb_device_handle *dev_handle, int *config) 447 static int usbdk_set_configuration(struct libusb_device_handle *dev_handle, int config) 454 static int usbdk_claim_interface(struct libusb_device_handle *dev_handle, int iface) 461 static int usbdk_set_interface_altsetting(struct libusb_device_handle *dev_handle, int iface, int altsetting) 474 static int usbdk_release_interface(struct libusb_device_handle *dev_handle, int iface) 481 static int usbdk_clear_halt(struct libusb_device_handle *dev_handle, unsigned char endpoint) 494 static int usbdk_reset_device(struct libusb_device_handle *dev_handle) 507 static int usbdk_kernel_driver_active(struct libusb_device_handle *dev_handl [all...] |
H A D | darwin_usb.c | 84 static int darwin_claim_interface(struct libusb_device_handle *dev_handle, int iface); 85 static int darwin_release_interface(struct libusb_device_handle *dev_handle, int iface); 86 static int darwin_reset_device(struct libusb_device_handle *dev_handle); 174 static int ep_to_pipeRef(struct libusb_device_handle *dev_handle, uint8_t ep, uint8_t *pipep, uint8_t *ifcp, struct darwin_interface **interface_out) { 1052 static int darwin_open (struct libusb_device_handle *dev_handle) { 1101 static void darwin_close (struct libusb_device_handle *dev_handle) { 1141 static int darwin_get_configuration(struct libusb_device_handle *dev_handle, int *config) { 1149 static int darwin_set_configuration(struct libusb_device_handle *dev_handle, int config) { 1211 static int get_endpoints (struct libusb_device_handle *dev_handle, int iface) { 1271 static int darwin_claim_interface(struct libusb_device_handle *dev_handl [all...] |
H A D | windows_winusb.h | 107 int (*open)(int sub_api, struct libusb_device_handle *dev_handle); 108 void (*close)(int sub_api, struct libusb_device_handle *dev_handle); 109 int (*configure_endpoints)(int sub_api, struct libusb_device_handle *dev_handle, int iface); 110 int (*claim_interface)(int sub_api, struct libusb_device_handle *dev_handle, int iface); 111 int (*set_interface_altsetting)(int sub_api, struct libusb_device_handle *dev_handle, int iface, int altsetting); 112 int (*release_interface)(int sub_api, struct libusb_device_handle *dev_handle, int iface); 113 int (*clear_halt)(int sub_api, struct libusb_device_handle *dev_handle, unsigned char endpoint); 114 int (*reset_device)(int sub_api, struct libusb_device_handle *dev_handle); 284 struct libusb_device_handle *handle)
|
/external/libpcap/ |
H A D | pcap-canusb-linux.c | 84 libusb_device_handle *dev; 119 libusb_device_handle *dh = NULL; 147 static libusb_device_handle* canusb_opendevice(struct libusb_context *ctx, char* devserial) 165 libusb_device_handle *dh = NULL;
|