/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | e1000_mac.c | 178 u32 regidx, vfta_delta, vfta, bits; in igb_vfta_set() local 197 vfta = adapter->shadow_vfta[regidx]; in igb_vfta_set() 203 vfta_delta &= vlan_on ? ~vfta : vfta; in igb_vfta_set() 204 vfta ^= vfta_delta; in igb_vfta_set() 240 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set() 271 hw->mac.ops.write_vfta(hw, regidx, vfta); in igb_vfta_set()
|
D | igb_main.c | 5178 u32 vfta[VFTA_BLOCK_SIZE] = { 0 }; in igb_scrub_vfta() local 5186 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in igb_scrub_vfta() 5205 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in igb_scrub_vfta() 5225 vfta[i] |= adapter->active_vlans[word] >> bits; in igb_scrub_vfta() 5227 hw->mac.ops.write_vfta(hw, vfta_offset + i, vfta[i]); in igb_scrub_vfta() 7342 u32 vfta_mask, vid, vfta; in igb_clear_vf_vfta() local 7363 vfta = adapter->shadow_vfta[vid / 32]; in igb_clear_vf_vfta() 7364 if (vfta & vfta_mask) in igb_clear_vf_vfta() 7365 hw->mac.ops.write_vfta(hw, vid / 32, vfta ^ vfta_mask); in igb_clear_vf_vfta()
|
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 2107 u32 bitindex, vfta, targetbit; in wx_set_vfta() local 2126 vfta = wx->mac.vft_shadow[regindex]; in wx_set_vfta() 2128 if (!(vfta & targetbit)) { in wx_set_vfta() 2129 vfta |= targetbit; in wx_set_vfta() 2133 if ((vfta & targetbit)) { in wx_set_vfta() 2134 vfta &= ~targetbit; in wx_set_vfta() 2146 wr32(wx, WX_PSR_VLAN_TBL(regindex), vfta); in wx_set_vfta() 2147 wx->mac.vft_shadow[regindex] = vfta; in wx_set_vfta()
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_common.c | 3121 u32 regidx, vfta_delta, vfta, bits; in ixgbe_set_vfta_generic() local 3141 vfta = IXGBE_READ_REG(hw, IXGBE_VFTA(regidx)); in ixgbe_set_vfta_generic() 3147 vfta_delta &= vlan_on ? ~vfta : vfta; in ixgbe_set_vfta_generic() 3148 vfta ^= vfta_delta; in ixgbe_set_vfta_generic() 3185 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic() 3218 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regidx), vfta); in ixgbe_set_vfta_generic()
|
D | ixgbe_sriov.c | 588 u32 bits[2], vlvfb, vid, vfta, vlvf; in ixgbe_clear_vf_vlans() local 623 vfta = IXGBE_READ_REG(hw, IXGBE_VFTA(vid / 32)); in ixgbe_clear_vf_vlans() 624 if (vfta & mask) in ixgbe_clear_vf_vlans() 625 IXGBE_WRITE_REG(hw, IXGBE_VFTA(vid / 32), vfta ^ mask); in ixgbe_clear_vf_vlans()
|
D | ixgbe_main.c | 4629 u32 vfta[VFTA_BLOCK_SIZE] = { 0 }; in ixgbe_scrub_vfta() local 4646 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in ixgbe_scrub_vfta() 4666 vfta[i] |= adapter->active_vlans[word] >> bits; in ixgbe_scrub_vfta() 4668 IXGBE_WRITE_REG(hw, IXGBE_VFTA(vfta_offset + i), vfta[i]); in ixgbe_scrub_vfta()
|
/linux-6.12.1/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 4946 u32 vfta, index; in e1000_vlan_rx_add_vid() local 4958 vfta = E1000_READ_REG_ARRAY(hw, VFTA, index); in e1000_vlan_rx_add_vid() 4959 vfta |= (1 << (vid & 0x1F)); in e1000_vlan_rx_add_vid() 4960 e1000_write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid() 4972 u32 vfta, index; in e1000_vlan_rx_kill_vid() local 4981 vfta = E1000_READ_REG_ARRAY(hw, VFTA, index); in e1000_vlan_rx_kill_vid() 4982 vfta &= ~(1 << (vid & 0x1F)); in e1000_vlan_rx_kill_vid() 4983 e1000_write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
|
/linux-6.12.1/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2699 u32 vfta, index; in e1000_vlan_rx_add_vid() local 2710 vfta = E1000_READ_REG_ARRAY(hw, E1000_VFTA, index); in e1000_vlan_rx_add_vid() 2711 vfta |= BIT((vid & 0x1F)); in e1000_vlan_rx_add_vid() 2712 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_add_vid() 2725 u32 vfta, index; in e1000_vlan_rx_kill_vid() local 2738 vfta = E1000_READ_REG_ARRAY(hw, E1000_VFTA, index); in e1000_vlan_rx_kill_vid() 2739 vfta &= ~BIT((vid & 0x1F)); in e1000_vlan_rx_kill_vid() 2740 hw->mac.ops.write_vfta(hw, index, vfta); in e1000_vlan_rx_kill_vid()
|