Home
last modified time | relevance | path

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

/external/tpm2/
DNVMem.c21 static FILE* s_NVFile; variable
72 if(s_NVFile != NULL) return 0; in _plat__NVEnable()
74 s_NVFile = fopen("NVChip", "r+b"); in _plat__NVEnable()
75 if(NULL != s_NVFile) in _plat__NVEnable()
78 fseek(s_NVFile, 0, SEEK_END); in _plat__NVEnable()
79 if(0 == ftell(s_NVFile)) in _plat__NVEnable()
80 s_NVFile = NULL; in _plat__NVEnable()
82 if(s_NVFile == NULL) in _plat__NVEnable()
87 s_NVFile = fopen("NVChip", "w+b"); in _plat__NVEnable()
89 fseek(s_NVFile, 0, SEEK_END); in _plat__NVEnable()
[all …]