Lines Matching refs:tx
55 len = MIN(l2cap_ctx->ot_chan.tx.mtu, CONFIG_BT_OTS_L2CAP_CHAN_TX_MTU); in ots_l2cap_send()
56 len = MIN(len, l2cap_ctx->tx.len - l2cap_ctx->tx.len_sent); in ots_l2cap_send()
61 net_buf_add_mem(buf, &l2cap_ctx->tx.data[l2cap_ctx->tx.len_sent], len); in ots_l2cap_send()
72 l2cap_ctx->tx.len_sent += len; in ots_l2cap_send()
99 if (l2cap_ctx->tx.len != l2cap_ctx->tx.len_sent) { in l2cap_sent()
106 memset(&l2cap_ctx->tx, 0, sizeof(l2cap_ctx->tx)); in l2cap_sent()
199 memset(&l2cap_ctx->tx, 0, sizeof(l2cap_ctx->tx)); in l2cap_accept()
242 if (l2cap_ctx->tx.len != 0) { in bt_gatt_ots_l2cap_send()
248 l2cap_ctx->tx.data = data; in bt_gatt_ots_l2cap_send()
249 l2cap_ctx->tx.len = len; in bt_gatt_ots_l2cap_send()
302 (void)memset(&ctx->tx, 0, sizeof(ctx->tx)); in bt_gatt_ots_l2cap_connect()