Searched refs:vlvf_index (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 179 s32 vlvf_index; in igb_vfta_set() local 217 vlvf_index = igb_find_vlvf_slot(hw, vlan, vlvf_bypass); in igb_vfta_set() 218 if (vlvf_index < 0) { in igb_vfta_set() 221 return vlvf_index; in igb_vfta_set() 224 bits = rd32(E1000_VLVF(vlvf_index)); in igb_vfta_set() 243 wr32(E1000_VLVF(vlvf_index), 0); in igb_vfta_set() 266 wr32(E1000_VLVF(vlvf_index), bits | vlan | E1000_VLVF_VLANID_ENABLE); in igb_vfta_set()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3122 int vlvf_index; in ixgbe_set_vfta_generic() local 3161 vlvf_index = ixgbe_find_vlvf_slot(hw, vlan, vlvf_bypass); in ixgbe_set_vfta_generic() 3162 if (vlvf_index < 0) { in ixgbe_set_vfta_generic() 3165 return vlvf_index; in ixgbe_set_vfta_generic() 3168 bits = IXGBE_READ_REG(hw, IXGBE_VLVFB(vlvf_index * 2 + 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() 3188 IXGBE_WRITE_REG(hw, IXGBE_VLVF(vlvf_index), 0); 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() 3213 IXGBE_WRITE_REG(hw, IXGBE_VLVF(vlvf_index), IXGBE_VLVF_VIEN | vlan); in ixgbe_set_vfta_generic()
|
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 2040 int vlvf_index; in wx_set_vlvf() local 2054 vlvf_index = wx_find_vlvf_slot(wx, vlan); in wx_set_vlvf() 2055 if (vlvf_index < 0) in wx_set_vlvf() 2056 return vlvf_index; in wx_set_vlvf() 2058 wr32(wx, WX_PSR_VLAN_SWC_IDX, vlvf_index); in wx_set_vlvf()
|