Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c495 u32 reg_offset, vf_shift, vfre; in ixgbe_set_vf_lpe() local
528 vf_shift = vf % 32; in ixgbe_set_vf_lpe()
534 vfre &= ~BIT(vf_shift); in ixgbe_set_vf_lpe()
536 vfre |= BIT(vf_shift); in ixgbe_set_vf_lpe()
837 u32 reg_offset, vf_shift; in ixgbe_set_vf_rx_tx() local
839 vf_shift = vf % 32; in ixgbe_set_vf_rx_tx()
846 reg_req_tx = reg_cur_tx | 1 << vf_shift; in ixgbe_set_vf_rx_tx()
847 reg_req_rx = reg_cur_rx | 1 << vf_shift; in ixgbe_set_vf_rx_tx()
882 u32 reg, reg_offset, vf_shift; in ixgbe_vf_reset_msg() local
899 vf_shift = vf % 32; in ixgbe_vf_reset_msg()
[all …]
H A Dixgbe_mbx.c275 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf() local
293 if (vflre & BIT(vf_shift)) { in ixgbe_check_for_rst_pf()
294 IXGBE_WRITE_REG(hw, IXGBE_VFLREC(reg_offset), BIT(vf_shift)); in ixgbe_check_for_rst_pf()
H A Dixgbe_main.c4449 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local
4470 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization()
4474 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
4476 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()