Home
last modified time | relevance | path

Searched refs:vb2_nv_set (Results 1 – 5 of 5) sorted by relevance

/external/vboot_reference/firmware/2lib/
D2misc.c78 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_FAILURE); in vb2_fail()
81 vb2_nv_set(ctx, VB2_NV_TRY_COUNT, 0); in vb2_fail()
88 vb2_nv_set(ctx, VB2_NV_TRY_NEXT, 1 - sd->fw_slot); in vb2_fail()
110 vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, reason); in vb2_fail()
111 vb2_nv_set(ctx, VB2_NV_RECOVERY_SUBCODE, subcode); in vb2_fail()
152 vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, in vb2_check_recovery()
224 vb2_nv_set(ctx, VB2_NV_DISABLE_DEV_REQUEST, 0); in vb2_check_dev_switch()
255 vb2_nv_set(ctx, VB2_NV_DEV_BOOT_USB, 0); in vb2_check_dev_switch()
256 vb2_nv_set(ctx, VB2_NV_DEV_BOOT_LEGACY, 0); in vb2_check_dev_switch()
257 vb2_nv_set(ctx, VB2_NV_DEV_BOOT_SIGNED_ONLY, 0); in vb2_check_dev_switch()
[all …]
D2nvstorage.c167 void vb2_nv_set(struct vb2_context *ctx, in vb2_nv_set() function
/external/vboot_reference/tests/
Dvb2_nvstorage_tests.c119 vb2_nv_set(&c, VB2_NV_FIRMWARE_SETTINGS_RESET, 0); in nv_storage_test()
125 vb2_nv_set(&c, VB2_NV_KERNEL_SETTINGS_RESET, 0); in nv_storage_test()
136 vb2_nv_set(&c, VB2_NV_FIRMWARE_SETTINGS_RESET, 1); in nv_storage_test()
139 vb2_nv_set(&c, VB2_NV_FIRMWARE_SETTINGS_RESET, 0); in nv_storage_test()
141 vb2_nv_set(&c, VB2_NV_KERNEL_SETTINGS_RESET, 1); in nv_storage_test()
144 vb2_nv_set(&c, VB2_NV_KERNEL_SETTINGS_RESET, 0); in nv_storage_test()
148 vb2_nv_set(&c, -1, 1); in nv_storage_test()
156 vb2_nv_set(&c, vnf->param, vnf->test_value); in nv_storage_test()
158 vb2_nv_set(&c, vnf->param, vnf->test_value2); in nv_storage_test()
175 vb2_nv_set(&c, vnf->param, vnf->test_value2); in nv_storage_test()
[all …]
Dvb2_misc_tests.c217 vb2_nv_set(&cc, VB2_NV_TRY_COUNT, 3); in fail_tests()
218 vb2_nv_set(&cc, VB2_NV_FW_RESULT, VB2_FW_RESULT_UNKNOWN); in fail_tests()
257 vb2_nv_set(&cc, VB2_NV_RECOVERY_REQUEST, 3); in recovery_tests()
268 vb2_nv_set(&cc, VB2_NV_RECOVERY_REQUEST, 4); in recovery_tests()
309 vb2_nv_set(&cc, VB2_NV_DEV_BOOT_USB, 1); in dev_switch_tests()
310 vb2_nv_set(&cc, VB2_NV_DEV_BOOT_LEGACY, 1); in dev_switch_tests()
311 vb2_nv_set(&cc, VB2_NV_DEV_BOOT_SIGNED_ONLY, 1); in dev_switch_tests()
344 vb2_nv_set(&cc, VB2_NV_DISABLE_DEV_REQUEST, 1); in dev_switch_tests()
396 vb2_nv_set(&cc, VB2_NV_CLEAR_TPM_OWNER_REQUEST, 1); in tpm_clear_tests()
407 vb2_nv_set(&cc, VB2_NV_CLEAR_TPM_OWNER_REQUEST, 1); in tpm_clear_tests()
[all …]
/external/vboot_reference/firmware/2lib/include/
D2nvstorage.h137 void vb2_nv_set(struct vb2_context *ctx,