Home
last modified time | relevance | path

Searched refs:vector_reg (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c368 u32 vector_reg; in ixgbe_set_vf_multicasts() local
391 vector_reg = (vfinfo->vf_mc_hashes[i] >> 5) & 0x7F; in ixgbe_set_vf_multicasts()
393 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_set_vf_multicasts()
395 IXGBE_WRITE_REG(hw, IXGBE_MTA(vector_reg), mta_reg); in ixgbe_set_vf_multicasts()
410 u32 vector_reg; in ixgbe_restore_vf_multicasts() local
418 vector_reg = (vfinfo->vf_mc_hashes[j] >> 5) & 0x7F; in ixgbe_restore_vf_multicasts()
420 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_restore_vf_multicasts()
422 IXGBE_WRITE_REG(hw, IXGBE_MTA(vector_reg), mta_reg); in ixgbe_restore_vf_multicasts()
Dixgbe_common.c2034 u32 vector_reg; in ixgbe_set_mta() local
2050 vector_reg = (vector >> 5) & 0x7F; in ixgbe_set_mta()
2052 hw->mac.mta_shadow[vector_reg] |= BIT(vector_bit); in ixgbe_set_mta()