Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libusb/
H A Dlibusb.h258 struct libusb_device_handle;
277 typedef struct libusb_device_handle libusb_device_handle; typedef
430 libusb_device_handle *dev_handle;
464 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint);
469 int libusb_open(libusb_device * dev, libusb_device_handle ** devh);
471 void libusb_close(libusb_device_handle * devh);
472 libusb_device *libusb_get_device(libusb_device_handle * devh);
473 int libusb_get_configuration(libusb_device_handle * devh, int *config);
474 int libusb_set_configuration(libusb_device_handle * devh, int configuration);
477 int libusb_reset_device(libusb_device_handle * devh);
[all …]
H A Dlibusb10_io.c44 #define libusb_device_handle libusb20_device macro
463 libusb_control_transfer(libusb_device_handle *devh, in libusb_control_transfer()
499 libusb10_get_context_by_device_handle(libusb_device_handle *devh) in libusb10_get_context_by_device_handle()
530 libusb10_do_transfer(libusb_device_handle *devh, in libusb10_do_transfer()
600 libusb_bulk_transfer(libusb_device_handle *devh, in libusb_bulk_transfer()
619 libusb_interrupt_transfer(libusb_device_handle *devh, in libusb_interrupt_transfer()
723 libusb_device_handle *devh, uint8_t *buf, in libusb_fill_control_transfer()
746 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_bulk_transfer()
762 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_interrupt_transfer()
778 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.c48 #define libusb_device_handle libusb20_device macro
496 libusb_open(libusb_device *dev, libusb_device_handle **devh) in libusb_open()
528 libusb_device_handle *
920 libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable) in libusb_set_auto_detach_kernel_driver()
1493 struct libusb_device_handle *devh; in libusb_cancel_transfer()
H A Dlibusb10_hotplug.c45 #define libusb_device_handle libusb20_device macro
/freebsd-12.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()
/freebsd-12.1/usr.sbin/bluetooth/iwmbtfw/
H A Diwmbt_hw.h76 extern int iwmbt_load_fwfile(struct libusb_device_handle *hdl,
78 extern int iwmbt_get_version(struct libusb_device_handle *hdl,
80 extern int iwmbt_get_boot_params(struct libusb_device_handle *hdl,
82 extern int iwmbt_intel_reset(struct libusb_device_handle *hdl,
84 extern int iwmbt_load_ddc(struct libusb_device_handle *hdl,
86 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_load_fwfile(struct libusb_device_handle *hdl, in iwmbt_load_fwfile()
221 iwmbt_get_version(struct libusb_device_handle *hdl, in iwmbt_get_version()
255 iwmbt_get_boot_params(struct libusb_device_handle *hdl, in iwmbt_get_boot_params()
289 iwmbt_intel_reset(struct libusb_device_handle *hdl, uint32_t boot_param) in iwmbt_intel_reset()
328 iwmbt_load_ddc(struct libusb_device_handle *hdl, in iwmbt_load_ddc()
371 iwmbt_set_event_mask(struct libusb_device_handle *hdl) in iwmbt_set_event_mask()
H A Dmain.c170 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path, in iwmbt_init_firmware()
196 iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path) in iwmbt_init_ddc()
260 libusb_device_handle *hdl = NULL; in main()