Searched refs:ReadFileInt (Results 1 – 5 of 5) sorted by relevance
/external/vboot_reference/host/arch/x86_64/lib/ |
D | crossystem_arch.c | 175 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbReadNvStorage() 177 if (ReadFileInt(ACPI_VBNV_PATH ".1", &blksz) < 0) in VbReadNvStorage() 196 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbWriteNvStorage() 198 if (ReadFileInt(ACPI_VBNV_PATH ".1", &blksz) < 0) in VbWriteNvStorage() 346 if (ReadFileInt(ACPI_CHNV_PATH, &chnv) < 0) in VbGetCmosRebootField() 366 if (ReadFileInt(ACPI_CHNV_PATH, &chnv) < 0) in VbSetCmosRebootField() 394 if (ReadFileInt(ACPI_BINF_PATH ".3", &value) == 0) { in VbReadMainFwType() 410 if (ReadFileInt(ACPI_BINF_PATH ".0", &value) < 0) in VbReadMainFwType() 441 if (ReadFileInt(ACPI_BINF_PATH ".4", &value) == 0) in VbGetRecoveryReason() 445 if (ReadFileInt(ACPI_BINF_PATH ".0", &value) < 0) in VbGetRecoveryReason() [all …]
|
/external/vboot_reference/host/arch/x86/lib/ |
D | crossystem_arch.c | 175 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbReadNvStorage() 177 if (ReadFileInt(ACPI_VBNV_PATH ".1", &blksz) < 0) in VbReadNvStorage() 196 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbWriteNvStorage() 198 if (ReadFileInt(ACPI_VBNV_PATH ".1", &blksz) < 0) in VbWriteNvStorage() 346 if (ReadFileInt(ACPI_CHNV_PATH, &chnv) < 0) in VbGetCmosRebootField() 366 if (ReadFileInt(ACPI_CHNV_PATH, &chnv) < 0) in VbSetCmosRebootField() 394 if (ReadFileInt(ACPI_BINF_PATH ".3", &value) == 0) { in VbReadMainFwType() 410 if (ReadFileInt(ACPI_BINF_PATH ".0", &value) < 0) in VbReadMainFwType() 441 if (ReadFileInt(ACPI_BINF_PATH ".4", &value) == 0) in VbGetRecoveryReason() 445 if (ReadFileInt(ACPI_BINF_PATH ".0", &value) < 0) in VbGetRecoveryReason() [all …]
|
/external/vboot_reference/host/lib/ |
D | host_misc.c | 76 int ReadFileInt(const char* filename, unsigned* value) { in ReadFileInt() function 94 if (ReadFileInt(filename, &value) < 0) in ReadFileBit()
|
/external/vboot_reference/host/arch/arm/lib/ |
D | crossystem_arch.c | 80 if (ReadFileInt(filename, &value) < 0) in FindEmmcDev() 224 if (ReadFileInt(gpio_name, &value) < 0) in VbGetPlatformGpioStatus() 236 if (ReadFileInt(gpio_name, &value) < 0) { in VbGetGpioStatus() 245 if (ReadFileInt(gpio_name, &value) < 0) in VbGetGpioStatus()
|
/external/vboot_reference/host/lib/include/ |
D | host_misc.h | 34 int ReadFileInt(const char* filename, unsigned* value);
|