Home
last modified time | relevance | path

Searched refs:vfdev (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/pci/
Diov.c772 struct pci_dev *vfdev; in pci_vfs_assigned() local
787 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned()
788 while (vfdev) { in pci_vfs_assigned()
793 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
794 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned()
797 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c126 struct pci_dev *vfdev; in ixgbe_get_vfs() local
136 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
137 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
138 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
140 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
144 pci_dev_get(vfdev); in ixgbe_get_vfs()
145 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
214 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
216 if (!vfdev) in ixgbe_disable_sriov()
218 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
[all …]
Dixgbe_main.c7536 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local
7539 if (!vfdev) in ixgbe_check_for_bad_vf()
7541 pci_read_config_word(vfdev, PCI_STATUS, &status_reg); in ixgbe_check_for_bad_vf()
7544 pcie_flr(vfdev); in ixgbe_check_for_bad_vf()
9144 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
10975 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local
11038 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); in ixgbe_io_error_detected()
11039 while (vfdev) { in ixgbe_io_error_detected()
11040 if (vfdev->devfn == (req_id & 0xFF)) in ixgbe_io_error_detected()
11042 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, in ixgbe_io_error_detected()
[all …]
Dixgbe.h173 struct pci_dev *vfdev; member
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c573 int cptvf_do_request(void *vfdev, struct cpt_request_info *req) in cptvf_do_request() argument
575 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request()
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3754 struct pci_dev *vfdev; in octeon_enable_sriov() local
3774 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3776 while (vfdev) { in octeon_enable_sriov()
3777 if (vfdev->is_virtfn && in octeon_enable_sriov()
3778 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()
3780 vfdev; in octeon_enable_sriov()
3783 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3784 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()