Lines Matching refs:handle
97 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery()
120 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy()
144 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy()
598 __u16 handle; in hci_cs_add_sco() local
609 handle = __le16_to_cpu(cp->handle); in hci_cs_add_sco()
611 BT_DBG("%s handle %d", hdev->name, handle); in hci_cs_add_sco()
615 acl = hci_conn_hash_lookup_handle(hdev, handle); in hci_cs_add_sco()
642 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle)); in hci_cs_auth_requested()
669 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle)); in hci_cs_set_conn_encrypt()
701 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle)); in hci_cs_read_remote_features()
728 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle)); in hci_cs_read_remote_ext_features()
743 __u16 handle; in hci_cs_setup_sync_conn() local
754 handle = __le16_to_cpu(cp->handle); in hci_cs_setup_sync_conn()
756 BT_DBG("%s handle %d", hdev->name, handle); in hci_cs_setup_sync_conn()
760 acl = hci_conn_hash_lookup_handle(hdev, handle); in hci_cs_setup_sync_conn()
787 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle)); in hci_cs_sniff_mode()
810 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(cp->handle)); in hci_cs_exit_sniff_mode()
873 conn->handle = __le16_to_cpu(ev->handle); in hci_conn_complete_evt()
892 cp.handle = ev->handle; in hci_conn_complete_evt()
900 cp.handle = ev->handle; in hci_conn_complete_evt()
913 hci_setup_sync(sco, conn->handle); in hci_conn_complete_evt()
915 hci_add_sco(sco, conn->handle); in hci_conn_complete_evt()
1018 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_disconn_complete_evt()
1038 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_auth_complete_evt()
1049 cp.handle = ev->handle; in hci_auth_complete_evt()
1064 cp.handle = ev->handle; in hci_auth_complete_evt()
1094 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_encrypt_change_evt()
1129 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_change_link_key_complete_evt()
1151 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_remote_features_evt()
1160 cp.handle = ev->handle; in hci_remote_features_evt()
1423 __u16 handle, count; in hci_num_comp_pkts_evt() local
1425 handle = get_unaligned_le16(ptr++); in hci_num_comp_pkts_evt()
1428 conn = hci_conn_hash_lookup_handle(hdev, handle); in hci_num_comp_pkts_evt()
1456 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_mode_change_evt()
1496 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_clock_offset_evt()
1518 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_pkt_type_change_evt()
1598 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_remote_ext_features_evt()
1614 cp.handle = ev->handle; in hci_remote_ext_features_evt()
1654 hci_setup_sync(conn, conn->link->handle); in hci_sync_conn_complete_evt()
1659 conn->handle = __le16_to_cpu(ev->handle); in hci_sync_conn_complete_evt()
1688 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); in hci_sniff_subrate_evt()