Lines Matching refs:send_ctx
417 struct sync_send_ctx *send_ctx = data; in tx_started() local
422 send_ctx->err = err; in tx_started()
423 k_sem_give(&send_ctx->sem); in tx_started()
433 struct sync_send_ctx *send_ctx = data; in tx_ended() local
435 send_ctx->err = err; in tx_ended()
443 k_sem_give(&send_ctx->sem); in tx_ended()
510 struct sync_send_ctx send_ctx; in bt_mesh_test_send() local
513 k_sem_init(&send_ctx.sem, 0, 1); in bt_mesh_test_send()
514 err = bt_mesh_test_send_async(addr, uuid, len, flags, &send_cb, &send_ctx); in bt_mesh_test_send()
519 err = k_sem_take(&send_ctx.sem, timeout); in bt_mesh_test_send()
525 if (send_ctx.err) { in bt_mesh_test_send()
526 return send_ctx.err; in bt_mesh_test_send()