Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
Dnitrox_mbx.c32 struct nitrox_vfdev *vfdev; member
55 struct nitrox_vfdev *vfdev) in pf2vf_send_response() argument
59 msg.value = vfdev->msg.value; in pf2vf_send_response()
61 switch (vfdev->msg.opcode) { in pf2vf_send_response()
66 vfdev->nr_queues = vfdev->msg.data; in pf2vf_send_response()
67 atomic_set(&vfdev->state, __NDEV_READY); in pf2vf_send_response()
71 msg.id.vfid = vfdev->vfno; in pf2vf_send_response()
74 vfdev->nr_queues = 0; in pf2vf_send_response()
75 atomic_set(&vfdev->state, __NDEV_NOT_READY); in pf2vf_send_response()
94 pf2vf_write_mbox(ndev, msg.value, vfdev->ring); in pf2vf_send_response()
[all …]
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
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()
215 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
217 if (!vfdev) in ixgbe_disable_sriov()
219 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
[all …]
Dixgbe_main.c7655 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local
7658 if (!vfdev) in ixgbe_check_for_bad_vf()
7660 pci_read_config_word(vfdev, PCI_STATUS, &status_reg); in ixgbe_check_for_bad_vf()
7664 pcie_flr(vfdev); in ixgbe_check_for_bad_vf()
9325 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
11231 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local
11294 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); in ixgbe_io_error_detected()
11295 while (vfdev) { in ixgbe_io_error_detected()
11296 if (vfdev->devfn == (req_id & 0xFF)) in ixgbe_io_error_detected()
11298 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, in ixgbe_io_error_detected()
[all …]
Dixgbe.h171 struct pci_dev *vfdev; member
/kernel/linux/linux-5.10/drivers/pci/
Diov.c978 struct pci_dev *vfdev; in pci_vfs_assigned() local
993 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned()
994 while (vfdev) { in pci_vfs_assigned()
999 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
1000 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned()
1003 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c4126 struct pci_dev *vfdev; in ice_restore_all_vfs_msi_state() local
4137 vfdev = pci_get_device(pdev->vendor, vf_id, NULL); in ice_restore_all_vfs_msi_state()
4138 while (vfdev) { in ice_restore_all_vfs_msi_state()
4139 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
4140 pci_restore_msi_state(vfdev); in ice_restore_all_vfs_msi_state()
4141 vfdev = pci_get_device(pdev->vendor, vf_id, in ice_restore_all_vfs_msi_state()
4142 vfdev); in ice_restore_all_vfs_msi_state()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c558 int cptvf_do_request(void *vfdev, struct cpt_request_info *req) in cptvf_do_request() argument
560 struct cpt_vf *cptvf = (struct cpt_vf *)vfdev; in cptvf_do_request()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c3793 struct pci_dev *vfdev; in octeon_enable_sriov() local
3813 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3815 while (vfdev) { in octeon_enable_sriov()
3816 if (vfdev->is_virtfn && in octeon_enable_sriov()
3817 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()
3819 vfdev; in octeon_enable_sriov()
3822 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3823 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()