Searched refs:vfdev (Results 1 – 12 of 12) sorted by relevance
| /drivers/crypto/cavium/nitrox/ |
| A D | nitrox_mbx.c | 68 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 D | nitrox_dev.h | 177 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()
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_sriov.c | 129 struct pci_dev *vfdev; in ixgbe_get_vfs() local 139 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs() 140 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs() 141 if (!vfdev->is_virtfn) in ixgbe_get_vfs() 143 if (vfdev->physfn != pdev) in ixgbe_get_vfs() 147 pci_dev_get(vfdev); in ixgbe_get_vfs() 148 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs() 221 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local 223 if (!vfdev) in ixgbe_disable_sriov() 225 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov() [all …]
|
| A D | ixgbe_main.c | 8308 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local 8311 if (!vfdev) in ixgbe_check_for_bad_vf() 8317 pcie_flr(vfdev); in ixgbe_check_for_bad_vf() 12158 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local 12225 while (vfdev) { in ixgbe_io_error_detected() 12226 if (vfdev->devfn == (req_id & 0xFF)) in ixgbe_io_error_detected() 12228 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, in ixgbe_io_error_detected() 12229 device_id, vfdev); in ixgbe_io_error_detected() 12236 if (vfdev) { in ixgbe_io_error_detected() 12237 pcie_flr(vfdev); in ixgbe_io_error_detected() [all …]
|
| A D | ixgbe.h | 213 struct pci_dev *vfdev; member
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_sriov.c | 687 struct pci_dev *vfdev = NULL; in ice_create_vf_entries() local 714 vfdev = pci_get_device(pdev->vendor, vf_pdev_id, vfdev); in ice_create_vf_entries() 715 } while (vfdev && vfdev->physfn != pdev); in ice_create_vf_entries() 716 vf->vfdev = vfdev; in ice_create_vf_entries() 719 pci_dev_get(vfdev); in ice_create_vf_entries() 728 pci_dev_put(vfdev); in ice_create_vf_entries() 1827 pci_restore_msi_state(vf->vfdev); in ice_restore_all_vfs_msi_state()
|
| A D | ice_vf_lib.h | 98 struct pci_dev *vfdev; member
|
| A D | ice_vf_lib.c | 59 pci_dev_put(vf->vfdev); in ice_release_vf()
|
| /drivers/pci/ |
| A D | iov.c | 1206 struct pci_dev *vfdev; in pci_vfs_assigned() local 1221 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned() 1222 while (vfdev) { in pci_vfs_assigned() 1227 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned() 1228 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned() 1231 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
|
| /drivers/crypto/cavium/cpt/ |
| A D | cptvf_reqmanager.c | 554 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()
|
| /drivers/net/ethernet/cavium/liquidio/ |
| A D | lio_main.c | 3791 struct pci_dev *vfdev; in octeon_enable_sriov() local 3811 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov() 3813 while (vfdev) { in octeon_enable_sriov() 3814 if (vfdev->is_virtfn && in octeon_enable_sriov() 3815 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov() 3817 vfdev; in octeon_enable_sriov() 3820 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov() 3821 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_type.h | 1165 struct pci_dev *vfdev; member
|
Completed in 62 milliseconds