Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libusb/
H A Dlibusb.h274 struct libusb_device_handle;
293 typedef struct libusb_device_handle libusb_device_handle; typedef
446 libusb_device_handle *dev_handle;
481 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint);
486 int libusb_open(libusb_device * dev, libusb_device_handle ** devh);
488 void libusb_close(libusb_device_handle * devh);
489 libusb_device *libusb_get_device(libusb_device_handle * devh);
490 int libusb_get_configuration(libusb_device_handle * devh, int *config);
491 int libusb_set_configuration(libusb_device_handle * devh, int configuration);
494 int libusb_reset_device(libusb_device_handle * devh);
[all …]
H A Dlibusb10_io.c44 #define libusb_device_handle libusb20_device macro
471 libusb_control_transfer(libusb_device_handle *devh, in libusb_control_transfer()
507 libusb10_get_context_by_device_handle(libusb_device_handle *devh) in libusb10_get_context_by_device_handle()
538 libusb10_do_transfer(libusb_device_handle *devh, in libusb10_do_transfer()
608 libusb_bulk_transfer(libusb_device_handle *devh, in libusb_bulk_transfer()
627 libusb_interrupt_transfer(libusb_device_handle *devh, in libusb_interrupt_transfer()
731 libusb_device_handle *devh, uint8_t *buf, in libusb_fill_control_transfer()
754 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_bulk_transfer()
770 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_interrupt_transfer()
786 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_iso_transfer()
[all …]
H A Dlibusb10_desc.c39 #define libusb_device_handle libusb20_device macro
304 libusb_get_string_descriptor(libusb_device_handle *pdev, in libusb_get_string_descriptor()
323 libusb_get_string_descriptor_ascii(libusb_device_handle *pdev, in libusb_get_string_descriptor_ascii()
343 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.c49 #define libusb_device_handle libusb20_device macro
514 libusb_open(libusb_device *dev, libusb_device_handle **devh) in libusb_open()
555 libusb_device_handle *
947 libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable) in libusb_set_auto_detach_kernel_driver()
1520 struct libusb_device_handle *devh; in libusb_cancel_transfer()
H A Dlibusb10_hotplug.c45 #define libusb_device_handle libusb20_device macro
/freebsd-13.1/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbt_hw.h76 extern int iwmbt_patch_fwfile(struct libusb_device_handle *hdl,
78 extern int iwmbt_load_fwfile(struct libusb_device_handle *hdl,
80 extern int iwmbt_enter_manufacturer(struct libusb_device_handle *hdl);
81 extern int iwmbt_exit_manufacturer(struct libusb_device_handle *hdl,
83 extern int iwmbt_get_version(struct libusb_device_handle *hdl,
85 extern int iwmbt_get_boot_params(struct libusb_device_handle *hdl,
87 extern int iwmbt_intel_reset(struct libusb_device_handle *hdl,
89 extern int iwmbt_load_ddc(struct libusb_device_handle *hdl,
91 extern int iwmbt_set_event_mask(struct libusb_device_handle *hdl);
H A Diwmbt_hw.c51 iwmbt_send_fragment(struct libusb_device_handle *hdl, in iwmbt_send_fragment()
95 iwmbt_hci_command(struct libusb_device_handle *hdl, struct iwmbt_hci_cmd *cmd, in iwmbt_hci_command()
130 iwmbt_patch_fwfile(struct libusb_device_handle *hdl, in iwmbt_patch_fwfile()
273 iwmbt_load_fwfile(struct libusb_device_handle *hdl, in iwmbt_load_fwfile()
364 iwmbt_enter_manufacturer(struct libusb_device_handle *hdl) in iwmbt_enter_manufacturer()
392 iwmbt_exit_manufacturer(struct libusb_device_handle *hdl, int mode) in iwmbt_exit_manufacturer()
432 iwmbt_get_version(struct libusb_device_handle *hdl, in iwmbt_get_version()
466 iwmbt_get_boot_params(struct libusb_device_handle *hdl, in iwmbt_get_boot_params()
500 iwmbt_intel_reset(struct libusb_device_handle *hdl, uint32_t boot_param) in iwmbt_intel_reset()
539 iwmbt_load_ddc(struct libusb_device_handle *hdl, in iwmbt_load_ddc()
[all …]
H A Dmain.c206 iwmbt_patch_firmware(libusb_device_handle *hdl, const char *firmware_path) in iwmbt_patch_firmware()
231 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path, in iwmbt_init_firmware()
257 iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path) in iwmbt_init_ddc()
321 libusb_device_handle *hdl = NULL; in main()
/freebsd-13.1/usr.sbin/bluetooth/ath3kfw/
H A Dath3k_hw.h55 extern int ath3k_load_fwfile(struct libusb_device_handle *hdl,
57 extern int ath3k_get_state(struct libusb_device_handle *hdl,
59 extern int ath3k_get_version(struct libusb_device_handle *hdl,
61 extern int ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path);
62 extern int ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path);
63 extern int ath3k_set_normal_mode(libusb_device_handle *hdl);
64 extern int ath3k_switch_pid(libusb_device_handle *hdl);
H A Dath3k_hw.c52 ath3k_load_fwfile(struct libusb_device_handle *hdl, in ath3k_load_fwfile()
114 ath3k_get_state(struct libusb_device_handle *hdl, unsigned char *state) in ath3k_get_state()
139 ath3k_get_version(struct libusb_device_handle *hdl, in ath3k_get_version()
167 ath3k_load_patch(libusb_device_handle *hdl, const char *fw_path) in ath3k_load_patch()
238 ath3k_load_syscfg(libusb_device_handle *hdl, const char *fw_path) in ath3k_load_syscfg()
297 ath3k_set_normal_mode(libusb_device_handle *hdl) in ath3k_set_normal_mode()
338 ath3k_switch_pid(libusb_device_handle *hdl) in ath3k_switch_pid()
H A Dmain.c151 ath3k_init_ar3012(libusb_device_handle *hdl, const char *fw_path) in ath3k_init_ar3012()
178 ath3k_init_firmware(libusb_device_handle *hdl, const char *file_prefix) in ath3k_init_firmware()
246 libusb_device_handle *hdl; in main()