Home
last modified time | relevance | path

Searched refs:rtio_sqe (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/subsys/rtio/
Drtio_handlers.c20 static inline bool rtio_vrfy_sqe(struct rtio_sqe *sqe) in rtio_vrfy_sqe()
73 static inline int z_vrfy_rtio_sqe_cancel(struct rtio_sqe *sqe) in z_vrfy_rtio_sqe_cancel()
79 static inline int z_vrfy_rtio_sqe_copy_in_get_handles(struct rtio *r, const struct rtio_sqe *sqes, in z_vrfy_rtio_sqe_copy_in_get_handles()
80 struct rtio_sqe **handle, size_t sqe_count) in z_vrfy_rtio_sqe_copy_in_get_handles()
84 K_OOPS(K_SYSCALL_MEMORY_ARRAY_READ(sqes, sqe_count, sizeof(struct rtio_sqe))); in z_vrfy_rtio_sqe_copy_in_get_handles()
85 struct rtio_sqe *sqe; in z_vrfy_rtio_sqe_copy_in_get_handles()
Drtio_workq.c68 struct rtio_sqe *sqe = &iodev_sqe->sqe; in rtio_work_req_submit()
/Zephyr-latest/include/zephyr/rtio/
Drtio.h267 struct rtio_sqe;
281 typedef void (*rtio_callback_t)(struct rtio *r, const struct rtio_sqe *sqe, void *arg0);
286 struct rtio_sqe { struct
357 BUILD_ASSERT(sizeof(struct rtio_sqe) <= 64);
493 struct rtio_sqe sqe;
561 static inline void rtio_sqe_prep_nop(struct rtio_sqe *sqe, in rtio_sqe_prep_nop()
565 memset(sqe, 0, sizeof(struct rtio_sqe)); in rtio_sqe_prep_nop()
574 static inline void rtio_sqe_prep_read(struct rtio_sqe *sqe, in rtio_sqe_prep_read()
581 memset(sqe, 0, sizeof(struct rtio_sqe)); in rtio_sqe_prep_read()
595 static inline void rtio_sqe_prep_read_with_pool(struct rtio_sqe *sqe, in rtio_sqe_prep_read_with_pool()
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_rtio_stream.c58 static void icm42688_complete_cb(struct rtio *r, const struct rtio_sqe *sqe, void *arg) in icm42688_complete_cb()
70 static void icm42688_fifo_count_cb(struct rtio *r, const struct rtio_sqe *sqe, void *arg) in icm42688_fifo_count_cb()
150 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(r); in icm42688_fifo_count_cb()
151 struct rtio_sqe *read_fifo_data = rtio_sqe_acquire(r); in icm42688_fifo_count_cb()
152 struct rtio_sqe *complete_op = rtio_sqe_acquire(r); in icm42688_fifo_count_cb()
178 static void icm42688_int_status_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in icm42688_int_status_cb()
259 struct rtio_sqe *write_signal_path_reset = rtio_sqe_acquire(r); in icm42688_int_status_cb()
275 struct rtio_sqe *write_fifo_count_reg = rtio_sqe_acquire(r); in icm42688_int_status_cb()
276 struct rtio_sqe *read_fifo_count = rtio_sqe_acquire(r); in icm42688_int_status_cb()
277 struct rtio_sqe *check_fifo_count = rtio_sqe_acquire(r); in icm42688_int_status_cb()
[all …]
/Zephyr-latest/tests/subsys/rtio/workq/src/
Dmain.c20 struct rtio_sqe *sqe = &iodev_sqe->sqe; in work_handler()
71 struct rtio_sqe *sqe; in ZTEST()
96 struct rtio_sqe *sqe_a; in ZTEST()
97 struct rtio_sqe *sqe_b; in ZTEST()
98 struct rtio_sqe *sqe_c; in ZTEST()
133 struct rtio_sqe *sqe_a; in ZTEST()
134 struct rtio_sqe *sqe_b; in ZTEST()
135 struct rtio_sqe *sqe_c; in ZTEST()
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c65 static void adxl345_irq_en_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl345_irq_en_cb()
82 struct rtio_sqe *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()
105 static void adxl345_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl345_fifo_read_cb()
120 static void adxl345_process_fifo_samples_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) 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()
234 static void adxl345_process_status1_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl345_process_status1_cb()
338 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl345_process_status1_cb()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c14 static void adxl362_irq_en_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl362_irq_en_cb()
27 struct rtio_sqe *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()
136 static void adxl362_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl362_fifo_read_cb()
147 static void adxl362_process_fifo_samples_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) 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()
249 static void adxl362_process_status_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl362_process_status_cb()
368 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl362_process_status_cb()
[all …]
/Zephyr-latest/tests/subsys/rtio/rtio_i2c/src/
Dmain.cpp61 struct rtio_sqe *sqe = i2c_rtio_copy(&test_rtio_ctx, &blocking_emul_iodev, &msg, 1); in ZTEST()
75 struct rtio_sqe *sqe = rtio_sqe_acquire(&test_rtio_ctx); in ZTEST()
95 struct rtio_sqe *sqe = rtio_sqe_acquire(&test_rtio_ctx); in ZTEST()
141 struct rtio_sqe *sqe = i2c_rtio_copy(&test_rtio_ctx, &blocking_emul_iodev, &msg, 1); in ZTEST()
158 struct rtio_sqe *phase1 = rtio_sqe_acquire(&test_rtio_ctx); in ZTEST()
159 struct rtio_sqe *phase2 = rtio_sqe_acquire(&test_rtio_ctx); in ZTEST()
190 struct rtio_sqe *phase1 = rtio_sqe_acquire(&test_rtio_ctx); in ZTEST()
191 struct rtio_sqe *phase2 = rtio_sqe_acquire(&test_rtio_ctx); in ZTEST()
263 struct rtio_sqe *sqe_write = in ZTEST()
265 struct rtio_sqe *sqe_read = i2c_rtio_copy(&test_rtio_ctx, &blocking_emul_iodev, &msg[1], 1); in ZTEST()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c14 static void adxl372_irq_en_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl372_irq_en_cb()
32 struct rtio_sqe *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()
126 static void adxl372_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl372_fifo_read_cb()
163 static void adxl372_process_fifo_samples_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) 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()
280 struct rtio_sqe *read_fifo_data = rtio_sqe_acquire(data->rtio_ctx); in adxl372_process_fifo_samples_cb()
281 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl372_process_fifo_samples_cb()
294 static void adxl372_process_status1_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl372_process_status1_cb()
408 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl372_process_status1_cb()
[all …]
/Zephyr-latest/tests/subsys/rtio/rtio_api/src/
Dtest_rtio_api.c51 struct rtio_sqe *sqe; in test_rtio_simple_()
84 struct rtio_sqe *sqe; in ZTEST()
118 struct rtio_sqe *sqe; in test_rtio_chain_()
179 struct rtio_sqe *sqe; in test_rtio_multiple_chains_()
250 struct rtio_sqe sqe = {0}; in ZTEST_USER()
282 struct rtio_sqe sqe = {0}; in test_rtio_simple_mempool_()
329 struct rtio_sqe sqe[SQE_POOL_SIZE]; in test_rtio_simple_cancel_()
331 struct rtio_sqe *handle; in test_rtio_simple_cancel_()
364 struct rtio_sqe sqe[SQE_POOL_SIZE]; in test_rtio_chain_cancel_()
366 struct rtio_sqe *handle; in test_rtio_chain_cancel_()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c26 static void adxl367_irq_en_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl367_irq_en_cb()
42 struct rtio_sqe *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()
151 static void adxl367_fifo_read_cb(struct rtio *rtio_ctx, const struct rtio_sqe *sqe, void *arg) in adxl367_fifo_read_cb()
193 static void adxl367_process_fifo_samples_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) 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()
395 struct rtio_sqe *read_fifo_data = rtio_sqe_acquire(data->rtio_ctx); in adxl367_process_fifo_samples_cb()
396 struct rtio_sqe *complete_op = rtio_sqe_acquire(data->rtio_ctx); in adxl367_process_fifo_samples_cb()
409 static void adxl367_process_status_cb(struct rtio *r, const struct rtio_sqe *sqr, void *arg) in adxl367_process_status_cb()
521 struct rtio_sqe *write_fifo_addr = rtio_sqe_acquire(data->rtio_ctx); in adxl367_process_status_cb()
[all …]
/Zephyr-latest/drivers/i3c/
Di3c_rtio.c22 struct rtio_sqe *i3c_rtio_copy(struct rtio *r, struct rtio_iodev *iodev, const struct i3c_msg *msgs, in i3c_rtio_copy()
27 struct rtio_sqe *sqe = NULL; in i3c_rtio_copy()
131 struct rtio_sqe *sqe = NULL; in i3c_rtio_transfer()
164 struct rtio_sqe *sqe = NULL; in i3c_rtio_configure()
197 struct rtio_sqe *sqe = NULL; in i3c_rtio_ccc()
229 struct rtio_sqe *sqe = NULL; in i3c_rtio_recover()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c137 static void lsm6dsv16x_complete_op_cb(struct rtio *r, const struct rtio_sqe *sqe, void *arg) in lsm6dsv16x_complete_op_cb()
155 static void lsm6dsv16x_read_fifo_cb(struct rtio *r, const struct rtio_sqe *sqe, void *arg) in lsm6dsv16x_read_fifo_cb()
286 struct rtio_sqe *write_fifo_mode = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); 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()
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()
430 struct rtio_sqe *check_fifo_status_reg = rtio_sqe_acquire(lsm6dsv16x->rtio_ctx); in lsm6dsv16x_stream_irq_handler()
/Zephyr-latest/drivers/i2c/
Di2c_rtio.c21 struct rtio_sqe *i2c_rtio_copy(struct rtio *r, struct rtio_iodev *iodev, const struct i2c_msg *msgs, in i2c_rtio_copy()
26 struct rtio_sqe *sqe = NULL; in i2c_rtio_copy()
128 struct rtio_sqe *sqe = NULL; in i2c_rtio_transfer()
161 struct rtio_sqe *sqe = NULL; in i2c_rtio_configure()
193 struct rtio_sqe *sqe = NULL; in i2c_rtio_recover()
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()
/Zephyr-latest/samples/subsys/rtio/sensor_batch_processing/src/
Dmain.c32 struct rtio_sqe *sqe = rtio_sqe_acquire(&ez_io); in main()
87 struct rtio_sqe *sqe = rtio_sqe_acquire(&ez_io); in main()
/Zephyr-latest/tests/drivers/spi/spi_loopback/src/
Dspi_rtio.c84 struct rtio_sqe *sqe; in spi_complete_multiple()
133 struct rtio_sqe *sqe; in spi_complete_loop()
172 struct rtio_sqe *sqe; in spi_null_tx_buf()
212 struct rtio_sqe *sqe; in spi_rx_half_start()
256 struct rtio_sqe *sqe; in spi_rx_half_end()
311 struct rtio_sqe *sqe; in spi_rx_every_4()
/Zephyr-latest/samples/drivers/i2c/rtio_loopback/src/
Dmain.c194 struct rtio_sqe *wr_sqe, *rd_sqe; in sample_rtio_write_read()
266 static void rtio_write_read_done_callback(struct rtio *r, const struct rtio_sqe *sqe, void *arg0) in rtio_write_read_done_callback()
291 struct rtio_sqe *wr_sqe, *rd_sqe, *cb_sqe; in sample_rtio_write_read_async()
/Zephyr-latest/include/zephyr/drivers/spi/
Drtio.h60 struct rtio_sqe **last_sqe);
/Zephyr-latest/include/zephyr/drivers/i2c/
Drtio.h51 struct rtio_sqe *i2c_rtio_copy(struct rtio *r, struct rtio_iodev *iodev, const struct i2c_msg *msgs,
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h1040 struct rtio_sqe **handle) in sensor_stream()
1043 struct rtio_sqe sqe; in sensor_stream()
1048 struct rtio_sqe *sqe = rtio_sqe_acquire(ctx); in sensor_stream()
1080 struct rtio_sqe sqe; in sensor_read()
1085 struct rtio_sqe *sqe = rtio_sqe_acquire(ctx); in sensor_read()
1122 struct rtio_sqe sqe; in sensor_read_async_mempool()
1127 struct rtio_sqe *sqe = rtio_sqe_acquire(ctx); in sensor_read_async_mempool()
/Zephyr-latest/include/zephyr/drivers/i3c/
Drtio.h52 struct rtio_sqe *i3c_rtio_copy(struct rtio *r, struct rtio_iodev *iodev, const struct i3c_msg *msgs,
/Zephyr-latest/drivers/spi/
Dspi_rtio.c37 struct rtio_sqe *sqe = &txn_curr->sqe; in spi_rtio_iodev_default_submit_sync()
133 struct rtio_sqe **last_sqe) in spi_rtio_copy()
143 struct rtio_sqe *sqe = NULL; in spi_rtio_copy()
376 struct rtio_sqe *sqe; in spi_rtio_transceive()
/Zephyr-latest/doc/hardware/peripherals/sensor/
Daccel_stream.c39 struct rtio_sqe *handles[2]; in main()
/Zephyr-latest/drivers/sensor/
Dsensor_shell_stream.c43 static struct rtio_sqe *current_streaming_handle; in cmd_sensor_stream()

12