Searched refs:slave_sc (Results 1 – 3 of 3) sorted by relevance
81 sc->slave_sc = malloc(sizeof(struct sbni_softc), in sbni_pci_probe()83 if (!sc->slave_sc) in sbni_pci_probe()94 if (sc->slave_sc) in sbni_pci_probe()95 free(sc->slave_sc, M_DEVBUF); in sbni_pci_probe()99 if (sc->slave_sc) { in sbni_pci_probe()100 sc->slave_sc->io_res = sc->io_res; in sbni_pci_probe()101 sc->slave_sc->io_off = 4; in sbni_pci_probe()105 if (sc->slave_sc) in sbni_pci_probe()106 free(sc->slave_sc, M_DEVBUF); in sbni_pci_probe()135 if (sc->slave_sc) in sbni_pci_attach()[all …]
384 if (sc->slave_sc) { in sbni_intr()386 SBNI_LOCK(sc->slave_sc); in sbni_intr()387 if (sbni_inb(sc->slave_sc, CSR0) & (RC_RDY | TR_RDY)) { in sbni_intr()388 handle_channel(sc->slave_sc); in sbni_intr()391 SBNI_UNLOCK(sc->slave_sc); in sbni_intr()1000 p->slave_sc = sc; in connect_to_master()
115 struct sbni_softc *slave_sc; member