Lines Matching refs:hcon
1856 BT_DBG("%s bdaddr %pMR hcon %p", hdev->name, &cp->bdaddr, conn);
4963 struct hci_conn *hcon;
4969 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle);
4970 if (!hcon)
4973 amp_read_loc_assoc_final_data(hdev, hcon);
4980 struct hci_conn *hcon, *bredr_hcon;
4987 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle);
4988 if (!hcon) {
4993 if (!hcon->amp_mgr) {
4999 hci_conn_del(hcon);
5004 bredr_hcon = hcon->amp_mgr->l2cap_conn->hcon;
5006 hcon->state = BT_CONNECTED;
5007 bacpy(&hcon->dst, &bredr_hcon->dst);
5009 hci_conn_hold(hcon);
5010 hcon->disc_timeout = HCI_DISCONN_TIMEOUT;
5011 hci_conn_drop(hcon);
5013 hci_debugfs_create_conn(hcon);
5014 hci_conn_add_sysfs(hcon);
5016 amp_physical_cfm(bredr_hcon, hcon);
5024 struct hci_conn *hcon;
5032 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle);
5033 if (!hcon)
5037 hchan = hci_chan_create(hcon);
5044 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan);
5046 mgr = hcon->amp_mgr;
5054 hci_conn_hold(hcon);
5088 struct hci_conn *hcon;
5097 hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle);
5098 if (hcon && hcon->type == AMP_LINK) {
5099 hcon->state = BT_CLOSED;
5100 hci_disconn_cfm(hcon, ev->reason);
5101 hci_conn_del(hcon);
5914 struct hci_conn *hcon;
5923 hcon = hci_conn_hash_lookup_handle(hdev, handle);
5924 if (!hcon || hcon->state != BT_CONNECTED)
5932 if (hcon->role == HCI_ROLE_MASTER) {
5938 params = hci_conn_params_lookup(hdev, &hcon->dst,
5939 hcon->dst_type);
5952 mgmt_new_conn_param(hdev, &hcon->dst, hcon->dst_type,