Lines Matching refs:hci_dev
65 struct hci_dev *hdev = file->private_data; in dut_mode_read()
77 struct hci_dev *hdev = file->private_data; in dut_mode_write()
121 struct hci_dev *hdev = file->private_data; in vendor_diag_read()
133 struct hci_dev *hdev = file->private_data; in vendor_diag_write()
174 static void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic()
245 struct hci_dev *hdev = req->hdev; in hci_init1_req()
302 struct hci_dev *hdev = req->hdev; in le_setup()
320 struct hci_dev *hdev = req->hdev; in hci_setup_event_mask()
416 struct hci_dev *hdev = req->hdev; in hci_init2_req()
500 struct hci_dev *hdev = req->hdev; in hci_setup_link_policy()
519 struct hci_dev *hdev = req->hdev; in hci_set_le_support()
540 struct hci_dev *hdev = req->hdev; in hci_set_event_mask_page_2()
585 struct hci_dev *hdev = req->hdev; in hci_init3_req()
790 struct hci_dev *hdev = req->hdev; in hci_init4_req()
863 static int __hci_init(struct hci_dev *hdev) in __hci_init()
922 struct hci_dev *hdev = req->hdev; in hci_init0_req()
940 static int __hci_unconf_init(struct hci_dev *hdev) in __hci_unconf_init()
1003 struct hci_dev *hci_dev_get(int index) in hci_dev_get()
1005 struct hci_dev *hdev = NULL, *d; in hci_dev_get()
1025 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active()
1039 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state()
1069 void hci_inquiry_cache_flush(struct hci_dev *hdev) in hci_inquiry_cache_flush()
1083 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, in hci_inquiry_cache_lookup()
1099 struct inquiry_entry *hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, in hci_inquiry_cache_lookup_unknown()
1115 struct inquiry_entry *hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, in hci_inquiry_cache_lookup_resolve()
1134 void hci_inquiry_cache_update_resolve(struct hci_dev *hdev, in hci_inquiry_cache_update_resolve()
1153 u32 hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, in hci_inquiry_cache_update()
1215 static int inquiry_cache_dump(struct hci_dev *hdev, int num, __u8 *buf) in inquiry_cache_dump()
1246 struct hci_dev *hdev = req->hdev; in hci_inq_req()
1267 struct hci_dev *hdev; in hci_inquiry()
1358 static int hci_dev_do_open(struct hci_dev *hdev) in hci_dev_do_open()
1529 struct hci_dev *hdev; in hci_dev_open()
1583 static void hci_pend_le_actions_clear(struct hci_dev *hdev) in hci_pend_le_actions_clear()
1599 int hci_dev_do_close(struct hci_dev *hdev) in hci_dev_do_close()
1727 struct hci_dev *hdev; in hci_dev_close()
1749 static int hci_dev_do_reset(struct hci_dev *hdev) in hci_dev_do_reset()
1785 struct hci_dev *hdev; in hci_dev_reset()
1816 struct hci_dev *hdev; in hci_dev_reset_stat()
1840 static void hci_update_scan_state(struct hci_dev *hdev, u8 scan) in hci_update_scan_state()
1878 struct hci_dev *hdev; in hci_dev_cmd()
1984 struct hci_dev *hdev; in hci_get_dev_list()
2034 struct hci_dev *hdev; in hci_get_dev_info()
2089 struct hci_dev *hdev = data; in hci_rfkill_set_block()
2114 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on()
2186 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off()
2196 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset()
2211 void hci_uuids_clear(struct hci_dev *hdev) in hci_uuids_clear()
2221 void hci_link_keys_clear(struct hci_dev *hdev) in hci_link_keys_clear()
2231 void hci_smp_ltks_clear(struct hci_dev *hdev) in hci_smp_ltks_clear()
2241 void hci_smp_irks_clear(struct hci_dev *hdev) in hci_smp_irks_clear()
2251 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key()
2267 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
2315 struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_ltk()
2335 struct smp_irk *hci_find_irk_by_rpa(struct hci_dev *hdev, bdaddr_t *rpa) in hci_find_irk_by_rpa()
2359 struct smp_irk *hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_irk_by_addr()
2381 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
2428 struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_ltk()
2457 struct smp_irk *hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_irk()
2480 int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_remove_link_key()
2496 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk()
2515 void hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) in hci_remove_irk()
2530 bool hci_bdaddr_is_paired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) in hci_bdaddr_is_paired()
2569 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout()
2585 struct oob_data *hci_find_remote_oob_data(struct hci_dev *hdev, in hci_find_remote_oob_data()
2601 int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_remove_remote_oob_data()
2618 void hci_remote_oob_data_clear(struct hci_dev *hdev) in hci_remote_oob_data_clear()
2628 int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_remote_oob_data()
2675 struct adv_info *hci_find_adv_instance(struct hci_dev *hdev, u8 instance) in hci_find_adv_instance()
2688 struct adv_info *hci_get_next_instance(struct hci_dev *hdev, u8 instance) in hci_get_next_instance()
2705 int hci_remove_adv_instance(struct hci_dev *hdev, u8 instance) in hci_remove_adv_instance()
2733 void hci_adv_instances_set_rpa_expired(struct hci_dev *hdev, bool rpa_expired) in hci_adv_instances_set_rpa_expired()
2742 void hci_adv_instances_clear(struct hci_dev *hdev) in hci_adv_instances_clear()
2772 int hci_add_adv_instance(struct hci_dev *hdev, u8 instance, u32 flags, in hci_add_adv_instance()
2894 struct hci_conn_params *hci_conn_params_lookup(struct hci_dev *hdev, in hci_conn_params_lookup()
2925 struct hci_conn_params *hci_conn_params_add(struct hci_dev *hdev, in hci_conn_params_add()
2970 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) in hci_conn_params_del()
2986 void hci_conn_params_clear_disabled(struct hci_dev *hdev) in hci_conn_params_clear_disabled()
3010 static void hci_conn_params_clear_all(struct hci_dev *hdev) in hci_conn_params_clear_all()
3033 void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_copy_identity_address()
3049 struct hci_dev *hci_alloc_dev(void) in hci_alloc_dev()
3051 struct hci_dev *hdev; in hci_alloc_dev()
3140 void hci_free_dev(struct hci_dev *hdev) in hci_free_dev()
3148 int hci_register_dev(struct hci_dev *hdev) in hci_register_dev()
3253 void hci_unregister_dev(struct hci_dev *hdev) in hci_unregister_dev()
3321 int hci_suspend_dev(struct hci_dev *hdev) in hci_suspend_dev()
3329 int hci_resume_dev(struct hci_dev *hdev) in hci_resume_dev()
3337 int hci_reset_dev(struct hci_dev *hdev) in hci_reset_dev()
3355 int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_frame()
3384 int hci_recv_diag(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_diag()
3399 void hci_set_hw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_hw_info()
3410 void hci_set_fw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_fw_info()
3447 static void hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_frame()
3481 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd()
3505 int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_send()
3537 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data()
3555 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_cmd_sync()
3590 struct hci_dev *hdev = conn->hdev; in hci_queue_acl()
3650 struct hci_dev *hdev = chan->conn->hdev; in hci_send_acl()
3662 struct hci_dev *hdev = conn->hdev; in hci_send_sco()
3683 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
3743 static void hci_link_tx_to(struct hci_dev *hdev, __u8 type) in hci_link_tx_to()
3764 static struct hci_chan *hci_chan_sent(struct hci_dev *hdev, __u8 type, in hci_chan_sent()
3846 static void hci_prio_recalculate(struct hci_dev *hdev, __u8 type) in hci_prio_recalculate()
3896 static inline int __get_blocks(struct hci_dev *hdev, struct sk_buff *skb) in __get_blocks()
3902 static void __check_timeout(struct hci_dev *hdev, unsigned int cnt) in __check_timeout()
3913 static void hci_sched_acl_pkt(struct hci_dev *hdev) in hci_sched_acl_pkt()
3951 static void hci_sched_acl_blk(struct hci_dev *hdev) in hci_sched_acl_blk()
4005 static void hci_sched_acl(struct hci_dev *hdev) in hci_sched_acl()
4029 static void hci_sched_sco(struct hci_dev *hdev) in hci_sched_sco()
4052 static void hci_sched_esco(struct hci_dev *hdev) in hci_sched_esco()
4076 static void hci_sched_le(struct hci_dev *hdev) in hci_sched_le()
4129 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work()
4151 static void hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_acldata_packet()
4187 static void hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_scodata_packet()
4217 static bool hci_req_is_complete(struct hci_dev *hdev) in hci_req_is_complete()
4228 static void hci_resend_last(struct hci_dev *hdev) in hci_resend_last()
4250 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, in hci_req_cmd_complete()
4314 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work()
4369 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); in hci_cmd_work()