Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c373 u32 vector_reg; in ixgbe_set_vf_multicasts() local
396 vector_reg = (vfinfo->vf_mc_hashes[i] >> 5) & 0x7F; in ixgbe_set_vf_multicasts()
398 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_set_vf_multicasts()
400 IXGBE_WRITE_REG(hw, IXGBE_MTA(vector_reg), mta_reg); in ixgbe_set_vf_multicasts()
415 u32 vector_reg; in ixgbe_restore_vf_multicasts() local
423 vector_reg = (vfinfo->vf_mc_hashes[j] >> 5) & 0x7F; in ixgbe_restore_vf_multicasts()
425 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_restore_vf_multicasts()
427 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()
/Linux-v6.6/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c890 u32 vector, vector_bit, vector_reg; in wx_set_mta() local
905 vector_reg = (vector >> 5) & 0x7F; in wx_set_mta()
907 wx->mac.mta_shadow[vector_reg] |= (1 << vector_bit); in wx_set_mta()