Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/igb/
De1000_mbx.c261 static s32 igb_check_for_msg_pf(struct e1000_hw *hw, u16 vf_number) in igb_check_for_msg_pf() argument
265 if (!igb_check_for_bit_pf(hw, E1000_MBVFICR_VFREQ_VF1 << vf_number)) { in igb_check_for_msg_pf()
280 static s32 igb_check_for_ack_pf(struct e1000_hw *hw, u16 vf_number) in igb_check_for_ack_pf() argument
284 if (!igb_check_for_bit_pf(hw, E1000_MBVFICR_VFACK_VF1 << vf_number)) { in igb_check_for_ack_pf()
299 static s32 igb_check_for_rst_pf(struct e1000_hw *hw, u16 vf_number) in igb_check_for_rst_pf() argument
304 if (vflre & BIT(vf_number)) { in igb_check_for_rst_pf()
306 wr32(E1000_VFLRE, BIT(vf_number)); in igb_check_for_rst_pf()
320 static s32 igb_obtain_mbx_lock_pf(struct e1000_hw *hw, u16 vf_number) in igb_obtain_mbx_lock_pf() argument
328 wr32(E1000_P2VMAILBOX(vf_number), E1000_P2VMAILBOX_PFU); in igb_obtain_mbx_lock_pf()
331 p2v_mailbox = rd32(E1000_P2VMAILBOX(vf_number)); in igb_obtain_mbx_lock_pf()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c230 static s32 ixgbe_check_for_msg_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_msg_pf() argument
232 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_msg_pf()
233 u32 vf_bit = vf_number % 16; in ixgbe_check_for_msg_pf()
251 static s32 ixgbe_check_for_ack_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_ack_pf() argument
253 s32 index = IXGBE_MBVFICR_INDEX(vf_number); in ixgbe_check_for_ack_pf()
254 u32 vf_bit = vf_number % 16; in ixgbe_check_for_ack_pf()
272 static s32 ixgbe_check_for_rst_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_check_for_rst_pf() argument
274 u32 reg_offset = (vf_number < 32) ? 0 : 1; in ixgbe_check_for_rst_pf()
275 u32 vf_shift = vf_number % 32; in ixgbe_check_for_rst_pf()
308 static s32 ixgbe_obtain_mbx_lock_pf(struct ixgbe_hw *hw, u16 vf_number) in ixgbe_obtain_mbx_lock_pf() argument
[all …]
Dixgbe_type.h2525 #define IXGBE_MBVFICR_INDEX(vf_number) (vf_number >> 4) argument
2536 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2537 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2538 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2539 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2541 #define IXGBE_PVFTDHN(q_per_pool, vf_number, vf_q_index) \ argument
2542 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2543 #define IXGBE_PVFTDTN(q_per_pool, vf_number, vf_q_index) \ argument
2544 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
/drivers/net/ethernet/qlogic/qed/
Dqed_int.h372 u16 vf_number,
426 u16 vf_number,
Dqed_int.c1416 u8 pf_id, u16 vf_number, u8 vf_valid) in qed_init_cau_sb_entry() argument
1425 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_VF_NUMBER, vf_number); in qed_init_cau_sb_entry()
1498 u16 igu_sb_id, u16 vf_number, u8 vf_valid) in qed_int_cau_conf_sb() argument
1503 vf_number, vf_valid); in qed_int_cau_conf_sb()
/drivers/net/ethernet/intel/igbvf/
Dvf.h212 u32 vf_number; member
/drivers/scsi/lpfc/
Dlpfc_sli4.h529 uint32_t vf_number; member
Dlpfc_init.c8519 phba->sli4_hba.iov.vf_number = in lpfc_sli4_read_config()
8529 phba->sli4_hba.iov.vf_number); in lpfc_sli4_read_config()