Home
last modified time | relevance | path

Searched refs:txn_curr (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/subsys/rtio/rtio_api/src/
Drtio_iodev_test.h24 struct rtio_iodev_sqe *txn_curr; member
48 data->txn_curr = NULL; in rtio_iodev_test_next()
55 data->txn_curr = next_sqe; in rtio_iodev_test_next()
69 data->txn_curr = rtio_txn_next(data->txn_curr); in rtio_iodev_test_complete()
70 if (data->txn_curr) { in rtio_iodev_test_complete()
82 struct rtio_iodev_sqe *iodev_sqe = data->txn_curr; in rtio_iodev_timer_fn()
129 data->txn_curr = NULL; in rtio_iodev_test_init()
/Zephyr-latest/drivers/spi/
Dspi_rtio.c34 struct rtio_iodev_sqe *txn_curr = iodev_sqe; in spi_rtio_iodev_default_submit_sync() local
37 struct rtio_sqe *sqe = &txn_curr->sqe; in spi_rtio_iodev_default_submit_sync()
48 LOG_DBG("Preparing transfer: %p", txn_curr); in spi_rtio_iodev_default_submit_sync()
87 txn_curr = rtio_txn_next(txn_curr); in spi_rtio_iodev_default_submit_sync()
89 } while (err >= 0 && txn_curr != NULL); in spi_rtio_iodev_default_submit_sync()
307 ctx->txn_curr = NULL; in spi_rtio_init()
324 if (!completion && ctx->txn_curr != NULL) { in spi_rtio_next()
335 ctx->txn_curr = next_sqe; in spi_rtio_next()
338 ctx->txn_curr = NULL; in spi_rtio_next()
343 return (ctx->txn_curr != NULL); in spi_rtio_next()
Dspi_sam.c660 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_sam_iodev_start()
695 struct spi_dt_spec *spi_dt_spec = rtio_ctx->txn_curr->sqe.iodev->data; in spi_sam_iodev_prepare_start()
710 if (!status && rtio_ctx->txn_curr->sqe.flags & RTIO_SQE_TRANSACTION) { in spi_sam_iodev_complete()
711 rtio_ctx->txn_curr = rtio_txn_next(rtio_ctx->txn_curr); in spi_sam_iodev_complete()
Dspi_max32.c249 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_max32_transceive()
632 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_max32_iodev_start()
655 struct spi_dt_spec *spi_dt_spec = rtio_ctx->txn_curr->sqe.iodev->data; in spi_max32_iodev_prepare_start()
684 if (!status && rtio_ctx->txn_curr->sqe.flags & RTIO_SQE_TRANSACTION) { in spi_max32_iodev_complete()
685 rtio_ctx->txn_curr = rtio_txn_next(rtio_ctx->txn_curr); in spi_max32_iodev_complete()
Dspi_mcux_lpspi.c548 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_mcux_iodev_start()
608 if (!status && rtio_ctx->txn_curr->sqe.flags & RTIO_SQE_TRANSACTION) { in spi_mcux_iodev_complete()
609 rtio_ctx->txn_curr = rtio_txn_next(rtio_ctx->txn_curr); in spi_mcux_iodev_complete()
/Zephyr-latest/drivers/i2c/
Di2c_rtio.c59 ctx->txn_curr = NULL; in i2c_rtio_init()
88 ctx->txn_curr = NULL; in i2c_rtio_next()
94 ctx->txn_curr = ctx->txn_head; in i2c_rtio_next()
110 ctx->txn_curr = rtio_txn_next(ctx->txn_curr); in i2c_rtio_complete()
111 if (ctx->txn_curr) { in i2c_rtio_complete()
Di2c_sam_twihs_rtio.c176 struct rtio_sqe *sqe = &dev_data->ctx->txn_curr->sqe; in i2c_sam_twihs_start()
232 struct rtio_sqe *sqe = &dev_data->ctx->txn_curr->sqe; in i2c_sam_twihs_isr()
Di2c_mcux_lpi2c_rtio.c154 if (ctx->txn_curr != ctx->txn_head && !(flags & I2C_MSG_RESTART)) { in mcux_lpi2c_msg_start()
187 struct rtio_sqe *sqe = &ctx->txn_curr->sqe; in mcux_lpi2c_start()
Di2c_nrfx_twi_rtio.c66 struct rtio_sqe *sqe = &ctx->txn_curr->sqe; in i2c_nrfx_twi_rtio_start()
Di2c_nrfx_twim_rtio.c47 struct rtio_sqe *sqe = &ctx->txn_curr->sqe; in i2c_nrfx_twim_rtio_start()
Di2c_max32_rtio.c275 struct rtio_sqe *sqe = &ctx->txn_curr->sqe; in max32_start()
/Zephyr-latest/drivers/i3c/
Di3c_rtio.c63 ctx->txn_curr = NULL; in i3c_rtio_init()
90 ctx->txn_curr = NULL; in i3c_rtio_next()
96 ctx->txn_curr = ctx->txn_head; in i3c_rtio_next()
112 ctx->txn_curr = rtio_txn_next(ctx->txn_curr); in i3c_rtio_complete()
113 if (ctx->txn_curr) { in i3c_rtio_complete()
/Zephyr-latest/include/zephyr/drivers/spi/
Drtio.h27 struct rtio_iodev_sqe *txn_curr; member
/Zephyr-latest/include/zephyr/drivers/i2c/
Drtio.h28 struct rtio_iodev_sqe *txn_curr; member
/Zephyr-latest/include/zephyr/drivers/i3c/
Drtio.h29 struct rtio_iodev_sqe *txn_curr; member