Lines Matching refs:hcon

5361 	struct hci_conn *hcon;  in hci_chan_selected_evt()  local
5365 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt()
5366 if (!hcon) in hci_chan_selected_evt()
5369 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt()
5376 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local
5383 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt()
5384 if (!hcon) in hci_phy_link_complete_evt()
5387 if (!hcon->amp_mgr) in hci_phy_link_complete_evt()
5391 hci_conn_del(hcon); in hci_phy_link_complete_evt()
5395 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
5397 hcon->state = BT_CONNECTED; in hci_phy_link_complete_evt()
5398 bacpy(&hcon->dst, &bredr_hcon->dst); in hci_phy_link_complete_evt()
5400 hci_conn_hold(hcon); in hci_phy_link_complete_evt()
5401 hcon->disc_timeout = HCI_DISCONN_TIMEOUT; in hci_phy_link_complete_evt()
5402 hci_conn_drop(hcon); in hci_phy_link_complete_evt()
5404 hci_debugfs_create_conn(hcon); in hci_phy_link_complete_evt()
5405 hci_conn_add_sysfs(hcon); in hci_phy_link_complete_evt()
5407 amp_physical_cfm(bredr_hcon, hcon); in hci_phy_link_complete_evt()
5417 struct hci_conn *hcon; in hci_loglink_complete_evt() local
5424 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_loglink_complete_evt()
5425 if (!hcon) in hci_loglink_complete_evt()
5429 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
5436 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
5438 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
5446 hci_conn_hold(hcon); in hci_loglink_complete_evt()
5480 struct hci_conn *hcon; in hci_disconn_phylink_complete_evt() local
5489 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_disconn_phylink_complete_evt()
5490 if (hcon && hcon->type == AMP_LINK) { in hci_disconn_phylink_complete_evt()
5491 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
5492 hci_disconn_cfm(hcon, ev->reason); in hci_disconn_phylink_complete_evt()
5493 hci_conn_del(hcon); in hci_disconn_phylink_complete_evt()
6388 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() local
6399 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt()
6400 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt()
6408 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
6414 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt()
6415 hcon->dst_type); in hci_le_remote_conn_param_req_evt()
6428 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type, in hci_le_remote_conn_param_req_evt()