Home
last modified time | relevance | path

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

/freebsd/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbt_hw.h96 extern int iwmbt_patch_fwfile(struct libusb_device_handle *hdl,
98 extern int iwmbt_load_rsa_header(struct libusb_device_handle *hdl,
100 extern int iwmbt_load_ecdsa_header(struct libusb_device_handle *hdl,
102 extern int iwmbt_load_fwfile(struct libusb_device_handle *hdl,
104 extern int iwmbt_enter_manufacturer(struct libusb_device_handle *hdl);
105 extern int iwmbt_exit_manufacturer(struct libusb_device_handle *hdl,
107 extern int iwmbt_get_version(struct libusb_device_handle *hdl,
109 extern int iwmbt_get_version_tlv(struct libusb_device_handle *hdl,
111 extern int iwmbt_get_boot_params(struct libusb_device_handle *hdl,
113 extern int iwmbt_intel_reset(struct libusb_device_handle *hd
[all...]
H A Diwmbt_hw.c54 iwmbt_send_fragment(struct libusb_device_handle *hdl, in iwmbt_send_fragment()
98 iwmbt_hci_command(struct libusb_device_handle *hdl, struct iwmbt_hci_cmd *cmd, in iwmbt_hci_command()
163 iwmbt_patch_fwfile(struct libusb_device_handle *hdl, in iwmbt_patch_fwfile()
322 iwmbt_load_rsa_header(struct libusb_device_handle *hdl, in iwmbt_load_rsa_header()
341 iwmbt_load_ecdsa_header(struct libusb_device_handle *hdl, in iwmbt_load_ecdsa_header()
354 iwmbt_load_fwfile(struct libusb_device_handle *hdl, in iwmbt_load_fwfile()
412 iwmbt_enter_manufacturer(struct libusb_device_handle *hdl) in iwmbt_enter_manufacturer()
440 iwmbt_exit_manufacturer(struct libusb_device_handle *hdl, in iwmbt_exit_manufacturer()
471 iwmbt_get_version(struct libusb_device_handle *hdl, in iwmbt_exit_manufacturer()
505 iwmbt_get_version_tlv(struct libusb_device_handle *hd in iwmbt_get_version()
[all...]
H A Dmain.c231 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path, in iwmbt_patch_firmware()
321 iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path) in iwmbt_init_firmware()
387 handle_7260(libusb_device_handle *hdl, char *firmware_dir) in parse_ugen_name()
467 handle_8260(libusb_device_handle *hdl, char *firmware_dir) in main()
555 handle_9260(libusb_device_handle *hdl, char *firmware_dir) in main()
646 libusb_device_handle *hdl = NULL; in main()
/freebsd/lib/libusb/
H A Dlibusb.h288 struct libusb_device_handle;
314 typedef struct libusb_device_handle libusb_device_handle; typedef
479 libusb_device_handle *dev_handle;
516 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint);
521 int libusb_wrap_sys_device(libusb_context *ctx, intptr_t sys_dev, libusb_device_handle **dev_handle…
522 int libusb_open(libusb_device * dev, libusb_device_handle ** devh);
523 libusb_device_handle *libusb_open_device_with_vid_pid(libusb_context * ctx, uint16_t vendor_id, uin…
524 void libusb_close(libusb_device_handle * devh);
525 libusb_device *libusb_get_device(libusb_device_handle * devh);
527 int libusb_get_configuration(libusb_device_handle * devh, int *config);
[all …]
H A Dlibusb10_io.c44 #define libusb_device_handle libusb20_device macro
476 libusb_control_transfer(libusb_device_handle *devh, in libusb_control_transfer()
512 libusb10_get_context_by_device_handle(libusb_device_handle *devh) in libusb10_get_context_by_device_handle()
543 libusb10_do_transfer(libusb_device_handle *devh, in libusb10_do_transfer()
613 libusb_bulk_transfer(libusb_device_handle *devh, in libusb_bulk_transfer()
632 libusb_interrupt_transfer(libusb_device_handle *devh, in libusb_interrupt_transfer()
736 libusb_device_handle *devh, uint8_t *buf, in libusb_fill_control_transfer()
759 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_bulk_transfer()
775 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_interrupt_transfer()
791 libusb_device_handle *dev_handle, unsigned char endpoint, in libusb_fill_bulk_stream_transfer()
[all …]
H A Dlibusb10_desc.c38 #define libusb_device_handle libusb20_device macro
303 libusb_get_string_descriptor(libusb_device_handle *pdev, in libusb_get_string_descriptor()
322 libusb_get_string_descriptor_ascii(libusb_device_handle *pdev, in libusb_get_string_descriptor_ascii()
342 libusb_get_descriptor(libusb_device_handle * devh, uint8_t desc_type, in libusb_get_descriptor()
568 libusb_get_bos_descriptor(libusb_device_handle *handle, in libusb_get_bos_descriptor()
H A Dlibusb10.c53 #define libusb_device_handle libusb20_device macro
623 libusb_open(libusb_device *dev, libusb_device_handle **devh) in libusb_open()
664 libusb_device_handle *
1062 libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable) in libusb_set_auto_detach_kernel_driver()
1639 struct libusb_device_handle *devh; in libusb_cancel_transfer()
1910 libusb_dev_mem_alloc(libusb_device_handle *devh) in libusb_dev_mem_alloc()
1916 libusb_dev_mem_free(libusb_device_handle *devh, unsigned char *buffer, in libusb_dev_mem_free()
1924 libusb_device_handle **dev_handle) in libusb_wrap_sys_device()
H A Dlibusb10_hotplug.c49 #define libusb_device_handle libusb20_device macro
/freebsd/usr.sbin/bluetooth/ath3kfw/
H A Dath3k_hw.h53 extern int ath3k_load_fwfile(struct libusb_device_handle *hdl,
55 extern int ath3k_get_state(struct libusb_device_handle *hdl,
57 extern int ath3k_get_version(struct libusb_device_handle *hdl,
59 extern int ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path);
60 extern int ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path);
61 extern int ath3k_set_normal_mode(libusb_device_handle *hdl);
62 extern int ath3k_switch_pid(libusb_device_handle *hdl);
H A Dath3k_hw.c50 ath3k_load_fwfile(struct libusb_device_handle *hdl, in ath3k_load_fwfile()
112 ath3k_get_state(struct libusb_device_handle *hdl, unsigned char *state) in ath3k_get_state()
137 ath3k_get_version(struct libusb_device_handle *hdl, in ath3k_get_version()
165 ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path) in ath3k_load_patch()
236 ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path) in ath3k_load_syscfg()
295 ath3k_set_normal_mode(libusb_device_handle *hdl) in ath3k_set_normal_mode()
336 ath3k_switch_pid(libusb_device_handle *hdl) in ath3k_switch_pid()
H A Dmain.c149 ath3k_init_ar3012(libusb_device_handle *hdl, const char *fw_path) in ath3k_init_ar3012()
176 ath3k_init_firmware(libusb_device_handle *hdl, const char *file_prefix) in ath3k_init_firmware()
244 libusb_device_handle *hdl; in main()
/freebsd/usr.sbin/bluetooth/rtlbtfw/
H A Drtlbt_hw.h109 int rtlbt_read_local_ver(struct libusb_device_handle *hdl,
111 int rtlbt_read_rom_ver(struct libusb_device_handle *hdl, uint8_t *ver);
112 int rtlbt_read_reg16(struct libusb_device_handle *hdl,
114 int rtlbt_load_fwfile(struct libusb_device_handle *hdl,
H A Drtlbt_hw.c51 rtlbt_hci_command(struct libusb_device_handle *hdl, struct rtlbt_hci_cmd *cmd, in rtlbt_hci_command()
114 rtlbt_read_local_ver(struct libusb_device_handle *hdl, in rtlbt_read_local_ver()
149 rtlbt_read_rom_ver(struct libusb_device_handle *hdl, uint8_t *ver) in rtlbt_read_rom_ver()
182 rtlbt_read_reg16(struct libusb_device_handle *hdl, in rtlbt_read_reg16()
217 rtlbt_load_fwfile(struct libusb_device_handle *hdl, in rtlbt_load_fwfile()
H A Dmain.c321 libusb_device_handle *hdl = NULL; in main()