Searched refs:sc_irq_res (Results 51 - 75 of 86) sorted by relevance

1234

/freebsd-12-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_bsc.c317 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
319 if (!sc->sc_irq_res) {
326 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
328 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
365 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intrhand);
366 if (sc->sc_irq_res)
367 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
H A Dbcm2835_sdhci.c152 struct resource * sc_irq_res; member in struct:bcm_sdhci_softc
293 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
295 if (!sc->sc_irq_res) {
301 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
367 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intrhand);
368 if (sc->sc_irq_res)
369 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
H A Dbcm2835_sdhost.c208 struct resource * sc_irq_res; member in struct:bcm_sdhost_softc
450 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
452 if (!sc->sc_irq_res) {
458 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
491 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intrhand);
492 if (sc->sc_irq_res)
493 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
/freebsd-12-stable/sys/arm/ti/
H A Dti_spi.c214 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
216 if (!sc->sc_irq_res) {
223 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
225 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
304 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intrhand);
305 if (sc->sc_irq_res)
306 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
H A Dti_adc.c829 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
831 if (!sc->sc_irq_res) {
837 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
839 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
936 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_intrhand);
937 if (sc->sc_irq_res)
938 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
H A Dti_pruss.c128 struct resource *sc_irq_res[TI_PRUSS_HOST_IRQS]; member in struct:ti_pruss_softc
552 if (bus_alloc_resources(dev, ti_pruss_irq_spec, sc->sc_irq_res) != 0) {
584 if (bus_setup_intr(dev, sc->sc_irq_res[i],
628 bus_teardown_intr(dev, sc->sc_irq_res[i], sc->sc_intr[i]);
629 if (sc->sc_irq_res[i])
631 rman_get_rid(sc->sc_irq_res[i]),
632 sc->sc_irq_res[i]);
H A Dti_sdma.c109 struct resource* sc_irq_res; member in struct:ti_sdma_softc
1221 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
1223 if (sc->sc_irq_res == NULL)
1226 err = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
H A Dti_gpio.c643 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ,
645 if (!sc->sc_irq_res) {
654 if (bus_setup_intr(dev, sc->sc_irq_res,
721 bus_teardown_intr(dev, sc->sc_irq_res,
724 if (sc->sc_irq_res)
726 sc->sc_irq_res);
/freebsd-12-stable/sys/dev/usb/controller/
H A Dsaf1761_otg.h136 struct resource *sc_irq_res; member in struct:saf1761_otg_softc
H A Ddwc_otg.h172 struct resource *sc_irq_res; member in struct:dwc_otg_softc
H A Datmegadci.h264 struct resource *sc_irq_res; member in struct:atmegadci_softc
H A Davr32dci.h232 struct resource *sc_irq_res; member in struct:avr32dci_softc
H A Dohci.h233 struct resource *sc_irq_res; member in struct:ohci_softc
H A Duhci.h225 struct resource *sc_irq_res; member in struct:uhci_softc
H A Dehci_imx.c328 bus_teardown_intr(dev, esc->sc_irq_res,
/freebsd-12-stable/sys/arm/arm/
H A Dpl310.c440 bus_setup_intr(sc->sc_dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
494 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
496 if (sc->sc_irq_res == NULL) {
558 if (sc->sc_irq_res != NULL) {
/freebsd-12-stable/sys/arm/include/
H A Dpl310.h147 struct resource *sc_irq_res; member in struct:pl310_softc
/freebsd-12-stable/sys/arm/nvidia/
H A Dtegra_xhci.c968 if (xsc->sc_irq_res && xsc->sc_intr_hdl) {
969 bus_teardown_intr(dev, xsc->sc_irq_res, xsc->sc_intr_hdl);
972 if (xsc->sc_irq_res) {
974 rman_get_rid(xsc->sc_irq_res), xsc->sc_irq_res);
975 xsc->sc_irq_res = NULL;
1048 xsc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
1050 if (xsc->sc_irq_res == NULL) {
1118 rv = bus_setup_intr(dev, xsc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE,
/freebsd-12-stable/sys/arm/rockchip/
H A Drk30xx_gpio.c79 struct resource * sc_irq_res; member in struct:rk30_gpio_softc
440 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
442 if (!sc->sc_irq_res) {
472 if (sc->sc_irq_res)
473 bus_release_resource(dev, SYS_RES_IRQ, 0, sc->sc_irq_res);
/freebsd-12-stable/sys/sparc64/pci/
H A Dpsycho.c652 sc->sc_irq_res[index] = bus_alloc_resource_any(sc->sc_dev,
654 if (sc->sc_irq_res[index] == NULL && intrmap >= PSR_POWER_INT_MAP) {
661 if (sc->sc_irq_res[index] == NULL ||
662 INTIGN(vec = rman_get_start(sc->sc_irq_res[index])) !=
666 bus_setup_intr(sc->sc_dev, sc->sc_irq_res[index],
/freebsd-12-stable/sys/arm/ti/am335x/
H A Dam335x_lcd.c203 struct resource *sc_irq_res; member in struct:am335x_lcd_softc
1002 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
1004 if (!sc->sc_irq_res) {
1010 if (bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
1014 sc->sc_irq_res);
/freebsd-12-stable/sys/dev/et/
H A Dif_etvar.h292 struct resource *sc_irq_res; member in struct:et_softc
H A Dif_et.c292 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ,
296 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ,
299 if (sc->sc_irq_res == NULL) {
354 error = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_NET | INTR_MPSAFE,
389 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_irq_handle);
390 if (sc->sc_irq_res != NULL)
392 rman_get_rid(sc->sc_irq_res), sc->sc_irq_res);
/freebsd-12-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c140 struct resource *sc_irq_res; member in struct:fsl_pcib_softc
368 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
370 if (sc->sc_irq_res == NULL) {
381 error = bus_setup_intr(dev, sc->sc_irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
/freebsd-12-stable/sys/arm/freescale/imx/
H A Dimx6_ipu.c372 struct resource *sc_irq_res; member in struct:ipu_softc
1193 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ,
1195 if (!sc->sc_irq_res) {
1207 sc->sc_irq_rid, sc->sc_irq_res);
1218 sc->sc_irq_rid, sc->sc_irq_res);

Completed in 381 milliseconds

1234