Lines Matching refs:hcon

4929 	struct hci_conn *hcon;  in hci_chan_selected_evt()  local
4935 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_chan_selected_evt()
4936 if (!hcon) in hci_chan_selected_evt()
4939 amp_read_loc_assoc_final_data(hdev, hcon); in hci_chan_selected_evt()
4946 struct hci_conn *hcon, *bredr_hcon; in hci_phy_link_complete_evt() local
4953 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_phy_link_complete_evt()
4954 if (!hcon) { in hci_phy_link_complete_evt()
4959 if (!hcon->amp_mgr) { in hci_phy_link_complete_evt()
4965 hci_conn_del(hcon); in hci_phy_link_complete_evt()
4970 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon; in hci_phy_link_complete_evt()
4972 hcon->state = BT_CONNECTED; in hci_phy_link_complete_evt()
4973 bacpy(&hcon->dst, &bredr_hcon->dst); in hci_phy_link_complete_evt()
4975 hci_conn_hold(hcon); in hci_phy_link_complete_evt()
4976 hcon->disc_timeout = HCI_DISCONN_TIMEOUT; in hci_phy_link_complete_evt()
4977 hci_conn_drop(hcon); in hci_phy_link_complete_evt()
4979 hci_debugfs_create_conn(hcon); in hci_phy_link_complete_evt()
4980 hci_conn_add_sysfs(hcon); in hci_phy_link_complete_evt()
4982 amp_physical_cfm(bredr_hcon, hcon); in hci_phy_link_complete_evt()
4990 struct hci_conn *hcon; in hci_loglink_complete_evt() local
4998 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_loglink_complete_evt()
4999 if (!hcon) in hci_loglink_complete_evt()
5003 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
5010 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
5012 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
5020 hci_conn_hold(hcon); in hci_loglink_complete_evt()
5054 struct hci_conn *hcon; in hci_disconn_phylink_complete_evt() local
5063 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); in hci_disconn_phylink_complete_evt()
5064 if (hcon && hcon->type == AMP_LINK) { in hci_disconn_phylink_complete_evt()
5065 hcon->state = BT_CLOSED; in hci_disconn_phylink_complete_evt()
5066 hci_disconn_cfm(hcon, ev->reason); in hci_disconn_phylink_complete_evt()
5067 hci_conn_del(hcon); in hci_disconn_phylink_complete_evt()
5880 struct hci_conn *hcon; in hci_le_remote_conn_param_req_evt() local
5889 hcon = hci_conn_hash_lookup_handle(hdev, handle); in hci_le_remote_conn_param_req_evt()
5890 if (!hcon || hcon->state != BT_CONNECTED) in hci_le_remote_conn_param_req_evt()
5898 if (hcon->role == HCI_ROLE_MASTER) { in hci_le_remote_conn_param_req_evt()
5904 params = hci_conn_params_lookup(hdev, &hcon->dst, in hci_le_remote_conn_param_req_evt()
5905 hcon->dst_type); in hci_le_remote_conn_param_req_evt()
5918 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type, in hci_le_remote_conn_param_req_evt()