Lines Matching refs:hcon
4764 struct hci_conn *hcon; in hci_chan_selected_evt() local
4770 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt()
4771 if (!hcon) in hci_chan_selected_evt()
4774 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt()
4781 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local
4788 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt()
4789 if (!hcon) { in hci_phy_link_complete_evt()
4795 hci_conn_del(hcon); in hci_phy_link_complete_evt()
4800 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
4802 hcon->state = BT_CONNECTED; in hci_phy_link_complete_evt()
4803 bacpy(&hcon->dst, &bredr_hcon->dst); in hci_phy_link_complete_evt()
4805 hci_conn_hold(hcon); in hci_phy_link_complete_evt()
4806 hcon->disc_timeout = HCI_DISCONN_TIMEOUT; in hci_phy_link_complete_evt()
4807 hci_conn_drop(hcon); in hci_phy_link_complete_evt()
4809 hci_debugfs_create_conn(hcon); in hci_phy_link_complete_evt()
4810 hci_conn_add_sysfs(hcon); in hci_phy_link_complete_evt()
4812 amp_physical_cfm(bredr_hcon, hcon); in hci_phy_link_complete_evt()
4820 struct hci_conn *hcon; in hci_loglink_complete_evt() local
4828 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_loglink_complete_evt()
4829 if (!hcon) in hci_loglink_complete_evt()
4833 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
4839 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
4841 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
4849 hci_conn_hold(hcon); in hci_loglink_complete_evt()
4883 struct hci_conn *hcon; in hci_disconn_phylink_complete_evt() local
4892 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_disconn_phylink_complete_evt()
4893 if (hcon) { in hci_disconn_phylink_complete_evt()
4894 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
4895 hci_conn_del(hcon); in hci_disconn_phylink_complete_evt()
5649 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() local
5658 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt()
5659 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt()
5667 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
5673 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt()
5674 hcon->dst_type); in hci_le_remote_conn_param_req_evt()
5687 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type, in hci_le_remote_conn_param_req_evt()