| /net/bluetooth/ |
| A D | hci_sync.c | 88 struct hci_dev *hdev = req->hdev; in hci_cmd_sync_add() local 117 struct hci_dev *hdev = req->hdev; in hci_req_sync_run() local 626 void hci_cmd_sync_init(struct hci_dev *hdev) in hci_cmd_sync_init() 651 void hci_cmd_sync_clear(struct hci_dev *hdev) in hci_cmd_sync_clear() 899 int hci_update_eir_sync(struct hci_dev *hdev) in hci_update_eir_sync() 3232 int hci_update_scan(struct hci_dev *hdev) in hci_update_scan() 3644 int hci_reset_sync(struct hci_dev *hdev) in hci_reset_sync() 6163 int hci_suspend_sync(struct hci_dev *hdev) in hci_suspend_sync() 6283 int hci_resume_sync(struct hci_dev *hdev) in hci_resume_sync() 6314 struct hci_dev *hdev = conn->hdev; in conn_use_rpa() local [all …]
|
| A D | hci_debugfs.c | 218 struct hci_dev *hdev = data; in conn_info_min_age_set() local 234 struct hci_dev *hdev = data; in conn_info_min_age_get() local 248 struct hci_dev *hdev = data; in conn_info_max_age_set() local 264 struct hci_dev *hdev = data; in conn_info_max_age_get() local 418 struct hci_dev *hdev = data; in voice_setting_get() local 450 struct hci_dev *hdev = data; in auto_accept_delay_set() local 461 struct hci_dev *hdev = data; in min_encrypt_key_size_set() local 475 struct hci_dev *hdev = data; in min_encrypt_key_size_get() local 490 struct hci_dev *hdev = data; in auto_accept_delay_get() local 543 struct hci_dev *hdev = data; in idle_timeout_set() local [all …]
|
| A D | hci_core.c | 329 struct hci_dev *hdev; in hci_inquiry() local 440 struct hci_dev *hdev; in hci_dev_open() local 510 struct hci_dev *hdev; in hci_dev_close() local 588 struct hci_dev *hdev; in hci_dev_reset() local 619 struct hci_dev *hdev; in hci_dev_reset_stat() local 681 struct hci_dev *hdev; in hci_dev_cmd() local 787 struct hci_dev *hdev; in hci_get_dev_list() local 834 struct hci_dev *hdev; in hci_get_dev_info() local 2406 struct hci_dev *hdev = in hci_suspend_notifier() local 2439 struct hci_dev *hdev; in hci_alloc_dev_priv() local [all …]
|
| A D | coredump.c | 81 static void hci_devcd_notify(struct hci_dev *hdev, int state) in hci_devcd_notify() 88 void hci_devcd_reset(struct hci_dev *hdev) in hci_devcd_reset() 101 static void hci_devcd_free(struct hci_dev *hdev) in hci_devcd_free() 109 static int hci_devcd_alloc(struct hci_dev *hdev, u32 size) in hci_devcd_alloc() 243 static void hci_devcd_dump(struct hci_dev *hdev) in hci_devcd_dump() 282 static void hci_devcd_handle_pkt_abort(struct hci_dev *hdev, in hci_devcd_handle_pkt_abort() 397 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_devcd_timeout() local 445 static inline bool hci_devcd_enabled(struct hci_dev *hdev) in hci_devcd_enabled() 450 int hci_devcd_init(struct hci_dev *hdev, u32 dump_size) in hci_devcd_init() 515 int hci_devcd_complete(struct hci_dev *hdev) in hci_devcd_complete() [all …]
|
| A D | msft.h | 32 static inline bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported() 37 static inline void msft_register(struct hci_dev *hdev) {} in msft_register() 38 static inline void msft_release(struct hci_dev *hdev) {} in msft_release() 39 static inline void msft_do_open(struct hci_dev *hdev) {} in msft_do_open() 40 static inline void msft_do_close(struct hci_dev *hdev) {} in msft_do_close() 41 static inline void msft_vendor_evt(struct hci_dev *hdev, void *data, in msft_vendor_evt() 44 static inline int msft_add_monitor_pattern(struct hci_dev *hdev, in msft_add_monitor_pattern() 50 static inline int msft_remove_monitor(struct hci_dev *hdev, in msft_remove_monitor() 63 static inline int msft_suspend_sync(struct hci_dev *hdev) in msft_suspend_sync() 68 static inline int msft_resume_sync(struct hci_dev *hdev) in msft_resume_sync() [all …]
|
| A D | hci_event.c | 83 static u8 hci_cc_inquiry_cancel(struct hci_dev *hdev, void *data, in hci_cc_inquiry_cancel() 121 static u8 hci_cc_periodic_inq(struct hci_dev *hdev, void *data, in hci_cc_periodic_inq() 161 static u8 hci_cc_role_discovery(struct hci_dev *hdev, void *data, in hci_cc_role_discovery() 1070 static u8 hci_cc_read_clock(struct hci_dev *hdev, void *data, in hci_cc_read_clock() 1697 static bool has_pending_adv_report(struct hci_dev *hdev) in has_pending_adv_report() 1704 static void clear_pending_adv_report(struct hci_dev *hdev) in clear_pending_adv_report() 2153 static u8 hci_cc_read_rssi(struct hci_dev *hdev, void *data, in hci_cc_read_rssi() 2366 static int hci_outgoing_auth_needed(struct hci_dev *hdev, in hci_outgoing_auth_needed() 2388 static int hci_resolve_name(struct hci_dev *hdev, in hci_resolve_name() 2403 static bool hci_resolve_next_name(struct hci_dev *hdev) in hci_resolve_next_name() [all …]
|
| A D | mgmt.c | 613 static bool is_configured(struct hci_dev *hdev) in is_configured() 972 bool mgmt_get_connectable(struct hci_dev *hdev) in mgmt_get_connectable() 1432 int mgmt_new_settings(struct hci_dev *hdev) in mgmt_new_settings() 1439 struct hci_dev *hdev; member 1501 static u8 mgmt_le_support(struct hci_dev *hdev) in mgmt_le_support() 3419 struct hci_dev *hdev = conn->hdev; in find_pairing() local 8541 static bool adv_busy(struct hci_dev *hdev) in adv_busy() 9336 void mgmt_index_added(struct hci_dev *hdev) in mgmt_index_added() 9416 void __mgmt_power_off(struct hci_dev *hdev) in __mgmt_power_off() 9671 struct hci_dev *hdev = data; in unpair_device_rsp() local [all …]
|
| A D | hci_conn.c | 74 struct hci_dev *hdev = conn->hdev; in hci_connect_le_scan_cleanup() local 142 struct hci_dev *hdev = conn->hdev; in hci_conn_cleanup() local 191 struct hci_dev *hdev = conn->hdev; in hci_disconnect() local 204 struct hci_dev *hdev = conn->hdev; in hci_add_sco() local 410 struct hci_dev *hdev = conn->hdev; in hci_setup_sync_conn() local 487 struct hci_dev *hdev = conn->hdev; in hci_le_conn_update() local 523 struct hci_dev *hdev = conn->hdev; in hci_le_start_enc() local 588 struct hci_dev *hdev = conn->hdev; in hci_conn_idle() local 1185 struct hci_dev *hdev = NULL, *d; in hci_get_route() local 2596 struct hci_dev *hdev; in hci_get_conn_list() local [all …]
|
| A D | eir.c | 16 u8 eir_append_local_name(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in eir_append_local_name() 49 u8 eir_append_appearance(struct hci_dev *hdev, u8 *ptr, u8 ad_len) in eir_append_appearance() 67 static u8 *create_uuid16_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid16_list() 109 static u8 *create_uuid32_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid32_list() 142 static u8 *create_uuid128_list(struct hci_dev *hdev, u8 *data, ptrdiff_t len) in create_uuid128_list() 175 void eir_create(struct hci_dev *hdev, u8 *data) in eir_create() 224 u8 eir_create_per_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr) in eir_create_per_adv_data() 245 u8 eir_create_adv_data(struct hci_dev *hdev, u8 instance, u8 *ptr, u8 size) in eir_create_adv_data() 333 static u8 create_default_scan_rsp(struct hci_dev *hdev, u8 *ptr) in create_default_scan_rsp() 343 u8 eir_create_scan_rsp(struct hci_dev *hdev, u8 instance, u8 *ptr) in eir_create_scan_rsp()
|
| A D | msft.c | 136 bool msft_monitor_supported(struct hci_dev *hdev) in msft_monitor_supported() 194 (struct hci_dev *hdev, u16 handle, bool is_mgmt) in msft_find_handle_data() 449 int msft_suspend_sync(struct hci_dev *hdev) in msft_suspend_sync() 582 static void reregister_monitor(struct hci_dev *hdev) in reregister_monitor() 608 int msft_resume_sync(struct hci_dev *hdev) in msft_resume_sync() 631 void msft_do_open(struct hci_dev *hdev) in msft_do_open() 667 void msft_do_close(struct hci_dev *hdev) in msft_do_close() 753 void msft_register(struct hci_dev *hdev) in msft_register() 771 void msft_release(struct hci_dev *hdev) in msft_release() 1116 __u64 msft_get_features(struct hci_dev *hdev) in msft_get_features() [all …]
|
| A D | hci_sysfs.c | 26 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() local 39 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs() local 54 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs() local 84 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release() local 96 struct hci_dev *hdev = to_hci_dev(dev); in reset_store() local 117 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs()
|
| A D | mgmt_util.c | 59 struct sk_buff *mgmt_alloc_skb(struct hci_dev *hdev, u16 opcode, in mgmt_alloc_skb() 78 struct hci_dev *hdev; in mgmt_send_event_skb() local 111 int mgmt_send_event(u16 event, struct hci_dev *hdev, unsigned short channel, in mgmt_send_event() 218 struct hci_dev *hdev) in mgmt_pending_find() 239 void mgmt_pending_foreach(u16 opcode, struct hci_dev *hdev, bool remove, in mgmt_pending_foreach() 264 struct hci_dev *hdev, in mgmt_pending_new() 291 struct hci_dev *hdev, in mgmt_pending_add() 323 void mgmt_mesh_foreach(struct hci_dev *hdev, in mgmt_mesh_foreach() 335 struct mgmt_mesh_tx *mgmt_mesh_next(struct hci_dev *hdev, struct sock *sk) in mgmt_mesh_next() 350 struct mgmt_mesh_tx *mgmt_mesh_find(struct hci_dev *hdev, u8 handle) in mgmt_mesh_find() [all …]
|
| A D | aosp.h | 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_debugfs.h | 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 | leds.c | 15 struct hci_dev *hdev; member 21 void hci_leds_update_powered(struct hci_dev *hdev, bool enabled) in hci_leds_update_powered() 56 static struct led_trigger *led_allocate_basic(struct hci_dev *hdev, in led_allocate_basic() 86 void hci_leds_init(struct hci_dev *hdev) in hci_leds_init()
|
| A D | aosp.c | 43 void aosp_do_open(struct hci_dev *hdev) in aosp_do_open() 111 void aosp_do_close(struct hci_dev *hdev) in aosp_do_close() 147 static int enable_quality_report(struct hci_dev *hdev) in enable_quality_report() 171 static int disable_quality_report(struct hci_dev *hdev) in disable_quality_report() 193 bool aosp_has_quality_report(struct hci_dev *hdev) in aosp_has_quality_report() 198 int aosp_set_quality_report(struct hci_dev *hdev, bool enable) in aosp_set_quality_report()
|
| A D | hci_sock.c | 53 struct hci_dev *hdev; member 65 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_hdev_from_sock() local 724 struct hci_dev *hdev; in send_monitor_replay() local 811 void hci_sock_dev_event(struct hci_dev *hdev, int event) in hci_sock_dev_event() 904 struct hci_dev *hdev; in hci_sock_release() local 1006 struct hci_dev *hdev = hci_hdev_from_sock(sk); in hci_sock_bound_ioctl() local 1193 struct hci_dev *hdev = NULL; in hci_sock_bind() local 1493 struct hci_dev *hdev; in hci_sock_getname() local 1623 struct hci_dev *hdev = NULL; in hci_mgmt_cmd() local 1736 struct hci_dev *hdev; in hci_logging_frame() local [all …]
|
| A D | hci_drv.c | 14 int hci_drv_cmd_status(struct hci_dev *hdev, u16 cmd, u8 status) in hci_drv_cmd_status() 38 int hci_drv_cmd_complete(struct hci_dev *hdev, u16 cmd, u8 status, void *rp, in hci_drv_cmd_complete() 65 int hci_drv_process_cmd(struct hci_dev *hdev, struct sk_buff *skb) in hci_drv_process_cmd()
|
| A D | mgmt_config.c | 44 int read_def_system_config(struct sock *sk, struct hci_dev *hdev, void *data, in read_def_system_config() 128 int set_def_system_config(struct sock *sk, struct hci_dev *hdev, void *data, in set_def_system_config() 330 int read_def_runtime_config(struct sock *sk, struct hci_dev *hdev, void *data, in read_def_runtime_config() 339 int set_def_runtime_config(struct sock *sk, struct hci_dev *hdev, void *data, in set_def_runtime_config()
|
| A D | leds.h | 16 static inline void hci_leds_update_powered(struct hci_dev *hdev, in hci_leds_update_powered() 18 static inline void hci_leds_init(struct hci_dev *hdev) {} in hci_leds_init()
|
| A D | hci_codec.c | 48 static void hci_read_codec_capabilities(struct hci_dev *hdev, __u8 transport, in hci_read_codec_capabilities() 120 void hci_read_supported_codecs(struct hci_dev *hdev) in hci_read_supported_codecs() 189 void hci_read_supported_codecs_v2(struct hci_dev *hdev) in hci_read_supported_codecs_v2()
|
| A D | smp.c | 38 #define SMP_DEV(hdev) \ argument 654 struct hci_dev *hdev = hcon->hdev; in build_pairing_cmd() local 1042 struct hci_dev *hdev = hcon->hdev; in smp_notify_keys() local 1208 struct hci_dev *hdev = hcon->hdev; in sc_generate_ltk() local 1245 struct hci_dev *hdev = hcon->hdev; in smp_distribute_keys() local 1507 struct hci_dev *hdev = hcon->hdev; in sc_passkey_round() local 2054 struct hci_dev *hdev = hcon->hdev; in fixup_sc_false_positive() local 2092 struct hci_dev *hdev = hcon->hdev; in smp_cmd_pairing_confirm() local 2314 struct hci_dev *hdev = hcon->hdev; in smp_cmd_security_req() local 2747 struct hci_dev *hdev = hcon->hdev; in smp_cmd_public_key() local [all …]
|
| /net/nfc/hci/ |
| A D | core.c | 37 void nfc_hci_reset_pipes(struct nfc_hci_dev *hdev) in nfc_hci_reset_pipes() 520 static int hci_dev_version(struct nfc_hci_dev *hdev) in hci_dev_version() 581 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dev_up() local 627 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dev_down() local 642 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_start_poll() local 654 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_stop_poll() local 666 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dep_link_up() local 677 struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); in hci_dep_link_down() local 701 struct nfc_hci_dev *hdev = context; in hci_transceive_cb() local 959 struct nfc_hci_dev *hdev; in nfc_hci_allocate_device() local [all …]
|
| A D | command.c | 91 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, in nfc_hci_send_event() 112 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd() 125 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async() 140 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param() 172 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param() 182 static int nfc_hci_open_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_open_pipe() 202 static int nfc_hci_close_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_close_pipe() 237 static int nfc_hci_delete_pipe(struct nfc_hci_dev *hdev, u8 pipe) in nfc_hci_delete_pipe() 243 static int nfc_hci_clear_all_pipes(struct nfc_hci_dev *hdev) in nfc_hci_clear_all_pipes() 259 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_disconnect_gate() [all …]
|
| A D | hcp.c | 21 int nfc_hci_hcp_message_tx(struct nfc_hci_dev *hdev, u8 pipe, in nfc_hci_hcp_message_tx() 117 void nfc_hci_hcp_message_rx(struct nfc_hci_dev *hdev, u8 pipe, u8 type, in nfc_hci_hcp_message_rx()
|