Lines Matching refs:hcon

5612 	struct hci_conn *hcon;  in hci_chan_selected_evt()  local
5616 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt()
5617 if (!hcon) in hci_chan_selected_evt()
5620 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt()
5627 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local
5634 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt()
5635 if (!hcon) in hci_phy_link_complete_evt()
5638 if (!hcon->amp_mgr) in hci_phy_link_complete_evt()
5642 hci_conn_del(hcon); in hci_phy_link_complete_evt()
5646 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
5648 hcon->state = BT_CONNECTED; in hci_phy_link_complete_evt()
5649 bacpy(&hcon->dst, &bredr_hcon->dst); in hci_phy_link_complete_evt()
5651 hci_conn_hold(hcon); in hci_phy_link_complete_evt()
5652 hcon->disc_timeout = HCI_DISCONN_TIMEOUT; in hci_phy_link_complete_evt()
5653 hci_conn_drop(hcon); in hci_phy_link_complete_evt()
5655 hci_debugfs_create_conn(hcon); in hci_phy_link_complete_evt()
5656 hci_conn_add_sysfs(hcon); in hci_phy_link_complete_evt()
5658 amp_physical_cfm(bredr_hcon, hcon); in hci_phy_link_complete_evt()
5668 struct hci_conn *hcon; in hci_loglink_complete_evt() local
5675 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_loglink_complete_evt()
5676 if (!hcon) in hci_loglink_complete_evt()
5680 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
5687 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
5689 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
5697 hci_conn_hold(hcon); in hci_loglink_complete_evt()
5731 struct hci_conn *hcon; in hci_disconn_phylink_complete_evt() local
5740 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_disconn_phylink_complete_evt()
5741 if (hcon && hcon->type == AMP_LINK) { in hci_disconn_phylink_complete_evt()
5742 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
5743 hci_disconn_cfm(hcon, ev->reason); in hci_disconn_phylink_complete_evt()
5744 hci_conn_del(hcon); in hci_disconn_phylink_complete_evt()
6681 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() local
6692 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt()
6693 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt()
6701 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
6707 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt()
6708 hcon->dst_type); in hci_le_remote_conn_param_req_evt()
6721 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type, in hci_le_remote_conn_param_req_evt()