Home
last modified time | relevance | path

Searched refs:slave_sc (Results 1 – 3 of 3) sorted by relevance

/freebsd-14-stable/sys/dev/sbni/
HDif_sbni_pci.c82 sc->slave_sc = malloc(sizeof(struct sbni_softc), in sbni_pci_probe()
84 if (!sc->slave_sc) in sbni_pci_probe()
95 if (sc->slave_sc) in sbni_pci_probe()
96 free(sc->slave_sc, M_DEVBUF); in sbni_pci_probe()
100 if (sc->slave_sc) { in sbni_pci_probe()
101 sc->slave_sc->io_res = sc->io_res; in sbni_pci_probe()
102 sc->slave_sc->io_off = 4; in sbni_pci_probe()
106 if (sc->slave_sc) in sbni_pci_probe()
107 free(sc->slave_sc, M_DEVBUF); in sbni_pci_probe()
136 if (sc->slave_sc) in sbni_pci_attach()
[all …]
HDif_sbni.c384 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()
HDif_sbnivar.h115 struct sbni_softc *slave_sc; member