Lines Matching defs:lm_irq_res
82 struct resource * lm_irq_res;
207 sc->lm_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
209 if (!sc->lm_irq_res) {
215 if (bus_setup_intr(dev, sc->lm_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
219 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->lm_irq_res);
241 bus_teardown_intr(dev, sc->lm_irq_res, sc->lm_intrhand);
243 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->lm_irq_res);
297 bus_teardown_intr(dev, sc->lm_irq_res, sc->lm_intrhand);
298 if (sc->lm_irq_res)
299 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->lm_irq_res);