libusb_device_handle
struct libusb_device_handle;
typedef struct libusb_device_handle libusb_device_handle;
libusb_device_handle *dev_handle;
int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint);
int libusb_wrap_sys_device(libusb_context *ctx, intptr_t sys_dev, libusb_device_handle **dev_handle);
int libusb_open(libusb_device * dev, libusb_device_handle ** devh);
libusb_device_handle *libusb_open_device_with_vid_pid(libusb_context * ctx, uint16_t vendor_id, uint16_t product_id);
void libusb_close(libusb_device_handle * devh);
libusb_device *libusb_get_device(libusb_device_handle * devh);
int libusb_get_configuration(libusb_device_handle * devh, int *config);
int libusb_set_configuration(libusb_device_handle * devh, int configuration);
int libusb_claim_interface(libusb_device_handle * devh, int interface_number);
int libusb_release_interface(libusb_device_handle * devh, int interface_number);
int libusb_reset_device(libusb_device_handle * devh);
int libusb_check_connected(libusb_device_handle * devh);
int libusb_kernel_driver_active(libusb_device_handle * devh, int interface);
int libusb_get_driver_np(libusb_device_handle * devh, int interface, char *name, int namelen);
int libusb_get_driver(libusb_device_handle * devh, int interface, char *name, int namelen);
int libusb_detach_kernel_driver_np(libusb_device_handle * devh, int interface);
int libusb_detach_kernel_driver(libusb_device_handle * devh, int interface);
int libusb_attach_kernel_driver(libusb_device_handle * devh, int interface);
int libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable);
int libusb_set_interface_alt_setting(libusb_device_handle * devh, int interface_number, int alternate_setting);
unsigned char *libusb_dev_mem_alloc(libusb_device_handle *devh);
int libusb_dev_mem_free(libusb_device_handle *devh, unsigned char *buffer,
int libusb_get_string_descriptor(libusb_device_handle * devh, uint8_t desc_index, uint16_t langid, unsigned char *data, int length);
int libusb_get_string_descriptor_ascii(libusb_device_handle * devh, uint8_t desc_index, uint8_t *data, int length);
int libusb_get_descriptor(libusb_device_handle * devh, uint8_t desc_type, uint8_t desc_index, uint8_t *data, int length);
int libusb_get_bos_descriptor(libusb_device_handle *handle, struct libusb_bos_descriptor **bos);
void libusb_fill_control_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t *buf, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
void libusb_fill_bulk_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
void libusb_fill_bulk_stream_transfer(struct libusb_transfer *transfer, libusb_device_handle *dev_handle, unsigned char endpoint, uint32_t stream_id, unsigned char *buffer, int length, libusb_transfer_cb_fn callback, void *user_data, unsigned int timeout);
void libusb_fill_interrupt_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
void libusb_fill_iso_transfer(struct libusb_transfer *transfer, libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, int length, int npacket, libusb_transfer_cb_fn callback, void *user_data, uint32_t timeout);
int libusb_control_transfer(libusb_device_handle * devh, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength, uint32_t timeout);
int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout);
int libusb_interrupt_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout);
int libusb_alloc_streams(libusb_device_handle *dev, uint32_t num_streams, unsigned char *endpoints, int num_endpoints);
int libusb_free_streams(libusb_device_handle *dev, unsigned char *endpoints, int num_endpoints);
libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable)
struct libusb_device_handle *devh;
libusb_dev_mem_alloc(libusb_device_handle *devh)
libusb_dev_mem_free(libusb_device_handle *devh, unsigned char *buffer,
libusb_device_handle **dev_handle)
libusb_open(libusb_device *dev, libusb_device_handle **devh)
libusb_device_handle *
libusb_get_string_descriptor(libusb_device_handle *pdev,
libusb_get_string_descriptor_ascii(libusb_device_handle *pdev,
libusb_get_descriptor(libusb_device_handle * devh, uint8_t desc_type,
libusb_get_bos_descriptor(libusb_device_handle *handle,
libusb_control_transfer(libusb_device_handle *devh,
libusb10_get_context_by_device_handle(libusb_device_handle *devh)
libusb10_do_transfer(libusb_device_handle *devh,
libusb_bulk_transfer(libusb_device_handle *devh,
libusb_interrupt_transfer(libusb_device_handle *devh,
libusb_device_handle *devh, uint8_t *buf,
libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf,
libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf,
libusb_device_handle *dev_handle, unsigned char endpoint,
libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf,
libusb_alloc_streams(libusb_device_handle *dev, uint32_t num_streams,
libusb_free_streams(libusb_device_handle *dev, unsigned char *endpoints, int num_endpoints)
ath3k_get_state(struct libusb_device_handle *hdl, unsigned char *state)
ath3k_get_version(struct libusb_device_handle *hdl,
ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path)
ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path)
ath3k_set_normal_mode(libusb_device_handle *hdl)
ath3k_switch_pid(libusb_device_handle *hdl)
ath3k_load_fwfile(struct libusb_device_handle *hdl,
extern int ath3k_load_fwfile(struct libusb_device_handle *hdl,
extern int ath3k_get_state(struct libusb_device_handle *hdl,
extern int ath3k_get_version(struct libusb_device_handle *hdl,
extern int ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path);
extern int ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path);
extern int ath3k_set_normal_mode(libusb_device_handle *hdl);
extern int ath3k_switch_pid(libusb_device_handle *hdl);
ath3k_init_ar3012(libusb_device_handle *hdl, const char *fw_path)
ath3k_init_firmware(libusb_device_handle *hdl, const char *file_prefix)
libusb_device_handle *hdl;
iwmbt_patch_fwfile(struct libusb_device_handle *hdl,
iwmbt_load_rsa_header(struct libusb_device_handle *hdl,
iwmbt_load_ecdsa_header(struct libusb_device_handle *hdl,
iwmbt_load_fwfile(struct libusb_device_handle *hdl,
iwmbt_enter_manufacturer(struct libusb_device_handle *hdl)
iwmbt_exit_manufacturer(struct libusb_device_handle *hdl,
iwmbt_get_version(struct libusb_device_handle *hdl,
iwmbt_get_version_tlv(struct libusb_device_handle *hdl,
iwmbt_send_fragment(struct libusb_device_handle *hdl,
iwmbt_get_boot_params(struct libusb_device_handle *hdl,
iwmbt_intel_reset(struct libusb_device_handle *hdl, uint32_t boot_param)
iwmbt_load_ddc(struct libusb_device_handle *hdl,
iwmbt_set_event_mask(struct libusb_device_handle *hdl)
iwmbt_hci_command(struct libusb_device_handle *hdl, struct iwmbt_hci_cmd *cmd,
extern int iwmbt_load_ecdsa_header(struct libusb_device_handle *hdl,
extern int iwmbt_load_fwfile(struct libusb_device_handle *hdl,
extern int iwmbt_enter_manufacturer(struct libusb_device_handle *hdl);
extern int iwmbt_exit_manufacturer(struct libusb_device_handle *hdl,
extern int iwmbt_get_version(struct libusb_device_handle *hdl,
extern int iwmbt_get_version_tlv(struct libusb_device_handle *hdl,
extern int iwmbt_get_boot_params(struct libusb_device_handle *hdl,
extern int iwmbt_intel_reset(struct libusb_device_handle *hdl,
extern int iwmbt_load_ddc(struct libusb_device_handle *hdl,
extern int iwmbt_set_event_mask(struct libusb_device_handle *hdl);
extern int iwmbt_patch_fwfile(struct libusb_device_handle *hdl,
extern int iwmbt_load_rsa_header(struct libusb_device_handle *hdl,
iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path,
iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path)
handle_7260(libusb_device_handle *hdl, char *firmware_dir)
handle_8260(libusb_device_handle *hdl, char *firmware_dir)
handle_9260(libusb_device_handle *hdl, char *firmware_dir)
libusb_device_handle *hdl = NULL;
libusb_device_handle *hdl = NULL;
rtlbt_read_local_ver(struct libusb_device_handle *hdl,
rtlbt_read_rom_ver(struct libusb_device_handle *hdl, uint8_t *ver)
rtlbt_read_reg16(struct libusb_device_handle *hdl,
rtlbt_load_fwfile(struct libusb_device_handle *hdl,
rtlbt_hci_command(struct libusb_device_handle *hdl, struct rtlbt_hci_cmd *cmd,
int rtlbt_read_local_ver(struct libusb_device_handle *hdl,
int rtlbt_read_rom_ver(struct libusb_device_handle *hdl, uint8_t *ver);
int rtlbt_read_reg16(struct libusb_device_handle *hdl,
int rtlbt_load_fwfile(struct libusb_device_handle *hdl,