Searched refs:vf_shift (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
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_sriov.c | 432 u32 reg_offset, vf_shift, vfre; in ixgbe_set_vf_lpe() local 464 vf_shift = vf % 32; in ixgbe_set_vf_lpe() 470 vfre &= ~(1 << vf_shift); in ixgbe_set_vf_lpe() 472 vfre |= 1 << vf_shift; in ixgbe_set_vf_lpe() 662 u32 reg, reg_offset, vf_shift; in ixgbe_vf_reset_msg() local 677 vf_shift = vf % 32; in ixgbe_vf_reset_msg() 682 reg |= 1 << vf_shift; in ixgbe_vf_reset_msg() 690 reg |= 1 << vf_shift; in ixgbe_vf_reset_msg() 706 reg &= ~(1 << vf_shift); in ixgbe_vf_reset_msg() 715 reg |= (1 << vf_shift); in ixgbe_vf_reset_msg()
|
D | ixgbe_main.c | 3679 u32 reg_offset, vf_shift; in ixgbe_configure_virtualization() local 3693 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization() 3697 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), (~0) << vf_shift); in ixgbe_configure_virtualization() 3699 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), (~0) << vf_shift); in ixgbe_configure_virtualization()
|