Home
last modified time | relevance | path

Searched refs:VbNvSet (Results 1 – 19 of 19) sorted by relevance

/external/vboot_reference/tests/
Dvboot_nvstorage_test.c96 TEST_EQ(VbNvSet(&c, VBNV_FIRMWARE_SETTINGS_RESET, 0), 0, in VbNvStorageTest()
104 TEST_EQ(VbNvSet(&c, VBNV_KERNEL_SETTINGS_RESET, 0), 0, in VbNvStorageTest()
115 VbNvSet(&c, VBNV_FIRMWARE_SETTINGS_RESET, 1); in VbNvStorageTest()
118 VbNvSet(&c, VBNV_FIRMWARE_SETTINGS_RESET, 0); in VbNvStorageTest()
120 VbNvSet(&c, VBNV_KERNEL_SETTINGS_RESET, 1); in VbNvStorageTest()
123 VbNvSet(&c, VBNV_KERNEL_SETTINGS_RESET, 0); in VbNvStorageTest()
129 TEST_EQ(VbNvSet(&c, -1, 0), 1, "Set invalid setting"); in VbNvStorageTest()
143 TEST_EQ(VbNvSet(&c, vnf->param, vnf->test_value), 0, " set 1"); in VbNvStorageTest()
147 TEST_EQ(VbNvSet(&c, vnf->param, vnf->test_value2), 0, " set 2"); in VbNvStorageTest()
165 TEST_EQ(VbNvSet(&c, vnf->param, vnf->test_value2), 0, vnf->desc); in VbNvStorageTest()
[all …]
Dvboot_api_init_tests.c175 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbInitTest()
219 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbInitTest()
246 VbNvSet(&vnc, VBNV_DEBUG_RESET_MODE, 1); in VbInitTest()
255 VbNvSet(&vnc, VBNV_DEBUG_RESET_MODE, 1); in VbInitTest()
269 VbNvSet(&vnc, VBNV_DEBUG_RESET_MODE, 1); in VbInitTest()
316 VbNvSet(&vnc, VBNV_OPROM_NEEDED, 1); in VbInitTest()
331 VbNvSet(&vnc, VBNV_DEV_BOOT_SIGNED_ONLY, 1); in VbInitTest()
343 VbNvSet(&vnc, VBNV_DEV_BOOT_SIGNED_ONLY, 1); in VbInitTest()
363 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbInitTest()
390 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbInitTest()
[all …]
Dvboot_display_tests.c186 VbNvSet(&vnc, VBNV_LOCALIZATION_INDEX, 0); in DisplayKeyTest()
204 VbNvSet(&vnc, VBNV_LOCALIZATION_INDEX, 1); in DisplayKeyTest()
Dvboot_api_kernel2_tests.c411 VbNvSet(VbApiKernelGetVnc(), VBNV_DEV_BOOT_LEGACY, 1); in VbBootDevTest()
423 VbNvSet(VbApiKernelGetVnc(), VBNV_DEV_BOOT_USB, 1); in VbBootDevTest()
437 VbNvSet(VbApiKernelGetVnc(), VBNV_DEV_BOOT_USB, 1); in VbBootDevTest()
Dvboot_api_kernel4_tests.c185 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbSlkTest()
Dvboot_api_kernel_tests.c290 int VbNvSet(VbNvContext *context, VbNvParam param, uint32_t value) in VbNvSet() function
Dvboot_firmware_tests.c364 VbNvSet(&vnc, VBNV_TRY_B_COUNT, 5); in LoadFirmwareTest()
Dvboot_kernel_tests.c630 VbNvSet(&vnc, VBNV_DEV_BOOT_SIGNED_ONLY, 1); in LoadKernelTest()
/external/vboot_reference/firmware/lib/
Dvboot_api_init.c106 VbNvSet(&vnc, VBNV_DEBUG_RESET_MODE, 0); in VbInit()
117 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbInit()
226 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbInit()
234 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbInit()
236 VbNvSet(&vnc, VBNV_RECOVERY_SUBCODE, in VbInit()
252 VbNvSet(&vnc, VBNV_DISABLE_DEV_REQUEST, 0); in VbInit()
254 VbNvSet(&vnc, VBNV_CLEAR_TPM_OWNER_REQUEST, 0); in VbInit()
255 VbNvSet(&vnc, VBNV_CLEAR_TPM_OWNER_DONE, 1); in VbInit()
303 VbNvSet(&vnc, VBNV_OPROM_NEEDED, 1); in VbInit()
320 VbNvSet(&vnc, VBNV_DEV_BOOT_USB, 0); in VbInit()
[all …]
Dvboot_nvstorage_rollback.c47 VbNvSet(vnc, backup_params[i], value); in RestoreNvFromBackup()
72 VbNvSet(&bvnc, backup_params[i], value); in SaveNvToBackup()
80 VbNvSet(vnc, VBNV_BACKUP_NVRAM_REQUEST, 0); in SaveNvToBackup()
86 VbNvSet(vnc, VBNV_BACKUP_NVRAM_REQUEST, 0); in SaveNvToBackup()
Dvboot_api_firmware.c89 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware()
100 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware()
117 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware()
Dvboot_display.c213 VbNvSet(vncptr, VBNV_LOCALIZATION_INDEX, localization); in VbDisplayScreenFromGBB()
214 VbNvSet(vncptr, VBNV_BACKUP_NVRAM_REQUEST, 1); in VbDisplayScreenFromGBB()
657 VbNvSet(vncptr, VBNV_LOCALIZATION_INDEX, loc); in VbCheckDisplayKey()
658 VbNvSet(vncptr, VBNV_BACKUP_NVRAM_REQUEST, 1); in VbCheckDisplayKey()
Dvboot_firmware.c81 VbNvSet(vnc, VBNV_TRY_B_COUNT, try_b_count - 1); in LoadFirmware()
352 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadFirmware()
Dvboot_api_kernel.c41 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, recovery_request); in VbSetRecoveryRequest()
302 VbNvSet(&vnc, VBNV_DISABLE_DEV_REQUEST, in VbBootDeveloper()
834 VbNvSet(&vnc, VBNV_OPROM_NEEDED, 1); in VbEcSoftwareSync()
863 VbNvSet(&vnc, VBNV_OPROM_NEEDED, 1); in VbEcSoftwareSync()
Dvboot_nvstorage.c199 int VbNvSet(VbNvContext *context, VbNvParam param, uint32_t value) in VbNvSet() function
Dvboot_kernel.c524 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadKernel()
/external/vboot_reference/firmware/linktest/
Dmain.c96 VbNvSet(0, 0, 0); in main()
/external/vboot_reference/firmware/include/
Dvboot_nvstorage.h307 int VbNvSet(VbNvContext *context, VbNvParam param, uint32_t value);
/external/vboot_reference/host/lib/
Dcrossystem.c123 i = VbNvSet(&vnc, param, (uint32_t)value); in VbSetNvStorage()