Lines Matching refs:ot_chan
55 len = MIN(l2cap_ctx->ot_chan.tx.mtu, CONFIG_BT_OTS_L2CAP_CHAN_TX_MTU); in ots_l2cap_send()
63 ret = bt_l2cap_chan_send(&l2cap_ctx->ot_chan.chan, buf); in ots_l2cap_send()
96 l2cap_ctx = CONTAINER_OF(l2chan, struct bt_gatt_ots_l2cap, ot_chan); in l2cap_sent()
122 l2cap_ctx = CONTAINER_OF(l2chan, struct bt_gatt_ots_l2cap, ot_chan); in l2cap_recv()
148 l2cap_ctx = CONTAINER_OF(l2chan, struct bt_gatt_ots_l2cap, ot_chan); in l2cap_disconnected()
179 if (l2cap_ctx->ot_chan.chan.conn) { in find_free_l2cap_ctx()
198 l2cap_chan_init(&l2cap_ctx->ot_chan); in l2cap_accept()
201 *chan = &l2cap_ctx->ot_chan.chan; in l2cap_accept()
234 return (l2cap_ctx->ot_chan.chan.conn == conn); in bt_gatt_ots_l2cap_is_open()
301 l2cap_chan_init(&ctx->ot_chan); in bt_gatt_ots_l2cap_connect()
305 err = bt_l2cap_chan_connect(conn, &ctx->ot_chan.chan, BT_GATT_OTS_L2CAP_PSM); in bt_gatt_ots_l2cap_connect()
318 return bt_l2cap_chan_disconnect(&l2cap_ctx->ot_chan.chan); in bt_gatt_ots_l2cap_disconnect()