Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3181 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3192 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic()
3202 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), 0); in ixgbe_set_vfta_generic()
3225 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), bits); in ixgbe_set_vfta_generic()
3251 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(offset * 2), 0); in ixgbe_clear_vfta_generic()
3252 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(offset * 2 + 1), 0); in ixgbe_clear_vfta_generic()
Dixgbe_sriov.c590 vlvfb = IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_clear_vf_vlans()
601 bits[~word % 2] = IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1)); in ixgbe_clear_vf_vlans()
632 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), vlvfb); in ixgbe_clear_vf_vlans()
Dixgbe_main.c4472 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_update_pf_promisc_vlvf()
4475 if (!bits && !IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1))) { in ixgbe_update_pf_promisc_vlvf()
4477 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), 0); in ixgbe_update_pf_promisc_vlvf()
4603 u32 reg_offset = IXGBE_VLVFB(i * 2 + VMDQ_P(0) / 32); in ixgbe_vlan_promisc_enable()
4646 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_scrub_vfta()
4647 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), bits); in ixgbe_scrub_vfta()
Dixgbe_type.h378 #define IXGBE_VLVFB(_i) (0x0F200 + ((_i) * 4)) /* 128 of these (0-127) */ macro