/external/vboot_reference/tests/ |
D | vboot_nvstorage_test.c | 96 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 …]
|
D | vboot_api_init_tests.c | 175 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 …]
|
D | vboot_display_tests.c | 186 VbNvSet(&vnc, VBNV_LOCALIZATION_INDEX, 0); in DisplayKeyTest() 204 VbNvSet(&vnc, VBNV_LOCALIZATION_INDEX, 1); in DisplayKeyTest()
|
D | vboot_api_kernel2_tests.c | 411 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()
|
D | vboot_api_kernel4_tests.c | 185 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbSlkTest()
|
D | vboot_api_kernel_tests.c | 290 int VbNvSet(VbNvContext *context, VbNvParam param, uint32_t value) in VbNvSet() function
|
D | vboot_firmware_tests.c | 364 VbNvSet(&vnc, VBNV_TRY_B_COUNT, 5); in LoadFirmwareTest()
|
D | vboot_kernel_tests.c | 630 VbNvSet(&vnc, VBNV_DEV_BOOT_SIGNED_ONLY, 1); in LoadKernelTest()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_api_init.c | 106 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 …]
|
D | vboot_nvstorage_rollback.c | 47 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()
|
D | vboot_api_firmware.c | 89 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware() 100 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware() 117 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware()
|
D | vboot_display.c | 213 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()
|
D | vboot_firmware.c | 81 VbNvSet(vnc, VBNV_TRY_B_COUNT, try_b_count - 1); in LoadFirmware() 352 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadFirmware()
|
D | vboot_api_kernel.c | 41 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()
|
D | vboot_nvstorage.c | 199 int VbNvSet(VbNvContext *context, VbNvParam param, uint32_t value) in VbNvSet() function
|
D | vboot_kernel.c | 524 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadKernel()
|
/external/vboot_reference/firmware/linktest/ |
D | main.c | 96 VbNvSet(0, 0, 0); in main()
|
/external/vboot_reference/firmware/include/ |
D | vboot_nvstorage.h | 307 int VbNvSet(VbNvContext *context, VbNvParam param, uint32_t value);
|
/external/vboot_reference/host/lib/ |
D | crossystem.c | 123 i = VbNvSet(&vnc, param, (uint32_t)value); in VbSetNvStorage()
|