Searched refs:msix_count (Results 1 – 2 of 2) sorted by relevance
133 u16 msix_count; in fm10k_get_pcie_msix_count_generic() local138 msix_count = FM10K_READ_PCI_WORD(hw, FM10K_PCI_MSIX_MSG_CTRL); in fm10k_get_pcie_msix_count_generic()139 msix_count &= FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK; in fm10k_get_pcie_msix_count_generic()142 msix_count++; in fm10k_get_pcie_msix_count_generic()144 if (msix_count > FM10K_MAX_MSIX_VECTORS) in fm10k_get_pcie_msix_count_generic()145 msix_count = FM10K_MAX_MSIX_VECTORS; in fm10k_get_pcie_msix_count_generic()147 return msix_count; in fm10k_get_pcie_msix_count_generic()
3638 u16 msix_count = 1; in ixgbe_get_pcie_msix_count_generic() local3656 return msix_count; in ixgbe_get_pcie_msix_count_generic()3660 msix_count = IXGBE_READ_PCIE_WORD(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()3662 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()3663 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()3666 msix_count++; in ixgbe_get_pcie_msix_count_generic()3668 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()3669 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()3671 return msix_count; in ixgbe_get_pcie_msix_count_generic()