Lines Matching refs:cli
26 struct onoff_client cli; member
32 static void basic_cb(struct onoff_manager *mgr, struct onoff_client *cli, uint32_t state, int res) in basic_cb() argument
34 struct test_req *req = CONTAINER_OF(cli, struct test_req, cli); in basic_cb()
56 sys_notify_init_callback(&req1.cli.notify, basic_cb); in ZTEST()
59 rv = mram_no_latency_request(&req1.cli); in ZTEST()
62 sys_notify_init_callback(&req2.cli.notify, basic_cb); in ZTEST()
65 rv = mram_no_latency_request(&req2.cli); in ZTEST()
79 rv = mram_no_latency_cancel_or_release(&req2.cli); 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()
108 sys_notify_init_callback(&req->cli.notify, basic_cb); in timeout()
110 rv = mram_no_latency_request(&req->cli); in timeout()
133 rv = mram_no_latency_cancel_or_release(&req.cli); in ZTEST()