| /netbsd/src/sys/dev/pci/ |
| D | xhci_pci.c | 66 pci_intr_handle_t *sc_pihp; member 226 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) { in xhci_pci_attach() 230 intrstr = pci_intr_string(pc, psc->sc_pihp[0], intrbuf, in xhci_pci_attach() 232 pci_intr_setattr(pc, &psc->sc_pihp[0], PCI_INTR_MPSAFE, true); in xhci_pci_attach() 233 psc->sc_ih = pci_intr_establish_xname(pc, psc->sc_pihp[0], IPL_USB, in xhci_pci_attach() 236 pci_intr_release(pc, psc->sc_pihp, 1); in xhci_pci_attach() 237 psc->sc_pihp = NULL; in xhci_pci_attach() 306 if (psc->sc_pihp != NULL) { in xhci_pci_attach() 307 pci_intr_release(psc->sc_pc, psc->sc_pihp, 1); in xhci_pci_attach() 308 psc->sc_pihp = NULL; in xhci_pci_attach() [all …]
|
| D | siisata_pci.c | 69 pci_intr_handle_t *sc_pihp; member 235 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, max_type) != 0) { in siisata_pci_attach() 241 intrstr = pci_intr_string(pa->pa_pc, psc->sc_pihp[0], intrbuf, in siisata_pci_attach() 243 psc->sc_ih = pci_intr_establish_xname(pa->pa_pc, psc->sc_pihp[0], in siisata_pci_attach() 246 pci_intr_release(psc->sc_pc, psc->sc_pihp, 1); in siisata_pci_attach() 247 psc->sc_pihp = NULL; in siisata_pci_attach() 322 if (psc->sc_pihp != NULL) { in siisata_pci_detach() 323 pci_intr_release(psc->sc_pc, psc->sc_pihp, 1); in siisata_pci_detach() 324 psc->sc_pihp = NULL; in siisata_pci_detach()
|
| D | ahcisata_pci.c | 215 pci_intr_handle_t *sc_pihp; member 308 KASSERT(psc->sc_pihp != NULL); in ahci_pci_intr_establish() 367 intrstr = pci_intr_string(psc->sc_pc, psc->sc_pihp[vec], intrbuf, in ahci_pci_intr_establish() 370 psc->sc_pihp[vec], IPL_BIO, intr_handler, intr_arg, intr_xname); in ahci_pci_intr_establish() 418 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) { in ahci_pci_attach() 423 psc->sc_nintr = counts[pci_intr_type(pa->pa_pc, psc->sc_pihp[0])]; in ahci_pci_attach() 460 if (psc->sc_pihp != NULL) { in ahci_pci_attach() 461 pci_intr_release(psc->sc_pc, psc->sc_pihp, psc->sc_nintr); in ahci_pci_attach() 462 psc->sc_pihp = NULL; in ahci_pci_attach() 510 if (psc->sc_pihp != NULL) { in ahci_pci_detach() [all …]
|
| D | if_re_pci.c | 78 pci_intr_handle_t *sc_pihp; member 291 if (pci_intr_alloc(pa, &psc->sc_pihp, NULL, 0)) { in re_pci_attach() 295 intrstr = pci_intr_string(pc, psc->sc_pihp[0], intrbuf, in re_pci_attach() 297 psc->sc_ih = pci_intr_establish_xname(pc, psc->sc_pihp[0], IPL_NET, in re_pci_attach() 345 if (psc->sc_pihp != NULL) { in re_pci_detach() 346 pci_intr_release(psc->sc_pc, psc->sc_pihp, 1); in re_pci_detach() 347 psc->sc_pihp = NULL; in re_pci_detach()
|
| D | rtsx_pci.c | 46 pci_intr_handle_t *sc_pihp; member 154 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0)) { in rtsx_pci_attach() 158 intrstr = pci_intr_string(pc, sc->sc_pihp[0], intrbuf, sizeof(intrbuf)); in rtsx_pci_attach() 159 sc->sc_ih = pci_intr_establish_xname(pc, sc->sc_pihp[0], IPL_SDMMC, in rtsx_pci_attach() 196 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in rtsx_pci_detach()
|
| D | hdaudio_pci.c | 61 pci_intr_handle_t *sc_pihp; member 166 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0)) { in hdaudio_pci_attach() 170 intrstr = pci_intr_string(pa->pa_pc, sc->sc_pihp[0], intrbuf, in hdaudio_pci_attach() 172 sc->sc_ih = pci_intr_establish_xname(pa->pa_pc, sc->sc_pihp[0], in hdaudio_pci_attach() 188 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in hdaudio_pci_attach() 236 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in hdaudio_pci_detach()
|
| D | ehci_pci.c | 84 pci_intr_handle_t *sc_pihp; member 192 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0) != 0) { in ehci_pci_attach() 200 intrstr = pci_intr_string(pc, sc->sc_pihp[0], intrbuf, sizeof(intrbuf)); in ehci_pci_attach() 201 pci_intr_setattr(pc, &sc->sc_pihp[0], PCI_INTR_MPSAFE, true); in ehci_pci_attach() 202 sc->sc_ih = pci_intr_establish_xname(pc, sc->sc_pihp[0], IPL_USB, in ehci_pci_attach() 293 if (sc->sc_pihp != NULL) { in ehci_pci_release_resources() 294 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in ehci_pci_release_resources() 295 sc->sc_pihp = NULL; in ehci_pci_release_resources()
|
| D | ichsmb.c | 65 pci_intr_handle_t *sc_pihp; member 225 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0) == 0) { in ichsmb_attach() 226 intrstr = pci_intr_string(pa->pa_pc, sc->sc_pihp[0], in ichsmb_attach() 228 pci_intr_setattr(pa->pa_pc, &sc->sc_pihp[0], in ichsmb_attach() 231 sc->sc_pihp[0], IPL_BIO, ichsmb_intr, sc, in ichsmb_attach() 238 pci_intr_release(pa->pa_pc, sc->sc_pihp, 1); in ichsmb_attach() 239 sc->sc_pihp = NULL; in ichsmb_attach() 495 if (sc->sc_pihp) { in ichsmb_detach() 496 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in ichsmb_detach() 497 sc->sc_pihp = NULL; in ichsmb_detach()
|
| D | ismt.c | 191 pci_intr_handle_t *sc_pihp; member 638 if (sc->sc_pihp != NULL) { in ismt_detach() 639 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in ismt_detach() 640 sc->sc_pihp = NULL; in ismt_detach() 733 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0)) { in ismt_attach() 737 intrstr = pci_intr_string(pa->pa_pc, sc->sc_pihp[0], intrbuf, in ismt_attach() 739 sc->sc_ih = pci_intr_establish_xname(pa->pa_pc, sc->sc_pihp[0], in ismt_attach() 743 (pci_intr_type(pa->pa_pc, sc->sc_pihp[0]) in ismt_attach() 748 if (pci_intr_type(pa->pa_pc, sc->sc_pihp[0]) == PCI_INTR_TYPE_MSI) in ismt_attach()
|
| D | ppb.c | 271 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0) == 0) in ppbattach() 273 sc->sc_pihp[0], IPL_BIO, ppb_intr, sc, in ppbattach() 282 intrstr = pci_intr_string(pc, sc->sc_pihp[0], intrbuf, in ppbattach() 479 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in ppbdetach()
|
| D | ppbvar.h | 51 pci_intr_handle_t *sc_pihp; member
|
| D | if_wpivar.h | 154 pci_intr_handle_t *sc_pihp; member
|
| D | if_rtwnreg.h | 158 pci_intr_handle_t *sc_pihp; member
|
| D | if_bwfm_pci.c | 130 pci_intr_handle_t *sc_pihp; member 442 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0) != 0) { in bwfm_pci_attach() 446 intrstr = pci_intr_string(pa->pa_pc, sc->sc_pihp[0], intrbuf, sizeof(intrbuf)); in bwfm_pci_attach() 448 sc->sc_ih = pci_intr_establish_xname(pa->pa_pc, sc->sc_pihp[0], IPL_NET, in bwfm_pci_attach() 761 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in bwfm_pci_attachhook() 856 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in bwfm_pci_detach()
|
| D | if_iwmvar.h | 378 pci_intr_handle_t *sc_pihp; member
|
| D | if_iwnvar.h | 268 pci_intr_handle_t *sc_pihp; member
|
| D | if_wpi.c | 269 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0)) { in wpi_attach() 274 intrstr = pci_intr_string(sc->sc_pct, sc->sc_pihp[0], intrbuf, in wpi_attach() 276 sc->sc_ih = pci_intr_establish_xname(sc->sc_pct, sc->sc_pihp[0], in wpi_attach() 428 failia: pci_intr_release(sc->sc_pct, sc->sc_pihp, 1); in wpi_attach() 429 sc->sc_pihp = NULL; in wpi_attach() 461 if (sc->sc_pihp != NULL) { in wpi_detach() 462 pci_intr_release(sc->sc_pct, sc->sc_pihp, 1); in wpi_detach() 463 sc->sc_pihp = NULL; in wpi_detach()
|
| D | mpii.c | 171 pci_intr_handle_t *sc_pihp; member 509 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0)) { in mpii_attach() 513 intrstr = pci_intr_string(pa->pa_pc, sc->sc_pihp[0], in mpii_attach() 515 pci_intr_setattr(pa->pa_pc, &sc->sc_pihp[0], PCI_INTR_MPSAFE, true); in mpii_attach() 516 sc->sc_ih = pci_intr_establish_xname(pa->pa_pc, sc->sc_pihp[0], IPL_BIO, in mpii_attach()
|
| D | if_iwn.c | 481 error = pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0); in iwn_attach() 487 if (pci_intr_type(sc->sc_pct, sc->sc_pihp[0]) == PCI_INTR_TYPE_INTX) in iwn_attach() 492 intrstr = pci_intr_string(sc->sc_pct, sc->sc_pihp[0], intrbuf, in iwn_attach() 494 sc->sc_ih = pci_intr_establish_xname(sc->sc_pct, sc->sc_pihp[0], in iwn_attach() 730 failia: pci_intr_release(sc->sc_pct, sc->sc_pihp, 1); in iwn_attach() 731 sc->sc_pihp = NULL; in iwn_attach() 932 if (sc->sc_pihp != NULL) in iwn_detach() 933 pci_intr_release(sc->sc_pct, sc->sc_pihp, 1); in iwn_detach()
|
| D | if_rtwn.c | 251 if (pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0)) { in rtwn_attach() 255 intrstr = pci_intr_string(sc->sc_pc, sc->sc_pihp[0], intrbuf, in rtwn_attach() 257 sc->sc_ih = pci_intr_establish_xname(sc->sc_pc, sc->sc_pihp[0], IPL_NET, in rtwn_attach() 437 pci_intr_release(sc->sc_pc, sc->sc_pihp, 1); in rtwn_detach()
|
| D | if_iwm.c | 7815 err = pci_intr_alloc(pa, &sc->sc_pihp, NULL, 0); in iwm_attach() 7821 if (pci_intr_type(sc->sc_pct, sc->sc_pihp[0]) == PCI_INTR_TYPE_INTX) in iwm_attach() 7826 intrstr = pci_intr_string(sc->sc_pct, sc->sc_pihp[0], intrbuf, in iwm_attach() 7828 sc->sc_ih = pci_intr_establish_xname(sc->sc_pct, sc->sc_pihp[0], in iwm_attach()
|