Lines Matching refs:hcon

4309 	struct hci_conn *hcon;  in hci_chan_selected_evt()  local
4315 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt()
4316 if (!hcon) in hci_chan_selected_evt()
4319 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt()
4326 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local
4333 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt()
4334 if (!hcon) { in hci_phy_link_complete_evt()
4340 hci_conn_del(hcon); in hci_phy_link_complete_evt()
4345 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
4347 hcon->state = BT_CONNECTED; in hci_phy_link_complete_evt()
4348 bacpy(&hcon->dst, &bredr_hcon->dst); in hci_phy_link_complete_evt()
4350 hci_conn_hold(hcon); in hci_phy_link_complete_evt()
4351 hcon->disc_timeout = HCI_DISCONN_TIMEOUT; in hci_phy_link_complete_evt()
4352 hci_conn_drop(hcon); in hci_phy_link_complete_evt()
4354 hci_debugfs_create_conn(hcon); in hci_phy_link_complete_evt()
4355 hci_conn_add_sysfs(hcon); in hci_phy_link_complete_evt()
4357 amp_physical_cfm(bredr_hcon, hcon); in hci_phy_link_complete_evt()
4365 struct hci_conn *hcon; in hci_loglink_complete_evt() local
4373 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_loglink_complete_evt()
4374 if (!hcon) in hci_loglink_complete_evt()
4378 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
4384 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
4386 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
4394 hci_conn_hold(hcon); in hci_loglink_complete_evt()
4428 struct hci_conn *hcon; in hci_disconn_phylink_complete_evt() local
4437 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_disconn_phylink_complete_evt()
4438 if (hcon) { in hci_disconn_phylink_complete_evt()
4439 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
4440 hci_conn_del(hcon); in hci_disconn_phylink_complete_evt()
5044 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() local
5053 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt()
5054 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt()
5062 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
5068 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt()
5069 hcon->dst_type); in hci_le_remote_conn_param_req_evt()
5082 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type, in hci_le_remote_conn_param_req_evt()