Searched refs:ivar (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c947 u32 ivar, index; igbvf_assign_vector() local
956 ivar = array_er32(IVAR0, index); igbvf_assign_vector()
959 ivar = ivar & 0xFF00FFFF; igbvf_assign_vector()
960 ivar |= (msix_vector | E1000_IVAR_VALID) << 16; igbvf_assign_vector()
963 ivar = ivar & 0xFFFFFF00; igbvf_assign_vector()
964 ivar |= msix_vector | E1000_IVAR_VALID; igbvf_assign_vector()
967 array_ew32(IVAR0, index, ivar); igbvf_assign_vector()
971 ivar = array_er32(IVAR0, index); igbvf_assign_vector()
974 ivar = ivar & 0x00FFFFFF; igbvf_assign_vector()
975 ivar |= (msix_vector | E1000_IVAR_VALID) << 24; igbvf_assign_vector()
978 ivar = ivar & 0xFFFF00FF; igbvf_assign_vector()
979 ivar |= (msix_vector | E1000_IVAR_VALID) << 8; igbvf_assign_vector()
982 array_ew32(IVAR0, index, ivar); igbvf_assign_vector()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c175 u32 ivar, index; ixgbevf_set_ivar() local
181 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR_MISC); ixgbevf_set_ivar()
182 ivar &= ~0xFF; ixgbevf_set_ivar()
183 ivar |= msix_vector; ixgbevf_set_ivar()
184 IXGBE_WRITE_REG(hw, IXGBE_VTIVAR_MISC, ivar); ixgbevf_set_ivar()
189 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR(queue >> 1)); ixgbevf_set_ivar()
190 ivar &= ~(0xFF << index); ixgbevf_set_ivar()
191 ivar |= (msix_vector << index); ixgbevf_set_ivar()
192 IXGBE_WRITE_REG(hw, IXGBE_VTIVAR(queue >> 1), ivar); ixgbevf_set_ivar()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c839 u32 ivar, index; ixgbe_set_ivar() local
847 ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(index)); ixgbe_set_ivar()
848 ivar &= ~(0xFF << (8 * (queue & 0x3))); ixgbe_set_ivar()
849 ivar |= (msix_vector << (8 * (queue & 0x3))); ixgbe_set_ivar()
850 IXGBE_WRITE_REG(hw, IXGBE_IVAR(index), ivar); ixgbe_set_ivar()
860 ivar = IXGBE_READ_REG(&adapter->hw, IXGBE_IVAR_MISC); ixgbe_set_ivar()
861 ivar &= ~(0xFF << index); ixgbe_set_ivar()
862 ivar |= (msix_vector << index); ixgbe_set_ivar()
863 IXGBE_WRITE_REG(&adapter->hw, IXGBE_IVAR_MISC, ivar); ixgbe_set_ivar()
869 ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(queue >> 1)); ixgbe_set_ivar()
870 ivar &= ~(0xFF << index); ixgbe_set_ivar()
871 ivar |= (msix_vector << index); ixgbe_set_ivar()
872 IXGBE_WRITE_REG(hw, IXGBE_IVAR(queue >> 1), ivar); ixgbe_set_ivar()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c1993 u32 ctrl_ext, ivar = 0; e1000_configure_msix() local
2013 ivar = E1000_IVAR_INT_ALLOC_VALID | vector; e1000_configure_msix()
2024 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 8); e1000_configure_msix()
2028 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 16); e1000_configure_msix()
2036 ivar |= (1 << 31); e1000_configure_msix()
2038 ew32(IVAR, ivar); e1000_configure_msix()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_main.c767 * igb_write_ivar - configure ivar for given MSI-X vector
781 u32 ivar = array_rd32(E1000_IVAR0, index); igb_write_ivar() local
784 ivar &= ~((u32)0xFF << offset); igb_write_ivar()
787 ivar |= (msix_vector | E1000_IVAR_VALID) << offset; igb_write_ivar()
789 array_wr32(E1000_IVAR0, index, ivar); igb_write_ivar()

Completed in 347 milliseconds