Lines Matching defs:hdev
114 struct hci_dev *hdev = NULL, *d; in hci_dev_get() local
134 bool hci_discovery_active(struct hci_dev *hdev) in hci_discovery_active()
148 void hci_discovery_set_state(struct hci_dev *hdev, int state) in hci_discovery_set_state()
178 void hci_inquiry_cache_flush(struct hci_dev *hdev) in hci_inquiry_cache_flush()
192 struct inquiry_entry *hci_inquiry_cache_lookup(struct hci_dev *hdev, in hci_inquiry_cache_lookup()
208 struct inquiry_entry *hci_inquiry_cache_lookup_unknown(struct hci_dev *hdev, in hci_inquiry_cache_lookup_unknown()
224 struct inquiry_entry *hci_inquiry_cache_lookup_resolve(struct hci_dev *hdev, in hci_inquiry_cache_lookup_resolve()
243 void hci_inquiry_cache_update_resolve(struct hci_dev *hdev, in hci_inquiry_cache_update_resolve()
262 u32 hci_inquiry_cache_update(struct hci_dev *hdev, struct inquiry_data *data, in hci_inquiry_cache_update()
324 static int inquiry_cache_dump(struct hci_dev *hdev, int num, __u8 *buf) in inquiry_cache_dump()
355 struct hci_dev *hdev = req->hdev; in hci_inq_req() local
376 struct hci_dev *hdev; in hci_inquiry() local
475 static int hci_dev_do_open(struct hci_dev *hdev) in hci_dev_do_open()
493 struct hci_dev *hdev; in hci_dev_open() local
546 int hci_dev_do_close(struct hci_dev *hdev) in hci_dev_do_close()
563 struct hci_dev *hdev; in hci_dev_close() local
586 static int hci_dev_do_reset(struct hci_dev *hdev) in hci_dev_do_reset()
641 struct hci_dev *hdev; in hci_dev_reset() local
672 struct hci_dev *hdev; in hci_dev_reset_stat() local
696 static void hci_update_passive_scan_state(struct hci_dev *hdev, u8 scan) in hci_update_passive_scan_state()
734 struct hci_dev *hdev; in hci_dev_cmd() local
840 struct hci_dev *hdev; in hci_get_dev_list() local
890 struct hci_dev *hdev; in hci_get_dev_info() local
945 struct hci_dev *hdev = data; in hci_rfkill_set_block() local
970 struct hci_dev *hdev = container_of(work, struct hci_dev, power_on); in hci_power_on() local
1040 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_power_off() local
1050 struct hci_dev *hdev = container_of(work, struct hci_dev, error_reset); in hci_error_reset() local
1066 void hci_uuids_clear(struct hci_dev *hdev) in hci_uuids_clear()
1076 void hci_link_keys_clear(struct hci_dev *hdev) in hci_link_keys_clear()
1086 void hci_smp_ltks_clear(struct hci_dev *hdev) in hci_smp_ltks_clear()
1096 void hci_smp_irks_clear(struct hci_dev *hdev) in hci_smp_irks_clear()
1106 void hci_blocked_keys_clear(struct hci_dev *hdev) in hci_blocked_keys_clear()
1116 bool hci_is_blocked_key(struct hci_dev *hdev, u8 type, u8 val[16]) in hci_is_blocked_key()
1133 struct link_key *hci_find_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_find_link_key()
1159 static bool hci_persistent_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_persistent_key()
1207 struct smp_ltk *hci_find_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_ltk()
1236 struct smp_irk *hci_find_irk_by_rpa(struct hci_dev *hdev, bdaddr_t *rpa) in hci_find_irk_by_rpa()
1270 struct smp_irk *hci_find_irk_by_addr(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_find_irk_by_addr()
1303 struct link_key *hci_add_link_key(struct hci_dev *hdev, struct hci_conn *conn, in hci_add_link_key()
1350 struct smp_ltk *hci_add_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_ltk()
1379 struct smp_irk *hci_add_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_irk()
1402 int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr) in hci_remove_link_key()
1418 int hci_remove_ltk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 bdaddr_type) in hci_remove_ltk()
1437 void hci_remove_irk(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 addr_type) in hci_remove_irk()
1452 bool hci_bdaddr_is_paired(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type) in hci_bdaddr_is_paired()
1491 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_cmd_timeout() local
1513 struct hci_dev *hdev = container_of(work, struct hci_dev, in hci_ncmd_timeout() local
1528 struct oob_data *hci_find_remote_oob_data(struct hci_dev *hdev, in hci_find_remote_oob_data()
1544 int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_remove_remote_oob_data()
1561 void hci_remote_oob_data_clear(struct hci_dev *hdev) in hci_remote_oob_data_clear()
1571 int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_add_remote_oob_data()
1618 struct adv_info *hci_find_adv_instance(struct hci_dev *hdev, u8 instance) in hci_find_adv_instance()
1631 struct adv_info *hci_get_next_instance(struct hci_dev *hdev, u8 instance) in hci_get_next_instance()
1648 int hci_remove_adv_instance(struct hci_dev *hdev, u8 instance) in hci_remove_adv_instance()
1676 void hci_adv_instances_set_rpa_expired(struct hci_dev *hdev, bool rpa_expired) in hci_adv_instances_set_rpa_expired()
1685 void hci_adv_instances_clear(struct hci_dev *hdev) in hci_adv_instances_clear()
1715 struct adv_info *hci_add_adv_instance(struct hci_dev *hdev, u8 instance, in hci_add_adv_instance()
1773 struct adv_info *hci_add_per_instance(struct hci_dev *hdev, u8 instance, in hci_add_per_instance()
1795 int hci_set_adv_instance_data(struct hci_dev *hdev, u8 instance, in hci_set_adv_instance_data()
1830 u32 hci_adv_instance_flags(struct hci_dev *hdev, u8 instance) in hci_adv_instance_flags()
1864 bool hci_adv_instance_is_scannable(struct hci_dev *hdev, u8 instance) in hci_adv_instance_is_scannable()
1884 void hci_adv_monitors_clear(struct hci_dev *hdev) in hci_adv_monitors_clear()
1898 void hci_free_adv_monitor(struct hci_dev *hdev, struct adv_monitor *monitor) in hci_free_adv_monitor()
1926 int hci_add_adv_monitor(struct hci_dev *hdev, struct adv_monitor *monitor) in hci_add_adv_monitor()
1972 static int hci_remove_adv_monitor(struct hci_dev *hdev, in hci_remove_adv_monitor()
2008 int hci_remove_single_adv_monitor(struct hci_dev *hdev, u16 handle) in hci_remove_single_adv_monitor()
2019 int hci_remove_all_adv_monitor(struct hci_dev *hdev) in hci_remove_all_adv_monitor()
2041 bool hci_is_adv_monitoring(struct hci_dev *hdev) in hci_is_adv_monitoring()
2046 int hci_get_adv_monitor_offload_ext(struct hci_dev *hdev) in hci_get_adv_monitor_offload_ext()
2240 struct hci_conn_params *hci_conn_params_lookup(struct hci_dev *hdev, in hci_conn_params_lookup()
2295 struct hci_conn_params *hci_conn_params_add(struct hci_dev *hdev, in hci_conn_params_add()
2341 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type) in hci_conn_params_del()
2357 void hci_conn_params_clear_disabled(struct hci_dev *hdev) in hci_conn_params_clear_disabled()
2380 static void hci_conn_params_clear_all(struct hci_dev *hdev) in hci_conn_params_clear_all()
2403 void hci_copy_identity_address(struct hci_dev *hdev, bdaddr_t *bdaddr, in hci_copy_identity_address()
2418 static void hci_clear_wake_reason(struct hci_dev *hdev) in hci_clear_wake_reason()
2432 struct hci_dev *hdev = in hci_suspend_notifier() local
2459 struct hci_dev *hdev; in hci_alloc_dev_priv() local
2591 void hci_free_dev(struct hci_dev *hdev) in hci_free_dev()
2599 int hci_register_dev(struct hci_dev *hdev) in hci_register_dev()
2720 void hci_unregister_dev(struct hci_dev *hdev) in hci_unregister_dev()
2768 void hci_release_dev(struct hci_dev *hdev) in hci_release_dev()
2803 int hci_register_suspend_notifier(struct hci_dev *hdev) in hci_register_suspend_notifier()
2816 int hci_unregister_suspend_notifier(struct hci_dev *hdev) in hci_unregister_suspend_notifier()
2830 int hci_suspend_dev(struct hci_dev *hdev) in hci_suspend_dev()
2861 int hci_resume_dev(struct hci_dev *hdev) in hci_resume_dev()
2889 int hci_reset_dev(struct hci_dev *hdev) in hci_reset_dev()
2909 int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_frame()
2954 int hci_recv_diag(struct hci_dev *hdev, struct sk_buff *skb) in hci_recv_diag()
2969 void hci_set_hw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_hw_info()
2980 void hci_set_fw_info(struct hci_dev *hdev, const char *fmt, ...) in hci_set_fw_info()
3017 static int hci_send_frame(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_frame()
3054 int hci_send_cmd(struct hci_dev *hdev, __u16 opcode, __u32 plen, in hci_send_cmd()
3078 int __hci_cmd_send(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_send()
3110 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 opcode) in hci_sent_cmd_data()
3128 void *hci_recv_event_data(struct hci_dev *hdev, __u8 event) in hci_recv_event_data()
3175 struct hci_dev *hdev = conn->hdev; in hci_queue_acl() local
3235 struct hci_dev *hdev = chan->conn->hdev; in hci_send_acl() local
3247 struct hci_dev *hdev = conn->hdev; in hci_send_sco() local
3281 struct hci_dev *hdev = conn->hdev; in hci_queue_iso() local
3325 struct hci_dev *hdev = conn->hdev; in hci_send_iso() local
3339 struct hci_dev *hdev; in hci_quote_sent() local
3376 static struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, in hci_low_sent()
3414 static void hci_link_tx_to(struct hci_dev *hdev, __u8 type) in hci_link_tx_to()
3440 static struct hci_chan *hci_chan_sent(struct hci_dev *hdev, __u8 type, in hci_chan_sent()
3503 static void hci_prio_recalculate(struct hci_dev *hdev, __u8 type) in hci_prio_recalculate()
3553 static inline int __get_blocks(struct hci_dev *hdev, struct sk_buff *skb) in __get_blocks()
3559 static void __check_timeout(struct hci_dev *hdev, unsigned int cnt, u8 type) in __check_timeout()
3583 static void hci_sched_sco(struct hci_dev *hdev) in hci_sched_sco()
3606 static void hci_sched_esco(struct hci_dev *hdev) in hci_sched_esco()
3630 static void hci_sched_acl_pkt(struct hci_dev *hdev) in hci_sched_acl_pkt()
3672 static void hci_sched_acl_blk(struct hci_dev *hdev) in hci_sched_acl_blk()
3726 static void hci_sched_acl(struct hci_dev *hdev) in hci_sched_acl()
3749 static void hci_sched_le(struct hci_dev *hdev) in hci_sched_le()
3800 static void hci_sched_iso(struct hci_dev *hdev) in hci_sched_iso()
3828 struct hci_dev *hdev = container_of(work, struct hci_dev, tx_work); in hci_tx_work() local
3851 static void hci_acldata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_acldata_packet()
3887 static void hci_scodata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_scodata_packet()
3921 static void hci_isodata_packet(struct hci_dev *hdev, struct sk_buff *skb) in hci_isodata_packet()
3958 static bool hci_req_is_complete(struct hci_dev *hdev) in hci_req_is_complete()
3969 static void hci_resend_last(struct hci_dev *hdev) in hci_resend_last()
3991 void hci_req_cmd_complete(struct hci_dev *hdev, u16 opcode, u8 status, in hci_req_cmd_complete()
4058 struct hci_dev *hdev = container_of(work, struct hci_dev, rx_work); in hci_rx_work() local
4133 struct hci_dev *hdev = container_of(work, struct hci_dev, cmd_work); in hci_cmd_work() local