Home
last modified time | relevance | path

Searched refs:sc_intr (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/mips/cavium/
H A Dif_octm.c75 struct resource *sc_intr; member
197 sc->sc_intr = bus_alloc_resource(sc->sc_dev, SYS_RES_IRQ, &rid, in octm_attach()
199 if (sc->sc_intr == NULL) { in octm_attach()
204 error = bus_setup_intr(sc->sc_dev, sc->sc_intr, INTR_TYPE_NET, NULL, in octm_attach()
208 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr); in octm_attach()
212 bus_describe_intr(sc->sc_dev, sc->sc_intr, sc->sc_intr_cookie, "rx"); in octm_attach()
219 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr); in octm_attach()
273 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr); in octm_detach()
/f-stack/freebsd/arm/ti/
H A Dti_mbox.c77 void *sc_intr; member
166 NULL, ti_mbox_intr, sc, &sc->sc_intr) != 0) { in ti_mbox_attach()
212 if (sc->sc_intr) in ti_mbox_detach()
213 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr); in ti_mbox_detach()
H A Dti_wdt.c72 void *sc_intr; member
181 NULL, ti_wdt_intr, sc, &sc->sc_intr) != 0) { in ti_wdt_attach()
211 if (sc->sc_intr) in ti_wdt_detach()
212 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr); in ti_wdt_detach()
H A Dti_pruss.c134 void *sc_intr[TI_PRUSS_HOST_IRQS]; member
672 &sc->sc_intr[i]) != 0) { in ti_pruss_attach()
715 if (sc->sc_intr[i]) in ti_pruss_detach()
716 bus_teardown_intr(dev, sc->sc_irq_res[i], sc->sc_intr[i]); in ti_pruss_detach()