/freebsd-12-stable/sys/arm/ti/ |
H A D | ti_gpio.h | 64 struct resource *sc_irq_res; member in struct:ti_gpio_softc
|
H A D | ti_mbox.c | 76 struct resource *sc_irq_res; member in struct:ti_mbox_softc 156 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 158 if (sc->sc_irq_res == NULL) { 163 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_MPSAFE | INTR_TYPE_MISC, 210 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr); 211 if (sc->sc_irq_res) 212 bus_release_resource(dev, SYS_RES_IRQ, rman_get_rid(sc->sc_irq_res), 213 sc->sc_irq_res);
|
H A D | ti_wdt.c | 71 struct resource *sc_irq_res; member in struct:ti_wdt_softc 173 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE); 174 if (sc->sc_irq_res == NULL) { 179 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_MPSAFE | INTR_TYPE_MISC, 211 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr); 212 if (sc->sc_irq_res) 214 rman_get_rid(sc->sc_irq_res), sc->sc_irq_res);
|
/freebsd-12-stable/sys/dev/usb/controller/ |
H A D | generic_ehci.c | 99 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 101 if (sc->sc_irq_res == NULL) { 114 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 146 if (sc->sc_irq_res && sc->sc_intr_hdl) { 152 err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 161 if (sc->sc_irq_res) { 162 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 163 sc->sc_irq_res = NULL;
|
H A D | saf1761_otg_fdt.c | 197 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 199 if (sc->sc_irq_res == NULL) { 202 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 204 if (sc->sc_irq_res == NULL) 214 err = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_TTY | INTR_MPSAFE, 246 if (sc->sc_irq_res && sc->sc_intr_hdl) { 252 err = bus_teardown_intr(dev, sc->sc_irq_res, 256 if (sc->sc_irq_res) { 258 sc->sc_irq_res); 259 sc->sc_irq_res [all...] |
H A D | generic_xhci.c | 128 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 130 if (sc->sc_irq_res == NULL) { 155 err = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 197 if (sc->sc_irq_res != NULL && sc->sc_intr_hdl != NULL) { 198 err = bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr_hdl); 205 if (sc->sc_irq_res != NULL) { 207 rman_get_rid(sc->sc_irq_res), sc->sc_irq_res); 208 sc->sc_irq_res = NULL;
|
H A D | dwc_otg_fdt.c | 157 sc->sc_otg.sc_irq_res = 159 if (sc->sc_otg.sc_irq_res == NULL) 168 err = bus_setup_intr(dev, sc->sc_otg.sc_irq_res, INTR_TYPE_TTY | INTR_MPSAFE, 197 if (sc->sc_otg.sc_irq_res && sc->sc_otg.sc_intr_hdl) { 203 bus_teardown_intr(dev, sc->sc_otg.sc_irq_res, 208 if (sc->sc_otg.sc_irq_res) { 210 sc->sc_otg.sc_irq_res); 211 sc->sc_otg.sc_irq_res = NULL;
|
H A D | ohci_s3c24x0.c | 112 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 114 if (!(sc->sc_irq_res)) { 125 err = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 170 if (sc->sc_irq_res && sc->sc_intr_hdl) { 176 err = bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intr_hdl); 179 if (sc->sc_irq_res) { 180 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res); 181 sc->sc_irq_res = NULL;
|
H A D | xhci_pci.c | 321 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 323 if (sc->sc_irq_res == NULL) { 337 if (sc->sc_irq_res != NULL) { 338 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 342 rman_get_rid(sc->sc_irq_res), sc->sc_irq_res); 343 sc->sc_irq_res = NULL; 349 if (sc->sc_irq_res == NULL || sc->sc_intr_hdl == NULL) { 394 if (sc->sc_irq_res && sc->sc_intr_hdl) { 395 bus_teardown_intr(self, sc->sc_irq_res, s [all...] |
H A D | ohci_pci.c | 250 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 252 if (sc->sc_irq_res == NULL) { 314 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 317 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 350 if (sc->sc_irq_res && sc->sc_intr_hdl) { 356 int err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 365 if (sc->sc_irq_res) { 366 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 367 sc->sc_irq_res = NULL;
|
H A D | uhci_pci.c | 302 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 304 if (sc->sc_irq_res == NULL) { 353 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 356 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 416 if (sc->sc_irq_res && sc->sc_intr_hdl) { 417 int err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 426 if (sc->sc_irq_res) { 427 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 428 sc->sc_irq_res = NULL;
|
H A D | ehci_fsl.c | 286 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 288 if (sc->sc_irq_res == NULL) { 299 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 397 if (sc->sc_irq_res && sc->sc_intr_hdl) { 398 err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 415 if (sc->sc_irq_res) { 416 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 417 sc->sc_irq_res = NULL;
|
/freebsd-12-stable/sys/sparc64/pci/ |
H A D | psychovar.h | 53 struct resource *sc_irq_res[PSYCHO_NINTR]; member in struct:psycho_softc
|
H A D | firevar.h | 50 struct resource *sc_irq_res[FIRE_NINTR]; member in struct:fire_softc
|
H A D | schizovar.h | 59 struct resource *sc_irq_res[STX_NINTR]; member in struct:schizo_softc
|
/freebsd-12-stable/sys/mips/cavium/usb/ |
H A D | octusb_octeon.c | 120 sc->sc_dci.sc_irq_res[i] = 123 if (!(sc->sc_dci.sc_irq_res[i])) { 128 err = bus_setup_intr(dev, sc->sc_dci.sc_irq_res[i], INTR_TYPE_BIO | INTR_MPSAFE, 131 err = bus_setup_intr(dev, sc->sc_dci.sc_irq_res[i], INTR_TYPE_BIO | INTR_MPSAFE, 172 if (sc->sc_dci.sc_irq_res[0] && sc->sc_dci.sc_intr_hdl[0]) 182 if (sc->sc_dci.sc_irq_res[i] && sc->sc_dci.sc_intr_hdl[i]) { 183 err = bus_teardown_intr(dev, sc->sc_dci.sc_irq_res[i], 187 if (sc->sc_dci.sc_irq_res[i]) { 189 sc->sc_dci.sc_irq_res[i]); 190 sc->sc_dci.sc_irq_res[ [all...] |
/freebsd-12-stable/sys/dev/bhnd/cores/usb/ |
H A D | bhnd_ehci.c | 147 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 150 if (sc->sc_irq_res == NULL) { 166 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 212 if (sc->sc_irq_res && sc->sc_intr_hdl) { 218 err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 226 if (sc->sc_irq_res) { 227 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 228 sc->sc_irq_res = NULL;
|
H A D | bhnd_ohci.c | 126 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 128 if (sc->sc_irq_res == NULL) { 141 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 174 if (sc->sc_irq_res && sc->sc_intr_hdl) { 180 int err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 189 if (sc->sc_irq_res) { 190 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 191 sc->sc_irq_res = NULL;
|
/freebsd-12-stable/sys/mips/atheros/ |
H A D | ar71xx_ehci.c | 150 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 152 if (sc->sc_irq_res == NULL) { 166 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 241 if (sc->sc_irq_res && sc->sc_intr_hdl) { 247 err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 256 if (sc->sc_irq_res) { 257 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); 258 sc->sc_irq_res = NULL;
|
H A D | ar71xx_ohci.c | 116 sc->sc_ohci.sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 118 if (sc->sc_ohci.sc_irq_res == NULL) { 129 err = bus_setup_intr(dev, sc->sc_ohci.sc_irq_res, 178 bus_teardown_intr(dev, sc->sc_ohci.sc_irq_res, sc->sc_ohci.sc_intr_hdl); 182 if (sc->sc_ohci.sc_irq_res && sc->sc_ohci.sc_intr_hdl) { 188 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_ohci.sc_irq_res); 189 sc->sc_ohci.sc_irq_res = NULL;
|
/freebsd-12-stable/sys/mips/mediatek/ |
H A D | mtk_dotg.c | 121 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, 123 if (!(sc->sc_irq_res)) { 135 err = bus_setup_intr(dev, sc->sc_irq_res, 169 if (sc->sc_irq_res && sc->sc_intr_hdl) { 175 err = bus_teardown_intr(dev, sc->sc_irq_res, 179 if (sc->sc_irq_res) { 181 sc->sc_irq_res); 182 sc->sc_irq_res = NULL;
|
H A D | mtk_ehci.c | 121 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 123 if (sc->sc_irq_res == NULL) { 138 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 170 if (sc->sc_irq_res && sc->sc_intr_hdl) { 176 err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 182 if (sc->sc_irq_res) { 184 sc->sc_irq_res); 185 sc->sc_irq_res = NULL;
|
H A D | mtk_ohci.c | 121 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, 123 if (sc->sc_irq_res == NULL) { 138 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, 170 if (sc->sc_irq_res && sc->sc_intr_hdl) { 176 err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); 182 if (sc->sc_irq_res) { 184 sc->sc_irq_res); 185 sc->sc_irq_res = NULL;
|
/freebsd-12-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_bscvar.h | 42 struct resource * sc_irq_res; member in struct:bcm_bsc_softc
|
H A D | bcm2835_spivar.h | 39 struct resource * sc_irq_res; member in struct:bcm_spi_softc
|