Home
last modified time | relevance | path

Searched refs:req2 (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/boards/nrf/mram_latency/src/
Dmain.c49 struct test_req req1, req2; in ZTEST() local
54 k_sem_init(&req2.sem, 0, 1); in ZTEST()
62 sys_notify_init_callback(&req2.cli.notify, basic_cb); in ZTEST()
65 rv = mram_no_latency_request(&req2.cli); in ZTEST()
73 rv = k_sem_take(&req2.sem, K_MSEC(TIMEOUT_MS)); in ZTEST()
75 zassert_equal(req2.res, 0, "Unexpected res:%d", req2.res); in ZTEST()
76 zassert_equal(req2.state, ONOFF_STATE_ON); in ZTEST()
79 rv = mram_no_latency_cancel_or_release(&req2.cli); in ZTEST()
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c668 struct coap_client_request req2 = short_request; in ZTEST() local
671 req2.user_data = &sem2; in ZTEST()
676 zassert_ok(coap_client_req(&client, 0, &dst_address, &req2, NULL)); in ZTEST()
708 struct coap_client_request req2 = long_request; in ZTEST() local
711 req2.user_data = &sem2; in ZTEST()
714 zassert_ok(coap_client_req(&client2, client2.fd, &dst_address, &req2, NULL)); in ZTEST()
751 struct coap_client_request req2 = short_request; in ZTEST() local
754 req2.user_data = &sem2; in ZTEST()
759 zassert_ok(coap_client_req(&client2, client2.fd, &dst_address, &req2, NULL)); in ZTEST()
832 struct coap_client_request req2 = short_request; in ZTEST() local
[all …]
/Zephyr-latest/tests/subsys/pm/policy_api/src/
Dmain.c169 struct pm_policy_latency_request req1, req2; in ZTEST() local
200 pm_policy_latency_request_add(&req2, 8000); in ZTEST()
211 pm_policy_latency_request_remove(&req2); in ZTEST()
250 pm_policy_latency_request_add(&req2, 60000); in ZTEST()
253 pm_policy_latency_request_remove(&req2); in ZTEST()