Lines Matching refs:hcon
5078 struct hci_conn *hcon; in hci_chan_selected_evt() local
5084 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt()
5085 if (!hcon) in hci_chan_selected_evt()
5088 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt()
5095 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local
5102 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt()
5103 if (!hcon) in hci_phy_link_complete_evt()
5106 if (!hcon->amp_mgr) in hci_phy_link_complete_evt()
5110 hci_conn_del(hcon); in hci_phy_link_complete_evt()
5114 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
5116 hcon->state = BT_CONNECTED; in hci_phy_link_complete_evt()
5117 bacpy(&hcon->dst, &bredr_hcon->dst); in hci_phy_link_complete_evt()
5119 hci_conn_hold(hcon); in hci_phy_link_complete_evt()
5120 hcon->disc_timeout = HCI_DISCONN_TIMEOUT; in hci_phy_link_complete_evt()
5121 hci_conn_drop(hcon); in hci_phy_link_complete_evt()
5123 hci_debugfs_create_conn(hcon); in hci_phy_link_complete_evt()
5124 hci_conn_add_sysfs(hcon); in hci_phy_link_complete_evt()
5126 amp_physical_cfm(bredr_hcon, hcon); in hci_phy_link_complete_evt()
5135 struct hci_conn *hcon; in hci_loglink_complete_evt() local
5143 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_loglink_complete_evt()
5144 if (!hcon) in hci_loglink_complete_evt()
5148 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
5155 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
5157 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
5165 hci_conn_hold(hcon); in hci_loglink_complete_evt()
5199 struct hci_conn *hcon; in hci_disconn_phylink_complete_evt() local
5208 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_disconn_phylink_complete_evt()
5209 if (hcon) { in hci_disconn_phylink_complete_evt()
5210 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
5211 hci_conn_del(hcon); in hci_disconn_phylink_complete_evt()
6037 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() local
6046 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt()
6047 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt()
6055 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
6061 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt()
6062 hcon->dst_type); in hci_le_remote_conn_param_req_evt()
6075 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type, in hci_le_remote_conn_param_req_evt()