Home
last modified time | relevance | path

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

/freebsd/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c157 sc->sc_bank0 = pmap_mapdev(reg[i], NVRAM_SIZE * 2); in powermac_nvram_attach()
158 sc->sc_bank1 = (char *)sc->sc_bank0 + NVRAM_SIZE; in powermac_nvram_attach()
165 pmap_unmapdev(sc->sc_bank0, NVRAM_SIZE * 2); in powermac_nvram_attach()
173 bcopy(sc->sc_bank, sc->sc_data, NVRAM_SIZE); in powermac_nvram_attach()
192 pmap_unmapdev(sc->sc_bank0, NVRAM_SIZE * 2); in powermac_nvram_detach()
230 bcopy(sc->sc_bank, sc->sc_data, NVRAM_SIZE); in powermac_nvram_close()
244 NVRAM_SIZE - offsetof(struct core99_header, generation)); in powermac_nvram_close()
335 NVRAM_SIZE - offsetof(struct core99_header, generation))) in powermac_nvram_check()
410 for (i = 0; i < NVRAM_SIZE; i++) { in erase_bank_amd()
424 for (i = 0; i < NVRAM_SIZE; i++) { in write_bank_amd()
[all …]
H A Dpowermac_nvramvar.h32 #define NVRAM_SIZE 0x2000 macro
55 uint8_t sc_data[NVRAM_SIZE];
/freebsd/usr.sbin/nvram/
H A Dnvram.c61 uint8_t buf[NVRAM_SIZE], *cp, *common; in main()