Home
last modified time | relevance | path

Searched refs:sc_port_units (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/arch/dreamcast/dev/maple/
H A Dmaple.c543 un = sc->sc_port_units[port] & ~units; in maple_check_subunit_change()
554 un = units & ~sc->sc_port_units[port]; in maple_check_subunit_change()
725 sc->sc_port_units[u->port] |= 1 << u->subunit; in maple_attach_unit()
744 sc->sc_port_units[port] &= ~(1 << u->subunit); in maple_detach_unit_nofix()
1635 if (!(sc->sc_port_units[MAPLEPORT(dev)] & (1 << MAPLESUBUNIT(dev)))) in mapleopen()
1661 if (!(sc->sc_port_units[u->port] & (1 << u->subunit))) in maple_unit_ioctl()
H A Dmaplevar.h175 int sc_port_units[MAPLE_PORTS]; member