/linux-master/include/linux/qed/ |
H A 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-master/drivers/gpu/drm/xe/ |
H A D | xe_lmtt.h | 18 int xe_lmtt_prepare_pages(struct xe_lmtt *lmtt, unsigned int vfid, u64 range); 19 int xe_lmtt_populate_pages(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 offset); 20 void xe_lmtt_drop_pages(struct xe_lmtt *lmtt, unsigned int vfid);
|
H A D | xe_lmtt.c | 257 static void lmtt_drop_pages(struct xe_lmtt *lmtt, unsigned int vfid) argument 262 pt = pd->entries[vfid]; 263 pd->entries[vfid] = NULL; 267 lmtt_write_pte(lmtt, pd, LMTT_PTE_INVALID, vfid); 316 static int lmtt_alloc_range(struct xe_lmtt *lmtt, unsigned int vfid, u64 start, u64 end) argument 325 lmtt_assert(lmtt, vfid <= lmtt->ops->lmtt_pte_num(pd->level)); 329 if (pd->entries[vfid]) 340 lmtt_write_pte(lmtt, pd, pde, vfid); 342 pd->entries[vfid] = pt; 357 static struct xe_lmtt_pt *lmtt_leaf_pt(struct xe_lmtt *lmtt, unsigned int vfid, u6 argument 381 lmtt_insert_bo(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 start) argument 424 xe_lmtt_prepare_pages(struct xe_lmtt *lmtt, unsigned int vfid, u64 range) argument 447 xe_lmtt_populate_pages(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 offset) argument 466 xe_lmtt_drop_pages(struct xe_lmtt *lmtt, unsigned int vfid) argument [all...] |
H A D | xe_gt_pagefault.c | 30 u8 vfid; member in struct:pagefault 58 u8 vfid; member in struct:acc 275 pf->asid, pf->vfid, pf->pdata, upper_32_bits(pf->page_addr), 301 pf->vfid = FIELD_GET(PFD_VFID, desc->dw2); 388 reply.dw1 = FIELD_PREP(PFR_VFID, pf.vfid) | 493 acc->asid, acc->vfid, acc->engine_class, acc->engine_instance, 581 acc->vfid = FIELD_GET(ACC_VFID, desc->dw2);
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_ctrl_net.h | 258 * @vfid: Index of virtual function. 262 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid); 268 * @vfid: Index of virtual function. 274 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, 281 * @vfid: Index of virtual function. 287 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, 294 * @vfid: Index of virtual function. 299 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u8 *addr); 305 * @vfid: Index of virtual function. 311 int octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u [all...] |
H A D | octep_ctrl_net.c | 44 u16 sz, int vfid) 53 if (vfid != OCTEP_CTRL_NET_INVALID_VFID) { 55 msg->hdr.s.vf_idx = vfid; 127 int octep_ctrl_net_get_link_status(struct octep_device *oct, int vfid) argument 133 init_send_req(&d.msg, (void *)req, state_sz, vfid); 143 int octep_ctrl_net_set_link_status(struct octep_device *oct, int vfid, bool up, argument 149 init_send_req(&d.msg, req, state_sz, vfid); 158 int octep_ctrl_net_set_rx_state(struct octep_device *oct, int vfid, bool up, argument 164 init_send_req(&d.msg, req, state_sz, vfid); 173 int octep_ctrl_net_get_mac_addr(struct octep_device *oct, int vfid, u argument 43 init_send_req(struct octep_ctrl_mbox_msg *msg, void *buf, u16 sz, int vfid) argument 191 octep_ctrl_net_set_mac_addr(struct octep_device *oct, int vfid, u8 *addr, bool wait_for_response) argument 205 octep_ctrl_net_get_mtu(struct octep_device *oct, int vfid) argument 223 octep_ctrl_net_set_mtu(struct octep_device *oct, int vfid, int mtu, bool wait_for_response) argument 237 octep_ctrl_net_get_if_stats(struct octep_device *oct, int vfid, struct octep_iface_rx_stats *rx_stats, struct octep_iface_tx_stats *tx_stats) argument 258 octep_ctrl_net_get_link_info(struct octep_device *oct, int vfid, struct octep_iface_link_info *link_info) argument 283 octep_ctrl_net_set_link_info(struct octep_device *oct, int vfid, struct octep_iface_link_info *link_info, bool wait_for_response) argument 383 octep_ctrl_net_get_info(struct octep_device *oct, int vfid, struct octep_fw_info *info) argument 405 octep_ctrl_net_dev_remove(struct octep_device *oct, int vfid) argument 418 octep_ctrl_net_set_offloads(struct octep_device *oct, int vfid, struct octep_ctrl_net_offloads *offloads, bool wait_for_response) argument [all...] |
/linux-master/arch/s390/pci/ |
H A D | pci_iov.c | 43 /* Linux' vfid's start at 0 vfn at 1 */ 48 static int zpci_iov_link_virtfn(struct pci_dev *pdev, struct pci_dev *virtfn, int vfid) argument 52 rc = pci_iov_sysfs_link(pdev, virtfn, vfid); 68 int vfid = vfn - 1; /* Linux' vfid's start at 0 vfn at 1*/ local 87 cand_devfn = pci_iov_virtfn_devfn(pdev, vfid); 89 rc = zpci_iov_link_virtfn(pdev, virtfn, vfid);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_trace.h | 23 __field(u8, vfid) 32 __entry->vfid = req->mbx_src_vfid; 42 "%s %s vfid:%u code:%u subcode:%u data:%s", 43 __get_str(pciname), __get_str(devname), __entry->vfid, 56 __field(u8, vfid) 64 __entry->vfid = req->dest_vfid; 73 "%s %s vfid:%u code:%u data:%s", 74 __get_str(pciname), __get_str(devname), __entry->vfid,
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_trace.h | 23 __field(u8, vfid) 31 __entry->vfid = req->dest_vfid; 40 "%s %s vfid:%u code:%u data:%s", 41 __get_str(pciname), __get_str(devname), __entry->vfid, 54 __field(u8, vfid) 63 __entry->vfid = req->mbx_src_vfid; 73 "%s %s vfid:%u code:%u subcode:%u data:%s", 74 __get_str(pciname), __get_str(devname), __entry->vfid,
|
H A D | hclgevf_cmd.h | 53 u8 vfid; member in struct:hclgevf_ctrl_vector_chain
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A 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, 30 ice_aq_send_msg_to_vf(struct ice_hw __always_unused *hw, u16 __always_unused vfid, u32 __always_unused v_opcode, u32 __always_unused v_retval, u8 __always_unused *msg, u16 __always_unused msglen, struct ice_sq_cd __always_unused *cd) argument
|
H A D | ice_vf_mbx.c | 10 * @vfid: VF ID to send msg 22 ice_aq_send_msg_to_vf(struct ice_hw *hw, u16 vfid, u32 v_opcode, u32 v_retval, argument 31 cmd->id = cpu_to_le32(vfid);
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_abi.h | 70 u32 vfid; member in struct:usnic_ib_create_qp_resp
|
H A D | usnic_ib_verbs.c | 110 resp.vfid = usnic_vnic_get_index(qp_grp->vf->vnic); 670 unsigned int vfid; local 677 vfid = vma->vm_pgoff; 679 vma->vm_pgoff, PAGE_SHIFT, vfid); 684 if (usnic_vnic_get_index(vf->vnic) == vfid) { 707 usnic_err("No VF %u found\n", vfid);
|
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | cptvf_mbox.c | 34 cptvf->vfid = mbx.data; 35 dev_dbg(&cptvf->pdev->dev, "Received VFID %d\n", cptvf->vfid); 42 cptvf->vfid, ((mbx.data == SE_TYPES) ? "SE" : "AE"), 77 (mbx->msg & 0xFF), cptvf->vfid);
|
H A D | cptvf.h | 96 u8 vfid; /* Device Index 0...CPT_MAX_VF_NUM */ member in struct:cpt_vf
|
H A D | cptvf_main.c | 524 intr, cptvf->vfid); 532 intr, cptvf->vfid); 536 intr, cptvf->vfid); 540 intr, cptvf->vfid); 544 intr, cptvf->vfid); 547 cptvf->vfid); 602 cptvf->vfid); 619 cptvf->vfid); 623 cpu = cptvf->vfid % num_online_cpus();
|
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_mbox.c | 104 cptvf->vfid = mbx.data; 105 dev_dbg(&cptvf->pdev->dev, "Received VFID %d\n", cptvf->vfid); 111 cptvf->vfid, 148 mbx->msg, cptvf->vfid);
|
H A D | otx_cptvf.h | 71 u8 vfid; /* Device Index 0...OTX_CPT_MAX_VF_NUM */ member in struct:otx_cptvf
|
H A D | otx_cptvf_main.c | 503 intr, cptvf->vfid); 512 intr, cptvf->vfid); 517 intr, cptvf->vfid); 522 intr, cptvf->vfid); 527 intr, cptvf->vfid); 530 cptvf->vfid); 585 cptvf->vfid); 603 cptvf->vfid); 607 cpu = cptvf->vfid % num_online_cpus();
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A 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) 313 p_vf = qed_iov_get_vf_info(p_hwfn, (u16)vfid, true); 658 int vfid, bool b_fail_malicious) 666 if (!qed_iov_is_valid_vfid(p_hwfn, vfid, true, b_fail_malicious)) 672 static bool qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid) argument 674 return _qed_iov_pf_sanity_check(p_hwfn, vfid, true); 939 u16 vfid, 945 vfid, 1332 static void qed_iov_clean_vf(struct qed_hwfn *p_hwfn, u8 vfid) argument 305 qed_iov_post_vf_bulletin(struct qed_hwfn *p_hwfn, int vfid, struct qed_ptt *p_ptt) argument 657 _qed_iov_pf_sanity_check(struct qed_hwfn *p_hwfn, int vfid, bool b_fail_malicious) argument 938 qed_iov_set_link(struct qed_hwfn *p_hwfn, u16 vfid, struct qed_mcp_link_params *params, struct qed_mcp_link_state *link, struct qed_mcp_link_capabilities *p_caps) argument 2979 qed_iov_pre_update_vport(struct qed_hwfn *hwfn, u8 vfid, struct qed_sp_vport_update_params *params, u16 *tlvs) argument 3242 qed_iov_chk_ucast(struct qed_hwfn *hwfn, int vfid, struct qed_filter_ucast *params) argument 3697 u16 vfid = p_vf->abs_vf_id; local 3790 u8 vfid; local 3820 qed_iov_get_link(struct qed_hwfn *p_hwfn, u16 vfid, struct qed_mcp_link_params *p_params, struct qed_mcp_link_state *p_link, struct qed_mcp_link_capabilities *p_caps) argument 3879 qed_iov_process_mbx_req(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, int vfid) argument 4109 qed_iov_copy_vf_msg(struct qed_hwfn *p_hwfn, struct qed_ptt *ptt, int vfid) argument 4137 qed_iov_bulletin_set_forced_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid) argument 4175 qed_iov_bulletin_set_mac(struct qed_hwfn *p_hwfn, u8 *mac, int vfid) argument 4210 qed_iov_bulletin_set_forced_vlan(struct qed_hwfn *p_hwfn, u16 pvid, int vfid) argument 4239 qed_iov_bulletin_set_udp_ports(struct qed_hwfn *p_hwfn, int vfid, u16 vxlan_port, u16 geneve_port) argument 4262 qed_iov_vf_has_vport_instance(struct qed_hwfn *p_hwfn, int vfid) argument 4273 qed_iov_is_vf_stopped(struct qed_hwfn *p_hwfn, int vfid) argument 4284 qed_iov_spoofchk_get(struct qed_hwfn *p_hwfn, int vfid) argument 4295 qed_iov_spoofchk_set(struct qed_hwfn *p_hwfn, int vfid, bool val) argument 4368 qed_iov_configure_tx_rate(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, int vfid, int val) argument 4390 qed_iov_configure_min_tx_rate(struct qed_dev *cdev, int vfid, u32 rate) argument 4415 qed_iov_get_vf_min_rate(struct qed_hwfn *p_hwfn, int vfid) argument 4523 qed_sriov_enable_qid_config(struct qed_hwfn *hwfn, u16 vfid, struct qed_iov_vf_init_params *params) argument 4629 qed_sriov_pf_set_mac(struct qed_dev *cdev, u8 *mac, int vfid) argument 4665 qed_sriov_pf_set_vlan(struct qed_dev *cdev, u16 vid, int vfid) argument 4850 qed_spoof_configure(struct qed_dev *cdev, int vfid, bool val) argument 4865 qed_configure_max_vf_rate(struct qed_dev *cdev, int vfid, int rate) argument 4889 qed_set_vf_rate(struct qed_dev *cdev, int vfid, u32 min_rate, u32 max_rate) argument 4906 qed_set_vf_trust(struct qed_dev *cdev, int vfid, bool trust) argument 4988 qed_set_bulletin_mac(struct qed_hwfn *hwfn, struct qed_public_vf_info *info, int vfid) argument [all...] |
H A D | qed_hw.h | 255 * @vfid: VFID. 259 u32 qed_vfid_to_concrete(struct qed_hwfn *p_hwfn, u8 vfid);
|
H A D | qed_cxt.h | 187 * @vfid: Engine relative index. QED_CXT_PF_CID if belongs to PF. 191 void _qed_cxt_release_cid(struct qed_hwfn *p_hwfn, u32 cid, u8 vfid); 212 * @vfid: Engine relative index. QED_CXT_PF_CID if belongs to PF. 217 enum protocol_type type, u32 *p_cid, u8 vfid);
|
/linux-master/include/scsi/ |
H A D | fcoe_sysfs.h | 94 u16 vfid; member in struct:fcoe_fcf_device
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | guc_capture_fwif.h | 52 u32 vfid; member in struct:__guc_capture_parsed_output::gcap_reg_list_info
|