Lines Matching refs:cqe
371 struct rtio_cqe *cqe; in adxl367_process_fifo_samples_cb() local
375 cqe = rtio_cqe_consume(data->rtio_ctx); in adxl367_process_fifo_samples_cb()
376 if (cqe != NULL) { in adxl367_process_fifo_samples_cb()
377 if ((cqe->result < 0 && res == 0)) { in adxl367_process_fifo_samples_cb()
378 LOG_ERR("Bus error: %d", cqe->result); in adxl367_process_fifo_samples_cb()
379 res = cqe->result; in adxl367_process_fifo_samples_cb()
381 rtio_cqe_release(data->rtio_ctx, cqe); in adxl367_process_fifo_samples_cb()
383 } while (cqe != NULL); in adxl367_process_fifo_samples_cb()
461 struct rtio_cqe *cqe; in adxl367_process_status_cb() local
465 cqe = rtio_cqe_consume(data->rtio_ctx); in adxl367_process_status_cb()
466 if (cqe != NULL) { in adxl367_process_status_cb()
467 if ((cqe->result < 0 && res == 0)) { in adxl367_process_status_cb()
468 LOG_ERR("Bus error: %d", cqe->result); in adxl367_process_status_cb()
469 res = cqe->result; in adxl367_process_status_cb()
471 rtio_cqe_release(data->rtio_ctx, cqe); in adxl367_process_status_cb()
473 } while (cqe != NULL); in adxl367_process_status_cb()