Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/igb/
H A 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 & BIT(vf_number)) { in igb_check_for_rst_pf()
307 wr32(E1000_VFLRE, BIT(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
329 wr32(E1000_P2VMAILBOX(vf_number), E1000_P2VMAILBOX_PFU); in igb_obtain_mbx_lock_pf()
332 p2v_mailbox = rd32(E1000_P2VMAILBOX(vf_number)); in igb_obtain_mbx_lock_pf()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A 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 …]
H A Dixgbe_type.h2526 #define IXGBE_MBVFICR_INDEX(vf_number) (vf_number >> 4) argument
2544 #define IXGBE_PVFTDWBALn(q_per_pool, vf_number, vf_q_index) \ argument
2545 (IXGBE_PVFTDWBAL((q_per_pool)*(vf_number) + (vf_q_index)))
2546 #define IXGBE_PVFTDWBAHn(q_per_pool, vf_number, vf_q_index) \ argument
2547 (IXGBE_PVFTDWBAH((q_per_pool)*(vf_number) + (vf_q_index)))
2549 #define IXGBE_PVFTDHN(q_per_pool, vf_number, vf_q_index) \ argument
2550 (IXGBE_PVFTDH((q_per_pool)*(vf_number) + (vf_q_index)))
2551 #define IXGBE_PVFTDTN(q_per_pool, vf_number, vf_q_index) \ argument
2552 (IXGBE_PVFTDT((q_per_pool)*(vf_number) + (vf_q_index)))
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_int.h388 u16 vf_number,
448 u16 vf_number,
H A Dqed_int.c1442 u8 pf_id, u16 vf_number, u8 vf_valid) in qed_init_cau_sb_entry() argument
1451 SET_FIELD(params, CAU_SB_ENTRY_VF_NUMBER, vf_number); in qed_init_cau_sb_entry()
1524 u16 igu_sb_id, u16 vf_number, u8 vf_valid) in qed_int_cau_conf_sb() argument
1529 vf_number, vf_valid); in qed_int_cau_conf_sb()
/openbmc/qemu/include/hw/pci/
H A Dpcie_sriov.h27 uint16_t vf_number; /* Logical VF number of this function */ member
/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c149 dev->exp.sriov_vf.vf_number = vf_num; in register_vf()
298 return dev->exp.sriov_vf.vf_number; in pcie_sriov_vf_number()
/openbmc/linux/drivers/net/ethernet/intel/igbvf/
H A Dvf.h212 u32 vf_number; member
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli4.h583 uint32_t vf_number; member
H A Dlpfc_init.c10245 phba->sli4_hba.iov.vf_number = in lpfc_sli4_read_config()
10255 phba->sli4_hba.iov.vf_number); in lpfc_sli4_read_config()