Searched refs:sc_intr (Results 1 - 14 of 14) sorted by path

/freebsd-11-stable/sys/arm/ti/
H A Dti_mbox.c76 void *sc_intr; member in struct:ti_mbox_softc
163 NULL, ti_mbox_intr, sc, &sc->sc_intr) != 0) {
208 if (sc->sc_intr)
209 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr);
H A Dti_pruss.c128 void *sc_intr[TI_PRUSS_HOST_IRQS]; member in struct:ti_pruss_softc
586 &sc->sc_intr[i]) != 0) {
626 if (sc->sc_intr[i])
627 bus_teardown_intr(dev, sc->sc_irq_res[i], sc->sc_intr[i]);
H A Dti_wdt.c73 void *sc_intr; member in struct:ti_wdt_softc
181 NULL, ti_wdt_intr, sc, &sc->sc_intr) != 0) {
211 if (sc->sc_intr)
212 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr);
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Davila_ata.c143 } sc_intr[1]; /* NB: 1/channel */ member in struct:ata_avila_softc
277 if (sc->sc_intr[0].cb != NULL)
278 sc->sc_intr[0].cb(sc->sc_intr[0].arg);
313 sc->sc_intr[unit].cb = function;
314 sc->sc_intr[unit].arg = argument;
327 sc->sc_intr[unit].cb = NULL;
328 sc->sc_intr[unit].arg = NULL;
/freebsd-11-stable/sys/dev/gxemul/ether/
H A Dif_gx.c69 struct resource *sc_intr; member in struct:gx_softc
149 sc->sc_intr = bus_alloc_resource(sc->sc_dev, SYS_RES_IRQ, &rid,
151 if (sc->sc_intr == NULL) {
156 error = bus_setup_intr(sc->sc_dev, sc->sc_intr, INTR_TYPE_NET, NULL,
160 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr);
164 bus_describe_intr(sc->sc_dev, sc->sc_intr, sc->sc_intr_cookie, "rx");
169 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr);
204 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr);
/freebsd-11-stable/sys/dev/iir/
H A Diir.c1493 gdt->sc_intr(gdt, &ctx);
H A Diir.h668 void (*sc_intr)(struct gdt_softc *, struct gdt_intr_ctx *); member in struct:gdt_softc
H A Diir_pci.c298 gdt->sc_intr = gdt_mpr_intr;
/freebsd-11-stable/sys/dev/mse/
H A Dmse.c130 sc->sc_intr = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
132 if (sc->sc_intr == NULL) {
138 if (bus_setup_intr(dev, sc->sc_intr, INTR_TYPE_TTY | INTR_MPSAFE,
141 bus_release_resource(dev, SYS_RES_IRQ, rid, sc->sc_intr);
178 bus_teardown_intr(dev, sc->sc_intr, sc->sc_ih);
179 bus_release_resource(dev, SYS_RES_IRQ, rid, sc->sc_intr);
H A Dmsevar.h56 struct resource *sc_intr; member in struct:mse_softc
/freebsd-11-stable/sys/i386/isa/
H A Dspic.c102 u_char sc_intr; member in struct:spic_softc
252 sc->sc_intr = (u_short)rman_get_start(sc->sc_intr_res);
254 switch (sc->sc_intr) {
/freebsd-11-stable/sys/mips/cavium/
H A Dif_octm.c73 struct resource *sc_intr; member in struct:octm_softc
196 sc->sc_intr = bus_alloc_resource(sc->sc_dev, SYS_RES_IRQ, &rid,
198 if (sc->sc_intr == NULL) {
203 error = bus_setup_intr(sc->sc_dev, sc->sc_intr, INTR_TYPE_NET, NULL,
207 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr);
211 bus_describe_intr(sc->sc_dev, sc->sc_intr, sc->sc_intr_cookie, "rx");
218 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr);
272 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_intr);
/freebsd-11-stable/sys/powerpc/include/
H A Dopenpicvar.h46 struct resource *sc_intr; member in struct:openpic_softc
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dopenpic.c119 sc->sc_intr = NULL;
129 sc->sc_intr = bus_alloc_resource_any(dev, SYS_RES_IRQ,
133 bus_setup_intr(dev, sc->sc_intr, INTR_TYPE_MISC | INTR_MPSAFE,
223 if (sc->sc_intr == NULL)

Completed in 181 milliseconds