Searched refs:sc_irq (Results 26 - 50 of 58) sorted by relevance

123

/freebsd-11-stable/sys/dev/asmc/
H A Dasmcvar.h47 struct resource *sc_irq; member in struct:asmc_softc
H A Dasmc.c640 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ,
642 if (sc->sc_irq == NULL) {
648 ret = bus_setup_intr(dev, sc->sc_irq,
664 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_rid_irq, sc->sc_irq);
685 bus_teardown_intr(dev, sc->sc_irq, sc->sc_cookie);
686 if (sc->sc_irq)
688 sc->sc_irq);
/freebsd-11-stable/sys/powerpc/powermac/
H A Dkiic.c105 struct resource *sc_irq; member in struct:kiic_softc
226 sc->sc_irq = bus_alloc_resource_any(self, SYS_RES_IRQ, &sc->sc_irqrid,
228 bus_setup_intr(self, sc->sc_irq, INTR_TYPE_MISC | INTR_MPSAFE, NULL,
H A Dpmu.c308 sc->sc_irq = bus_alloc_resource_any(extint, SYS_RES_IRQ, &sc->sc_irqrid,
310 if (sc->sc_irq == NULL) {
315 if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC | INTR_MPSAFE
319 sc->sc_irq);
527 bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih);
528 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqrid, sc->sc_irq);
/freebsd-11-stable/sys/dev/esp/
H A Desp_sbus.c100 void *sc_irq; member in struct:esp_softc
654 &esc->sc_irq)) {
675 bus_teardown_intr(esc->sc_dev, esc->sc_irqres, esc->sc_irq);
692 bus_teardown_intr(esc->sc_dev, esc->sc_irqres, esc->sc_irq);
/freebsd-11-stable/sys/dev/safe/
H A Dsafevar.h149 struct resource *sc_irq; member in struct:safe_softc
/freebsd-11-stable/sys/dev/si/
H A Dsi_eisa.c103 sc->sc_irq = rman_get_start(sc->sc_irq_res);
H A Dsi_pci.c100 sc->sc_irq = rman_get_start(sc->sc_irq_res);
H A Dsi_isa.c293 sc->sc_irq = rman_get_start(sc->sc_irq_res);
H A Dsi.c316 outb(sc->sc_iobase + 2, sc->sc_irq << 4);
364 outb(sc->sc_iobase + 2, (sc->sc_irq << 4) | 4);
380 switch (sc->sc_irq) {
404 switch (sc->sc_irq) {
/freebsd-11-stable/sys/dev/rc/
H A Drc.c104 struct resource *sc_irq; member in struct:rc_softc
261 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irqrid,
263 if (sc->sc_irq == NULL) {
307 error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_TTY, NULL, rc_intr,
336 error = bus_teardown_intr(dev, sc->sc_irq, sc->sc_hwicookie);
352 if (sc->sc_irq != NULL) {
354 sc->sc_irq);
355 sc->sc_irq = NULL;
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_pci.c89 struct resource *sc_irq; member in struct:ar71xx_pci_softc
412 if ((sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
418 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC,
H A Dar724x_pci.c85 struct resource *sc_irq; member in struct:ar71xx_pci_softc
393 if ((sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
399 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC,
H A Dqca955x_pci.c102 struct resource *sc_irq; member in struct:ar71xx_pci_softc
317 if ((sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
323 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC,
/freebsd-11-stable/sys/mips/malta/
H A Dgt_pci.c124 struct resource *sc_irq; member in struct:gt_pci_softc
402 if ((sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
409 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC,
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dopenpic.c118 sc->sc_irq = 0;
130 &sc->sc_irq, RF_ACTIVE);
/freebsd-11-stable/sys/mips/adm5120/
H A Dobio.c184 if ((sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
191 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC, obio_intr, NULL,
/freebsd-11-stable/sys/mips/alchemy/
H A Dobio.c185 if ((sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
192 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC, obio_intr, NULL,
/freebsd-11-stable/sys/mips/idt/
H A Dobio.c136 if ((sc->sc_irq[irq] = bus_alloc_resource(dev, SYS_RES_IRQ,
142 if ((bus_setup_intr(dev, sc->sc_irq[irq], INTR_TYPE_MISC,
/freebsd-11-stable/sys/dev/hifn/
H A Dhifn7751var.h140 struct resource *sc_irq; member in struct:hifn_softc
/freebsd-11-stable/sys/dev/ubsec/
H A Dubsecvar.h181 struct resource *sc_irq; member in struct:ubsec_softc
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwmvar.h446 struct resource *sc_irq; member in struct:iwm_softc
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dixp425_npe.c108 struct resource *sc_irq; /* IRQ resource */ member in struct:ixpnpe_softc
322 sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
324 if (sc->sc_irq == NULL)
328 bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_NET | INTR_MPSAFE,
351 bus_teardown_intr(sc->sc_dev, sc->sc_irq, sc->sc_ih);
/freebsd-11-stable/sys/mips/rt305x/
H A Dobio.c174 if ((sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid,
181 if ((bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC, obio_intr, NULL,
/freebsd-11-stable/sys/dev/ct/
H A Dct_isa.c152 bus_set_resource(dev, SYS_RES_IRQ, 0, bs->sc_irq, 1);

Completed in 203 milliseconds

123