Lines Matching refs:wait_call
51 static struct test_call wait_call; variable
77 if (wait_call.pending && wait_call.smc_cb && (k_current_get() == wait_call.th_id)) { in arm_smccc_smc()
78 wait_call.smc_cb(a0, a1, a2, a3, a4, a5, a6, a7, res); in arm_smccc_smc()
1074 static struct test_call wait_call; variable
1090 switch (wait_call.num) { in cmd_notify_wait_call()
1100 arg->params[0].u.value.b = wait_call.a0; /* Set notification key */ in cmd_notify_wait_call()
1106 wait_call.a6 = 1; in cmd_notify_wait_call()
1109 wait_call.num++; in cmd_notify_wait_call()
1168 wait_call.pending = 1; in wait_handler()
1169 wait_call.th_id = k_current_get(); in wait_handler()
1170 wait_call.num = 0; in wait_handler()
1171 wait_call.a6 = 0; /* result */ in wait_handler()
1173 wait_call.smc_cb = cmd_notify_wait_call; in wait_handler()
1177 wait_call.a6 = 1; in wait_handler()
1178 wait_call.pending = 0; in wait_handler()
1189 wait_call.a0 = key; in do_wait()
1190 wait_call.a4 = session_id; in do_wait()
1239 zassert_equal(wait_call.a6, 1, "Notify wait is still in progress"); in ZTEST()
1251 wait_call.pending = 1; in ZTEST()
1252 wait_call.th_id = k_current_get(); in ZTEST()
1253 wait_call.num = 0; in ZTEST()
1254 wait_call.a0 = 2; /* key */ in ZTEST()
1256 wait_call.smc_cb = cmd_notify_wait_call; in ZTEST()
1261 wait_call.pending = 0; in ZTEST()