Lines Matching defs:hdev
69 struct hci_dev *hdev = file->private_data; in dut_mode_read() local
81 struct hci_dev *hdev = file->private_data; in dut_mode_write() local
125 struct hci_dev *hdev = file->private_data; in vendor_diag_read() local
137 struct hci_dev *hdev = file->private_data; in vendor_diag_write() local
178 static void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic()
249 struct hci_dev *hdev = req->hdev; in hci_init1_req() local
306 struct hci_dev *hdev = req->hdev; in le_setup() local
324 struct hci_dev *hdev = req->hdev; in hci_setup_event_mask() local
420 struct hci_dev *hdev = req->hdev; in hci_init2_req() local
504 struct hci_dev *hdev = req->hdev; in hci_setup_link_policy() local
523 struct hci_dev *hdev = req->hdev; in hci_set_le_support() local
544 struct hci_dev *hdev = req->hdev; in hci_set_event_mask_page_2() local
589 struct hci_dev *hdev = req->hdev; in hci_init3_req() local
812 struct hci_dev *hdev = req->hdev; in hci_init4_req() local
910 static int __hci_init(struct hci_dev *hdev) in __hci_init()
969 struct hci_dev *hdev = req->hdev; in hci_init0_req() local
987 static int __hci_unconf_init(struct hci_dev *hdev) in __hci_unconf_init()
1052 struct hci_dev *hdev = NULL, *d; in hci_dev_get() local
1072 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active()
1086 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state()
1116 void hci_inquiry_cache_flush(struct hci_dev *hdev) in hci_inquiry_cache_flush()
1130 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, in hci_inquiry_cache_lookup()
1146 struct inquiry_entry *hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, in hci_inquiry_cache_lookup_unknown()
1162 struct inquiry_entry *hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, in hci_inquiry_cache_lookup_resolve()
1181 void hci_inquiry_cache_update_resolve(struct hci_dev *hdev, in hci_inquiry_cache_update_resolve()
1200 u32 hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, in hci_inquiry_cache_update()
1262 static int inquiry_cache_dump(struct hci_dev *hdev, int num, __u8 *buf) in inquiry_cache_dump()
1293 struct hci_dev *hdev = req->hdev; in hci_inq_req() local
1314 struct hci_dev *hdev; in hci_inquiry() local
1425 static void hci_dev_get_bd_addr_from_property(struct hci_dev *hdev) in hci_dev_get_bd_addr_from_property()
1439 static int hci_dev_do_open(struct hci_dev *hdev) in hci_dev_do_open()
1654 struct hci_dev *hdev; in hci_dev_open() local
1708 static void hci_pend_le_actions_clear(struct hci_dev *hdev) in hci_pend_le_actions_clear()
1724 int hci_dev_do_close(struct hci_dev *hdev) in hci_dev_do_close()
1860 struct hci_dev *hdev; in hci_dev_close() local
1882 static int hci_dev_do_reset(struct hci_dev *hdev) in hci_dev_do_reset()
1918 struct hci_dev *hdev; in hci_dev_reset() local
1949 struct hci_dev *hdev; in hci_dev_reset_stat() local
1973 static void hci_update_scan_state(struct hci_dev *hdev, u8 scan) in hci_update_scan_state()
2011 struct hci_dev *hdev; in hci_dev_cmd() local
2117 struct hci_dev *hdev; in hci_get_dev_list() local
2167 struct hci_dev *hdev; in hci_get_dev_info() local
2222 struct hci_dev *hdev = data; in hci_rfkill_set_block() local
2247 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on() local
2319 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off() local
2329 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset() local
2344 void hci_uuids_clear(struct hci_dev *hdev) in hci_uuids_clear()
2354 void hci_link_keys_clear(struct hci_dev *hdev) in hci_link_keys_clear()
2364 void hci_smp_ltks_clear(struct hci_dev *hdev) in hci_smp_ltks_clear()
2374 void hci_smp_irks_clear(struct hci_dev *hdev) in hci_smp_irks_clear()
2384 void hci_blocked_keys_clear(struct hci_dev *hdev) in hci_blocked_keys_clear()
2394 bool hci_is_blocked_key(struct hci_dev *hdev, u8 type, u8 val[16]) in hci_is_blocked_key()
2411 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key()
2437 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
2485 struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_ltk()
2514 struct smp_irk *hci_find_irk_by_rpa(struct hci_dev *hdev, bdaddr_t *rpa) in hci_find_irk_by_rpa()
2548 struct smp_irk *hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_irk_by_addr()
2581 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
2628 struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_ltk()
2657 struct smp_irk *hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_irk()
2680 int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_remove_link_key()
2696 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk()
2715 void hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) in hci_remove_irk()
2730 bool hci_bdaddr_is_paired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) in hci_bdaddr_is_paired()
2769 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout() local
2791 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_ncmd_timeout() local
2806 struct oob_data *hci_find_remote_oob_data(struct hci_dev *hdev, in hci_find_remote_oob_data()
2822 int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_remove_remote_oob_data()
2839 void hci_remote_oob_data_clear(struct hci_dev *hdev) in hci_remote_oob_data_clear()
2849 int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_remote_oob_data()
2896 struct adv_info *hci_find_adv_instance(struct hci_dev *hdev, u8 instance) in hci_find_adv_instance()
2909 struct adv_info *hci_get_next_instance(struct hci_dev *hdev, u8 instance) in hci_get_next_instance()
2926 int hci_remove_adv_instance(struct hci_dev *hdev, u8 instance) in hci_remove_adv_instance()
2954 void hci_adv_instances_set_rpa_expired(struct hci_dev *hdev, bool rpa_expired) in hci_adv_instances_set_rpa_expired()
2963 void hci_adv_instances_clear(struct hci_dev *hdev) in hci_adv_instances_clear()
2993 int hci_add_adv_instance(struct hci_dev *hdev, u8 instance, u32 flags, in hci_add_adv_instance()
3053 int hci_set_adv_instance_data(struct hci_dev *hdev, u8 instance, in hci_set_adv_instance_data()
3084 void hci_adv_monitors_clear(struct hci_dev *hdev) in hci_adv_monitors_clear()
3098 void hci_free_adv_monitor(struct hci_dev *hdev, struct adv_monitor *monitor) in hci_free_adv_monitor()
3122 int hci_add_adv_patterns_monitor_complete(struct hci_dev *hdev, u8 status) in hci_add_adv_patterns_monitor_complete()
3127 int hci_remove_adv_monitor_complete(struct hci_dev *hdev, u8 status) in hci_remove_adv_monitor_complete()
3137 bool hci_add_adv_monitor(struct hci_dev *hdev, struct adv_monitor *monitor, in hci_add_adv_monitor()
3184 static bool hci_remove_adv_monitor(struct hci_dev *hdev, in hci_remove_adv_monitor()
3217 bool hci_remove_single_adv_monitor(struct hci_dev *hdev, u16 handle, int *err) in hci_remove_single_adv_monitor()
3240 bool hci_remove_all_adv_monitor(struct hci_dev *hdev, int *err) in hci_remove_all_adv_monitor()
3270 bool hci_is_adv_monitoring(struct hci_dev *hdev) in hci_is_adv_monitoring()
3275 int hci_get_adv_monitor_offload_ext(struct hci_dev *hdev) in hci_get_adv_monitor_offload_ext()
3469 struct hci_conn_params *hci_conn_params_lookup(struct hci_dev *hdev, in hci_conn_params_lookup()
3509 struct hci_conn_params *hci_conn_params_add(struct hci_dev *hdev, in hci_conn_params_add()
3554 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) in hci_conn_params_del()
3570 void hci_conn_params_clear_disabled(struct hci_dev *hdev) in hci_conn_params_clear_disabled()
3594 static void hci_conn_params_clear_all(struct hci_dev *hdev) in hci_conn_params_clear_all()
3617 void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_copy_identity_address()
3632 static void hci_suspend_clear_tasks(struct hci_dev *hdev) in hci_suspend_clear_tasks()
3642 static int hci_suspend_wait_event(struct hci_dev *hdev) in hci_suspend_wait_event()
3670 struct hci_dev *hdev = in hci_prepare_suspend() local
3678 static int hci_change_suspend_state(struct hci_dev *hdev, in hci_change_suspend_state()
3687 static void hci_clear_wake_reason(struct hci_dev *hdev) in hci_clear_wake_reason()
3701 struct hci_dev *hdev = in hci_suspend_notifier() local
3763 struct hci_dev *hdev; in hci_alloc_dev_priv() local
3889 void hci_free_dev(struct hci_dev *hdev) in hci_free_dev()
3897 int hci_register_dev(struct hci_dev *hdev) in hci_register_dev()
4011 void hci_unregister_dev(struct hci_dev *hdev) in hci_unregister_dev()
4057 void hci_release_dev(struct hci_dev *hdev) in hci_release_dev()
4089 int hci_suspend_dev(struct hci_dev *hdev) in hci_suspend_dev()
4097 int hci_resume_dev(struct hci_dev *hdev) in hci_resume_dev()
4105 int hci_reset_dev(struct hci_dev *hdev) in hci_reset_dev()
4125 int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_frame()
4155 int hci_recv_diag(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_diag()
4170 void hci_set_hw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_hw_info()
4181 void hci_set_fw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_fw_info()
4218 static void hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_frame()
4252 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd()
4276 int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_send()
4308 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data()
4326 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_cmd_sync()
4361 struct hci_dev *hdev = conn->hdev; in hci_queue_acl() local
4421 struct hci_dev *hdev = chan->conn->hdev; in hci_send_acl() local
4433 struct hci_dev *hdev = conn->hdev; in hci_send_sco() local
4454 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
4514 static void hci_link_tx_to(struct hci_dev *hdev, __u8 type) in hci_link_tx_to()
4535 static struct hci_chan *hci_chan_sent(struct hci_dev *hdev, __u8 type, in hci_chan_sent()
4617 static void hci_prio_recalculate(struct hci_dev *hdev, __u8 type) in hci_prio_recalculate()
4667 static inline int __get_blocks(struct hci_dev *hdev, struct sk_buff *skb) in __get_blocks()
4673 static void __check_timeout(struct hci_dev *hdev, unsigned int cnt) in __check_timeout()
4685 static void hci_sched_sco(struct hci_dev *hdev) in hci_sched_sco()
4708 static void hci_sched_esco(struct hci_dev *hdev) in hci_sched_esco()
4732 static void hci_sched_acl_pkt(struct hci_dev *hdev) in hci_sched_acl_pkt()
4774 static void hci_sched_acl_blk(struct hci_dev *hdev) in hci_sched_acl_blk()
4828 static void hci_sched_acl(struct hci_dev *hdev) in hci_sched_acl()
4851 static void hci_sched_le(struct hci_dev *hdev) in hci_sched_le()
4903 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work() local
4925 static void hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_acldata_packet()
4961 static void hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_scodata_packet()
4995 static bool hci_req_is_complete(struct hci_dev *hdev) in hci_req_is_complete()
5006 static void hci_resend_last(struct hci_dev *hdev) in hci_resend_last()
5028 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, in hci_req_cmd_complete()
5095 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work() local
5158 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); in hci_cmd_work() local