Home
last modified time | relevance | path

Searched refs:hci_dev (Results 1 – 25 of 83) sorted by relevance

1234

/linux/net/bluetooth/
A Dmsft.h15 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);
27 void msft_suspend(struct hci_dev *hdev);
28 void msft_resume(struct hci_dev *hdev);
29 bool msft_curve_validity(struct hci_dev *hdev);
40 static inline void msft_do_open(struct hci_dev *hdev) {} in msft_do_open()
[all …]
A Dhci_request.h29 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);
57 void hci_req_sync_cancel(struct hci_dev *hdev, int err);
62 int __hci_req_hci_power_on(struct hci_dev *hdev);
73 void hci_req_disable_address_resolution(struct hci_dev *hdev);
75 int hci_req_resume_adv_instances(struct hci_dev *hdev);
76 void hci_req_reenable_advertising(struct hci_dev *hdev);
106 static inline void hci_req_update_scan(struct hci_dev *hdev) in hci_req_update_scan()
125 void hci_request_setup(struct hci_dev *hdev);
[all …]
A Dhci_debugfs.c218 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 Dhci_debugfs.h25 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 Damp.h26 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 Dhci_request.c59 struct hci_dev *hdev = req->hdev; in req_run()
1595 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire()
1657 struct hci_dev *hdev = container_of(work, struct hci_dev, in interleave_scan_work()
2299 struct hci_dev *hdev = container_of(work, struct hci_dev, scan_update); in scan_update_work()
2337 struct hci_dev *hdev = container_of(work, struct hci_dev, in connectable_update_work()
2450 struct hci_dev *hdev = container_of(work, struct hci_dev, in discoverable_update_work()
2561 struct hci_dev *hdev = container_of(work, struct hci_dev, in bg_scan_update()
2618 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_disable_work()
2713 struct hci_dev *hdev = container_of(work, struct hci_dev, in le_scan_restart_work()
3005 struct hci_dev *hdev = container_of(work, struct hci_dev, in discov_update()
[all …]
A Dhci_core.c1193 struct hci_dev *hdev; in hci_inquiry()
1533 struct hci_dev *hdev; in hci_dev_open()
1740 struct hci_dev *hdev; in hci_dev_close()
2127 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on()
2199 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off()
2209 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset()
2649 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout()
2671 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_ncmd_timeout()
4851 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work()
5043 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work()
[all …]
A Dmsft.c103 static int __msft_remove_monitor(struct hci_dev *hdev,
106 bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported()
218 void msft_suspend(struct hci_dev *hdev) in msft_suspend()
235 void msft_resume(struct hci_dev *hdev) in msft_resume()
251 void msft_do_open(struct hci_dev *hdev) in msft_do_open()
287 void msft_do_close(struct hci_dev *hdev) in msft_do_close()
313 void msft_register(struct hci_dev *hdev) in msft_register()
329 void msft_unregister(struct hci_dev *hdev) in msft_unregister()
377 __u64 msft_get_features(struct hci_dev *hdev) in msft_get_features()
711 struct hci_dev *hdev = req->hdev; in msft_req_add_set_filter_enable()
[all …]
A Dhci_event.c182 static void hci_cc_read_def_link_policy(struct hci_dev *hdev, in hci_cc_read_def_link_policy()
195 static void hci_cc_write_def_link_policy(struct hci_dev *hdev, in hci_cc_write_def_link_policy()
246 static void hci_cc_read_stored_link_key(struct hci_dev *hdev, in hci_cc_read_stored_link_key()
484 static void hci_cc_write_voice_setting(struct hci_dev *hdev, in hci_cc_write_voice_setting()
1399 static bool has_pending_adv_report(struct hci_dev *hdev) in has_pending_adv_report()
1406 static void clear_pending_adv_report(struct hci_dev *hdev) in clear_pending_adv_report()
2044 static int hci_outgoing_auth_needed(struct hci_dev *hdev, in hci_outgoing_auth_needed()
2066 static int hci_resolve_name(struct hci_dev *hdev, in hci_resolve_name()
2081 static bool hci_resolve_next_name(struct hci_dev *hdev) in hci_resolve_next_name()
3309 static void hci_remote_features_evt(struct hci_dev *hdev, in hci_remote_features_evt()
[all …]
A Dsmp.h184 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);
A Dmgmt_util.h34 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel,
41 struct hci_dev *hdev);
44 struct hci_dev *hdev,
46 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev,
50 struct hci_dev *hdev,
A Daosp.h8 void aosp_do_open(struct hci_dev *hdev);
9 void aosp_do_close(struct hci_dev *hdev);
13 static inline void aosp_do_open(struct hci_dev *hdev) {} in aosp_do_open()
14 static inline void aosp_do_close(struct hci_dev *hdev) {} in aosp_do_close()
/linux/include/net/bluetooth/
A Dhci_core.h317 struct hci_dev { struct
608 int (*open)(struct hci_dev *hdev); argument
609 int (*close)(struct hci_dev *hdev); argument
610 int (*flush)(struct hci_dev *hdev); argument
611 int (*setup)(struct hci_dev *hdev); argument
612 int (*shutdown)(struct hci_dev *hdev); argument
620 bool (*wakeup)(struct hci_dev *hdev); argument
713 struct hci_dev *hdev;
892 struct hci_dev *hdev = conn->hdev; in hci_conn_ssp_enabled()
899 struct hci_dev *hdev = conn->hdev; in hci_conn_sc_enabled()
[all …]
/linux/drivers/bluetooth/
A Dbtintel.h191 int btintel_check_bdaddr(struct hci_dev *hdev);
192 int btintel_enter_mfg(struct hci_dev *hdev);
195 int btintel_set_diag(struct hci_dev *hdev, bool enable);
204 int btintel_read_boot_params(struct hci_dev *hdev,
208 int btintel_configure_setup(struct hci_dev *hdev);
210 void btintel_secure_send_result(struct hci_dev *hdev,
215 static inline int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr()
220 static inline int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg()
240 static inline int btintel_version_info(struct hci_dev *hdev, in btintel_version_info()
257 static inline int btintel_read_version(struct hci_dev *hdev, in btintel_read_version()
[all …]
A Dbtbcm.h54 int btbcm_check_bdaddr(struct hci_dev *hdev);
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 *hdev) in btbcm_check_bdaddr()
80 static inline int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params()
97 static inline int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram()
[all …]
A Dbtrtl.h52 struct btrtl_device_info *btrtl_initialize(struct hci_dev *hdev,
55 int btrtl_download_firmware(struct hci_dev *hdev,
57 void btrtl_set_quirks(struct hci_dev *hdev,
59 int btrtl_setup_realtek(struct hci_dev *hdev);
60 int btrtl_shutdown_realtek(struct hci_dev *hdev);
61 int btrtl_get_uart_settings(struct hci_dev *hdev,
78 static inline int btrtl_download_firmware(struct hci_dev *hdev, in btrtl_download_firmware()
84 static inline void btrtl_set_quirks(struct hci_dev *hdev, in btrtl_set_quirks()
89 static inline int btrtl_setup_realtek(struct hci_dev *hdev) in btrtl_setup_realtek()
94 static inline int btrtl_shutdown_realtek(struct hci_dev *hdev) in btrtl_shutdown_realtek()
[all …]
A Dbtqca.h152 int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr);
153 int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate,
156 int qca_read_soc_version(struct hci_dev *hdev, struct qca_btsoc_version *ver,
158 int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
159 int qca_send_pre_shutdown_cmd(struct hci_dev *hdev);
172 static inline int qca_set_bdaddr_rome(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr_rome()
177 static inline int qca_uart_setup(struct hci_dev *hdev, uint8_t baudrate, in qca_uart_setup()
185 static inline int qca_read_soc_version(struct hci_dev *hdev, in qca_read_soc_version()
192 static inline int qca_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in qca_set_bdaddr()
207 static inline int qca_send_pre_shutdown_cmd(struct hci_dev *hdev) in qca_send_pre_shutdown_cmd()
A Dbtintel.c35 int btintel_check_bdaddr(struct hci_dev *hdev) in btintel_check_bdaddr()
74 int btintel_enter_mfg(struct hci_dev *hdev) in btintel_enter_mfg()
154 int btintel_set_diag(struct hci_dev *hdev, bool enable) in btintel_set_diag()
221 static void btintel_hw_error(struct hci_dev *hdev, u8 code) in btintel_hw_error()
428 static int btintel_version_info_tlv(struct hci_dev *hdev, in btintel_version_info_tlv()
645 struct hci_dev *hdev;
853 int btintel_read_boot_params(struct hci_dev *hdev, in btintel_read_boot_params()
1059 int btintel_download_firmware(struct hci_dev *hdev, in btintel_download_firmware()
1806 static int btintel_download_fw(struct hci_dev *hdev, in btintel_download_fw()
2580 int btintel_configure_setup(struct hci_dev *hdev) in btintel_configure_setup()
[all …]
A Dvirtio_bt.c26 struct hci_dev *hdev;
51 static int virtbt_open(struct hci_dev *hdev) in virtbt_open()
62 static int virtbt_close(struct hci_dev *hdev) in virtbt_close()
80 static int virtbt_flush(struct hci_dev *hdev) in virtbt_flush()
105 static int virtbt_setup_zephyr(struct hci_dev *hdev) in virtbt_setup_zephyr()
122 static int virtbt_set_bdaddr_zephyr(struct hci_dev *hdev, in virtbt_set_bdaddr_zephyr()
136 static int virtbt_setup_intel(struct hci_dev *hdev) in virtbt_setup_intel()
162 static int virtbt_setup_realtek(struct hci_dev *hdev) in virtbt_setup_realtek()
177 static int virtbt_shutdown_generic(struct hci_dev *hdev) in virtbt_shutdown_generic()
255 struct hci_dev *hdev; in virtbt_probe()
[all …]
A Dbtbcm.c35 int btbcm_check_bdaddr(struct hci_dev *hdev) in btbcm_check_bdaddr()
99 int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) in btbcm_set_bdaddr()
116 int btbcm_read_pcm_int_params(struct hci_dev *hdev, in btbcm_read_pcm_int_params()
144 int btbcm_write_pcm_int_params(struct hci_dev *hdev, in btbcm_write_pcm_int_params()
225 static int btbcm_reset(struct hci_dev *hdev) in btbcm_reset()
346 static int btbcm_read_info(struct hci_dev *hdev) in btbcm_read_info()
369 static int btbcm_print_local_name(struct hci_dev *hdev) in btbcm_print_local_name()
428 int btbcm_initialize(struct hci_dev *hdev, bool *fw_load_done) in btbcm_initialize()
537 int btbcm_finalize(struct hci_dev *hdev, bool *fw_load_done) in btbcm_finalize()
556 int btbcm_setup_patchram(struct hci_dev *hdev) in btbcm_setup_patchram()
[all …]
A Dbtrsi.c30 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()
A Dbpa10x.c37 struct hci_dev *hdev;
49 struct hci_dev *hdev = (struct hci_dev *) skb->dev; in bpa10x_tx_complete()
86 struct hci_dev *hdev = urb->context; in bpa10x_rx_complete()
120 static inline int bpa10x_submit_intr_urb(struct hci_dev *hdev) in bpa10x_submit_intr_urb()
160 static inline int bpa10x_submit_bulk_urb(struct hci_dev *hdev) in bpa10x_submit_bulk_urb()
200 static int bpa10x_open(struct hci_dev *hdev) in bpa10x_open()
223 static int bpa10x_close(struct hci_dev *hdev) in bpa10x_close()
234 static int bpa10x_flush(struct hci_dev *hdev) in bpa10x_flush()
245 static int bpa10x_setup(struct hci_dev *hdev) in bpa10x_setup()
343 static int bpa10x_set_diag(struct hci_dev *hdev, bool enable) in bpa10x_set_diag()
[all …]
/linux/net/nfc/nci/
A Dhci.c150 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_data()
233 conn_info = ndev->hci_dev->conn_info; in nci_hci_send_cmd()
268 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_clear_all_pipes()
313 ndev->hci_dev->pipes[new_pipe].host = in nci_hci_cmd_received()
368 conn_info = ndev->hci_dev->conn_info; in nci_hci_resp_received()
501 conn_info = ndev->hci_dev->conn_info; in nci_hci_open_pipe()
567 conn_info = ndev->hci_dev->conn_info; in nci_hci_set_param()
715 ndev->hci_dev->count_pipes = 0; in nci_hci_dev_session_init()
716 ndev->hci_dev->expected_pipes = 0; in nci_hci_dev_session_init()
725 nci_hci_reset_pipes(ndev->hci_dev); in nci_hci_dev_session_init()
[all …]
/linux/drivers/usb/host/
A Dssb-hcd.c105 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/drivers/nfc/st-nci/
A Dse.c362 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_event_received()
363 u8 host = ndev->hci_dev->pipes[pipe].host; in st_nci_hci_event_received()
383 u8 gate = ndev->hci_dev->pipes[pipe].gate; in st_nci_hci_cmd_received()
391 ndev->hci_dev->count_pipes++; in st_nci_hci_cmd_received()
393 if (ndev->hci_dev->count_pipes == in st_nci_hci_cmd_received()
394 ndev->hci_dev->expected_pipes) { in st_nci_hci_cmd_received()
397 ndev->hci_dev->count_pipes = 0; in st_nci_hci_cmd_received()
415 ndev->hci_dev->count_pipes = 0; in st_nci_control_se()
419 ndev->hci_dev->count_pipes = 0; in st_nci_control_se()
538 spec_params.id = ndev->hci_dev->nfcee_id; in st_nci_hci_network_init()
[all …]

Completed in 79 milliseconds

1234