Searched refs:vf_shift (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 426 u32 reg_offset, vf_shift, vfre; in ixgbe_set_vf_lpe() local 458 vf_shift = vf % 32; in ixgbe_set_vf_lpe() 464 vfre &= ~(1 << vf_shift); in ixgbe_set_vf_lpe() 466 vfre |= 1 << vf_shift; in ixgbe_set_vf_lpe() 656 u32 reg, reg_offset, vf_shift; in ixgbe_vf_reset_msg() local 671 vf_shift = vf % 32; in ixgbe_vf_reset_msg() 676 reg |= 1 << vf_shift; in ixgbe_vf_reset_msg() 684 reg |= 1 << vf_shift; in ixgbe_vf_reset_msg() 700 reg &= ~(1 << vf_shift); in ixgbe_vf_reset_msg() 709 reg |= (1 << vf_shift); in ixgbe_vf_reset_msg()
|
D | ixgbe_mbx.c | 300 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf() local 316 if (vflre & (1 << vf_shift)) { in ixgbe_check_for_rst_pf() 317 IXGBE_WRITE_REG(hw, IXGBE_VFLREC(reg_offset), (1 << vf_shift)); in ixgbe_check_for_rst_pf()
|
D | ixgbe_main.c | 3593 u32 reg_offset, vf_shift; in ixgbe_configure_virtualization() local 3607 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization() 3611 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), (~0) << vf_shift); in ixgbe_configure_virtualization() 3613 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), (~0) << vf_shift); in ixgbe_configure_virtualization()
|