Home
last modified time | relevance | path

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

/drivers/pci/
Diov.c717 struct pci_dev *vfdev; in pci_vfs_assigned() local
732 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned()
733 while (vfdev) { in pci_vfs_assigned()
738 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
739 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned()
742 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c149 struct pci_dev *vfdev; in ixgbe_get_vfs() local
159 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
160 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
161 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
163 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
167 pci_dev_get(vfdev); in ixgbe_get_vfs()
168 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
240 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
242 if (!vfdev) in ixgbe_disable_sriov()
244 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
[all …]
Dixgbe_main.c7424 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local
7427 if (!vfdev) in ixgbe_check_for_bad_vf()
7429 pci_read_config_word(vfdev, PCI_STATUS, &status_reg); in ixgbe_check_for_bad_vf()
7432 pcie_flr(vfdev); in ixgbe_check_for_bad_vf()
8971 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
10670 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local
10733 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); in ixgbe_io_error_detected()
10734 while (vfdev) { in ixgbe_io_error_detected()
10735 if (vfdev->devfn == (req_id & 0xFF)) in ixgbe_io_error_detected()
10737 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, in ixgbe_io_error_detected()
[all …]
Dixgbe.h195 struct pci_dev *vfdev; member
/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()
/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3648 struct pci_dev *vfdev; in octeon_enable_sriov() local
3668 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3670 while (vfdev) { in octeon_enable_sriov()
3671 if (vfdev->is_virtfn && in octeon_enable_sriov()
3672 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()
3674 vfdev; in octeon_enable_sriov()
3677 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3678 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()