/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_sync.h | 11 typedef int (*hci_cmd_sync_work_func_t)(struct hci_dev *hdev, void *data); 12 typedef void (*hci_cmd_sync_work_destroy_t)(struct hci_dev *hdev, void *data, 27 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, 29 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, 31 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, 33 struct sk_buff *__hci_cmd_sync_sk(struct hci_dev *hdev, u16 opcode, u32 plen, 36 int __hci_cmd_sync_status(struct hci_dev *hdev, u16 opcode, u32 plen, 38 int __hci_cmd_sync_status_sk(struct hci_dev *hdev, u16 opcode, u32 plen, 42 void hci_cmd_sync_init(struct hci_dev *hdev); 43 void hci_cmd_sync_clear(struct hci_dev *hde [all...] |
H A D | coredump.h | 11 typedef void (*coredump_t)(struct hci_dev *hdev); 12 typedef void (*dmp_hdr_t)(struct hci_dev *hdev, struct sk_buff *skb); 13 typedef void (*notify_change_t)(struct hci_dev *hdev, int state); 63 void hci_devcd_reset(struct hci_dev *hdev); 67 int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump, 69 int hci_devcd_init(struct hci_dev *hdev, u32 dump_size); 70 int hci_devcd_append(struct hci_dev *hdev, struct sk_buff *skb); 71 int hci_devcd_append_pattern(struct hci_dev *hdev, u8 pattern, u32 len); 72 int hci_devcd_complete(struct hci_dev *hdev); 73 int hci_devcd_abort(struct hci_dev *hde [all...] |
H A D | hci_core.h | 354 struct hci_dev { struct 663 int (*open)(struct hci_dev *hdev); 664 int (*close)(struct hci_dev *hdev); 665 int (*flush)(struct hci_dev *hdev); 666 int (*setup)(struct hci_dev *hdev); 667 int (*shutdown)(struct hci_dev *hdev); 668 int (*send)(struct hci_dev *hdev, struct sk_buff *skb); 669 void (*notify)(struct hci_dev *hdev, unsigned int evt); 670 void (*hw_error)(struct hci_dev *hdev, u8 code); 671 int (*post_init)(struct hci_dev *hde [all...] |
/kernel/linux/linux-5.10/drivers/bluetooth/ |
H A D | btintel.h | 137 int btintel_check_bdaddr(struct hci_dev *hdev); 138 int btintel_enter_mfg(struct hci_dev *hdev); 139 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched); 140 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 141 int btintel_set_diag(struct hci_dev *hdev, bool enable); 142 int btintel_set_diag_mfg(struct hci_dev *hdev, bool enable); 143 void btintel_hw_error(struct hci_dev *hdev, u8 code); 145 void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver); 146 void btintel_version_info_tlv(struct hci_dev *hdev, struct intel_version_tlv *version); 147 int btintel_secure_send(struct hci_dev *hde [all...] |
H A D | btbcm.h | 54 int btbcm_check_bdaddr(struct hci_dev *hdev); 55 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 56 int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw); 57 int btbcm_read_pcm_int_params(struct hci_dev *hdev, 59 int btbcm_write_pcm_int_params(struct hci_dev *hdev, 62 int btbcm_setup_patchram(struct hci_dev *hdev); 63 int btbcm_setup_apple(struct hci_dev *hdev); 65 int btbcm_initialize(struct hci_dev *hdev, bool *fw_load_done); 66 int btbcm_finalize(struct hci_dev *hdev, bool *fw_load_done); 70 static inline int btbcm_check_bdaddr(struct hci_dev *hde [all...] |
H A D | btrtl.h | 52 struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, 55 int btrtl_download_firmware(struct hci_dev *hdev, 57 int btrtl_setup_realtek(struct hci_dev *hdev); 58 int btrtl_shutdown_realtek(struct hci_dev *hdev); 59 int btrtl_get_uart_settings(struct hci_dev *hdev, 66 static inline struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, in btrtl_initialize() 76 static inline int btrtl_download_firmware(struct hci_dev *hdev, in btrtl_download_firmware() 82 static inline int btrtl_setup_realtek(struct hci_dev *hdev) in btrtl_setup_realtek() 87 static inline int btrtl_shutdown_realtek(struct hci_dev *hdev) in btrtl_shutdown_realtek() 92 static inline int btrtl_get_uart_settings(struct hci_dev *hde [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | msft.h | 15 bool msft_monitor_supported(struct hci_dev *hdev); 16 void msft_register(struct hci_dev *hdev); 17 void msft_unregister(struct hci_dev *hdev); 18 void msft_do_open(struct hci_dev *hdev); 19 void msft_do_close(struct hci_dev *hdev); 20 void msft_vendor_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb); 21 __u64 msft_get_features(struct hci_dev *hdev); 22 int msft_add_monitor_pattern(struct hci_dev *hdev, struct adv_monitor *monitor); 23 int msft_remove_monitor(struct hci_dev *hdev, struct adv_monitor *monitor); 25 int msft_set_filter_enable(struct hci_dev *hde [all...] |
H A D | aosp.h | 8 void aosp_do_open(struct hci_dev *hdev); 9 void aosp_do_close(struct hci_dev *hdev); 11 bool aosp_has_quality_report(struct hci_dev *hdev); 12 int aosp_set_quality_report(struct hci_dev *hdev, bool enable); 16 static inline void aosp_do_open(struct hci_dev *hdev) {} in aosp_do_open() 17 static inline void aosp_do_close(struct hci_dev *hdev) {} in aosp_do_close() 19 static inline bool aosp_has_quality_report(struct hci_dev *hdev) in aosp_has_quality_report() 24 static inline int aosp_set_quality_report(struct hci_dev *hdev, bool enable) in aosp_set_quality_report()
|
H A D | hci_debugfs.h | 25 void hci_debugfs_create_common(struct hci_dev *hdev); 26 void hci_debugfs_create_bredr(struct hci_dev *hdev); 27 void hci_debugfs_create_le(struct hci_dev *hdev); 29 void hci_debugfs_create_basic(struct hci_dev *hdev); 33 static inline void hci_debugfs_create_common(struct hci_dev *hdev) in hci_debugfs_create_common() 37 static inline void hci_debugfs_create_bredr(struct hci_dev *hdev) in hci_debugfs_create_bredr() 41 static inline void hci_debugfs_create_le(struct hci_dev *hdev) in hci_debugfs_create_le() 49 static inline void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic()
|
H A D | hci_debugfs.c | 39 struct hci_dev *hdev = file->private_data; \ 52 struct hci_dev *hdev = file->private_data; \ 81 struct hci_dev *hdev = f->private; \ 94 struct hci_dev *hdev = f->private; in features_show() 111 struct hci_dev *hdev = f->private; in device_id_show() 125 struct hci_dev *hdev = f->private; in device_list_show() 145 struct hci_dev *hdev = f->private; in blacklist_show() 160 struct hci_dev *hdev = f->private; in blocked_keys_show() 175 struct hci_dev *hdev = f->private; in uuids_show() 200 struct hci_dev *hde in remote_oob_show() [all...] |
H A D | hci_request.h | 37 struct hci_dev *hdev; 46 void hci_req_init(struct hci_request *req, struct hci_dev *hdev); 48 bool hci_req_status_pend(struct hci_dev *hdev); 51 void hci_req_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, 57 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, 61 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, 64 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, 68 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, 74 void hci_request_setup(struct hci_dev *hdev); 75 void hci_request_cancel_all(struct hci_dev *hde [all...] |
H A D | hci_sync.c | 24 static void hci_cmd_sync_complete(struct hci_dev *hdev, u8 result, u16 opcode, in hci_cmd_sync_complete() 52 static struct sk_buff *hci_cmd_sync_alloc(struct hci_dev *hdev, u16 opcode, in hci_cmd_sync_alloc() 90 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_add() 119 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_run() 151 struct sk_buff *__hci_cmd_sync_sk(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_sk() 209 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() 217 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_cmd_sync() 236 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() 245 int __hci_cmd_sync_status_sk(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_status_sk() 275 int __hci_cmd_sync_status(struct hci_dev *hde [all...] |
H A D | mgmt_util.h | 45 struct sk_buff *mgmt_alloc_skb(struct hci_dev *hdev, u16 opcode, 49 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, 56 struct hci_dev *hdev); 59 struct hci_dev *hdev, 61 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, 65 struct hci_dev *hdev, 68 struct hci_dev *hdev, 72 void mgmt_mesh_foreach(struct hci_dev *hdev, 75 struct mgmt_mesh_tx *mgmt_mesh_find(struct hci_dev *hdev, u8 handle); 76 struct mgmt_mesh_tx *mgmt_mesh_next(struct hci_dev *hde [all...] |
/kernel/linux/linux-6.6/drivers/bluetooth/ |
H A D | btbcm.h | 54 int btbcm_check_bdaddr(struct hci_dev *hdev); 55 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 56 int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw); 57 int btbcm_read_pcm_int_params(struct hci_dev *hdev, 59 int btbcm_write_pcm_int_params(struct hci_dev *hdev, 62 int btbcm_setup_patchram(struct hci_dev *hdev); 63 int btbcm_setup_apple(struct hci_dev *hdev); 65 int btbcm_initialize(struct hci_dev *hdev, bool *fw_load_done, bool use_autobaud_mode); 66 int btbcm_finalize(struct hci_dev *hdev, bool *fw_load_done, bool use_autobaud_mode); 70 static inline int btbcm_check_bdaddr(struct hci_dev *hde [all...] |
H A D | btintel.h | 175 int (*acpi_reset_method)(struct hci_dev *hdev); 206 int btintel_check_bdaddr(struct hci_dev *hdev); 207 int btintel_enter_mfg(struct hci_dev *hdev); 208 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched); 209 int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 210 int btintel_set_diag(struct hci_dev *hdev, bool enable); 212 int btintel_version_info(struct hci_dev *hdev, struct intel_version *ver); 213 int btintel_load_ddc_config(struct hci_dev *hdev, const char *ddc_name); 214 int btintel_set_event_mask_mfg(struct hci_dev *hdev, bool debug); 215 int btintel_read_version(struct hci_dev *hde [all...] |
H A D | btmtk.h | 128 typedef int (*btmtk_reset_sync_func_t)(struct hci_dev *, void *); 143 typedef int (*wmt_cmd_sync_func_t)(struct hci_dev *, 148 int btmtk_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 150 int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname, 153 int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname, 156 void btmtk_reset_sync(struct hci_dev *hdev); 158 int btmtk_register_coredump(struct hci_dev *hdev, const char *name, 161 int btmtk_process_coredump(struct hci_dev *hdev, struct sk_buff *skb); 164 static inline int btmtk_set_bdaddr(struct hci_dev *hdev, in btmtk_set_bdaddr() 170 static int btmtk_setup_firmware_79xx(struct hci_dev *hde [all...] |
H A D | btrtl.h | 137 struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, 140 int btrtl_download_firmware(struct hci_dev *hdev, 142 void btrtl_set_quirks(struct hci_dev *hdev, 144 int btrtl_setup_realtek(struct hci_dev *hdev); 145 int btrtl_shutdown_realtek(struct hci_dev *hdev); 146 int btrtl_get_uart_settings(struct hci_dev *hdev, 150 void btrtl_set_driver_name(struct hci_dev *hdev, const char *driver_name); 154 static inline struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, in btrtl_initialize() 164 static inline int btrtl_download_firmware(struct hci_dev *hdev, in btrtl_download_firmware() 170 static inline void btrtl_set_quirks(struct hci_dev *hde [all...] |
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci_core.h | 291 struct hci_dev { 572 int (*open)(struct hci_dev *hdev); 573 int (*close)(struct hci_dev *hdev); 574 int (*flush)(struct hci_dev *hdev); 575 int (*setup)(struct hci_dev *hdev); 576 int (*shutdown)(struct hci_dev *hdev); 577 int (*send)(struct hci_dev *hdev, struct sk_buff *skb); 578 void (*notify)(struct hci_dev *hdev, unsigned int evt); 579 void (*hw_error)(struct hci_dev *hdev, u8 code); 580 int (*post_init)(struct hci_dev *hde [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_request.h | 29 struct hci_dev *hdev; 38 void hci_req_init(struct hci_request *req, struct hci_dev *hdev); 40 bool hci_req_status_pend(struct hci_dev *hdev); 47 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, 51 int hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, 54 int __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, 57 void hci_req_sync_cancel(struct hci_dev *hdev, int err); 59 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, 62 int __hci_req_hci_power_on(struct hci_dev *hdev); 71 void hci_req_prepare_suspend(struct hci_dev *hde [all...] |
H A D | msft.h | 15 void msft_do_open(struct hci_dev *hdev); 16 void msft_do_close(struct hci_dev *hdev); 17 void msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb); 18 __u64 msft_get_features(struct hci_dev *hdev); 22 static inline void msft_do_open(struct hci_dev *hdev) {} in msft_do_open() 23 static inline void msft_do_close(struct hci_dev *hdev) {} in msft_do_close() 24 static inline void msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb) {} in msft_vendor_evt() 25 static inline __u64 msft_get_features(struct hci_dev *hdev) { return 0; } in msft_get_features()
|
H A D | hci_debugfs.c | 37 struct hci_dev *hdev = file->private_data; \ 50 struct hci_dev *hdev = file->private_data; \ 79 struct hci_dev *hdev = f->private; \ 92 struct hci_dev *hdev = f->private; in features_show() 109 struct hci_dev *hdev = f->private; in device_id_show() 123 struct hci_dev *hdev = f->private; in device_list_show() 143 struct hci_dev *hdev = f->private; in blacklist_show() 158 struct hci_dev *hdev = f->private; in blocked_keys_show() 173 struct hci_dev *hdev = f->private; in uuids_show() 198 struct hci_dev *hde in remote_oob_show() [all...] |
H A D | amp.h | 26 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr, 31 void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr); 32 void amp_read_loc_assoc_frag(struct hci_dev *hdev, u8 phy_handle); 33 void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr); 34 void amp_read_loc_assoc_final_data(struct hci_dev *hdev, 36 void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, 38 void amp_accept_phylink(struct hci_dev *hdev, struct amp_mgr *mgr, 54 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle); 55 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle);
|
H A D | hci_debugfs.h | 25 void hci_debugfs_create_common(struct hci_dev *hdev); 26 void hci_debugfs_create_bredr(struct hci_dev *hdev); 27 void hci_debugfs_create_le(struct hci_dev *hdev); 32 static inline void hci_debugfs_create_common(struct hci_dev *hdev) in hci_debugfs_create_common() 36 static inline void hci_debugfs_create_bredr(struct hci_dev *hdev) in hci_debugfs_create_bredr() 40 static inline void hci_debugfs_create_le(struct hci_dev *hdev) in hci_debugfs_create_le()
|
/kernel/linux/linux-5.10/net/nfc/nci/ |
H A D | hci.c | 126 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host() 127 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host() 128 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host() 150 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data() 211 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() 230 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() 235 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd() 270 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_clear_all_pipes() 285 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() 313 ndev->hci_dev in nci_hci_cmd_received() [all...] |
/kernel/linux/linux-6.6/net/nfc/nci/ |
H A D | hci.c | 127 if (ndev->hci_dev->pipes[i].host == host) { in nci_hci_reset_pipes_per_host() 128 ndev->hci_dev->pipes[i].gate = NCI_HCI_INVALID_GATE; in nci_hci_reset_pipes_per_host() 129 ndev->hci_dev->pipes[i].host = NCI_HCI_INVALID_HOST; in nci_hci_reset_pipes_per_host() 151 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data() 210 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_event() 229 u8 pipe = ndev->hci_dev->gate2pipe[gate]; in nci_hci_send_cmd() 234 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd() 269 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_clear_all_pipes() 284 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() 312 ndev->hci_dev in nci_hci_cmd_received() [all...] |