Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3180 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3191 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic()
3201 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), 0); in ixgbe_set_vfta_generic()
3224 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), bits); in ixgbe_set_vfta_generic()
3250 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(offset * 2), 0); in ixgbe_clear_vfta_generic()
3251 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(offset * 2 + 1), 0); in ixgbe_clear_vfta_generic()
H A Dixgbe_sriov.c591 vlvfb = IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_clear_vf_vlans()
602 bits[~word % 2] = IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1)); in ixgbe_clear_vf_vlans()
633 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), vlvfb); in ixgbe_clear_vf_vlans()
H A Dixgbe_main.c4463 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_update_pf_promisc_vlvf()
4466 if (!bits && !IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1))) { in ixgbe_update_pf_promisc_vlvf()
4468 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), 0); in ixgbe_update_pf_promisc_vlvf()
4594 u32 reg_offset = IXGBE_VLVFB(i * 2 + VMDQ_P(0) / 32); in ixgbe_vlan_promisc_enable()
4637 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_scrub_vfta()
4638 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