Lines Matching defs:hdev
68 struct hci_dev *hdev = file->private_data; in dut_mode_read() local
80 struct hci_dev *hdev = file->private_data; in dut_mode_write() local
124 struct hci_dev *hdev = file->private_data; in vendor_diag_read() local
136 struct hci_dev *hdev = file->private_data; in vendor_diag_write() local
177 static void hci_debugfs_create_basic(struct hci_dev *hdev) in hci_debugfs_create_basic()
248 struct hci_dev *hdev = req->hdev; in hci_init1_req() local
305 struct hci_dev *hdev = req->hdev; in le_setup() local
323 struct hci_dev *hdev = req->hdev; in hci_setup_event_mask() local
419 struct hci_dev *hdev = req->hdev; in hci_init2_req() local
503 struct hci_dev *hdev = req->hdev; in hci_setup_link_policy() local
522 struct hci_dev *hdev = req->hdev; in hci_set_le_support() local
543 struct hci_dev *hdev = req->hdev; in hci_set_event_mask_page_2() local
588 struct hci_dev *hdev = req->hdev; in hci_init3_req() local
805 struct hci_dev *hdev = req->hdev; in hci_init4_req() local
903 static int __hci_init(struct hci_dev *hdev) in __hci_init()
962 struct hci_dev *hdev = req->hdev; in hci_init0_req() local
980 static int __hci_unconf_init(struct hci_dev *hdev) in __hci_unconf_init()
1045 struct hci_dev *hdev = NULL, *d; in hci_dev_get() local
1065 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active()
1079 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state()
1109 void hci_inquiry_cache_flush(struct hci_dev *hdev) in hci_inquiry_cache_flush()
1123 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, in hci_inquiry_cache_lookup()
1139 struct inquiry_entry *hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, in hci_inquiry_cache_lookup_unknown()
1155 struct inquiry_entry *hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, in hci_inquiry_cache_lookup_resolve()
1174 void hci_inquiry_cache_update_resolve(struct hci_dev *hdev, in hci_inquiry_cache_update_resolve()
1193 u32 hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, in hci_inquiry_cache_update()
1255 static int inquiry_cache_dump(struct hci_dev *hdev, int num, __u8 *buf) in inquiry_cache_dump()
1286 struct hci_dev *hdev = req->hdev; in hci_inq_req() local
1307 struct hci_dev *hdev; in hci_inquiry() local
1410 static void hci_dev_get_bd_addr_from_property(struct hci_dev *hdev) in hci_dev_get_bd_addr_from_property()
1424 static int hci_dev_do_open(struct hci_dev *hdev) in hci_dev_do_open()
1633 struct hci_dev *hdev; in hci_dev_open() local
1687 static void hci_pend_le_actions_clear(struct hci_dev *hdev) in hci_pend_le_actions_clear()
1703 int hci_dev_do_close(struct hci_dev *hdev) in hci_dev_do_close()
1836 struct hci_dev *hdev; in hci_dev_close() local
1858 static int hci_dev_do_reset(struct hci_dev *hdev) in hci_dev_do_reset()
1894 struct hci_dev *hdev; in hci_dev_reset() local
1925 struct hci_dev *hdev; in hci_dev_reset_stat() local
1949 static void hci_update_scan_state(struct hci_dev *hdev, u8 scan) in hci_update_scan_state()
1987 struct hci_dev *hdev; in hci_dev_cmd() local
2093 struct hci_dev *hdev; in hci_get_dev_list() local
2143 struct hci_dev *hdev; in hci_get_dev_info() local
2198 struct hci_dev *hdev = data; in hci_rfkill_set_block() local
2223 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on() local
2295 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off() local
2305 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset() local
2320 void hci_uuids_clear(struct hci_dev *hdev) in hci_uuids_clear()
2330 void hci_link_keys_clear(struct hci_dev *hdev) in hci_link_keys_clear()
2340 void hci_smp_ltks_clear(struct hci_dev *hdev) in hci_smp_ltks_clear()
2350 void hci_smp_irks_clear(struct hci_dev *hdev) in hci_smp_irks_clear()
2360 void hci_blocked_keys_clear(struct hci_dev *hdev) in hci_blocked_keys_clear()
2370 bool hci_is_blocked_key(struct hci_dev *hdev, u8 type, u8 val[16]) in hci_is_blocked_key()
2387 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key()
2413 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
2461 struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_ltk()
2490 struct smp_irk *hci_find_irk_by_rpa(struct hci_dev *hdev, bdaddr_t *rpa) in hci_find_irk_by_rpa()
2524 struct smp_irk *hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_irk_by_addr()
2557 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
2604 struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_ltk()
2633 struct smp_irk *hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_irk()
2656 int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_remove_link_key()
2672 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk()
2691 void hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) in hci_remove_irk()
2706 bool hci_bdaddr_is_paired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) in hci_bdaddr_is_paired()
2745 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout() local
2764 struct oob_data *hci_find_remote_oob_data(struct hci_dev *hdev, in hci_find_remote_oob_data()
2780 int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_remove_remote_oob_data()
2797 void hci_remote_oob_data_clear(struct hci_dev *hdev) in hci_remote_oob_data_clear()
2807 int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_remote_oob_data()
2854 struct adv_info *hci_find_adv_instance(struct hci_dev *hdev, u8 instance) in hci_find_adv_instance()
2867 struct adv_info *hci_get_next_instance(struct hci_dev *hdev, u8 instance) in hci_get_next_instance()
2884 int hci_remove_adv_instance(struct hci_dev *hdev, u8 instance) in hci_remove_adv_instance()
2912 void hci_adv_instances_set_rpa_expired(struct hci_dev *hdev, bool rpa_expired) in hci_adv_instances_set_rpa_expired()
2921 void hci_adv_instances_clear(struct hci_dev *hdev) in hci_adv_instances_clear()
2951 int hci_add_adv_instance(struct hci_dev *hdev, u8 instance, u32 flags, in hci_add_adv_instance()
3009 void hci_adv_monitors_clear(struct hci_dev *hdev) in hci_adv_monitors_clear()
3035 int hci_add_adv_monitor(struct hci_dev *hdev, struct adv_monitor *monitor) in hci_add_adv_monitor()
3059 struct hci_dev *hdev = data; in free_adv_monitor() local
3070 int hci_remove_adv_monitor(struct hci_dev *hdev, u16 handle) in hci_remove_adv_monitor()
3093 bool hci_is_adv_monitoring(struct hci_dev *hdev) in hci_is_adv_monitoring()
3284 struct hci_conn_params *hci_conn_params_lookup(struct hci_dev *hdev, in hci_conn_params_lookup()
3324 struct hci_conn_params *hci_conn_params_add(struct hci_dev *hdev, in hci_conn_params_add()
3369 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) in hci_conn_params_del()
3385 void hci_conn_params_clear_disabled(struct hci_dev *hdev) in hci_conn_params_clear_disabled()
3409 static void hci_conn_params_clear_all(struct hci_dev *hdev) in hci_conn_params_clear_all()
3432 void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_copy_identity_address()
3447 static void hci_suspend_clear_tasks(struct hci_dev *hdev) in hci_suspend_clear_tasks()
3457 static int hci_suspend_wait_event(struct hci_dev *hdev) in hci_suspend_wait_event()
3485 struct hci_dev *hdev = in hci_prepare_suspend() local
3493 static int hci_change_suspend_state(struct hci_dev *hdev, in hci_change_suspend_state()
3502 static void hci_clear_wake_reason(struct hci_dev *hdev) in hci_clear_wake_reason()
3516 struct hci_dev *hdev = in hci_suspend_notifier() local
3577 struct hci_dev *hdev; in hci_alloc_dev() local
3687 void hci_free_dev(struct hci_dev *hdev) in hci_free_dev()
3695 int hci_register_dev(struct hci_dev *hdev) in hci_register_dev()
3807 void hci_unregister_dev(struct hci_dev *hdev) in hci_unregister_dev()
3881 int hci_suspend_dev(struct hci_dev *hdev) in hci_suspend_dev()
3889 int hci_resume_dev(struct hci_dev *hdev) in hci_resume_dev()
3897 int hci_reset_dev(struct hci_dev *hdev) in hci_reset_dev()
3915 int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_frame()
3945 int hci_recv_diag(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_diag()
3960 void hci_set_hw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_hw_info()
3971 void hci_set_fw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_fw_info()
4008 static void hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_frame()
4042 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd()
4066 int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_send()
4098 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data()
4116 struct sk_buff *hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_cmd_sync()
4151 struct hci_dev *hdev = conn->hdev; in hci_queue_acl() local
4211 struct hci_dev *hdev = chan->conn->hdev; in hci_send_acl() local
4223 struct hci_dev *hdev = conn->hdev; in hci_send_sco() local
4244 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
4304 static void hci_link_tx_to(struct hci_dev *hdev, __u8 type) in hci_link_tx_to()
4325 static struct hci_chan *hci_chan_sent(struct hci_dev *hdev, __u8 type, in hci_chan_sent()
4407 static void hci_prio_recalculate(struct hci_dev *hdev, __u8 type) in hci_prio_recalculate()
4457 static inline int __get_blocks(struct hci_dev *hdev, struct sk_buff *skb) in __get_blocks()
4463 static void __check_timeout(struct hci_dev *hdev, unsigned int cnt) in __check_timeout()
4475 static void hci_sched_sco(struct hci_dev *hdev) in hci_sched_sco()
4498 static void hci_sched_esco(struct hci_dev *hdev) in hci_sched_esco()
4522 static void hci_sched_acl_pkt(struct hci_dev *hdev) in hci_sched_acl_pkt()
4564 static void hci_sched_acl_blk(struct hci_dev *hdev) in hci_sched_acl_blk()
4618 static void hci_sched_acl(struct hci_dev *hdev) in hci_sched_acl()
4641 static void hci_sched_le(struct hci_dev *hdev) in hci_sched_le()
4693 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work() local
4715 static void hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_acldata_packet()
4751 static void hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_scodata_packet()
4785 static bool hci_req_is_complete(struct hci_dev *hdev) in hci_req_is_complete()
4796 static void hci_resend_last(struct hci_dev *hdev) in hci_resend_last()
4818 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, in hci_req_cmd_complete()
4885 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work() local
4948 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); in hci_cmd_work() local