Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c275 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf() local
292 if (vflre & BIT(vf_shift)) { in ixgbe_check_for_rst_pf()
293 IXGBE_WRITE_REG(hw, IXGBE_VFLREC(reg_offset), BIT(vf_shift)); in ixgbe_check_for_rst_pf()
Dixgbe_sriov.c486 u32 reg_offset, vf_shift, vfre; in ixgbe_set_vf_lpe() local
518 vf_shift = vf % 32; in ixgbe_set_vf_lpe()
524 vfre &= ~BIT(vf_shift); in ixgbe_set_vf_lpe()
526 vfre |= BIT(vf_shift); in ixgbe_set_vf_lpe()
817 u32 reg, reg_offset, vf_shift; in ixgbe_vf_reset_msg() local
832 vf_shift = vf % 32; in ixgbe_vf_reset_msg()
837 reg |= BIT(vf_shift); in ixgbe_vf_reset_msg()
849 reg |= BIT(vf_shift); in ixgbe_vf_reset_msg()
865 reg &= ~BIT(vf_shift); in ixgbe_vf_reset_msg()
874 reg |= BIT(vf_shift); in ixgbe_vf_reset_msg()
Dixgbe_main.c4130 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local
4151 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization()
4155 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
4157 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()