/src/sys/arch/x86/pci/ |
pci_intr_machdep.c | 520 int intx_count, msi_count, msix_count; local in function:pci_intr_alloc 522 intx_count = msi_count = msix_count = 0; 524 msix_count = 1; 530 msix_count = counts[PCI_INTR_TYPE_MSIX]; 548 if (msix_count == -1) /* use hardware max */ 549 msix_count = pci_msix_count(pa->pa_pc, pa->pa_tag); 550 if (msix_count > 0) { 551 error = pci_msix_alloc_exact(pa, ihps, msix_count); 554 counts[PCI_INTR_TYPE_MSIX] = msix_count;
|
/src/sys/arch/arm/pci/ |
pci_msi_machdep.c | 205 int intx_count, msi_count, msix_count, error; local in function:pci_intr_alloc 210 intx_count = msi_count = msix_count = 0; 214 msix_count = counts[PCI_INTR_TYPE_MSIX]; 229 intx_count = msi_count = msix_count = 1; 232 if (msix_count == -1) 233 msix_count = pci_msix_count(pa->pa_pc, pa->pa_tag); 234 if (msix_count > 0 && (error = pci_msix_alloc_exact(pa, ihps, msix_count)) == 0) { 236 counts[PCI_INTR_TYPE_MSIX] = msix_count;
|
/src/sys/dev/pci/ixgbe/ |
ixgbe_common.c | 3702 u16 msix_count = 1; local in function:ixgbe_get_pcie_msix_count_generic 3720 return msix_count; 3724 msix_count = IXGBE_READ_PCIE_WORD(hw, pcie_offset); 3726 msix_count = 0; 3727 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; 3730 msix_count++; 3732 if (msix_count > max_msix_count) 3733 msix_count = max_msix_count; 3735 return msix_count;
|