Home
last modified time | relevance | path

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

/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1750 static int wx_set_vlvf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on, in wx_set_vlvf() argument
1774 if (vind < 32) { in wx_set_vlvf()
1776 bits |= (1 << vind); in wx_set_vlvf()
1780 bits |= (1 << (vind - 32)); in wx_set_vlvf()
1785 if (vind < 32) { in wx_set_vlvf()
1787 bits &= ~(1 << vind); in wx_set_vlvf()
1792 bits &= ~(1 << (vind - 32)); in wx_set_vlvf()
1818 static int wx_set_vfta(struct wx *wx, u32 vlan, u32 vind, bool vlan_on) in wx_set_vfta() argument
1854 ret = wx_set_vlvf(wx, vlan, vind, vlan_on, &vfta_changed); in wx_set_vfta()
/drivers/net/ethernet/intel/igb/
De1000_mac.h40 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, u32 vind,
De1000_mac.c174 s32 igb_vfta_set(struct e1000_hw *hw, u32 vlan, u32 vind, in igb_vfta_set() argument
181 if ((vlan > 4095) || (vind > 7)) in igb_vfta_set()
227 bits |= BIT(E1000_VLVF_POOLSEL_SHIFT + vind); in igb_vfta_set()
232 bits ^= BIT(E1000_VLVF_POOLSEL_SHIFT + vind); in igb_vfta_set()
/drivers/net/ethernet/intel/ixgbevf/
Dvf.c634 static s32 ixgbevf_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_set_vfta_vf() argument
668 static s32 ixgbevf_hv_set_vfta_vf(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbevf_hv_set_vfta_vf() argument
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c3118 s32 ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_generic() argument
3124 if ((vlan > 4095) || (vind > 63)) in ixgbe_set_vfta_generic()
3168 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic()
3171 bits |= BIT(vind % 32); in ixgbe_set_vfta_generic()
3176 bits ^= BIT(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()
Dixgbe_82598.c839 static s32 ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_82598() argument
860 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
Dixgbe_common.h71 u32 vind, bool vlan_on, bool vlvf_bypass);