/freebsd/lib/libusb/ |
H A D | libusb.h | 281 struct libusb_device_handle; 307 typedef struct libusb_device_handle libusb_device_handle; typedef 460 libusb_device_handle *dev_handle; 496 int libusb_clear_halt(libusb_device_handle *devh, uint8_t endpoint); 501 int libusb_open(libusb_device * dev, libusb_device_handle ** devh); 503 void libusb_close(libusb_device_handle * devh); 504 libusb_device *libusb_get_device(libusb_device_handle * devh); 505 int libusb_get_configuration(libusb_device_handle * devh, int *config); 506 int libusb_set_configuration(libusb_device_handle * devh, int configuration); 509 int libusb_reset_device(libusb_device_handle * devh); [all …]
|
H A D | libusb10_io.c | 43 #define libusb_device_handle libusb20_device macro 470 libusb_control_transfer(libusb_device_handle *devh, in libusb_control_transfer() 506 libusb10_get_context_by_device_handle(libusb_device_handle *devh) in libusb10_get_context_by_device_handle() 537 libusb10_do_transfer(libusb_device_handle *devh, in libusb10_do_transfer() 607 libusb_bulk_transfer(libusb_device_handle *devh, in libusb_bulk_transfer() 626 libusb_interrupt_transfer(libusb_device_handle *devh, in libusb_interrupt_transfer() 730 libusb_device_handle *devh, uint8_t *buf, in libusb_fill_control_transfer() 753 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_bulk_transfer() 769 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_interrupt_transfer() 785 libusb_device_handle *devh, uint8_t endpoint, uint8_t *buf, in libusb_fill_iso_transfer() [all …]
|
H A D | libusb10_desc.c | 38 #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() 567 libusb_get_bos_descriptor(libusb_device_handle *handle, in libusb_get_bos_descriptor()
|
H A D | libusb10.c | 48 #define libusb_device_handle libusb20_device macro 545 libusb_open(libusb_device *dev, libusb_device_handle **devh) in libusb_open() 586 libusb_device_handle * 978 libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable) in libusb_set_auto_detach_kernel_driver() 1551 struct libusb_device_handle *devh; in libusb_cancel_transfer()
|
H A D | libusb10_hotplug.c | 44 #define libusb_device_handle libusb20_device macro
|
/freebsd/usr.sbin/bluetooth/iwmbtfw/ |
H A D | iwmbt_hw.h | 74 extern int iwmbt_patch_fwfile(struct libusb_device_handle *hdl, 76 extern int iwmbt_load_fwfile(struct libusb_device_handle *hdl, 78 extern int iwmbt_enter_manufacturer(struct libusb_device_handle *hdl); 79 extern int iwmbt_exit_manufacturer(struct libusb_device_handle *hdl, 81 extern int iwmbt_get_version(struct libusb_device_handle *hdl, 83 extern int iwmbt_get_boot_params(struct libusb_device_handle *hdl, 85 extern int iwmbt_intel_reset(struct libusb_device_handle *hdl, 87 extern int iwmbt_load_ddc(struct libusb_device_handle *hdl, 89 extern int iwmbt_set_event_mask(struct libusb_device_handle *hdl);
|
H A D | iwmbt_hw.c | 49 iwmbt_send_fragment(struct libusb_device_handle *hdl, in iwmbt_send_fragment() 93 iwmbt_hci_command(struct libusb_device_handle *hdl, struct iwmbt_hci_cmd *cmd, in iwmbt_hci_command() 128 iwmbt_patch_fwfile(struct libusb_device_handle *hdl, in iwmbt_patch_fwfile() 271 iwmbt_load_fwfile(struct libusb_device_handle *hdl, in iwmbt_load_fwfile() 362 iwmbt_enter_manufacturer(struct libusb_device_handle *hdl) in iwmbt_enter_manufacturer() 390 iwmbt_exit_manufacturer(struct libusb_device_handle *hdl, int mode) in iwmbt_exit_manufacturer() 430 iwmbt_get_version(struct libusb_device_handle *hdl, in iwmbt_get_version() 464 iwmbt_get_boot_params(struct libusb_device_handle *hdl, in iwmbt_get_boot_params() 498 iwmbt_intel_reset(struct libusb_device_handle *hdl, uint32_t boot_param) in iwmbt_intel_reset() 537 iwmbt_load_ddc(struct libusb_device_handle *hdl, in iwmbt_load_ddc() [all …]
|
H A D | main.c | 204 iwmbt_patch_firmware(libusb_device_handle *hdl, const char *firmware_path) in iwmbt_patch_firmware() 229 iwmbt_init_firmware(libusb_device_handle *hdl, const char *firmware_path, in iwmbt_init_firmware() 255 iwmbt_init_ddc(libusb_device_handle *hdl, const char *ddc_path) in iwmbt_init_ddc() 319 libusb_device_handle *hdl = NULL; in main()
|
/freebsd/usr.sbin/bluetooth/ath3kfw/ |
H A D | ath3k_hw.h | 53 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 D | ath3k_hw.c | 50 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 D | main.c | 149 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()
|