Lines Matching defs:stage
50 static int stage = TEST_STAGE_REG_IFACE;
104 switch (stage) {
108 "a0 = 0x%lx, func_id = 0x%x, arg1 = 0x%lx, stage = %u",
109 res.a0, hc_info->func_id, hc_info->arg1, stage);
113 "a0 = 0x%lx, func_id = 0x%x, arg1 = 0x%lx, stage = %u",
114 res.a0, hc_info->func_id, hc_info->arg1, stage);
117 GUEST_FAIL("Unexpected stage = %u", stage);
124 while (stage != TEST_STAGE_END) {
125 switch (stage) {
136 GUEST_FAIL("Unexpected stage = %u", stage);
139 GUEST_SYNC(stage);
247 int prev_stage = stage;
251 /* Sync the stage early, the VM might be freed below. */
252 stage++;
253 sync_global_to_guest(*vm, stage);
268 TEST_FAIL("Unknown test stage: %d", prev_stage);