Home
last modified time | relevance | path

Searched refs:current_sqe (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c125 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl345_process_fifo_samples_cb() local
133 if (current_sqe == NULL) { in adxl345_process_fifo_samples_cb()
145 if (rtio_sqe_rx_buf(current_sqe, min_read_size, ideal_read_size, &buf, &buf_len) != 0) { in adxl345_process_fifo_samples_cb()
147 rtio_iodev_sqe_err(current_sqe, -ENOMEM); in adxl345_process_fifo_samples_cb()
198 rtio_iodev_sqe_err(current_sqe, res); in adxl345_process_fifo_samples_cb()
217 SAMPLE_SIZE, current_sqe); in adxl345_process_fifo_samples_cb()
227 current_sqe); in adxl345_process_fifo_samples_cb()
239 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl345_process_status1_cb() local
297 rtio_iodev_sqe_err(current_sqe, res); in adxl345_process_status1_cb()
313 if (rtio_sqe_rx_buf(current_sqe, sizeof(struct adxl345_fifo_data), in adxl345_process_status1_cb()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c152 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl362_process_fifo_samples_cb() local
165 if (current_sqe == NULL) { in adxl362_process_fifo_samples_cb()
177 if (rtio_sqe_rx_buf(current_sqe, min_read_size, ideal_read_size, &buf, &buf_len) != 0) { in adxl362_process_fifo_samples_cb()
179 rtio_iodev_sqe_err(current_sqe, -ENOMEM); in adxl362_process_fifo_samples_cb()
227 rtio_iodev_sqe_err(current_sqe, res); in adxl362_process_fifo_samples_cb()
242 current_sqe); in adxl362_process_fifo_samples_cb()
244 rtio_sqe_prep_callback(complete_op, adxl362_fifo_read_cb, (void *)dev, current_sqe); in adxl362_process_fifo_samples_cb()
254 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl362_process_status_cb() local
322 rtio_iodev_sqe_err(current_sqe, res); in adxl362_process_status_cb()
342 if (rtio_sqe_rx_buf(current_sqe, sizeof(struct adxl362_fifo_data), in adxl362_process_status_cb()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c168 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl372_process_fifo_samples_cb() local
188 if (current_sqe == NULL) { in adxl372_process_fifo_samples_cb()
200 if (rtio_sqe_rx_buf(current_sqe, min_read_size, ideal_read_size, &buf, &buf_len) != 0) { in adxl372_process_fifo_samples_cb()
202 rtio_iodev_sqe_err(current_sqe, -ENOMEM); in adxl372_process_fifo_samples_cb()
272 rtio_iodev_sqe_err(current_sqe, res); in adxl372_process_fifo_samples_cb()
287 current_sqe); in adxl372_process_fifo_samples_cb()
289 rtio_sqe_prep_callback(complete_op, adxl372_fifo_read_cb, (void *)dev, current_sqe); in adxl372_process_fifo_samples_cb()
299 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl372_process_status1_cb() local
362 rtio_iodev_sqe_err(current_sqe, res); in adxl372_process_status1_cb()
382 if (rtio_sqe_rx_buf(current_sqe, sizeof(struct adxl372_fifo_data), in adxl372_process_status1_cb()
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c198 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl367_process_fifo_samples_cb() local
228 adxl367_sqe_done(cfg, current_sqe, -1); in adxl367_process_fifo_samples_cb()
248 if (current_sqe == NULL) { in adxl367_process_fifo_samples_cb()
260 if (rtio_sqe_rx_buf(current_sqe, min_read_size, ideal_read_size, &buf, &buf_len) != 0) { in adxl367_process_fifo_samples_cb()
262 adxl367_sqe_done(cfg, current_sqe, -ENOMEM); in adxl367_process_fifo_samples_cb()
354 adxl367_sqe_done(cfg, current_sqe, -ENOMEM); in adxl367_process_fifo_samples_cb()
387 adxl367_sqe_done(cfg, current_sqe, res); in adxl367_process_fifo_samples_cb()
402 current_sqe); in adxl367_process_fifo_samples_cb()
404 rtio_sqe_prep_callback(complete_op, adxl367_fifo_read_cb, (void *)dev, current_sqe); in adxl367_process_fifo_samples_cb()
414 struct rtio_iodev_sqe *current_sqe = data->sqe; in adxl367_process_status_cb() local
[all …]