Home
last modified time | relevance | path

Searched refs:IXGBE_VLVFB (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3168 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3179 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic()
3189 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), 0); in ixgbe_set_vfta_generic()
3212 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), bits); in ixgbe_set_vfta_generic()
3238 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(offset * 2), 0); in ixgbe_clear_vfta_generic()
3239 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(offset * 2 + 1), 0); in ixgbe_clear_vfta_generic()
H A Dixgbe_sriov.c592 vlvfb = IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_clear_vf_vlans()
603 bits[~word % 2] = IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1)); in ixgbe_clear_vf_vlans()
634 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), vlvfb); in ixgbe_clear_vf_vlans()
H A Dixgbe_main.c4453 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_update_pf_promisc_vlvf()
4456 if (!bits && !IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1))) { in ixgbe_update_pf_promisc_vlvf()
4458 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), 0); in ixgbe_update_pf_promisc_vlvf()
4584 u32 reg_offset = IXGBE_VLVFB(i * 2 + VMDQ_P(0) / 32); in ixgbe_vlan_promisc_enable()
4627 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_scrub_vfta()
4628 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), bits); in ixgbe_scrub_vfta()
H A Dixgbe_type.h378 #define IXGBE_VLVFB(_i) (0x0F200 + ((_i) * 4)) /* 128 of these (0-127) */ macro