Searched refs:vfdev (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/drivers/crypto/cavium/nitrox/ |
| D | nitrox_mbx.c | 31 struct nitrox_vfdev *vfdev; member 54 struct nitrox_vfdev *vfdev) in pf2vf_send_response() argument 58 msg.value = vfdev->msg.value; in pf2vf_send_response() 60 switch (vfdev->msg.opcode) { in pf2vf_send_response() 65 vfdev->nr_queues = vfdev->msg.data; in pf2vf_send_response() 66 atomic_set(&vfdev->state, __NDEV_READY); in pf2vf_send_response() 70 msg.id.vfid = vfdev->vfno; in pf2vf_send_response() 73 vfdev->nr_queues = 0; in pf2vf_send_response() 74 atomic_set(&vfdev->state, __NDEV_NOT_READY); in pf2vf_send_response() 86 pf2vf_write_mbox(ndev, msg.value, vfdev->ring); in pf2vf_send_response() [all …]
|
| D | nitrox_dev.h | 162 struct nitrox_vfdev *vfdev; member 282 static inline bool nitrox_vfdev_ready(struct nitrox_vfdev *vfdev) in nitrox_vfdev_ready() argument 284 return atomic_read(&vfdev->state) == __NDEV_READY; in nitrox_vfdev_ready()
|
| /Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_sriov.c | 126 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 …]
|
| D | ixgbe_main.c | 7615 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local 7618 if (!vfdev) in ixgbe_check_for_bad_vf() 7620 pci_read_config_word(vfdev, PCI_STATUS, &status_reg); in ixgbe_check_for_bad_vf() 7623 pcie_flr(vfdev); in ixgbe_check_for_bad_vf() 9269 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action() 11276 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local 11339 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); in ixgbe_io_error_detected() 11340 while (vfdev) { in ixgbe_io_error_detected() 11341 if (vfdev->devfn == (req_id & 0xFF)) in ixgbe_io_error_detected() 11343 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, in ixgbe_io_error_detected() [all …]
|
| D | ixgbe.h | 171 struct pci_dev *vfdev; member
|
| /Linux-v5.4/drivers/pci/ |
| D | iov.c | 962 struct pci_dev *vfdev; in pci_vfs_assigned() local 977 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned() 978 while (vfdev) { in pci_vfs_assigned() 983 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned() 984 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned() 987 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
|
| /Linux-v5.4/drivers/crypto/cavium/cpt/ |
| D | cptvf_reqmanager.c | 560 int cptvf_do_request(void *vfdev, struct cpt_request_info *req) in cptvf_do_request() argument 562 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request()
|
| /Linux-v5.4/drivers/net/ethernet/cavium/liquidio/ |
| D | lio_main.c | 3806 struct pci_dev *vfdev; in octeon_enable_sriov() local 3826 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov() 3828 while (vfdev) { in octeon_enable_sriov() 3829 if (vfdev->is_virtfn && in octeon_enable_sriov() 3830 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov() 3832 vfdev; in octeon_enable_sriov() 3835 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov() 3836 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()
|