Lines Matching refs:irq_res
121 struct resource *irq_res;
230 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
232 if (sc->irq_res == NULL) {
254 rv = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
270 bus_teardown_intr(dev, sc->irq_res, sc->irq_h);
271 if (sc->irq_res != NULL)
272 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->irq_res);
287 bus_teardown_intr(dev, sc->irq_res, sc->irq_h);
288 if (sc->irq_res != NULL)
289 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->irq_res);