/freebsd-11-stable/sys/mips/adm5120/ |
H A D | obiovar.h | 56 struct resource *sc_irq; /* IRQ resource */ member in struct:obio_softc
|
/freebsd-11-stable/sys/mips/idt/ |
H A D | obiovar.h | 59 struct resource *sc_irq[MIPS_IRQS]; /* IRQ resource */ member in struct:obio_softc
|
/freebsd-11-stable/sys/mips/rt305x/ |
H A D | obiovar.h | 48 struct resource *sc_irq; /* IRQ resource */ member in struct:obio_softc
|
/freebsd-11-stable/sys/dev/aic/ |
H A D | aic_pccard.c | 51 struct resource *sc_irq; member in struct:aic_pccard_softc 77 sc->sc_port = sc->sc_irq = NULL; 86 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE); 87 if (!sc->sc_irq) { 105 if (sc->sc_irq) 106 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq); 107 sc->sc_port = sc->sc_irq = NULL; 149 error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM | INTR_ENTROPY | 166 error = bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih);
|
H A D | aic_cbus.c | 49 struct resource *sc_irq; member in struct:aic_isa_softc 99 sc->sc_port = sc->sc_irq = sc->sc_drq = NULL; 113 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 115 if (!sc->sc_irq) { 145 if (sc->sc_irq) 146 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq); 149 sc->sc_port = sc->sc_irq = sc->sc_drq = NULL; 217 error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM | INTR_ENTROPY | 240 error = bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih);
|
H A D | aic_isa.c | 49 struct resource *sc_irq; member in struct:aic_isa_softc 76 sc->sc_port = sc->sc_irq = sc->sc_drq = NULL; 88 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 90 if (!sc->sc_irq) { 121 if (sc->sc_irq) 122 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq); 125 sc->sc_port = sc->sc_irq = sc->sc_drq = NULL; 194 error = bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_CAM | INTR_ENTROPY | 217 error = bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih);
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | pswitch.c | 48 struct resource *sc_irq; member in struct:pswitch_softc 117 sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->sc_irqrid, 119 if (sc->sc_irq == NULL) { 124 if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC, 128 sc->sc_irq);
|
H A D | cudavar.h | 80 struct resource *sc_irq; member in struct:cuda_softc
|
H A D | cuda.c | 162 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irqrid, 164 if (sc->sc_irq == NULL) { 169 if (bus_setup_intr(dev, sc->sc_irq, INTR_TYPE_MISC | INTR_MPSAFE 173 sc->sc_irq); 261 bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih); 262 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqrid, sc->sc_irq);
|
H A D | pmuvar.h | 156 struct resource *sc_irq; member in struct:pmu_softc
|
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | olpt.c | 161 u_char sc_irq ; /* IRQ status of port */ member in struct:lpt_softc 341 sc->sc_irq = 0; 359 sc->sc_irq = LP_HAS_IRQ | LP_USE_IRQ | LP_ENABLE_IRQ; 408 if (sc->sc_irq & LP_ENABLE_IRQ) 409 sc->sc_irq |= LP_USE_IRQ; 411 sc->sc_irq &= ~LP_USE_IRQ; 420 lprintf(("irq %x\n", sc->sc_irq)); 421 if (sc->sc_irq & LP_USE_IRQ) { 571 while ((sc->sc_xfercnt > 0)&&(sc->sc_irq & LP_USE_IRQ)) { 590 if(!(sc->sc_irq [all...] |
/freebsd-11-stable/sys/dev/mwl/ |
H A D | if_mwl_pci.c | 78 struct resource *sc_irq; /* irq resource */ member in struct:mwl_pci_softc 161 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 163 if (psc->sc_irq == NULL) { 167 if (bus_setup_intr(dev, psc->sc_irq, 207 bus_teardown_intr(dev, psc->sc_irq, psc->sc_ih); 209 bus_release_resource(dev, SYS_RES_IRQ, 0, psc->sc_irq); 230 bus_teardown_intr(dev, psc->sc_irq, psc->sc_ih); 231 bus_release_resource(dev, SYS_RES_IRQ, 0, psc->sc_irq);
|
/freebsd-11-stable/sys/dev/ct/ |
H A D | bshwvar.h | 58 int sc_irq; /* irq */ member in struct:bshw_softc
|
/freebsd-11-stable/sys/dev/ppbus/ |
H A D | lpt.c | 127 u_short sc_irq ; /* IRQ status of port */ member in struct:lpt_data 400 sc->sc_irq = LP_HAS_IRQ | LP_USE_IRQ | LP_ENABLE_IRQ; 403 sc->sc_irq = 0; 406 lprintf(("irq %x\n", sc->sc_irq)); 528 if (sc->sc_irq & LP_ENABLE_IRQ) 529 sc->sc_irq |= LP_USE_IRQ; 531 sc->sc_irq &= ~LP_USE_IRQ; 576 if (sc->sc_irq & LP_USE_IRQ) 586 lprintf(("irq %x\n", sc->sc_irq)); 587 if (sc->sc_irq [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_ahb.c | 79 struct resource *sc_irq; /* irq resource */ member in struct:ath_ahb_softc 216 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_SHAREABLE|RF_ACTIVE); 217 if (psc->sc_irq == NULL) { 221 if (bus_setup_intr(dev, psc->sc_irq, 277 bus_teardown_intr(dev, psc->sc_irq, psc->sc_ih); 279 bus_release_resource(dev, SYS_RES_IRQ, 0, psc->sc_irq); 303 bus_teardown_intr(dev, psc->sc_irq, psc->sc_ih); 304 bus_release_resource(dev, SYS_RES_IRQ, 0, psc->sc_irq);
|
H A D | if_ath_pci.c | 79 struct resource *sc_irq; /* irq resource */ member in struct:ath_pci_softc 292 psc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 294 if (psc->sc_irq == NULL) { 298 if (bus_setup_intr(dev, psc->sc_irq, 364 bus_teardown_intr(dev, psc->sc_irq, psc->sc_ih); 366 bus_release_resource(dev, SYS_RES_IRQ, 0, psc->sc_irq); 397 bus_teardown_intr(dev, psc->sc_irq, psc->sc_ih); 398 bus_release_resource(dev, SYS_RES_IRQ, 0, psc->sc_irq);
|
/freebsd-11-stable/sys/dev/puc/ |
H A D | puc_bfe.h | 57 struct rman sc_irq; member in struct:puc_softc
|
H A D | puc.c | 236 sc->sc_irq.rm_type = RMAN_ARRAY; 237 error = rman_init(&sc->sc_irq); 255 sc->sc_irq.rm_descr = strdup(buffer, M_PUC); 263 error = rman_manage_region(&sc->sc_irq, 1, sc->sc_nports); 307 port->p_ires = rman_reserve_resource(&sc->sc_irq, port->p_nr, 391 rman_fini(&sc->sc_irq); 392 free(__DECONST(void *, sc->sc_irq.rm_descr), M_PUC); 439 rman_fini(&sc->sc_irq); 440 free(__DECONST(void *, sc->sc_irq.rm_descr), M_PUC);
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | openpicvar.h | 51 int sc_irq; member in struct:openpic_softc
|
/freebsd-11-stable/sys/dev/si/ |
H A D | sivar.h | 51 int sc_irq; /* copy of attach irq */ member in struct:si_softc
|
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | ps3disk.c | 113 struct resource *sc_irq; member in struct:ps3disk_softc 196 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irqid, 198 if (!sc->sc_irq) { 204 err = bus_setup_intr(dev, sc->sc_irq, 277 bus_teardown_intr(dev, sc->sc_irq, sc->sc_irqctx); 279 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqid, sc->sc_irq); 298 bus_teardown_intr(dev, sc->sc_irq, sc->sc_irqctx); 299 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqid, sc->sc_irq);
|
H A D | ps3cdrom.c | 97 struct resource *sc_irq; member in struct:ps3cdrom_softc 174 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->sc_irqid, 176 if (!sc->sc_irq) { 182 err = bus_setup_intr(dev, sc->sc_irq, 298 bus_teardown_intr(dev, sc->sc_irq, sc->sc_irqctx); 302 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqid, sc->sc_irq); 327 bus_teardown_intr(dev, sc->sc_irq, sc->sc_irqctx); 328 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_irqid, sc->sc_irq);
|
H A D | if_glcreg.h | 77 struct resource *sc_irq; member in struct:glc_softc
|
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_dma.c | 146 struct resource * sc_irq[BCM_DMA_CH_MAX]; member in struct:bcm_dma_softc 686 sc->sc_irq[i] = NULL; 716 sc->sc_irq[rid] = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 718 if (sc->sc_irq[rid] == NULL) { 723 if (bus_setup_intr(dev, sc->sc_irq[rid], INTR_TYPE_MISC | INTR_MPSAFE, 747 bus_teardown_intr(dev, sc->sc_irq[i], sc->sc_intrhand[i]); 748 if (sc->sc_irq[i]) 749 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq[i]);
|
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | avila_ata.c | 138 struct resource *sc_irq; /* IRQ resource */ member in struct:ata_avila_softc 241 sc->sc_irq = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->sc_rid, 243 if (!sc->sc_irq) 245 bus_setup_intr(dev, sc->sc_irq, 266 bus_teardown_intr(dev, sc->sc_irq, sc->sc_ih); 267 bus_release_resource(dev, SYS_RES_IRQ, sc->sc_rid, sc->sc_irq); 292 return sc->sc_irq;
|