Searched refs:vf_shift (Results 1 – 5 of 5) sorted by relevance
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_sriov.c | 499 u32 reg_offset, vf_shift, vfre; in ixgbe_set_vf_lpe() local 532 vf_shift = vf % 32; in ixgbe_set_vf_lpe() 538 vfre &= ~BIT(vf_shift); in ixgbe_set_vf_lpe() 540 vfre |= BIT(vf_shift); in ixgbe_set_vf_lpe() 841 u32 reg_offset, vf_shift; in ixgbe_set_vf_rx_tx() local 843 vf_shift = vf % 32; in ixgbe_set_vf_rx_tx() 850 reg_req_tx = reg_cur_tx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 851 reg_req_rx = reg_cur_rx | 1 << vf_shift; in ixgbe_set_vf_rx_tx() 886 u32 reg, reg_offset, vf_shift; in ixgbe_vf_reset_msg() local 903 vf_shift = vf % 32; in ixgbe_vf_reset_msg() [all …]
|
| A D | ixgbe_mbx.c | 275 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()
|
| A D | ixgbe_main.c | 4628 u32 reg_offset, vf_shift, vmolr; in ixgbe_configure_virtualization() local 4649 vf_shift = VMDQ_P(0) % 32; in ixgbe_configure_virtualization() 4653 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization() 4655 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_mbx.c | 167 u32 vf_shift = WX_VF_IND_SHIFT(vf); in wx_check_for_rst_pf() local 171 if (!(vflre & BIT(vf_shift))) in wx_check_for_rst_pf() 173 wr32(wx, WX_VFLREC(reg_offset), BIT(vf_shift)); in wx_check_for_rst_pf()
|
| A D | wx_hw.c | 1451 u32 pfvfspoof, reg_offset, vf_shift; in wx_set_ethertype_anti_spoofing() local 1453 vf_shift = WX_VF_IND_SHIFT(vf); in wx_set_ethertype_anti_spoofing() 1458 pfvfspoof |= BIT(vf_shift); in wx_set_ethertype_anti_spoofing() 1460 pfvfspoof &= ~BIT(vf_shift); in wx_set_ethertype_anti_spoofing() 1487 u32 reg_offset, vf_shift; in wx_configure_virtualization() local 1502 vf_shift = BIT(VMDQ_P(0)); in wx_configure_virtualization() 1504 wr32(wx, WX_RDM_VF_RE(0), vf_shift); in wx_configure_virtualization() 1505 wr32(wx, WX_TDM_VF_TE(0), vf_shift); in wx_configure_virtualization() 1507 vf_shift = WX_VF_IND_SHIFT(VMDQ_P(0)); in wx_configure_virtualization() 1511 wr32(wx, WX_RDM_VF_RE(reg_offset), GENMASK(31, vf_shift)); in wx_configure_virtualization() [all …]
|
Completed in 34 milliseconds