Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c372 u32 vector_reg; in ixgbe_set_vf_multicasts() local
395 vector_reg = (vfinfo->vf_mc_hashes[i] >> 5) & 0x7F; in ixgbe_set_vf_multicasts()
397 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_set_vf_multicasts()
399 IXGBE_WRITE_REG(hw, IXGBE_MTA(vector_reg), mta_reg); in ixgbe_set_vf_multicasts()
414 u32 vector_reg; in ixgbe_restore_vf_multicasts() local
422 vector_reg = (vfinfo->vf_mc_hashes[j] >> 5) & 0x7F; in ixgbe_restore_vf_multicasts()
424 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_restore_vf_multicasts()
426 IXGBE_WRITE_REG(hw, IXGBE_MTA(vector_reg), mta_reg); in ixgbe_restore_vf_multicasts()
Dixgbe_common.c2021 u32 vector_reg; in ixgbe_set_mta() local
2037 vector_reg = (vector >> 5) & 0x7F; in ixgbe_set_mta()
2039 hw->mac.mta_shadow[vector_reg] |= BIT(vector_bit); in ixgbe_set_mta()
/linux-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c982 u32 vector, vector_bit, vector_reg; in wx_set_mta() local
997 vector_reg = (vector >> 5) & 0x7F; in wx_set_mta()
999 wx->mac.mta_shadow[vector_reg] |= (1 << vector_bit); in wx_set_mta()