Searched refs:vb2_nv_get (Results 1 – 8 of 8) sorted by relevance
/external/vboot_reference/tests/ |
D | vb2_misc_tests.c | 203 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in fail_tests() 205 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_SUBCODE), in fail_tests() 210 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in fail_tests() 212 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_SUBCODE), in fail_tests() 224 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), 0, "vb2_failover"); in fail_tests() 225 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in fail_tests() 227 TEST_EQ(vb2_nv_get(&cc, VB2_NV_TRY_COUNT), 0, "vb2_fail use up tries"); in fail_tests() 228 TEST_EQ(vb2_nv_get(&cc, VB2_NV_TRY_NEXT), 1, "vb2_fail try other slot"); in fail_tests() 237 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), 7, in fail_tests() 239 TEST_EQ(vb2_nv_get(&cc, VB2_NV_FW_RESULT), in fail_tests() [all …]
|
D | vb2_nvstorage_tests.c | 117 TEST_EQ(vb2_nv_get(&c, VB2_NV_FIRMWARE_SETTINGS_RESET), in nv_storage_test() 120 TEST_EQ(vb2_nv_get(&c, VB2_NV_FIRMWARE_SETTINGS_RESET), in nv_storage_test() 123 TEST_EQ(vb2_nv_get(&c, VB2_NV_KERNEL_SETTINGS_RESET), in nv_storage_test() 126 TEST_EQ(vb2_nv_get(&c, VB2_NV_KERNEL_SETTINGS_RESET), in nv_storage_test() 137 TEST_EQ(vb2_nv_get(&c, VB2_NV_FIRMWARE_SETTINGS_RESET), in nv_storage_test() 142 TEST_EQ(vb2_nv_get(&c, VB2_NV_KERNEL_SETTINGS_RESET), in nv_storage_test() 149 TEST_EQ(vb2_nv_get(&c, -1), 0, "Get invalid setting"); in nv_storage_test() 154 TEST_EQ(vb2_nv_get(&c, vnf->param), vnf->default_value, in nv_storage_test() 157 TEST_EQ(vb2_nv_get(&c, vnf->param), vnf->test_value, vnf->desc); in nv_storage_test() 159 TEST_EQ(vb2_nv_get(&c, vnf->param), vnf->test_value2, in nv_storage_test() [all …]
|
D | vb2_api_tests.c | 111 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_REQUEST), in misc_tests() 113 TEST_EQ(vb2_nv_get(&cc, VB2_NV_RECOVERY_SUBCODE), 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()
|
D | vb21_api_tests.c | 188 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()
|
D | vb20_api_tests.c | 223 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/ |
D | 2misc.c | 109 if (!vb2_nv_get(ctx, VB2_NV_RECOVERY_REQUEST)) { in vb2_fail() 148 sd->recovery_reason = vb2_nv_get(ctx, VB2_NV_RECOVERY_REQUEST); in vb2_check_recovery() 173 vb2_nv_get(ctx, VB2_NV_RECOVERY_SUBCODE)); in vb2_check_recovery() 220 if (vb2_nv_get(ctx, VB2_NV_DISABLE_DEV_REQUEST)) { in vb2_check_dev_switch() 292 if (!vb2_nv_get(ctx, VB2_NV_CLEAR_TPM_OWNER_REQUEST)) in vb2_check_tpm_clear() 321 sd->last_fw_slot = vb2_nv_get(ctx, VB2_NV_FW_TRIED); in vb2_select_fw_slot() 322 sd->last_fw_result = vb2_nv_get(ctx, VB2_NV_FW_RESULT); in vb2_select_fw_slot() 332 sd->fw_slot = vb2_nv_get(ctx, VB2_NV_TRY_NEXT); in vb2_select_fw_slot() 335 tries = vb2_nv_get(ctx, VB2_NV_TRY_COUNT); in vb2_select_fw_slot()
|
D | 2nvstorage.c | 75 uint32_t vb2_nv_get(struct vb2_context *ctx, enum vb2_nv_param param) in vb2_nv_get() function 174 if (vb2_nv_get(ctx, param) == value) in vb2_nv_set()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2nvstorage.h | 126 uint32_t vb2_nv_get(struct vb2_context *ctx, enum vb2_nv_param param);
|