Searched refs:vind (Results 1 – 10 of 10) sorted by relevance
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_hw.c | 1612 u32 vlnctrl, i, vind, bits, reg_idx; in wx_vlan_promisc_enable() local 1632 vind = WX_VF_IND_SHIFT(VMDQ_P(0)); in wx_vlan_promisc_enable() 1635 bits |= BIT(vind); in wx_vlan_promisc_enable() 1658 vind = WX_VF_IND_SHIFT(VMDQ_P(0)); in wx_scrub_vfta() 1661 bits &= ~BIT(vind); in wx_scrub_vfta() 2488 if (vind < 32) { in wx_set_vlvf() 2490 bits |= (1 << vind); in wx_set_vlvf() 2494 bits |= (1 << (vind - 32)); in wx_set_vlvf() 2499 if (vind < 32) { in wx_set_vlvf() 2501 bits &= ~(1 << vind); in wx_set_vlvf() [all …]
|
| A D | wx_hw.h | 51 int wx_set_vfta(struct wx *wx, u32 vlan, u32 vind, bool vlan_on);
|
| A D | wx_vf.h | 123 int wx_set_vfta_vf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on,
|
| A D | wx_vf.c | 301 int wx_set_vfta_vf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on, in wx_set_vfta_vf() argument
|
| /drivers/net/ethernet/intel/igb/ |
| A D | e1000_mac.h | 40 s32 igb_vfta_set(struct e1000_hw *hw, u32 vid, u32 vind,
|
| A D | e1000_mac.c | 174 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/ |
| A D | vf.c | 634 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/ |
| A D | ixgbe_common.c | 3135 int ixgbe_set_vfta_generic(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_generic() argument 3141 if ((vlan > 4095) || (vind > 63)) in ixgbe_set_vfta_generic() 3185 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32)); in ixgbe_set_vfta_generic() 3188 bits |= BIT(vind % 32); in ixgbe_set_vfta_generic() 3193 bits ^= BIT(vind % 32); in ixgbe_set_vfta_generic() 3196 !IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 1 - vind / 32))) { in ixgbe_set_vfta_generic() 3206 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), 0); in ixgbe_set_vfta_generic() 3229 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + vind / 32), bits); in ixgbe_set_vfta_generic()
|
| A D | ixgbe_82598.c | 840 static int ixgbe_set_vfta_82598(struct ixgbe_hw *hw, u32 vlan, u32 vind, in ixgbe_set_vfta_82598() argument 861 bits |= (vind << bitindex); in ixgbe_set_vfta_82598()
|
| A D | ixgbe_common.h | 71 u32 vind, bool vlan_on, bool vlvf_bypass);
|
Completed in 26 milliseconds