Home
last modified time | relevance | path

Searched refs:hcon (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/net/bluetooth/
Dsco.c118 static struct sco_conn *sco_conn_add(struct hci_conn *hcon, __u8 status) in sco_conn_add() argument
120 struct hci_dev *hdev = hcon->hdev; in sco_conn_add()
123 if ((conn = hcon->sco_data)) in sco_conn_add()
135 hcon->sco_data = conn; in sco_conn_add()
136 conn->hcon = hcon; in sco_conn_add()
139 conn->dst = &hcon->dst; in sco_conn_add()
146 BT_DBG("hcon %p conn %p", hcon, conn); in sco_conn_add()
161 static int sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del() argument
166 if (!(conn = hcon->sco_data)) in sco_conn_del()
169 BT_DBG("hcon %p conn %p, err %d", hcon, conn, err); in sco_conn_del()
[all …]
Dl2cap.c123 static struct l2cap_conn *l2cap_conn_add(struct hci_conn *hcon, __u8 status) in l2cap_conn_add() argument
127 if ((conn = hcon->l2cap_data)) in l2cap_conn_add()
137 hcon->l2cap_data = conn; in l2cap_conn_add()
138 conn->hcon = hcon; in l2cap_conn_add()
140 conn->mtu = hcon->hdev->acl_mtu; in l2cap_conn_add()
141 conn->src = &hcon->hdev->bdaddr; in l2cap_conn_add()
142 conn->dst = &hcon->dst; in l2cap_conn_add()
147 BT_DBG("hcon %p conn %p", hcon, conn); in l2cap_conn_add()
153 static int l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del() argument
158 if (!(conn = hcon->l2cap_data)) in l2cap_conn_del()
[all …]
/linux-2.4.37.9/include/net/bluetooth/
Dsco.h59 struct hci_conn *hcon; member
Dl2cap.h209 struct hci_conn *hcon; member