Lines Matching defs:sc
28 struct tulip_softc *sc = device_get_softc(dev);
34 status = TULIP_CSR_READ(sc, csr_status);
40 if (status != 0 && (status & sc->tulip_intrmask) == 0) {
41 TULIP_CSR_WRITE(sc, csr_status, status);
46 if ((status & sc->tulip_intrmask) == 0) {
51 TULIP_CSR_WRITE(sc, csr_intr, 0);
62 struct tulip_softc *sc = device_get_softc(dev);
63 TULIP_LOCK(sc);
64 TULIP_CSR_WRITE(sc, csr_intr, sc->tulip_intrmask);
65 TULIP_UNLOCK(sc);