Lines Matching refs:req1
49 struct test_req req1, req2; in ZTEST() local
53 k_sem_init(&req1.sem, 0, 1); in ZTEST()
56 sys_notify_init_callback(&req1.cli.notify, basic_cb); in ZTEST()
59 rv = mram_no_latency_request(&req1.cli); in ZTEST()
68 rv = k_sem_take(&req1.sem, K_MSEC(TIMEOUT_MS)); in ZTEST()
70 zassert_equal(req1.res, 0, "Unexpected res:%d", req1.res); in ZTEST()
71 zassert_equal(req1.state, ONOFF_STATE_ON, "Unexpected state:%08x", req1.state); in ZTEST()
84 rv = mram_no_latency_cancel_or_release(&req1.cli); in ZTEST()
87 sys_notify_init_callback(&req1.cli.notify, basic_cb); in ZTEST()
91 rv = mram_no_latency_request(&req1.cli); in ZTEST()
96 rv = mram_no_latency_cancel_or_release(&req1.cli); in ZTEST()