Lines Matching refs:sc_ires
139 sc->sc_ires = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irid,
142 if (sc->sc_ires != NULL) {
143 error = bus_setup_intr(dev, sc->sc_ires,
146 error = bus_setup_intr(dev, sc->sc_ires,
155 sc->sc_ires);
156 sc->sc_ires = NULL;
160 if (sc->sc_ires == NULL)
189 rle->res = sc->sc_ires;
211 bus_teardown_intr(dev, sc->sc_ires, sc->sc_icookie);
212 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irid, sc->sc_ires);
373 bus_teardown_intr(dev, sc->sc_ires, sc->sc_icookie);
374 bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_TTY | INTR_MPSAFE,