Home
last modified time | relevance | path

Searched refs:rtio_ctx (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c82 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl345_fifo_flush_rtio()
92 write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl345_fifo_flush_rtio()
99 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl345_fifo_flush_rtio()
102 rtio_submit(data->rtio_ctx, 0); in adxl345_fifo_flush_rtio()
105 static void adxl345_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl345_fifo_read_cb() argument
186 cqe = rtio_cqe_consume(data->rtio_ctx); in adxl345_process_fifo_samples_cb()
192 rtio_cqe_release(data->rtio_ctx, cqe); in adxl345_process_fifo_samples_cb()
205 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl345_process_fifo_samples_cb()
206 struct rtio_sqe *read_fifo_data = rtio_sqe_acquire(data->rtio_ctx); in adxl345_process_fifo_samples_cb()
223 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl345_process_fifo_samples_cb()
[all …]
Dadxl345.h178 struct rtio *rtio_ctx; member
Dadxl345.c591 COND_CODE_1(adxl345_iodev_##inst, (.rtio_ctx = &adxl345_rtio_ctx_##inst, \
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c27 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl362_fifo_flush_rtio()
37 write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl362_fifo_flush_rtio()
44 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl362_fifo_flush_rtio()
47 rtio_submit(data->rtio_ctx, 0); in adxl362_fifo_flush_rtio()
136 static void adxl362_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl362_fifo_read_cb() argument
215 cqe = rtio_cqe_consume(data->rtio_ctx); in adxl362_process_fifo_samples_cb()
221 rtio_cqe_release(data->rtio_ctx, cqe); in adxl362_process_fifo_samples_cb()
234 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl362_process_fifo_samples_cb()
235 struct rtio_sqe *read_fifo_data = rtio_sqe_acquire(data->rtio_ctx); in adxl362_process_fifo_samples_cb()
236 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl362_process_fifo_samples_cb()
[all …]
Dadxl362.h234 struct rtio *rtio_ctx; member
Dadxl362.c827 IF_ENABLED(CONFIG_ADXL362_STREAM, (.rtio_ctx = &adxl362_rtio_ctx_##inst, \
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c32 struct rtio_sqe *sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl372_fifo_flush_rtio()
41 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl372_fifo_flush_rtio()
50 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl372_fifo_flush_rtio()
60 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl372_fifo_flush_rtio()
61 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl372_fifo_flush_rtio()
67 rtio_submit(data->rtio_ctx, 0); in adxl372_fifo_flush_rtio()
126 static void adxl372_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl372_fifo_read_cb() argument
260 cqe = rtio_cqe_consume(data->rtio_ctx); in adxl372_process_fifo_samples_cb()
266 rtio_cqe_release(data->rtio_ctx, cqe); in adxl372_process_fifo_samples_cb()
279 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl372_process_fifo_samples_cb()
[all …]
Dadxl372.h334 struct rtio *rtio_ctx; member
Dadxl372.c920 IF_ENABLED(CONFIG_ADXL372_STREAM, (.rtio_ctx = &adxl372_rtio_ctx_##inst, \
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c42 struct rtio_sqe *sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio()
47 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio()
53 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio()
64 sqe = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio()
65 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl367_fifo_flush_rtio()
71 rtio_submit(data->rtio_ctx, 0); in adxl367_fifo_flush_rtio()
151 static void adxl367_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl367_fifo_read_cb() argument
375 cqe = rtio_cqe_consume(data->rtio_ctx); in adxl367_process_fifo_samples_cb()
381 rtio_cqe_release(data->rtio_ctx, cqe); in adxl367_process_fifo_samples_cb()
394 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl367_process_fifo_samples_cb()
[all …]
Dadxl367.h364 struct rtio *rtio_ctx; member
Dadxl367.c1147 IF_ENABLED(CONFIG_ADXL367_STREAM, (.rtio_ctx = &adxl367_rtio_ctx_##inst##chipid, \
/Zephyr-latest/drivers/spi/
Dspi_sam.c56 struct spi_rtio *rtio_ctx; member
303 struct spi_rtio *rtio_ctx = drv_data->rtio_ctx; in dma_callback() local
305 if (rtio_ctx->txn_head != NULL) { in dma_callback()
324 struct spi_rtio *rtio_ctx = drv_data->rtio_ctx; in spi_sam_dma_txrx() local
325 bool blocking = rtio_ctx->txn_head == NULL; in spi_sam_dma_txrx()
659 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_sam_iodev_start() local
660 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_sam_iodev_start()
694 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_sam_iodev_prepare_start() local
695 struct spi_dt_spec *spi_dt_spec = rtio_ctx->txn_curr->sqe.iodev->data; in spi_sam_iodev_prepare_start()
708 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_sam_iodev_complete() local
[all …]
Dspi_max32.c68 struct spi_rtio *rtio_ctx; member
248 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_max32_transceive() local
249 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_max32_transceive()
421 struct spi_rtio *rtio_ctx = data->rtio_ctx; in transceive() local
423 ret = spi_rtio_transceive(rtio_ctx, config, tx_bufs, rx_bufs); in transceive()
631 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_max32_iodev_start() local
632 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_max32_iodev_start()
654 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_max32_iodev_prepare_start() local
655 struct spi_dt_spec *spi_dt_spec = rtio_ctx->txn_curr->sqe.iodev->data; in spi_max32_iodev_prepare_start()
682 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_max32_iodev_complete() local
[all …]
Dspi_mcux_lpspi.c82 struct spi_rtio *rtio_ctx; member
534 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_mcux_master_rtio_callback() local
536 if (rtio_ctx->txn_head != NULL) { in spi_mcux_master_rtio_callback()
547 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_mcux_iodev_start() local
548 struct rtio_sqe *sqe = &rtio_ctx->txn_curr->sqe; in spi_mcux_iodev_start()
606 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_mcux_iodev_complete() local
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()
617 if (spi_rtio_complete(rtio_ctx, status)) { in spi_mcux_iodev_complete()
625 struct spi_rtio *rtio_ctx = data->rtio_ctx; in spi_mcux_iodev_submit() local
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c217 cqe = rtio_cqe_consume(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_read_fifo_cb()
223 rtio_cqe_release(lsm6dsv16x->rtio_ctx, cqe); in lsm6dsv16x_read_fifo_cb()
286 struct rtio_sqe *write_fifo_mode = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_read_fifo_cb()
297 rtio_submit(lsm6dsv16x->rtio_ctx, 0); in lsm6dsv16x_read_fifo_cb()
352 struct rtio_sqe *write_fifo_dout_addr = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_read_fifo_cb()
353 struct rtio_sqe *read_fifo_dout_reg = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_read_fifo_cb()
354 struct rtio_sqe *complete_op = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_read_fifo_cb()
370 rtio_submit(lsm6dsv16x->rtio_ctx, 0); in lsm6dsv16x_read_fifo_cb()
412 struct rtio_sqe *write_fifo_status_addr = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_stream_irq_handler()
413 struct rtio_sqe *read_fifo_status_reg = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_stream_irq_handler()
[all …]
Dlsm6dsv16x.h153 struct rtio *rtio_ctx; member
Dlsm6dsv16x.c1177 (.rtio_ctx = &lsm6dsv16x_rtio_ctx_##inst, \
1206 (.rtio_ctx = &lsm6dsv16x_rtio_ctx_##inst, \
1239 (.rtio_ctx = &lsm6dsv16x_rtio_ctx_##inst, \