/dragonfly/sys/bus/u4b/controller/ |
H A D | xhci_pci.c | 260 sc->sc_irq_res = bus_alloc_resource_any( in xhci_pci_attach() 265 if (sc->sc_irq_res == NULL) { in xhci_pci_attach() 280 if (sc->sc_irq_res != NULL) { in xhci_pci_attach() 281 err = bus_setup_intr(self, sc->sc_irq_res, INTR_MPSAFE, in xhci_pci_attach() 286 rman_get_rid(sc->sc_irq_res), in xhci_pci_attach() 287 sc->sc_irq_res); in xhci_pci_attach() 288 sc->sc_irq_res = NULL; in xhci_pci_attach() 366 if (sc->sc_irq_res && sc->sc_intr_hdl) { in xhci_pci_detach() 370 if (sc->sc_irq_res) { in xhci_pci_detach() 372 rman_get_rid(sc->sc_irq_res), sc->sc_irq_res); in xhci_pci_detach() [all …]
|
H A D | uhci_pci.c | 284 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, in uhci_pci_attach() 286 if (sc->sc_irq_res == NULL) { in uhci_pci_attach() 331 err = bus_setup_intr(self, sc->sc_irq_res, INTR_MPSAFE, in uhci_pci_attach() 396 if (sc->sc_irq_res && sc->sc_intr_hdl) { in uhci_pci_detach() 397 int err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); in uhci_pci_detach() 406 if (sc->sc_irq_res) { in uhci_pci_detach() 407 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); in uhci_pci_detach() 408 sc->sc_irq_res = NULL; in uhci_pci_detach()
|
H A D | ohci_pci.c | 240 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, in ohci_pci_attach() 242 if (sc->sc_irq_res == NULL) { in ohci_pci_attach() 300 err = bus_setup_intr(self, sc->sc_irq_res, INTR_MPSAFE, in ohci_pci_attach() 338 if (sc->sc_irq_res && sc->sc_intr_hdl) { in ohci_pci_detach() 344 int err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); in ohci_pci_detach() 353 if (sc->sc_irq_res) { in ohci_pci_detach() 354 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); in ohci_pci_detach() 355 sc->sc_irq_res = NULL; in ohci_pci_detach()
|
H A D | ehci_pci.c | 327 sc->sc_irq_res = bus_alloc_resource_any(self, SYS_RES_IRQ, &rid, in ehci_pci_attach() 329 if (sc->sc_irq_res == NULL) { in ehci_pci_attach() 390 err = bus_setup_intr(self, sc->sc_irq_res, INTR_MPSAFE, in ehci_pci_attach() 482 if (sc->sc_irq_res && sc->sc_intr_hdl) { in ehci_pci_detach() 488 int err = bus_teardown_intr(self, sc->sc_irq_res, sc->sc_intr_hdl); in ehci_pci_detach() 496 if (sc->sc_irq_res) { in ehci_pci_detach() 497 bus_release_resource(self, SYS_RES_IRQ, 0, sc->sc_irq_res); in ehci_pci_detach() 498 sc->sc_irq_res = NULL; in ehci_pci_detach()
|
H A D | uhci.h | 223 struct resource *sc_irq_res; member
|
H A D | ohci.h | 231 struct resource *sc_irq_res; member
|
H A D | ehci.h | 324 struct resource *sc_irq_res; member
|
H A D | xhci.h | 469 struct resource *sc_irq_res; member
|
/dragonfly/sys/dev/netif/nfe/ |
H A D | if_nfevar.h | 88 struct resource *sc_irq_res; member
|
H A D | if_nfe.c | 526 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, in nfe_attach() 529 if (sc->sc_irq_res == NULL) { in nfe_attach() 639 ifq_set_cpuid(&ifp->if_snd, rman_get_cpuid(sc->sc_irq_res)); in nfe_attach() 646 error = bus_setup_intr(dev, sc->sc_irq_res, INTR_MPSAFE, nfe_intr, sc, in nfe_attach() 670 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_ih); in nfe_detach() 680 if (sc->sc_irq_res != NULL) { in nfe_detach() 682 sc->sc_irq_res); in nfe_detach() 892 ifq_set_cpuid(&ifp->if_snd, rman_get_cpuid(sc->sc_irq_res)); in nfe_npoll()
|
/dragonfly/sys/dev/netif/et/ |
H A D | if_etvar.h | 222 struct resource *sc_irq_res; member
|
H A D | if_et.c | 292 sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, in et_attach() 294 if (sc->sc_irq_res == NULL) { in et_attach() 361 ifq_set_cpuid(&ifp->if_snd, rman_get_cpuid(sc->sc_irq_res)); in et_attach() 363 error = bus_setup_intr(dev, sc->sc_irq_res, INTR_MPSAFE, et_intr, sc, in et_attach() 390 bus_teardown_intr(dev, sc->sc_irq_res, sc->sc_irq_handle); in et_detach() 403 if (sc->sc_irq_res != NULL) { in et_detach() 405 sc->sc_irq_res); in et_detach()
|