Searched refs:hchan (Results 1 – 6 of 6) sorted by relevance
/net/bluetooth/ |
D | amp.h | 43 void amp_disconnect_logical_link(struct hci_chan *hchan); 49 static inline void amp_disconnect_logical_link(struct hci_chan *hchan) in amp_disconnect_logical_link() argument 58 void amp_disconnect_logical_link(struct hci_chan *hchan); 59 void amp_destroy_logical_link(struct hci_chan *hchan, u8 reason);
|
D | amp.c | 572 void amp_disconnect_logical_link(struct hci_chan *hchan) in amp_disconnect_logical_link() argument 574 struct hci_conn *hcon = hchan->conn; in amp_disconnect_logical_link() 578 BT_DBG("hchan %p not connected", hchan); in amp_disconnect_logical_link() 582 cp.log_handle = cpu_to_le16(hchan->handle); in amp_disconnect_logical_link() 586 void amp_destroy_logical_link(struct hci_chan *hchan, u8 reason) in amp_destroy_logical_link() argument 588 BT_DBG("hchan %p", hchan); in amp_destroy_logical_link() 590 hci_chan_del(hchan); in amp_destroy_logical_link()
|
D | hci_conn.c | 1729 struct hci_chan *hchan; in __hci_chan_lookup_handle() local 1731 list_for_each_entry(hchan, &hcon->chan_list, list) { in __hci_chan_lookup_handle() 1732 if (hchan->handle == handle) in __hci_chan_lookup_handle() 1733 return hchan; in __hci_chan_lookup_handle() 1743 struct hci_chan *hchan = NULL; in hci_chan_lookup_handle() local 1748 hchan = __hci_chan_lookup_handle(hcon, handle); in hci_chan_lookup_handle() 1749 if (hchan) in hci_chan_lookup_handle() 1755 return hchan; in hci_chan_lookup_handle()
|
D | l2cap_core.c | 917 hci_send_acl(conn->hchan, skb, flags); in l2cap_send_cmd() 955 hci_send_acl(chan->conn->hchan, skb, flags); in l2cap_do_send() 1689 if (!conn->hchan) { in l2cap_register_user() 1781 hci_chan_del(conn->hchan); in l2cap_conn_del() 1787 conn->hchan = NULL; in l2cap_conn_del() 4751 struct hci_chan *hchan) in l2cap_logical_finish_create() argument 4755 chan->hs_hchan = hchan; in l2cap_logical_finish_create() 4774 struct hci_chan *hchan) in l2cap_logical_finish_move() argument 4776 chan->hs_hcon = hchan->conn; in l2cap_logical_finish_move() 4808 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan, in l2cap_logical_cfm() argument [all …]
|
D | hci_event.c | 4895 struct hci_chan *hchan; in hci_loglink_complete_evt() local 4907 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt() 4908 if (!hchan) in hci_loglink_complete_evt() 4911 hchan->handle = le16_to_cpu(ev->handle); in hci_loglink_complete_evt() 4912 hchan->amp = true; in hci_loglink_complete_evt() 4914 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt() 4923 l2cap_logical_cfm(bredr_chan, hchan, 0); in hci_loglink_complete_evt() 4934 struct hci_chan *hchan; in hci_disconn_loglink_complete_evt() local 4944 hchan = hci_chan_lookup_handle(hdev, le16_to_cpu(ev->handle)); in hci_disconn_loglink_complete_evt() 4945 if (!hchan || !hchan->amp) in hci_disconn_loglink_complete_evt() [all …]
|
D | smp.c | 2725 struct l2cap_chan *hchan = hdev->smp_data; in smp_cmd_public_key() local 2728 if (!hchan || !hchan->data) in smp_cmd_public_key() 2731 smp_dev = hchan->data; in smp_cmd_public_key()
|