Searched refs:PCI_INTR_TYPE_MSI (Results 1 - 25 of 25) sorted by relevance

/netbsd-current/sys/dev/pci/
H A Dnvme_pci.c449 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 Dif_eqos_pci.c177 counts[PCI_INTR_TYPE_MSI] = 1;
179 if (pci_intr_alloc(pa, &psc->sc_intrs, counts, PCI_INTR_TYPE_MSI) != 0)
H A Dciss_pci.c234 [PCI_INTR_TYPE_MSI] = 0,
245 counts[PCI_INTR_TYPE_MSI] = counts[PCI_INTR_TYPE_MSIX] = 1;
H A Dsiisata_pci.c225 [PCI_INTR_TYPE_MSI] = 1,
H A Dxhci_pci.c219 counts[PCI_INTR_TYPE_MSI] = 0;
H A Dpcivar.h410 PCI_INTR_TYPE_MSI, enumerator in enum:__anon32
H A Dahcisata_pci.c413 [PCI_INTR_TYPE_MSI] = 1,
H A Dismt.c744 == PCI_INTR_TYPE_MSI) ? "MSI" : "INTx");
748 if (pci_intr_type(pa->pa_pc, sc->sc_pihp[0]) == PCI_INTR_TYPE_MSI)
H A Dvirtio_pci.c1171 counts[PCI_INTR_TYPE_MSI] = 0;
H A Dif_wm.c2215 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 Dif_rge.c229 [PCI_INTR_TYPE_MSI] = 1,
242 case PCI_INTR_TYPE_MSI:
H A Dif_aq.c1829 error = aq_setup_legacy(sc, pa, PCI_INTR_TYPE_MSI);
2263 (inttype == PCI_INTR_TYPE_MSI) ? " MSI" : "");
H A Dif_bge.c3619 [PCI_INTR_TYPE_MSI] = 1,
3654 case PCI_INTR_TYPE_MSI:
H A Dif_ena.c1933 counts[PCI_INTR_TYPE_MSI] = 0;
H A Dif_bnx.c631 [PCI_INTR_TYPE_MSI] = 0,
H A Dif_mcx.c2909 counts[PCI_INTR_TYPE_MSI] = 0;
/netbsd-current/sys/arch/sandpoint/include/
H A Dpci_machdep.h62 PCI_INTR_TYPE_MSI, enumerator in enum:__anon16820
/netbsd-current/sys/arch/arm/pci/
H A Dpci_msi_machdep.c216 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 Dpci_machdep_common.h129 PCI_INTR_TYPE_MSI, enumerator in enum:__anon3
/netbsd-current/sys/arch/x86/pci/
H A Dpci_intr_machdep.c393 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 Dpq3pci.c1596 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 Dpci_machdep.h71 PCI_INTR_TYPE_MSI, enumerator in enum:__anon2
/netbsd-current/sys/arch/powerpc/include/
H A Dpci_machdep.h69 PCI_INTR_TYPE_MSI, enumerator in enum:__anon16783
/netbsd-current/sys/dev/pci/ixgbe/
H A Dixgbe.c6780 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 Dif_igc.c623 sc->sc_intr_type = PCI_INTR_TYPE_MSI;
951 case PCI_INTR_TYPE_MSI:

Completed in 646 milliseconds