vfdev 560 drivers/crypto/cavium/cpt/cptvf_reqmanager.c int cptvf_do_request(void *vfdev, struct cpt_request_info *req) vfdev 562 drivers/crypto/cavium/cpt/cptvf_reqmanager.c struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; vfdev 162 drivers/crypto/cavium/nitrox/nitrox_dev.h struct nitrox_vfdev *vfdev; vfdev 282 drivers/crypto/cavium/nitrox/nitrox_dev.h static inline bool nitrox_vfdev_ready(struct nitrox_vfdev *vfdev) vfdev 284 drivers/crypto/cavium/nitrox/nitrox_dev.h return atomic_read(&vfdev->state) == __NDEV_READY; vfdev 31 drivers/crypto/cavium/nitrox/nitrox_mbx.c struct nitrox_vfdev *vfdev; vfdev 54 drivers/crypto/cavium/nitrox/nitrox_mbx.c struct nitrox_vfdev *vfdev) vfdev 58 drivers/crypto/cavium/nitrox/nitrox_mbx.c msg.value = vfdev->msg.value; vfdev 60 drivers/crypto/cavium/nitrox/nitrox_mbx.c switch (vfdev->msg.opcode) { vfdev 65 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->nr_queues = vfdev->msg.data; vfdev 66 drivers/crypto/cavium/nitrox/nitrox_mbx.c atomic_set(&vfdev->state, __NDEV_READY); vfdev 70 drivers/crypto/cavium/nitrox/nitrox_mbx.c msg.id.vfid = vfdev->vfno; vfdev 73 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->nr_queues = 0; vfdev 74 drivers/crypto/cavium/nitrox/nitrox_mbx.c atomic_set(&vfdev->state, __NDEV_NOT_READY); vfdev 86 drivers/crypto/cavium/nitrox/nitrox_mbx.c pf2vf_write_mbox(ndev, msg.value, vfdev->ring); vfdev 88 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->msg.value = 0; vfdev 89 drivers/crypto/cavium/nitrox/nitrox_mbx.c atomic64_inc(&vfdev->mbx_resp); vfdev 96 drivers/crypto/cavium/nitrox/nitrox_mbx.c struct nitrox_vfdev *vfdev = pf2vf_resp->vfdev; vfdev 99 drivers/crypto/cavium/nitrox/nitrox_mbx.c switch (vfdev->msg.type) { vfdev 102 drivers/crypto/cavium/nitrox/nitrox_mbx.c pf2vf_send_response(ndev, vfdev); vfdev 114 drivers/crypto/cavium/nitrox/nitrox_mbx.c struct nitrox_vfdev *vfdev; vfdev 126 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev = ndev->iov.vfdev + vfno; vfdev 127 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->ring = i; vfdev 129 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->msg.value = pf2vf_read_mbox(ndev, vfdev->ring); vfdev 134 drivers/crypto/cavium/nitrox/nitrox_mbx.c pfwork->vfdev = vfdev; vfdev 148 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev = ndev->iov.vfdev + vfno; vfdev 149 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->ring = (i + 64); vfdev 151 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->msg.value = pf2vf_read_mbox(ndev, vfdev->ring); vfdev 157 drivers/crypto/cavium/nitrox/nitrox_mbx.c pfwork->vfdev = vfdev; vfdev 168 drivers/crypto/cavium/nitrox/nitrox_mbx.c struct nitrox_vfdev *vfdev; vfdev 171 drivers/crypto/cavium/nitrox/nitrox_mbx.c ndev->iov.vfdev = kcalloc(ndev->iov.num_vfs, vfdev 173 drivers/crypto/cavium/nitrox/nitrox_mbx.c if (!ndev->iov.vfdev) vfdev 177 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev = ndev->iov.vfdev + i; vfdev 178 drivers/crypto/cavium/nitrox/nitrox_mbx.c vfdev->vfno = i; vfdev 184 drivers/crypto/cavium/nitrox/nitrox_mbx.c kfree(ndev->iov.vfdev); vfdev 201 drivers/crypto/cavium/nitrox/nitrox_mbx.c kfree(ndev->iov.vfdev); vfdev 203 drivers/crypto/cavium/nitrox/nitrox_mbx.c ndev->iov.vfdev = NULL; vfdev 3806 drivers/net/ethernet/cavium/liquidio/lio_main.c struct pci_dev *vfdev; vfdev 3826 drivers/net/ethernet/cavium/liquidio/lio_main.c vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, vfdev 3828 drivers/net/ethernet/cavium/liquidio/lio_main.c while (vfdev) { vfdev 3829 drivers/net/ethernet/cavium/liquidio/lio_main.c if (vfdev->is_virtfn && vfdev 3830 drivers/net/ethernet/cavium/liquidio/lio_main.c (vfdev->physfn == oct->pci_dev)) { vfdev 3832 drivers/net/ethernet/cavium/liquidio/lio_main.c vfdev; vfdev 3835 drivers/net/ethernet/cavium/liquidio/lio_main.c vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, vfdev 3836 drivers/net/ethernet/cavium/liquidio/lio_main.c OCTEON_CN23XX_VF_VID, vfdev); vfdev 171 drivers/net/ethernet/intel/ixgbe/ixgbe.h struct pci_dev *vfdev; vfdev 7632 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; vfdev 7635 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!vfdev) vfdev 7637 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pci_read_config_word(vfdev, PCI_STATUS, &status_reg); vfdev 7640 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pcie_flr(vfdev); vfdev 9287 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); vfdev 11299 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct pci_dev *bdev, *vfdev; vfdev 11362 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); vfdev 11363 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c while (vfdev) { vfdev 11364 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (vfdev->devfn == (req_id & 0xFF)) vfdev 11366 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, vfdev 11367 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c device_id, vfdev); vfdev 11374 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (vfdev) { vfdev 11375 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pcie_flr(vfdev); vfdev 11377 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pci_dev_put(vfdev); vfdev 126 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c struct pci_dev *vfdev; vfdev 136 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c vfdev = pci_get_device(vendor, vf_id, NULL); vfdev 137 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { vfdev 138 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!vfdev->is_virtfn) vfdev 140 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (vfdev->physfn != pdev) vfdev 144 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c pci_dev_get(vfdev); vfdev 145 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->vfinfo[vf].vfdev = vfdev; vfdev 214 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; vfdev 216 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c if (!vfdev) vfdev 218 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c adapter->vfinfo[vf].vfdev = NULL; vfdev 219 drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c pci_dev_put(vfdev); vfdev 961 drivers/pci/iov.c struct pci_dev *vfdev; vfdev 976 drivers/pci/iov.c vfdev = pci_get_device(dev->vendor, dev_id, NULL); vfdev 977 drivers/pci/iov.c while (vfdev) { vfdev 982 drivers/pci/iov.c if (vfdev->is_virtfn && (vfdev->physfn == dev) && vfdev 983 drivers/pci/iov.c pci_is_dev_assigned(vfdev)) vfdev 986 drivers/pci/iov.c vfdev = pci_get_device(dev->vendor, dev_id, vfdev);