Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/cavium/nitrox/
A Dnitrox_mbx.c68 vfdev->nr_queues = vfdev->msg.data; in pf2vf_send_response()
106 struct nitrox_vfdev *vfdev = pf2vf_resp->vfdev; in pf2vf_resp_handler() local
138 vfdev = ndev->iov.vfdev + vfno; in nitrox_pf2vf_mbox_handler()
139 vfdev->ring = i; in nitrox_pf2vf_mbox_handler()
141 vfdev->msg.value = pf2vf_read_mbox(ndev, vfdev->ring); in nitrox_pf2vf_mbox_handler()
146 pfwork->vfdev = vfdev; in nitrox_pf2vf_mbox_handler()
161 vfdev = ndev->iov.vfdev + vfno; in nitrox_pf2vf_mbox_handler()
164 vfdev->msg.value = pf2vf_read_mbox(ndev, vfdev->ring); in nitrox_pf2vf_mbox_handler()
170 pfwork->vfdev = vfdev; in nitrox_pf2vf_mbox_handler()
190 vfdev = ndev->iov.vfdev + i; in nitrox_mbox_init()
[all …]
A Dnitrox_dev.h177 struct nitrox_vfdev *vfdev; member
297 static inline bool nitrox_vfdev_ready(struct nitrox_vfdev *vfdev) in nitrox_vfdev_ready() argument
299 return atomic_read(&vfdev->state) == __NDEV_READY; in nitrox_vfdev_ready()
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_sriov.c127 struct pci_dev *vfdev; in ixgbe_get_vfs() local
137 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
138 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
139 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
141 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
145 pci_dev_get(vfdev); in ixgbe_get_vfs()
146 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
218 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
220 if (!vfdev) in ixgbe_disable_sriov()
222 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
[all …]
A Dixgbe_main.c7739 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local
7742 if (!vfdev) in ixgbe_check_for_bad_vf()
7748 pcie_flr(vfdev); in ixgbe_check_for_bad_vf()
11359 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local
11423 while (vfdev) { in ixgbe_io_error_detected()
11424 if (vfdev->devfn == (req_id & 0xFF)) in ixgbe_io_error_detected()
11426 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, in ixgbe_io_error_detected()
11427 device_id, vfdev); in ixgbe_io_error_detected()
11434 if (vfdev) { in ixgbe_io_error_detected()
11435 pcie_flr(vfdev); in ixgbe_io_error_detected()
[all …]
A Dixgbe.h210 struct pci_dev *vfdev; member
/linux-6.3-rc2/drivers/pci/
A Diov.c1116 struct pci_dev *vfdev; in pci_vfs_assigned() local
1131 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned()
1132 while (vfdev) { in pci_vfs_assigned()
1137 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
1138 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned()
1141 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_sriov.c1777 struct pci_dev *vfdev; in ice_restore_all_vfs_msi_state() local
1781 vfdev = pci_get_device(pdev->vendor, vf_id, NULL); in ice_restore_all_vfs_msi_state()
1782 while (vfdev) { in ice_restore_all_vfs_msi_state()
1783 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
1784 pci_restore_msi_state(vfdev); in ice_restore_all_vfs_msi_state()
1785 vfdev = pci_get_device(pdev->vendor, vf_id, in ice_restore_all_vfs_msi_state()
1786 vfdev); in ice_restore_all_vfs_msi_state()
/linux-6.3-rc2/drivers/crypto/cavium/cpt/
A Dcptvf_reqmanager.c554 int cptvf_do_request(void *vfdev, struct cpt_request_info *req) in cptvf_do_request() argument
556 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request()
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Dlio_main.c3803 struct pci_dev *vfdev; in octeon_enable_sriov() local
3823 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3825 while (vfdev) { in octeon_enable_sriov()
3826 if (vfdev->is_virtfn && in octeon_enable_sriov()
3827 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()
3829 vfdev; in octeon_enable_sriov()
3832 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3833 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()

Completed in 50 milliseconds