Home
last modified time | relevance | path

Searched refs:vf_dev (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_virtchnl.c306 struct i40iw_vfdev *vf_dev = callback_param; in pf_cqp_get_hmc_fcn_callback() local
313 dev->vf_dev[vf_dev->iw_vf_idx] = NULL; in pf_cqp_get_hmc_fcn_callback()
314 vchnl_pf_send_error_resp(dev, vf_dev->vf_id, &vf_dev->vf_msg_buffer.vchnl_msg, in pf_cqp_get_hmc_fcn_callback()
316 vf_dev_mem.va = vf_dev; in pf_cqp_get_hmc_fcn_callback()
317 vf_dev_mem.size = sizeof(*vf_dev); in pf_cqp_get_hmc_fcn_callback()
323 vf_dev->pmf_index = (u16)cqe_info->op_ret_val; in pf_cqp_get_hmc_fcn_callback()
324 vf_dev->msg_count--; in pf_cqp_get_hmc_fcn_callback()
326 vf_dev in pf_cqp_get_hmc_fcn_callback()
338 struct i40iw_vfdev *vf_dev = (struct i40iw_vfdev *)work_vf_dev; pf_add_hmc_obj_callback() local
378 struct i40iw_vfdev *vf_dev = (struct i40iw_vfdev *)work_vf_dev; pf_del_hmc_obj_callback() local
431 struct i40iw_vfdev *vf_dev = NULL; i40iw_vchnl_recv_pf() local
[all...]
H A Di40iw_hmc.c230 struct i40iw_vfdev *vf_dev = NULL; in i40iw_vfdev_from_fpm() local
234 if (dev->vf_dev[idx] && in i40iw_vfdev_from_fpm()
235 ((u8)dev->vf_dev[idx]->pmf_index == hmc_fn_id)) { in i40iw_vfdev_from_fpm()
236 vf_dev = dev->vf_dev[idx]; in i40iw_vfdev_from_fpm()
240 return vf_dev; in i40iw_vfdev_from_fpm()
255 if (dev->vf_dev[idx] && in i40iw_vf_hmcinfo_from_fpm()
256 ((u8)dev->vf_dev[idx]->pmf_index == hmc_fn_id)) { in i40iw_vf_hmcinfo_from_fpm()
257 hmc_info = &dev->vf_dev[idx]->hmc_info; in i40iw_vf_hmcinfo_from_fpm()
H A Di40iw_main.c1833 if (!dev->vf_dev[i] || (dev->vf_dev[i]->vf_id != vf_id)) in i40iw_vf_reset()
1836 tmp_vfdev = dev->vf_dev[i]; in i40iw_vf_reset()
1838 dev->vf_dev[i] = NULL; in i40iw_vf_reset()
1847 /* free vf_dev */ in i40iw_vf_reset()
1904 if (!dev->vf_dev[i] || (dev->vf_dev[i]->vf_id == vf_id)) in i40iw_vf_capable()
H A Di40iw_utils.c1481 if (pf_dev->vf_dev[iw_vf_idx]) { in i40iw_hw_stats_timeout()
1482 if (pf_dev->vf_dev[iw_vf_idx]->stats_initialized) { in i40iw_hw_stats_timeout()
1483 vf_devstat = &pf_dev->vf_dev[iw_vf_idx]->pestat; in i40iw_hw_stats_timeout()
H A Di40iw_ctrl.c3563 struct i40iw_vfdev *vf_dev = NULL; in i40iw_sc_init_iw_hmc() local
3581 vf_dev = i40iw_vfdev_from_fpm(dev, hmc_fn_id); in i40iw_sc_init_iw_hmc()
3582 if (!vf_dev) in i40iw_sc_init_iw_hmc()
3585 hmc_info = &vf_dev->hmc_info; in i40iw_sc_init_iw_hmc()
3586 iw_vf_idx = vf_dev->iw_vf_idx; in i40iw_sc_init_iw_hmc()
3587 i40iw_debug(dev, I40IW_DEBUG_HMC, "vf_dev %p, hmc_info %p, hmc_obj %p\n", vf_dev, in i40iw_sc_init_iw_hmc()
3589 if (!vf_dev->fpm_query_buf) { in i40iw_sc_init_iw_hmc()
3596 vf_dev->fpm_query_buf = dev->vf_fpm_query_buf[iw_vf_idx].va; in i40iw_sc_init_iw_hmc()
3597 vf_dev in i40iw_sc_init_iw_hmc()
[all...]
H A Di40iw_type.h491 struct i40iw_vfdev *vf_dev[I40IW_MAX_PE_ENABLED_VF_COUNT]; member
1369 void (*callback_fcn)(void *vf_dev);
/kernel/linux/linux-6.6/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c371 if (vf_data->dev_id != hisi_acc_vdev->vf_dev->device) { in vf_qm_check_match()
423 vf_data->dev_id = hisi_acc_vdev->vf_dev->device; in vf_qm_get_match_data()
557 struct pci_dev *vf_pdev = hisi_acc_vdev->vf_dev; in hisi_acc_check_int_state()
669 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_load_state()
935 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_stop_device()
1128 struct pci_dev *vf_dev = vdev->pdev; in hisi_acc_vf_qm_init() local
1150 ioremap(pci_resource_start(vf_dev, VFIO_PCI_BAR2_REGION_INDEX), in hisi_acc_vf_qm_init()
1151 pci_resource_len(vf_dev, VFIO_PCI_BAR2_REGION_INDEX)); in hisi_acc_vf_qm_init()
1156 vf_qm->pdev = vf_dev; in hisi_acc_vf_qm_init()
1354 hisi_acc_vdev->vf_dev in hisi_acc_vfio_pci_migrn_init_dev()
[all...]
H A Dhisi_acc_vfio_pci.h107 struct pci_dev *vf_dev; member
/kernel/linux/linux-6.6/drivers/pci/
H A Diov.c226 struct pci_dev *vf_dev = to_pci_dev(dev); in sriov_vf_msix_count_store() local
227 struct pci_dev *pdev = pci_physfn(vf_dev); in sriov_vf_msix_count_store()
242 device_lock(&vf_dev->dev); in sriov_vf_msix_count_store()
243 if (vf_dev->driver) { in sriov_vf_msix_count_store()
253 ret = pdev->driver->sriov_set_msix_vec_count(vf_dev, val); in sriov_vf_msix_count_store()
256 device_unlock(&vf_dev->dev); in sriov_vf_msix_count_store()
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h16 struct pci_dev *vf_dev; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c117 struct pci_dev *vf_dev = NULL; in i40e_restore_all_vfs_msi_state() local
120 while ((vf_dev = pci_get_device(pdev->vendor, vf_id, vf_dev))) { in i40e_restore_all_vfs_msi_state()
121 if (vf_dev->is_virtfn && vf_dev->physfn == pdev) in i40e_restore_all_vfs_msi_state()
122 pci_restore_msi_state(vf_dev); in i40e_restore_all_vfs_msi_state()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c170 struct pci_dev *vf_dev = NULL; in i40e_restore_all_vfs_msi_state() local
173 while ((vf_dev = pci_get_device(pdev->vendor, vf_id, vf_dev))) { in i40e_restore_all_vfs_msi_state()
174 if (vf_dev->is_virtfn && vf_dev->physfn == pdev) in i40e_restore_all_vfs_msi_state()
175 pci_restore_msi_state(vf_dev); in i40e_restore_all_vfs_msi_state()

Completed in 30 milliseconds