Home
last modified time | relevance | path

Searched refs:vf_number (Results 1 – 5 of 5) sorted by relevance

/trueos/sys/dev/ixgbe/
HDixgbe_mbx.c547 static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_msg_pf() argument
550 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_msg_pf()
551 u32 vf_bit = vf_number % 16; in ixgbe_check_for_msg_pf()
571 static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_ack_pf() argument
574 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_ack_pf()
575 u32 vf_bit = vf_number % 16; in ixgbe_check_for_ack_pf()
595 static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_rst_pf() argument
597 u32 reg_offset = (vf_number < 32) ? 0 : 1; in ixgbe_check_for_rst_pf()
598 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf()
633 static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_obtain_mbx_lock_pf() argument
[all …]
HDixgbe_type.h2705 #define IXGBE_MBVFICR_INDEX(vf_number) (vf_number >> 4) argument
2762 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2763 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2764 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2765 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2767 #define IXGBE_PVFTDHn(q_per_pool, vf_number, vf_q_index) \ argument
2768 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2769 #define IXGBE_PVFTDTn(q_per_pool, vf_number, vf_q_index) \ argument
2770 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
/trueos/sys/dev/e1000/
HDe1000_mbx.c573 static s32 e1000_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) in e1000_check_for_msg_pf() argument
579 if (!e1000_check_for_bit_pf(hw, E1000_MBVFICR_VFREQ_VF1 << vf_number)) { in e1000_check_for_msg_pf()
594 static s32 e1000_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) in e1000_check_for_ack_pf() argument
600 if (!e1000_check_for_bit_pf(hw, E1000_MBVFICR_VFACK_VF1 << vf_number)) { in e1000_check_for_ack_pf()
615 static s32 e1000_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) in e1000_check_for_rst_pf() argument
622 if (vflre & (1 << vf_number)) { in e1000_check_for_rst_pf()
624 E1000_WRITE_REG(hw, E1000_VFLRE, (1 << vf_number)); in e1000_check_for_rst_pf()
638 static s32 e1000_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) in e1000_obtain_mbx_lock_pf() argument
646 E1000_WRITE_REG(hw, E1000_P2VMAILBOX(vf_number), E1000_P2VMAILBOX_PFU); in e1000_obtain_mbx_lock_pf()
649 p2v_mailbox = E1000_READ_REG(hw, E1000_P2VMAILBOX(vf_number)); in e1000_obtain_mbx_lock_pf()
[all …]
HDe1000_vf.h257 u32 vf_number; member
HDe1000_hw.h972 u32 vf_number; member