Home
last modified time | relevance | path

Searched refs:vfdev (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
H A Dnitrox_mbx.c32 struct nitrox_vfdev *vfdev; member
55 struct nitrox_vfdev *vfdev) in pf2vf_send_response()
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 in pf2vf_send_response()
54 pf2vf_send_response(struct nitrox_device *ndev, struct nitrox_vfdev *vfdev) pf2vf_send_response() argument
104 struct nitrox_vfdev *vfdev = pf2vf_resp->vfdev; pf2vf_resp_handler() local
122 struct nitrox_vfdev *vfdev; nitrox_pf2vf_mbox_handler() local
176 struct nitrox_vfdev *vfdev; nitrox_mbox_init() local
[all...]
H A Dnitrox_dev.h170 * @vfdev: VF(s) devices
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()
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/
H A Dnitrox_mbx.c34 struct nitrox_vfdev *vfdev; member
57 struct nitrox_vfdev *vfdev) in pf2vf_send_response()
61 msg.value = vfdev->msg.value; in pf2vf_send_response()
63 switch (vfdev->msg.opcode) { in pf2vf_send_response()
68 vfdev->nr_queues = vfdev->msg.data; in pf2vf_send_response()
69 atomic_set(&vfdev->state, __NDEV_READY); in pf2vf_send_response()
73 msg.id.vfid = vfdev->vfno; in pf2vf_send_response()
76 vfdev->nr_queues = 0; in pf2vf_send_response()
77 atomic_set(&vfdev in pf2vf_send_response()
56 pf2vf_send_response(struct nitrox_device *ndev, struct nitrox_vfdev *vfdev) pf2vf_send_response() argument
106 struct nitrox_vfdev *vfdev = pf2vf_resp->vfdev; pf2vf_resp_handler() local
125 struct nitrox_vfdev *vfdev; nitrox_pf2vf_mbox_handler() local
181 struct nitrox_vfdev *vfdev; nitrox_mbox_init() local
[all...]
H A Dnitrox_dev.h170 * @vfdev: VF(s) devices
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()
/kernel/linux/linux-5.10/drivers/pci/
H A 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-6.6/drivers/pci/
H A Diov.c1115 struct pci_dev *vfdev; in pci_vfs_assigned() local
1130 vfdev = pci_get_device(dev->vendor, dev_id, NULL); in pci_vfs_assigned()
1131 while (vfdev) { in pci_vfs_assigned()
1136 if (vfdev->is_virtfn && (vfdev->physfn == dev) && in pci_vfs_assigned()
1137 pci_is_dev_assigned(vfdev)) in pci_vfs_assigned()
1140 vfdev = pci_get_device(dev->vendor, dev_id, vfdev); in pci_vfs_assigned()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c128 struct pci_dev *vfdev; in ixgbe_get_vfs() local
138 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
139 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
140 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
142 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
146 pci_dev_get(vfdev); in ixgbe_get_vfs()
147 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
219 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; ixgbe_disable_sriov() local
[all...]
H A Dixgbe_main.c7662 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local
7665 if (!vfdev) in ixgbe_check_for_bad_vf()
7667 pci_read_config_word(vfdev, PCI_STATUS, &status_reg); in ixgbe_check_for_bad_vf()
7671 pcie_flr(vfdev); in ixgbe_check_for_bad_vf()
9330 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
11236 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local
11299 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); in ixgbe_io_error_detected()
11300 while (vfdev) { in ixgbe_io_error_detected()
11301 if (vfdev in ixgbe_io_error_detected()
[all...]
H A Dixgbe.h173 struct pci_dev *vfdev; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c128 struct pci_dev *vfdev; in ixgbe_get_vfs() local
138 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
139 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
140 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
142 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
146 pci_dev_get(vfdev); in ixgbe_get_vfs()
147 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
219 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; ixgbe_disable_sriov() local
[all...]
H A Dixgbe_main.c7733 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() local
7736 if (!vfdev) in ixgbe_check_for_bad_vf()
7738 pci_read_config_word(vfdev, PCI_STATUS, &status_reg); in ixgbe_check_for_bad_vf()
7742 pcie_flr(vfdev); in ixgbe_check_for_bad_vf()
9421 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
11376 struct pci_dev *bdev, *vfdev; in ixgbe_io_error_detected() local
11439 vfdev = pci_get_device(PCI_VENDOR_ID_INTEL, device_id, NULL); in ixgbe_io_error_detected()
11440 while (vfdev) { in ixgbe_io_error_detected()
11441 if (vfdev in ixgbe_io_error_detected()
[all...]
H A Dixgbe.h209 struct pci_dev *vfdev; member
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c1727 struct pci_dev *vfdev; in ice_restore_all_vfs_msi_state() local
1731 vfdev = pci_get_device(pdev->vendor, vf_id, NULL); in ice_restore_all_vfs_msi_state()
1732 while (vfdev) { in ice_restore_all_vfs_msi_state()
1733 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
1734 pci_restore_msi_state(vfdev); in ice_restore_all_vfs_msi_state()
1735 vfdev = pci_get_device(pdev->vendor, vf_id, in ice_restore_all_vfs_msi_state()
1736 vfdev); in ice_restore_all_vfs_msi_state()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
H A 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-6.6/drivers/crypto/cavium/cpt/
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_pf.c4148 struct pci_dev *vfdev; in ice_restore_all_vfs_msi_state() local
4159 vfdev = pci_get_device(pdev->vendor, vf_id, NULL); in ice_restore_all_vfs_msi_state()
4160 while (vfdev) { in ice_restore_all_vfs_msi_state()
4161 if (vfdev->is_virtfn && vfdev->physfn == pdev) in ice_restore_all_vfs_msi_state()
4162 pci_restore_msi_state(vfdev); in ice_restore_all_vfs_msi_state()
4163 vfdev = pci_get_device(pdev->vendor, vf_id, in ice_restore_all_vfs_msi_state()
4164 vfdev); in ice_restore_all_vfs_msi_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c3811 struct pci_dev *vfdev; in octeon_enable_sriov() local
3831 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3833 while (vfdev) { in octeon_enable_sriov()
3834 if (vfdev->is_virtfn && in octeon_enable_sriov()
3835 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()
3837 vfdev; in octeon_enable_sriov()
3840 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3841 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Dlio_main.c3797 struct pci_dev *vfdev; in octeon_enable_sriov() local
3817 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3819 while (vfdev) { in octeon_enable_sriov()
3820 if (vfdev->is_virtfn && in octeon_enable_sriov()
3821 (vfdev->physfn == oct->pci_dev)) { in octeon_enable_sriov()
3823 vfdev; in octeon_enable_sriov()
3826 vfdev = pci_get_device(PCI_VENDOR_ID_CAVIUM, in octeon_enable_sriov()
3827 OCTEON_CN23XX_VF_VID, vfdev); in octeon_enable_sriov()

Completed in 53 milliseconds