Searched refs:sc_bank0 (Results 1 – 2 of 2) sorted by relevance
157 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()160 gen0 = powermac_nvram_check(sc->sc_bank0); in powermac_nvram_attach()164 if (sc->sc_bank0 != NULL) in powermac_nvram_attach()165 pmap_unmapdev(sc->sc_bank0, NVRAM_SIZE * 2); in powermac_nvram_attach()172 sc->sc_bank = (gen0 > gen1) ? sc->sc_bank0 : sc->sc_bank1; in powermac_nvram_attach()191 if (sc->sc_bank0 != NULL) in powermac_nvram_detach()192 pmap_unmapdev(sc->sc_bank0, NVRAM_SIZE * 2); in powermac_nvram_detach()249 bank = (sc->sc_bank == sc->sc_bank0) ? sc->sc_bank1 : sc->sc_bank0; in powermac_nvram_close()
53 void * sc_bank0; member