Lines Matching refs:sc_ires
141 sc->sc_ires = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irid,
144 if (sc->sc_ires != NULL) {
145 error = bus_setup_intr(dev, sc->sc_ires,
148 error = bus_setup_intr(dev, sc->sc_ires,
157 sc->sc_ires);
158 sc->sc_ires = NULL;
162 if (sc->sc_ires == NULL)
191 rle->res = sc->sc_ires;
213 bus_teardown_intr(dev, sc->sc_ires, sc->sc_icookie);
214 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irid, sc->sc_ires);
375 bus_teardown_intr(dev, sc->sc_ires, sc->sc_icookie);
376 bus_setup_intr(dev, sc->sc_ires, INTR_TYPE_TTY | INTR_MPSAFE,