Searched refs:sc_init_data (Results 1 – 2 of 2) sorted by relevance
177 AHCI_WRITE(sc, AHCI_CAP, sc->sc_init_data.cap); in ahci_reset()178 if (sc->sc_init_data.cap2) in ahci_reset()179 AHCI_WRITE(sc, AHCI_CAP2, sc->sc_init_data.cap2); in ahci_reset()180 AHCI_WRITE(sc, AHCI_PI, sc->sc_init_data.ports); in ahci_reset()269 sc->sc_init_data.cap = AHCI_READ(sc, AHCI_CAP); in ahci_attach()270 sc->sc_init_data.ports = AHCI_READ(sc, AHCI_PI); in ahci_attach()275 sc->sc_init_data.cap2 = AHCI_READ(sc, AHCI_CAP2); in ahci_attach()277 sc->sc_init_data.cap2 = 0; in ahci_attach()279 if (sc->sc_init_data.ports == 0) { in ahci_attach()280 sc->sc_init_data.ports = sc->sc_ahci_ports; in ahci_attach()
96 } sc_init_data; member