/linux-6.3-rc2/include/net/bluetooth/ |
A D | hci_sync.h | 39 void hci_cmd_sync_init(struct hci_dev *hdev); 40 void hci_cmd_sync_clear(struct hci_dev *hdev); 47 int hci_update_eir_sync(struct hci_dev *hdev); 50 int hci_update_eir_sync(struct hci_dev *hdev); 52 int hci_update_name_sync(struct hci_dev *hdev); 92 int hci_update_scan(struct hci_dev *hdev); 101 int hci_reset_sync(struct hci_dev *hdev); 102 int hci_dev_open_sync(struct hci_dev *hdev); 103 int hci_dev_close_sync(struct hci_dev *hdev); 116 int hci_suspend_sync(struct hci_dev *hdev); [all …]
|
A D | hci_core.h | 347 struct hci_dev { struct 650 int (*open)(struct hci_dev *hdev); argument 651 int (*close)(struct hci_dev *hdev); argument 652 int (*flush)(struct hci_dev *hdev); argument 653 int (*setup)(struct hci_dev *hdev); argument 662 void (*reset)(struct hci_dev *hdev); argument 663 bool (*wakeup)(struct hci_dev *hdev); argument 761 struct hci_dev *hdev; 966 struct hci_dev *hdev = conn->hdev; in hci_conn_ssp_enabled() 973 struct hci_dev *hdev = conn->hdev; in hci_conn_sc_enabled() [all …]
|
/linux-6.3-rc2/net/bluetooth/ |
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); 21 __u64 msft_get_features(struct hci_dev *hdev); 26 int msft_suspend_sync(struct hci_dev *hdev); 27 int msft_resume_sync(struct hci_dev *hdev); 28 bool msft_curve_validity(struct hci_dev *hdev); 37 static inline void msft_register(struct hci_dev *hdev) {} in msft_register() [all …]
|
A D | hci_debugfs.c | 218 struct hci_dev *hdev = data; in conn_info_min_age_set() 232 struct hci_dev *hdev = data; in conn_info_min_age_get() 246 struct hci_dev *hdev = data; in conn_info_max_age_set() 260 struct hci_dev *hdev = data; in conn_info_max_age_get() 414 struct hci_dev *hdev = data; in voice_setting_get() 446 struct hci_dev *hdev = data; in auto_accept_delay_set() 457 struct hci_dev *hdev = data; in min_encrypt_key_size_set() 471 struct hci_dev *hdev = data; in min_encrypt_key_size_get() 486 struct hci_dev *hdev = data; in auto_accept_delay_get() 539 struct hci_dev *hdev = data; in idle_timeout_set() [all …]
|
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()
|
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_req_prepare_suspend(struct hci_dev *hdev, enum suspended_state next); 76 void hci_request_setup(struct hci_dev *hdev); [all …]
|
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()
|
A D | hci_sync.c | 85 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_add() 114 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_run() 279 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_sync_work); in hci_cmd_sync_work() 316 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_sync_cancel_work); in hci_cmd_sync_cancel_work() 339 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_disable() 421 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_restart() 496 struct hci_dev *hdev = container_of(work, struct hci_dev, in reenable_adv() 603 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire() 3145 int (*func)(struct hci_dev *hdev); 5795 struct hci_dev *hdev = conn->hdev; in conn_use_rpa() [all …]
|
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 *hdev, struct sock *sk); [all …]
|
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);
|
A D | msft.c | 107 bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported() 168 (struct hci_dev *hdev, u16 handle, bool is_mgmt) in msft_find_handle_data() 336 int msft_suspend_sync(struct hci_dev *hdev) in msft_suspend_sync() 478 int msft_resume_sync(struct hci_dev *hdev) in msft_resume_sync() 501 void msft_do_open(struct hci_dev *hdev) in msft_do_open() 537 void msft_do_close(struct hci_dev *hdev) in msft_do_close() 571 void msft_register(struct hci_dev *hdev) in msft_register() 587 void msft_unregister(struct hci_dev *hdev) in msft_unregister() 738 __u64 msft_get_features(struct hci_dev *hdev) in msft_get_features() 809 struct hci_dev *hdev = req->hdev; in msft_req_add_set_filter_enable() [all …]
|
A D | hci_core.c | 376 struct hci_dev *hdev; in hci_inquiry() 493 struct hci_dev *hdev; in hci_dev_open() 563 struct hci_dev *hdev; in hci_dev_close() 970 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on() 1040 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off() 1050 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset() 1490 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout() 1512 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_ncmd_timeout() 3765 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work() 3995 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work() [all …]
|
A D | hci_request.c | 55 struct hci_dev *hdev = req->hdev; in req_run() 242 struct hci_dev *hdev = req->hdev; in hci_req_add_ev() 330 struct hci_dev *hdev = req->hdev; in hci_req_add_le_scan_disable() 394 struct hci_dev *hdev = req->hdev; in add_to_accept_list() 452 struct hci_dev *hdev = req->hdev; in update_accept_list() 546 struct hci_dev *hdev = req->hdev; in hci_req_start_scan() 658 struct hci_dev *hdev = req->hdev; in hci_update_random_address() 749 struct hci_dev *hdev = req->hdev; in hci_req_add_le_passive_scan() 835 struct hci_dev *hdev = req->hdev; in hci_req_add_le_interleaved_scan() 865 struct hci_dev *hdev = container_of(work, struct hci_dev, in interleave_scan_work() [all …]
|
A D | mgmt.c | 435 struct hci_dev *d; in read_index_list() 495 struct hci_dev *d; in read_unconf_index_list() 555 struct hci_dev *d; in read_ext_index_list() 1006 struct hci_dev *hdev = container_of(work, struct hci_dev, in service_cache_off() 1029 struct hci_dev *hdev = container_of(work, struct hci_dev, in rpa_expired() 1044 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_off() 1115 struct hci_dev *hdev = container_of(work, struct hci_dev, in mesh_send_done() 1420 struct hci_dev *hdev; 3352 struct hci_dev *hdev = conn->hdev; in find_pairing() 9732 struct hci_dev *hdev = data; in unpair_device_rsp() [all …]
|
A D | hci_event.c | 84 static u8 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, in hci_cc_inquiry_cancel() 124 static u8 hci_cc_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_periodic_inq() 1723 static bool has_pending_adv_report(struct hci_dev *hdev) in has_pending_adv_report() 1730 static void clear_pending_adv_report(struct hci_dev *hdev) in clear_pending_adv_report() 2428 static int hci_outgoing_auth_needed(struct hci_dev *hdev, in hci_outgoing_auth_needed() 2450 static int hci_resolve_name(struct hci_dev *hdev, in hci_resolve_name() 2465 static bool hci_resolve_next_name(struct hci_dev *hdev) in hci_resolve_next_name() 4268 void (*func)(struct hci_dev *hdev, __u8 status); 5213 struct hci_dev *hdev = conn->hdev; in bredr_oob_data_present() 7301 void (*func)(struct hci_dev *hdev, void *data, [all …]
|
A D | smp.h | 184 int smp_cancel_and_remove_pairing(struct hci_dev *hdev, bdaddr_t *bdaddr, 191 bool smp_irk_matches(struct hci_dev *hdev, const u8 irk[16], 193 int smp_generate_rpa(struct hci_dev *hdev, const u8 irk[16], bdaddr_t *rpa); 194 int smp_generate_oob(struct hci_dev *hdev, u8 hash[16], u8 rand[16]); 196 int smp_force_bredr(struct hci_dev *hdev, bool enable); 198 int smp_register(struct hci_dev *hdev); 199 void smp_unregister(struct hci_dev *hdev);
|
/linux-6.3-rc2/drivers/bluetooth/ |
A D | btintel.h | 144 struct hci_dev *hdev; 205 int btintel_check_bdaddr(struct hci_dev *hdev); 206 int btintel_enter_mfg(struct hci_dev *hdev); 209 int btintel_set_diag(struct hci_dev *hdev, bool enable); 218 int btintel_read_boot_params(struct hci_dev *hdev, 222 int btintel_configure_setup(struct hci_dev *hdev); 224 void btintel_secure_send_result(struct hci_dev *hdev, 229 static inline int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr() 234 static inline int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg() 254 static inline int btintel_version_info(struct hci_dev *hdev, in btintel_version_info() [all …]
|
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); 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); 70 static inline int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr() 80 static inline int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params() 86 static inline int btbcm_write_pcm_int_params(struct hci_dev *hdev, in btbcm_write_pcm_int_params() 97 static inline int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram() [all …]
|
A D | btrtl.h | 73 struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev, 76 int btrtl_download_firmware(struct hci_dev *hdev, 78 void btrtl_set_quirks(struct hci_dev *hdev, 80 int btrtl_setup_realtek(struct hci_dev *hdev); 81 int btrtl_shutdown_realtek(struct hci_dev *hdev); 82 int btrtl_get_uart_settings(struct hci_dev *hdev, 99 static inline int btrtl_download_firmware(struct hci_dev *hdev, in btrtl_download_firmware() 105 static inline void btrtl_set_quirks(struct hci_dev *hdev, in btrtl_set_quirks() 110 static inline int btrtl_setup_realtek(struct hci_dev *hdev) in btrtl_setup_realtek() 115 static inline int btrtl_shutdown_realtek(struct hci_dev *hdev) in btrtl_shutdown_realtek() [all …]
|
A D | btqca.h | 154 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr); 155 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, 158 int qca_read_soc_version(struct hci_dev *hdev, struct qca_btsoc_version *ver, 160 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 161 int qca_send_pre_shutdown_cmd(struct hci_dev *hdev); 174 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome() 179 static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup() 187 static inline int qca_read_soc_version(struct hci_dev *hdev, in qca_read_soc_version() 194 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr() 209 static inline int qca_send_pre_shutdown_cmd(struct hci_dev *hdev) in qca_send_pre_shutdown_cmd()
|
A D | btmtk.h | 122 typedef int (*wmt_cmd_sync_func_t)(struct hci_dev *, 127 int btmtk_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 129 int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname, 132 int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname, 136 static inline int btmtk_set_bdaddr(struct hci_dev *hdev, in btmtk_set_bdaddr() 142 static int btmtk_setup_firmware_79xx(struct hci_dev *hdev, const char *fwname, in btmtk_setup_firmware_79xx() 148 static int btmtk_setup_firmware(struct hci_dev *hdev, const char *fwname, in btmtk_setup_firmware()
|
A D | btrsi.c | 30 struct hci_dev *hdev; 33 static int rsi_hci_open(struct hci_dev *hdev) in rsi_hci_open() 38 static int rsi_hci_close(struct hci_dev *hdev) in rsi_hci_close() 43 static int rsi_hci_flush(struct hci_dev *hdev) in rsi_hci_flush() 48 static int rsi_hci_send_pkt(struct hci_dev *hdev, struct sk_buff *skb) in rsi_hci_send_pkt() 92 struct hci_dev *hdev = h_adapter->hdev; in rsi_hci_recv_pkt() 112 struct hci_dev *hdev; in rsi_hci_attach() 160 struct hci_dev *hdev; in rsi_hci_detach()
|
/linux-6.3-rc2/net/nfc/nci/ |
A D | hci.c | 151 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data() 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() 314 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received() 369 conn_info = ndev->hci_dev->conn_info; in nci_hci_resp_received() 503 conn_info = ndev->hci_dev->conn_info; in nci_hci_open_pipe() 569 conn_info = ndev->hci_dev->conn_info; in nci_hci_set_param() 717 ndev->hci_dev->count_pipes = 0; in nci_hci_dev_session_init() 718 ndev->hci_dev->expected_pipes = 0; in nci_hci_dev_session_init() 727 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_dev_session_init() [all …]
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | ssb-hcd.c | 105 struct platform_device *hci_dev; in ssb_hcd_create_pdev() local 118 hci_dev = platform_device_alloc(ohci ? "ohci-platform" : in ssb_hcd_create_pdev() 120 if (!hci_dev) in ssb_hcd_create_pdev() 123 hci_dev->dev.parent = dev->dev; in ssb_hcd_create_pdev() 124 hci_dev->dev.dma_mask = &hci_dev->dev.coherent_dma_mask; in ssb_hcd_create_pdev() 126 ret = platform_device_add_resources(hci_dev, hci_res, in ssb_hcd_create_pdev() 131 ret = platform_device_add_data(hci_dev, &ohci_pdata, in ssb_hcd_create_pdev() 134 ret = platform_device_add_data(hci_dev, &ehci_pdata, in ssb_hcd_create_pdev() 138 ret = platform_device_add(hci_dev); in ssb_hcd_create_pdev() 142 return hci_dev; in ssb_hcd_create_pdev() [all …]
|
/linux-6.3-rc2/drivers/nfc/st-nci/ |
A D | se.c | 230 ndev->hci_dev->pipes[pipe_info[2]].gate = in st_nci_hci_load_session() 385 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received() 386 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received() 414 ndev->hci_dev->count_pipes++; in st_nci_hci_cmd_received() 416 if (ndev->hci_dev->count_pipes == in st_nci_hci_cmd_received() 417 ndev->hci_dev->expected_pipes) { in st_nci_hci_cmd_received() 420 ndev->hci_dev->count_pipes = 0; in st_nci_hci_cmd_received() 438 ndev->hci_dev->count_pipes = 0; in st_nci_control_se() 442 ndev->hci_dev->count_pipes = 0; in st_nci_control_se() 561 spec_params.id = ndev->hci_dev->nfcee_id; in st_nci_hci_network_init() [all …]
|