Searched refs:vf_shift (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_mbx.c | 275 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()
|
A D | ixgbe_sriov.c | 490 u32 reg_offset, vf_shift, vfre; in ixgbe_set_vf_lpe() local 523 vf_shift = vf % 32; in ixgbe_set_vf_lpe() 529 vfre &= ~BIT(vf_shift); in ixgbe_set_vf_lpe() 531 vfre |= BIT(vf_shift); in ixgbe_set_vf_lpe() 828 u32 reg, reg_offset, vf_shift; in ixgbe_vf_reset_msg() local 845 vf_shift = vf % 32; in ixgbe_vf_reset_msg() 850 reg |= BIT(vf_shift); in ixgbe_vf_reset_msg() 862 reg |= BIT(vf_shift); in ixgbe_vf_reset_msg() 878 reg &= ~BIT(vf_shift); in ixgbe_vf_reset_msg() 887 reg |= BIT(vf_shift); in ixgbe_vf_reset_msg()
|
A D | ixgbe_main.c | 4185 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local 4206 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization() 4210 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization() 4212 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
|
Completed in 22 milliseconds