Home
last modified time | relevance | path

Searched refs:ivar (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dnetdev.c929 u32 ivar, index; in igbvf_assign_vector() local
938 ivar = array_er32(IVAR0, index); in igbvf_assign_vector()
941 ivar = ivar & 0xFF00FFFF; in igbvf_assign_vector()
942 ivar |= (msix_vector | E1000_IVAR_VALID) << 16; in igbvf_assign_vector()
945 ivar = ivar & 0xFFFFFF00; in igbvf_assign_vector()
946 ivar |= msix_vector | E1000_IVAR_VALID; in igbvf_assign_vector()
949 array_ew32(IVAR0, index, ivar); in igbvf_assign_vector()
953 ivar = array_er32(IVAR0, index); in igbvf_assign_vector()
956 ivar = ivar & 0x00FFFFFF; in igbvf_assign_vector()
957 ivar |= (msix_vector | E1000_IVAR_VALID) << 24; in igbvf_assign_vector()
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c95 __u32 ivar __attribute__((unused)); in read_var() local
106 ivar = (__u32)glvar; in read_var()
117 __u32 ivar __attribute__((unused)); in test_workload() local
190 ivar = *((int *)(gstruct.a + 4)); in test_workload()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c169 u32 ivar, index; in ixgbevf_set_ivar() local
175 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR_MISC); in ixgbevf_set_ivar()
176 ivar &= ~0xFF; in ixgbevf_set_ivar()
177 ivar |= msix_vector; in ixgbevf_set_ivar()
178 IXGBE_WRITE_REG(hw, IXGBE_VTIVAR_MISC, ivar); in ixgbevf_set_ivar()
183 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR(queue >> 1)); in ixgbevf_set_ivar()
184 ivar &= ~(0xFF << index); in ixgbevf_set_ivar()
185 ivar |= (msix_vector << index); in ixgbevf_set_ivar()
186 IXGBE_WRITE_REG(hw, IXGBE_VTIVAR(queue >> 1), ivar); in ixgbevf_set_ivar()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c860 u32 ivar, index; in ixgbe_set_ivar() local
868 ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(index)); in ixgbe_set_ivar()
869 ivar &= ~(0xFF << (8 * (queue & 0x3))); in ixgbe_set_ivar()
870 ivar |= (msix_vector << (8 * (queue & 0x3))); in ixgbe_set_ivar()
871 IXGBE_WRITE_REG(hw, IXGBE_IVAR(index), ivar); in ixgbe_set_ivar()
882 ivar = IXGBE_READ_REG(&adapter->hw, IXGBE_IVAR_MISC); in ixgbe_set_ivar()
883 ivar &= ~(0xFF << index); in ixgbe_set_ivar()
884 ivar |= (msix_vector << index); in ixgbe_set_ivar()
885 IXGBE_WRITE_REG(&adapter->hw, IXGBE_IVAR_MISC, ivar); in ixgbe_set_ivar()
891 ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(queue >> 1)); in ixgbe_set_ivar()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dnetdev.c1981 u32 ctrl_ext, ivar = 0; in e1000_configure_msix() local
2001 ivar = E1000_IVAR_INT_ALLOC_VALID | vector; in e1000_configure_msix()
2012 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 8); in e1000_configure_msix()
2016 ivar |= ((E1000_IVAR_INT_ALLOC_VALID | vector) << 16); in e1000_configure_msix()
2024 ivar |= BIT(31); in e1000_configure_msix()
2026 ew32(IVAR, ivar); in e1000_configure_msix()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c3850 u32 ivar = array_rd32(IGC_IVAR0, index); in igc_write_ivar() local
3853 ivar &= ~((u32)0xFF << offset); in igc_write_ivar()
3856 ivar |= (msix_vector | IGC_IVAR_VALID) << offset; in igc_write_ivar()
3858 array_wr32(IGC_IVAR0, index, ivar); in igc_write_ivar()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c767 u32 ivar = array_rd32(E1000_IVAR0, index); in igb_write_ivar() local
770 ivar &= ~((u32)0xFF << offset); in igb_write_ivar()
773 ivar |= (msix_vector | E1000_IVAR_VALID) << offset; in igb_write_ivar()
775 array_wr32(E1000_IVAR0, index, ivar); in igb_write_ivar()