Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/include/
Dvboot_nvstorage.h12 #define VBNV_BLOCK_SIZE 16 /* Size of NV storage block in bytes */ macro
16 uint8_t raw[VBNV_BLOCK_SIZE];
Dvboot_api.h490 #define VBNV_BLOCK_SIZE 16 /* Size of NV storage block in bytes */ macro
/external/vboot_reference/host/arch/arm/lib/
Dcrossystem_arch.c348 char hexstring[VBNV_BLOCK_SIZE * 2 + 32]; /* Reserve extra 32 bytes */ in VbReadNvStorage_mosys()
358 for (i = 0; i < VBNV_BLOCK_SIZE; i++) { in VbReadNvStorage_mosys()
367 char hexstring[VBNV_BLOCK_SIZE * 2 + 1]; in VbWriteNvStorage_mosys()
373 for (i = 0; i < VBNV_BLOCK_SIZE; i++) in VbWriteNvStorage_mosys()
/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c179 if (VBNV_BLOCK_SIZE > blksz) in VbReadNvStorage()
182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbReadNvStorage()
200 if (VBNV_BLOCK_SIZE > blksz) in VbWriteNvStorage()
203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbWriteNvStorage()
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c179 if (VBNV_BLOCK_SIZE > blksz) in VbReadNvStorage()
182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbReadNvStorage()
200 if (VBNV_BLOCK_SIZE > blksz) in VbWriteNvStorage()
203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbWriteNvStorage()
/external/vboot_reference/firmware/lib/
Dvboot_nvstorage_rollback.c26 BUILD_ASSERT(VBNV_BLOCK_SIZE <= BACKUP_NV_SIZE);
Dvboot_nvstorage.c73 Memset(raw, 0, VBNV_BLOCK_SIZE); in VbNvSetup()
Dvboot_display.c544 for (i = 0; i < VBNV_BLOCK_SIZE; i++) { in VbDisplayDebugInfo()