Searched refs:bootcount_magic (Results 1 – 3 of 3) sorted by relevance
11 static const u8 bootcount_magic = 0xbc; variable21 const u16 val = bootcount_magic << 8 | (a & 0xff); in bootcount_rtc_set()41 if (val >> 8 == bootcount_magic) { in bootcount_rtc_get()
12 static const u8 bootcount_magic = 0xbc; variable22 const u16 val = bootcount_magic << 8 | (a & 0xff); in bootcount_i2c_eeprom_set()44 if (val >> 8 == bootcount_magic) { in bootcount_i2c_eeprom_get()
11 static const u8 bootcount_magic = 0xbc; variable56 const u16 val = bootcount_magic << 8 | (a & 0xff); in bootcount_spi_flash_set()76 if (val >> 8 == bootcount_magic) { in bootcount_spi_flash_get()
Completed in 13 milliseconds