Lines Matching defs:sc
90 isapnp_map(struct isapnp_softc *sc)
94 if (sc->sc_iot != I386_BUS_SPACE_IO)
98 sc->sc_addr_ioh = ISAPNP_ADDR;
99 sc->sc_wrdata_ioh = ISAPNP_WRDATA;
107 isapnp_unmap(struct isapnp_softc *sc)
117 * NOTE: assumes the caller has filled in sc->sc_read_port!
120 isapnp_map_readport(struct isapnp_softc *sc)
127 if (sc->sc_iot != I386_BUS_SPACE_IO)
133 if ((error = bus_space_map(sc->sc_iot, sc->sc_read_port, 1, 0,
134 &sc->sc_read_ioh)) != 0)
142 bus_space_unmap(sc->sc_iot, sc->sc_read_ioh, 1);
151 isapnp_unmap_readport(struct isapnp_softc *sc)