Lines Matching refs:hchan
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
4811 BT_DBG("chan %p, hchan %p, status %d", chan, hchan, status); in l2cap_logical_cfm()
4822 l2cap_logical_finish_create(chan, hchan); in l2cap_logical_cfm()
4824 l2cap_logical_finish_move(chan, hchan); in l2cap_logical_cfm()
4911 struct hci_chan *hchan = NULL; in l2cap_do_move_respond() local
4915 if (hchan) { in l2cap_do_move_respond()
4916 if (hchan->state == BT_CONNECTED) { in l2cap_do_move_respond()
4918 chan->hs_hcon = hchan->conn; in l2cap_do_move_respond()
4923 l2cap_logical_cfm(chan, hchan, L2CAP_MR_SUCCESS); in l2cap_do_move_respond()
5087 struct hci_chan *hchan = NULL; in l2cap_move_continue() local
5135 if (!hchan) { in l2cap_move_continue()
5144 if (hchan->state != BT_CONNECTED) in l2cap_move_continue()
5149 chan->hs_hcon = hchan->conn; in l2cap_move_continue()
5162 l2cap_logical_cfm(chan, hchan, L2CAP_MR_SUCCESS); in l2cap_move_continue()
7175 struct hci_chan *hchan; in l2cap_conn_add() local
7180 hchan = hci_chan_create(hcon); in l2cap_conn_add()
7181 if (!hchan) in l2cap_conn_add()
7186 hci_chan_del(hchan); in l2cap_conn_add()
7193 conn->hchan = hchan; in l2cap_conn_add()
7195 BT_DBG("hcon %p conn %p hchan %p", hcon, conn, hchan); in l2cap_conn_add()