/linux-6.6.21/drivers/net/ethernet/marvell/octeon_ep/ |
D | octep_ctrl_net.c | 40 u16 sz, int vfid) in init_send_req() argument 49 if (vfid != OCTEP_CTRL_NET_INVALID_VFID) { in init_send_req() 51 msg->hdr.s.vf_idx = vfid; in init_send_req() 123 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid) in octep_ctrl_net_get_link_status() argument 129 init_send_req(&d.msg, (void *)req, state_sz, vfid); in octep_ctrl_net_get_link_status() 139 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_link_status() argument 145 init_send_req(&d.msg, req, state_sz, vfid); in octep_ctrl_net_set_link_status() 154 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, in octep_ctrl_net_set_rx_state() argument 160 init_send_req(&d.msg, req, state_sz, vfid); in octep_ctrl_net_set_rx_state() 169 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr) in octep_ctrl_net_get_mac_addr() argument [all …]
|
D | octep_ctrl_net.h | 229 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid); 240 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, 252 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, 263 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr); 274 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr, 286 int octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu, 298 int octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid, 310 int octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid, 323 int vfid,
|
/linux-6.6.21/include/linux/qed/ |
D | qed_iov_if.h | 16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid); 18 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid); 26 int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val); 28 int (*set_rate) (struct qed_dev *cdev, int vfid, 31 int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust);
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_trace.h | 23 __field(u8, vfid) 32 __entry->vfid = req->mbx_src_vfid; 43 __get_str(pciname), __get_str(devname), __entry->vfid, 56 __field(u8, vfid) 64 __entry->vfid = req->dest_vfid; 74 __get_str(pciname), __get_str(devname), __entry->vfid,
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_trace.h | 23 __field(u8, vfid) 31 __entry->vfid = req->dest_vfid; 41 __get_str(pciname), __get_str(devname), __entry->vfid, 54 __field(u8, vfid) 63 __entry->vfid = req->mbx_src_vfid; 74 __get_str(pciname), __get_str(devname), __entry->vfid,
|
D | hclgevf_cmd.h | 53 u8 vfid; member
|
/linux-6.6.21/arch/s390/pci/ |
D | pci_iov.c | 48 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) in zpci_iov_link_virtfn() argument 52 rc = pci_iov_sysfs_link(pdev, virtfn, vfid); in zpci_iov_link_virtfn() 68 int vfid = vfn - 1; /* Linux' vfid's start at 0 vfn at 1*/ in zpci_iov_setup_virtfn() local 87 cand_devfn = pci_iov_virtfn_devfn(pdev, vfid); in zpci_iov_setup_virtfn() 89 rc = zpci_iov_link_virtfn(pdev, virtfn, vfid); in zpci_iov_setup_virtfn()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 23 static int qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid); 306 int vfid, struct qed_ptt *p_ptt) in qed_iov_post_vf_bulletin() argument 313 p_vf = qed_iov_get_vf_info(p_hwfn, (u16)vfid, true); in qed_iov_post_vf_bulletin() 658 int vfid, bool b_fail_malicious) in _qed_iov_pf_sanity_check() argument 666 if (!qed_iov_is_valid_vfid(p_hwfn, vfid, true, b_fail_malicious)) in _qed_iov_pf_sanity_check() 672 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) in qed_iov_pf_sanity_check() argument 674 return _qed_iov_pf_sanity_check(p_hwfn, vfid, true); in qed_iov_pf_sanity_check() 939 u16 vfid, in qed_iov_set_link() argument 945 vfid, in qed_iov_set_link() 1332 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) in qed_iov_clean_vf() argument [all …]
|
D | qed_cxt.h | 191 void _qed_cxt_release_cid(struct qed_hwfn *p_hwfn, u32 cid, u8 vfid); 217 enum protocol_type type, u32 *p_cid, u8 vfid);
|
D | qed_cxt.c | 1798 enum protocol_type type, u32 *p_cid, u8 vfid) in _qed_cxt_acquire_cid() argument 1809 if (vfid >= MAX_NUM_VFS && vfid != QED_CXT_PF_CID) { in _qed_cxt_acquire_cid() 1810 DP_NOTICE(p_hwfn, "VF [%02x] is out of range\n", vfid); in _qed_cxt_acquire_cid() 1815 if (vfid == QED_CXT_PF_CID) in _qed_cxt_acquire_cid() 1818 p_map = &p_mngr->acquired_vf[type][vfid]; in _qed_cxt_acquire_cid() 1838 *p_cid, rel_cid, vfid, type); in _qed_cxt_acquire_cid() 1851 u8 vfid, in qed_cxt_test_cid_acquired() argument 1860 if (vfid == QED_CXT_PF_CID) in qed_cxt_test_cid_acquired() 1863 *pp_map = &p_mngr->acquired_vf[*p_type][vfid]; in qed_cxt_test_cid_acquired() 1873 DP_NOTICE(p_hwfn, "Invalid CID %d vfid %02x", cid, vfid); in qed_cxt_test_cid_acquired() [all …]
|
D | qed_l2.h | 330 u8 vfid; member 365 u8 vfid; member
|
D | qed_sriov.h | 283 int vfid, u16 vxlan_port, u16 geneve_port); 423 qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, int vfid, in qed_iov_bulletin_set_udp_ports() argument
|
/linux-6.6.21/drivers/crypto/cavium/cpt/ |
D | cptvf_mbox.c | 34 cptvf->vfid = mbx.data; in cptvf_handle_mbox_intr() 35 dev_dbg(&cptvf->pdev->dev, "Received VFID %d\n", cptvf->vfid); in cptvf_handle_mbox_intr() 42 cptvf->vfid, ((mbx.data == SE_TYPES) ? "SE" : "AE"), in cptvf_handle_mbox_intr() 77 (mbx->msg & 0xFF), cptvf->vfid); in cptvf_send_msg_to_pf_timeout()
|
D | cptvf_main.c | 524 intr, cptvf->vfid); in cptvf_misc_intr_handler() 532 intr, cptvf->vfid); in cptvf_misc_intr_handler() 536 intr, cptvf->vfid); in cptvf_misc_intr_handler() 540 intr, cptvf->vfid); in cptvf_misc_intr_handler() 544 intr, cptvf->vfid); in cptvf_misc_intr_handler() 547 cptvf->vfid); in cptvf_misc_intr_handler() 602 cptvf->vfid); in cptvf_done_intr_handler() 619 cptvf->vfid); in cptvf_set_irq_affinity() 623 cpu = cptvf->vfid % num_online_cpus(); in cptvf_set_irq_affinity()
|
/linux-6.6.21/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_mbox.c | 104 cptvf->vfid = mbx.data; in otx_cptvf_handle_mbox_intr() 105 dev_dbg(&cptvf->pdev->dev, "Received VFID %d\n", cptvf->vfid); in otx_cptvf_handle_mbox_intr() 111 cptvf->vfid, in otx_cptvf_handle_mbox_intr() 148 mbx->msg, cptvf->vfid); in cptvf_send_msg_to_pf_timeout()
|
D | otx_cptvf_main.c | 503 intr, cptvf->vfid); in cptvf_misc_intr_handler() 512 intr, cptvf->vfid); in cptvf_misc_intr_handler() 517 intr, cptvf->vfid); in cptvf_misc_intr_handler() 522 intr, cptvf->vfid); in cptvf_misc_intr_handler() 527 intr, cptvf->vfid); in cptvf_misc_intr_handler() 530 cptvf->vfid); in cptvf_misc_intr_handler() 585 cptvf->vfid); in cptvf_done_intr_handler() 603 cptvf->vfid); in cptvf_set_irq_affinity() 607 cpu = cptvf->vfid % num_online_cpus(); in cptvf_set_irq_affinity()
|
D | otx_cptvf.h | 71 u8 vfid; /* Device Index 0...OTX_CPT_MAX_VF_NUM */ member
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_vf_mbx.h | 18 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, 31 u16 __always_unused vfid, u32 __always_unused v_opcode, in ice_aq_send_msg_to_vf() argument
|
D | ice_vf_mbx.c | 22 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, in ice_aq_send_msg_to_vf() argument 31 cmd->id = cpu_to_le32(vfid); in ice_aq_send_msg_to_vf()
|
/linux-6.6.21/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 110 resp.vfid = usnic_vnic_get_index(qp_grp->vf->vnic); in usnic_ib_fill_create_qp_resp() 670 unsigned int vfid; in usnic_ib_mmap() local 677 vfid = vma->vm_pgoff; in usnic_ib_mmap() 679 vma->vm_pgoff, PAGE_SHIFT, vfid); in usnic_ib_mmap() 684 if (usnic_vnic_get_index(vf->vnic) == vfid) { in usnic_ib_mmap() 707 usnic_err("No VF %u found\n", vfid); in usnic_ib_mmap()
|
D | usnic_abi.h | 70 u32 vfid; member
|
/linux-6.6.21/drivers/vdpa/solidrun/ |
D | snet_main.c | 742 cfg->devs[i]->vfid = psnet_read32(psnet, off); in psnet_read_cfg() 874 static struct snet_dev_cfg *snet_find_dev_cfg(struct snet_cfg *cfg, u32 vfid) in snet_find_dev_cfg() argument 879 if (cfg->devs[i]->vfid == vfid) in snet_find_dev_cfg() 966 u32 vfid; in snet_vdpa_probe_vf() local 978 vfid = ret + 1; in snet_vdpa_probe_vf() 981 dev_cfg = snet_find_dev_cfg(&psnet->cfg, vfid); in snet_vdpa_probe_vf() 1023 snet->sid = vfid; in snet_vdpa_probe_vf()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 1037 static int bnx2x_vf_domain(struct bnx2x *bp, int vfid) in bnx2x_vf_domain() argument 1044 static int bnx2x_vf_bus(struct bnx2x *bp, int vfid) in bnx2x_vf_bus() argument 1050 iov->stride * vfid) >> 8); in bnx2x_vf_bus() 1053 static int bnx2x_vf_devfn(struct bnx2x *bp, int vfid) in bnx2x_vf_devfn() argument 1058 return (dev->devfn + iov->offset + iov->stride * vfid) & 0xff; in bnx2x_vf_devfn() 1531 int vfid; in bnx2x_iov_link_update() local 1536 for_each_vf(bp, vfid) in bnx2x_iov_link_update() 1537 bnx2x_iov_link_update_vf(bp, vfid); in bnx2x_iov_link_update() 1543 int vfid; in bnx2x_iov_nic_init() local 1556 for_each_vf(bp, vfid) { in bnx2x_iov_nic_init() [all …]
|
/linux-6.6.21/include/scsi/ |
D | fcoe_sysfs.h | 94 u16 vfid; member
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | guc_capture_fwif.h | 52 u32 vfid; member
|