Home
last modified time | relevance | path

Searched refs:NV_MEMORY_SIZE (Results 1 – 14 of 14) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/Platform/src/
DNVMem.c103 OK = (NV_MEMORY_SIZE == fwrite(s_NV, 1, NV_MEMORY_SIZE, s_NvFile)); in NvFileCommit()
187 _plat__NvMemoryClear(0, NV_MEMORY_SIZE); in _plat__NVEnable()
196 if (NV_MEMORY_SIZE == fileSize) in _plat__NVEnable()
199 fread(s_NV, 1, NV_MEMORY_SIZE, s_NvFile) != NV_MEMORY_SIZE; in _plat__NVEnable()
283 assert(startOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryRead()
318 if(startOffset + size <= NV_MEMORY_SIZE) in _plat__NvMemoryWrite()
335 assert(start + size <= NV_MEMORY_SIZE); in _plat__NvMemoryClear()
351 assert(sourceOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
352 assert(destOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvReserved.c98 s_evictNvEnd = (NV_REF)NV_MEMORY_SIZE; in NvInitStatic()
173 _plat__NvMemoryClear(0, NV_MEMORY_SIZE); in NvManufacture()
200 pAssert(nvOffset + size < NV_MEMORY_SIZE); in NvRead()
216 if(nvOffset + size <= NV_MEMORY_SIZE) in NvWrite()
DNvDynamic.c213 #if NV_MEMORY_SIZE < 1024 in NvTestSpace()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/src/
DNVMem.c75 __attribute__((section(".nvfile"))) const uint8_t nvFile[NV_MEMORY_SIZE];
382 assert(startOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryRead()
419 assert(startOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryWrite()
434 assert(start + size <= NV_MEMORY_SIZE); in _plat__NvMemoryClear()
451 assert(sourceOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
452 assert(destOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
DPlatformData.c70 unsigned char s_NV[NV_MEMORY_SIZE];
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/
DNvAdmin.c80 stateAddr = NV_MEMORY_SIZE; in _admin__NvInitState()
86 pAssert(stateAddr <= (NV_MEMORY_SIZE + NV_TPM_STATE_SIZE)); in _admin__NvInitState()
DNVMem.c55 #define NV_CHIP_MEMORY_SIZE (NV_MEMORY_SIZE + NV_TPM_STATE_SIZE)
127 #define NV_CHIP_REVISION_OFFSET ((NV_MEMORY_SIZE) + (TPM_STATE_SIZE))
582 pAssert(start + size <= NV_MEMORY_SIZE); in _plat__NvMemoryClear()
DPlatformData.c76 unsigned char s_NV[NV_MEMORY_SIZE];
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/include/
DPlatformData.h107 extern unsigned char s_NV[NV_MEMORY_SIZE];
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/include/
DPlatformData.h121 extern unsigned char s_NV[NV_MEMORY_SIZE];
/external/ms-tpm-20-ref/TPMCmd/Platform/include/
DPlatformData.h105 EXTERN unsigned char s_NV[NV_MEMORY_SIZE];
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmProfile.h181 #ifndef NV_MEMORY_SIZE
182 #define NV_MEMORY_SIZE 16384 macro
DGlobal.h1066 #define NV_USER_DYNAMIC_END NV_MEMORY_SIZE
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/reference/include/
DImplementation.h184 #define NV_MEMORY_SIZE 16384 macro