Lines Matching refs:l2cap_chan
52 static void seg_recv_cb(struct bt_l2cap_chan *l2cap_chan, size_t sdu_len, off_t seg_offset, in seg_recv_cb() argument
57 CONTAINER_OF(l2cap_chan, struct bt_l2cap_le_chan, chan); in seg_recv_cb()
75 bt_l2cap_chan_give_credits(l2cap_chan, 1); in seg_recv_cb()
86 static int recv_cb(struct bt_l2cap_chan *l2cap_chan, struct net_buf *buf) in recv_cb() argument
90 l2cap_chan, struct bt_l2cap_le_chan, chan); in recv_cb()
112 static void connected_cb(struct bt_l2cap_chan *l2cap_chan) in connected_cb() argument
116 l2cap_chan, struct bt_l2cap_le_chan, chan); in connected_cb()
122 if (!bt_conn_get_info(l2cap_chan->conn, &info)) { in connected_cb()
141 static void disconnected_cb(struct bt_l2cap_chan *l2cap_chan) in disconnected_cb() argument
145 l2cap_chan, struct bt_l2cap_le_chan, chan); in disconnected_cb()
162 if (!bt_conn_get_info(l2cap_chan->conn, &info)) { in disconnected_cb()
180 static void reconfigured_cb(struct bt_l2cap_chan *l2cap_chan) in reconfigured_cb() argument
184 l2cap_chan, struct bt_l2cap_le_chan, chan); in reconfigured_cb()
486 struct bt_l2cap_chan **l2cap_chan) in accept() argument
509 *l2cap_chan = &chan->le.chan; in accept()