Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c2037 static int wx_set_vlvf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on, in wx_set_vlvf() argument
2061 if (vind < 32) { in wx_set_vlvf()
2063 bits |= (1 << vind); in wx_set_vlvf()
2067 bits |= (1 << (vind - 32)); in wx_set_vlvf()
2072 if (vind < 32) { in wx_set_vlvf()
2074 bits &= ~(1 << vind); in wx_set_vlvf()
2079 bits &= ~(1 << (vind - 32)); in wx_set_vlvf()
2105 static int wx_set_vfta(struct wx *wx, u32 vlan, u32 vind, bool vlan_on) in wx_set_vfta() argument
2141 ret = wx_set_vlvf(wx, vlan, vind, vlan_on, &vfta_changed); in wx_set_vfta()
/linux/drivers/net/ethernet/intel/igb/
H A 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()
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h616-orangepi-zero2.dts45 vind-supply = <&reg_vcc5v>;
/linux/drivers/net/ethernet/intel/ixgbevf/
H A 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
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3118 int 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()
H A Dixgbe_common.h71 u32 vind, bool vlan_on, bool vlvf_bypass);