/netbsd-current/sys/dev/pci/ |
H A D | nvme_pci.c | 449 counts[PCI_INTR_TYPE_MSI] = pci_msi_count(pa->pa_pc, pa->pa_tag); 450 if (counts[PCI_INTR_TYPE_MSI] > 0) { 451 while (counts[PCI_INTR_TYPE_MSI] > ncpu + 1) { 452 if (counts[PCI_INTR_TYPE_MSI] / 2 <= ncpu + 1) 454 counts[PCI_INTR_TYPE_MSI] /= 2; 457 if (counts[PCI_INTR_TYPE_MSI] < 1) { 458 counts[PCI_INTR_TYPE_MSI] = 0; 460 if (counts[PCI_INTR_TYPE_MSI] > 2) 461 counts[PCI_INTR_TYPE_MSI] = 2; /* adminq + 1 ioq */ 476 if (intr_type == PCI_INTR_TYPE_MSI) { [all...] |
H A D | if_eqos_pci.c | 177 counts[PCI_INTR_TYPE_MSI] = 1; 179 if (pci_intr_alloc(pa, &psc->sc_intrs, counts, PCI_INTR_TYPE_MSI) != 0)
|
H A D | ciss_pci.c | 234 [PCI_INTR_TYPE_MSI] = 0, 245 counts[PCI_INTR_TYPE_MSI] = counts[PCI_INTR_TYPE_MSIX] = 1;
|
H A D | siisata_pci.c | 225 [PCI_INTR_TYPE_MSI] = 1,
|
H A D | xhci_pci.c | 219 counts[PCI_INTR_TYPE_MSI] = 0;
|
H A D | pcivar.h | 410 PCI_INTR_TYPE_MSI, enumerator in enum:__anon32
|
H A D | ahcisata_pci.c | 413 [PCI_INTR_TYPE_MSI] = 1,
|
H A D | ismt.c | 744 == PCI_INTR_TYPE_MSI) ? "MSI" : "INTx"); 748 if (pci_intr_type(pa->pa_pc, sc->sc_pihp[0]) == PCI_INTR_TYPE_MSI)
|
H A D | virtio_pci.c | 1171 counts[PCI_INTR_TYPE_MSI] = 0;
|
H A D | if_wm.c | 2215 max_type = PCI_INTR_TYPE_MSI; 2220 counts[PCI_INTR_TYPE_MSI] = 1; 2224 counts[PCI_INTR_TYPE_MSI] = 0; 2230 max_type = PCI_INTR_TYPE_MSI; 2247 max_type = PCI_INTR_TYPE_MSI; 2248 counts[PCI_INTR_TYPE_MSI] = 1; 2252 } else if (pci_intr_type(pc, sc->sc_intrs[0]) == PCI_INTR_TYPE_MSI) { 2257 counts[PCI_INTR_TYPE_MSI]); 6218 == PCI_INTR_TYPE_MSI) ? "MSI" : "INTx");
|
H A D | if_rge.c | 229 [PCI_INTR_TYPE_MSI] = 1, 242 case PCI_INTR_TYPE_MSI:
|
H A D | if_aq.c | 1829 error = aq_setup_legacy(sc, pa, PCI_INTR_TYPE_MSI); 2263 (inttype == PCI_INTR_TYPE_MSI) ? " MSI" : "");
|
H A D | if_bge.c | 3619 [PCI_INTR_TYPE_MSI] = 1, 3654 case PCI_INTR_TYPE_MSI:
|
H A D | if_ena.c | 1933 counts[PCI_INTR_TYPE_MSI] = 0;
|
H A D | if_bnx.c | 631 [PCI_INTR_TYPE_MSI] = 0,
|
H A D | if_mcx.c | 2909 counts[PCI_INTR_TYPE_MSI] = 0;
|
/netbsd-current/sys/arch/sandpoint/include/ |
H A D | pci_machdep.h | 62 PCI_INTR_TYPE_MSI, enumerator in enum:__anon16820
|
/netbsd-current/sys/arch/arm/pci/ |
H A D | pci_msi_machdep.c | 216 case PCI_INTR_TYPE_MSI: 217 msi_count = counts[PCI_INTR_TYPE_MSI]; 244 counts[PCI_INTR_TYPE_MSI] = msi_count; 281 return PCI_INTR_TYPE_MSI;
|
/netbsd-current/sys/arch/x86/include/ |
H A D | pci_machdep_common.h | 129 PCI_INTR_TYPE_MSI, enumerator in enum:__anon3
|
/netbsd-current/sys/arch/x86/pci/ |
H A D | pci_intr_machdep.c | 393 return PCI_INTR_TYPE_MSI; 491 * counts[PCI_INTR_TYPE_MSI] = 1; 499 * counts[PCI_INTR_TYPE_MSI] = 1; 505 * counts[PCI_INTR_TYPE_MSI] = 3; 507 * error = pci_intr_alloc(pa, ihps, counts, PCI_INTR_TYPE_MSI); 532 case PCI_INTR_TYPE_MSI: 533 msi_count = counts[PCI_INTR_TYPE_MSI]; 566 counts[PCI_INTR_TYPE_MSI] = msi_count;
|
/netbsd-current/sys/arch/powerpc/booke/pci/ |
H A D | pq3pci.c | 1596 return PCI_INTR_TYPE_MSI; 1611 cnt[PCI_INTR_TYPE_MSI] = 1; 1617 case PCI_INTR_TYPE_MSI: 1618 cnt[PCI_INTR_TYPE_MSI] = counts[PCI_INTR_TYPE_MSI]; 1646 if (cnt[PCI_INTR_TYPE_MSI] == -1) /* use hardware max */ 1647 cnt[PCI_INTR_TYPE_MSI] = pci_msi_count(pa->pa_pc, pa->pa_tag); 1648 if (cnt[PCI_INTR_TYPE_MSI] > 0) { 1649 error = pci_msi_alloc_exact(pa, ihps, cnt[PCI_INTR_TYPE_MSI]); 1652 counts[PCI_INTR_TYPE_MSI] [all...] |
/netbsd-current/sys/arch/arm/include/ |
H A D | pci_machdep.h | 71 PCI_INTR_TYPE_MSI, enumerator in enum:__anon2
|
/netbsd-current/sys/arch/powerpc/include/ |
H A D | pci_machdep.h | 69 PCI_INTR_TYPE_MSI, enumerator in enum:__anon16783
|
/netbsd-current/sys/dev/pci/ixgbe/ |
H A D | ixgbe.c | 6780 max_type = PCI_INTR_TYPE_MSI; 6782 counts[PCI_INTR_TYPE_MSI] = 6802 (intr_type == PCI_INTR_TYPE_MSI) ? "MSI" : "INTx"); 6806 case PCI_INTR_TYPE_MSI:
|
/netbsd-current/sys/dev/pci/igc/ |
H A D | if_igc.c | 623 sc->sc_intr_type = PCI_INTR_TYPE_MSI; 951 case PCI_INTR_TYPE_MSI:
|