Home
last modified time | relevance | path

Searched refs:VB2_NV_RECOVERY_REQUEST (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/tests/
Dvb2_misc_tests.c203 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in fail_tests()
210 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in fail_tests()
224 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), 0, "vb2_failover"); in fail_tests()
237 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), 7, in fail_tests()
257 vb2_nv_set(&cc, VB2_NV_RECOVERY_REQUEST, 3); in recovery_tests()
260 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), 0, "NV cleared"); in recovery_tests()
268 vb2_nv_set(&cc, VB2_NV_RECOVERY_REQUEST, 4); in recovery_tests()
272 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in recovery_tests()
381 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in dev_switch_tests()
Dvb2_api_tests.c111 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in misc_tests()
168 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in phase2_tests()
174 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in phase2_tests()
Dvb2_nvstorage_tests.c39 {VB2_NV_RECOVERY_REQUEST, 0, 0x42, 0xED, "recovery request"},
183 vb2_nv_set(&c, VB2_NV_RECOVERY_REQUEST, 0x101); in nv_storage_test()
184 TEST_EQ(vb2_nv_get(&c, VB2_NV_RECOVERY_REQUEST), in nv_storage_test()
Dvb21_api_tests.c188 TEST_EQ(vb2_nv_get(&ctx, VB2_NV_RECOVERY_REQUEST), in phase3_tests()
194 TEST_EQ(vb2_nv_get(&ctx, VB2_NV_RECOVERY_REQUEST), in phase3_tests()
Dvb20_api_tests.c223 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in phase3_tests()
229 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in phase3_tests()
/external/vboot_reference/firmware/2lib/
D2misc.c109 if (!vb2_nv_get(ctx, VB2_NV_RECOVERY_REQUEST)) { in vb2_fail()
110 vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, reason); in vb2_fail()
148 sd->recovery_reason = vb2_nv_get(ctx, VB2_NV_RECOVERY_REQUEST); in vb2_check_recovery()
152 vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, in vb2_check_recovery()
D2nvstorage.c114 case VB2_NV_RECOVERY_REQUEST: in vb2_nv_get()
234 case VB2_NV_RECOVERY_REQUEST: in vb2_nv_set()
/external/vboot_reference/firmware/2lib/include/
D2nvstorage.h39 VB2_NV_RECOVERY_REQUEST, enumerator