Lines Matching defs:sc
103 struct snc_softc *sc = device_get_softc(dev);
104 struct ifnet *ifp = sc->sc_ifp;
106 if (sc->gone) {
110 SNC_LOCK(sc);
111 sncshutdown(sc);
112 SNC_UNLOCK(sc);
113 callout_drain(&sc->sc_timer);
115 sc->gone = 1;
116 bus_teardown_intr(dev, sc->irq, sc->irq_handle);
118 mtx_destroy(&sc->sc_lock);
141 struct snc_softc *sc = device_get_softc(dev);
156 sc->sc_enabled = 1;