Searched refs:vf_shift (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H 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()
|
H A D | ixgbe_sriov.c | 495 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() 839 u32 reg_offset, vf_shift; in ixgbe_set_vf_rx_tx() local 841 vf_shift = vf % 32; in ixgbe_set_vf_rx_tx() 848 reg_req_tx = reg_cur_tx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 849 reg_req_rx = reg_cur_rx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 851 reg_req_tx = reg_cur_tx & ~(1 << vf_shift); in ixgbe_set_vf_rx_tx() 852 reg_req_rx = reg_cur_rx & ~(1 << vf_shift); in ixgbe_set_vf_rx_tx() 884 u32 reg, reg_offset, vf_shift; ixgbe_vf_reset_msg() local [all...] |
H A D | ixgbe_main.c | 4184 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local 4205 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization() 4209 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization() 4211 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H 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()
|
H A D | ixgbe_sriov.c | 495 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() 839 u32 reg_offset, vf_shift; in ixgbe_set_vf_rx_tx() local 841 vf_shift = vf % 32; in ixgbe_set_vf_rx_tx() 848 reg_req_tx = reg_cur_tx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 849 reg_req_rx = reg_cur_rx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 851 reg_req_tx = reg_cur_tx & ~(1 << vf_shift); in ixgbe_set_vf_rx_tx() 852 reg_req_rx = reg_cur_rx & ~(1 << vf_shift); in ixgbe_set_vf_rx_tx() 884 u32 reg, reg_offset, vf_shift; ixgbe_vf_reset_msg() local [all...] |
H A D | ixgbe_main.c | 4176 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local 4197 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization() 4201 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization() 4203 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
|
Completed in 37 milliseconds