Lines Matching refs:irq_res
101 struct resource *irq_res;
213 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
215 if (sc->irq_res == NULL) {
240 rv = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
260 bus_teardown_intr(dev, sc->irq_res, sc->irq_h);
261 if (sc->irq_res != NULL)
262 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->irq_res);
277 bus_teardown_intr(dev, sc->irq_res, sc->irq_h);
278 if (sc->irq_res != NULL)
279 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->irq_res);