Lines Matching refs:cqe

27 	struct rtio_cqe *cqe;  in rtio_i2c_before()  local
29 while ((cqe = rtio_cqe_consume(&test_rtio_ctx)) != NULL) { in rtio_i2c_before()
30 rtio_cqe_release(&test_rtio_ctx, cqe); in rtio_i2c_before()
67 struct rtio_cqe *cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST() local
69 zassert_ok(cqe->result); in ZTEST()
70 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
86 struct rtio_cqe *cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST() local
88 zassert_equal(-EIO, cqe->result); in ZTEST()
89 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
113 struct rtio_cqe *cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST() local
115 zassert_ok(cqe->result); in ZTEST()
117 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
147 struct rtio_cqe *cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST() local
149 zassert_ok(cqe->result); in ZTEST()
152 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
176 struct rtio_cqe *cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST() local
178 zassert_equal(-EIO, cqe->result); in ZTEST()
180 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
183 cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST()
184 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
206 struct rtio_cqe *cqe; in ZTEST() local
209 cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST()
210 zassert_ok(cqe->result); in ZTEST()
211 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
214 cqe = rtio_cqe_consume_block(&test_rtio_ctx); in ZTEST()
215 zassert_ok(cqe->result); in ZTEST()
216 rtio_cqe_release(&test_rtio_ctx, cqe); in ZTEST()
281 struct rtio_cqe *cqe[] = { in ZTEST() local
292 for (unsigned int i = 0; i < ARRAY_SIZE(cqe); ++i) { in ZTEST()
293 int msg_idx = (struct i2c_msg *)cqe[i]->userdata - msg; in ZTEST()
299 zassert_ok(cqe[i]->result); in ZTEST()
301 zassert_equal(-ENOMEM, cqe[i]->result); in ZTEST()
308 rtio_cqe_release(&test_rtio_ctx, cqe[0]); in ZTEST()
309 rtio_cqe_release(&test_rtio_ctx, cqe[1]); in ZTEST()
310 rtio_cqe_release(&test_rtio_ctx, cqe[2]); in ZTEST()