Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c255 static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_msg_pf() argument
257 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_msg_pf()
258 u32 vf_bit = vf_number % 16; in ixgbe_check_for_msg_pf()
276 static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_ack_pf() argument
278 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_ack_pf()
279 u32 vf_bit = vf_number % 16; in ixgbe_check_for_ack_pf()
297 static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_rst_pf() argument
299 u32 reg_offset = (vf_number < 32) ? 0 : 1; in ixgbe_check_for_rst_pf()
300 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf()
332 static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_obtain_mbx_lock_pf() argument
[all …]
Dixgbe_type.h2296 #define IXGBE_MBVFICR_INDEX(vf_number) (vf_number >> 4) argument
2306 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2307 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2308 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2309 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2311 #define IXGBE_PVFTDHN(q_per_pool, vf_number, vf_q_index) \ argument
2312 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2313 #define IXGBE_PVFTDTN(q_per_pool, vf_number, vf_q_index) \ argument
2314 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
/linux-4.1.27/drivers/net/ethernet/intel/igb/
De1000_mbx.c262 static s32 igb_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) in igb_check_for_msg_pf() argument
266 if (!igb_check_for_bit_pf(hw, E1000_MBVFICR_VFREQ_VF1 << vf_number)) { in igb_check_for_msg_pf()
281 static s32 igb_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) in igb_check_for_ack_pf() argument
285 if (!igb_check_for_bit_pf(hw, E1000_MBVFICR_VFACK_VF1 << vf_number)) { in igb_check_for_ack_pf()
300 static s32 igb_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) in igb_check_for_rst_pf() argument
305 if (vflre & (1 << vf_number)) { in igb_check_for_rst_pf()
307 wr32(E1000_VFLRE, (1 << vf_number)); in igb_check_for_rst_pf()
321 static s32 igb_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) in igb_obtain_mbx_lock_pf() argument
327 wr32(E1000_P2VMAILBOX(vf_number), E1000_P2VMAILBOX_PFU); in igb_obtain_mbx_lock_pf()
330 p2v_mailbox = rd32(E1000_P2VMAILBOX(vf_number)); in igb_obtain_mbx_lock_pf()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dvf.h233 u32 vf_number; member
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_sli4.h434 uint32_t vf_number; member
Dlpfc_init.c6975 phba->sli4_hba.iov.vf_number = in lpfc_sli4_read_config()
6985 phba->sli4_hba.iov.vf_number); in lpfc_sli4_read_config()