Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/dev/ixgbe/
Dixv_mbx.c436 static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_msg_pf() argument
439 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_msg_pf()
440 u32 vf_bit = vf_number % 16; in ixgbe_check_for_msg_pf()
460 static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_ack_pf() argument
463 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_ack_pf()
464 u32 vf_bit = vf_number % 16; in ixgbe_check_for_ack_pf()
484 static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_rst_pf() argument
486 u32 reg_offset = (vf_number < 32) ? 0 : 1; in ixgbe_check_for_rst_pf()
487 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf()
523 static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_obtain_mbx_lock_pf() argument
[all …]
Dixgbe_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()
634 static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_obtain_mbx_lock_pf() argument
[all …]
Dixv_type.h2814 #define IXGBE_MBVFICR_INDEX(vf_number) (vf_number >> 4) argument
2871 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2872 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2873 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2874 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2876 #define IXGBE_PVFTDHn(q_per_pool, vf_number, vf_q_index) \ argument
2877 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2878 #define IXGBE_PVFTDTn(q_per_pool, vf_number, vf_q_index) \ argument
2879 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
Dixgbe_type.h2804 #define IXGBE_MBVFICR_INDEX(vf_number) (vf_number >> 4) argument
2861 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2862 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2863 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2864 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2866 #define IXGBE_PVFTDHn(q_per_pool, vf_number, vf_q_index) \ argument
2867 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2868 #define IXGBE_PVFTDTn(q_per_pool, vf_number, vf_q_index) \ argument
2869 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
/freebsd-10-stable/sys/dev/e1000/
De1000_mbx.c579 static s32 e1000_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) in e1000_check_for_msg_pf() argument
585 if (!e1000_check_for_bit_pf(hw, E1000_MBVFICR_VFREQ_VF1 << vf_number)) { in e1000_check_for_msg_pf()
600 static s32 e1000_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) in e1000_check_for_ack_pf() argument
606 if (!e1000_check_for_bit_pf(hw, E1000_MBVFICR_VFACK_VF1 << vf_number)) { in e1000_check_for_ack_pf()
621 static s32 e1000_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) in e1000_check_for_rst_pf() argument
628 if (vflre & (1 << vf_number)) { in e1000_check_for_rst_pf()
630 E1000_WRITE_REG(hw, E1000_VFLRE, (1 << vf_number)); in e1000_check_for_rst_pf()
644 static s32 e1000_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) in e1000_obtain_mbx_lock_pf() argument
654 E1000_WRITE_REG(hw, E1000_P2VMAILBOX(vf_number), in e1000_obtain_mbx_lock_pf()
658 p2v_mailbox = E1000_READ_REG(hw, E1000_P2VMAILBOX(vf_number)); in e1000_obtain_mbx_lock_pf()
[all …]
De1000_vf.h257 u32 vf_number; member
De1000_hw.h995 u32 vf_number; member
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
Decore_int.h222 u16 vf_number,
276 u16 vf_number, u8 vf_valid);
Decore_int.c1444 u8 pf_id, u16 vf_number, u8 vf_valid) in ecore_init_cau_sb_entry() argument
1453 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_VF_NUMBER, vf_number); in ecore_init_cau_sb_entry()
1535 u16 vf_number, u8 vf_valid) in ecore_int_cau_conf_sb() argument
1540 vf_number, vf_valid); in ecore_int_cau_conf_sb()