Lines Matching refs:sc
159 struct malo_softc *sc = &psc->malo_sc;
161 sc->malo_dev = dev;
178 sc->malo_invalid = 1;
208 INTR_TYPE_NET | INTR_MPSAFE, malo_intr, NULL, sc,
213 INTR_TYPE_NET | INTR_MPSAFE, malo_intr, NULL, sc,
234 &sc->malo_dmat)) {
239 sc->malo_io0t = rman_get_bustag(psc->malo_res_mem[0]);
240 sc->malo_io0h = rman_get_bushandle(psc->malo_res_mem[0]);
241 sc->malo_io1t = rman_get_bustag(psc->malo_res_mem[1]);
242 sc->malo_io1h = rman_get_bushandle(psc->malo_res_mem[1]);
244 error = malo_attach(pci_get_device(dev), sc);
252 bus_dma_tag_destroy(sc->malo_dmat);
276 struct malo_softc *sc = &psc->malo_sc;
279 sc->malo_invalid = !bus_child_present(dev);
281 malo_detach(sc);
297 bus_dma_tag_destroy(sc->malo_dmat);