Home
last modified time | relevance | path

Searched refs:accel_to_pci_dev (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_aer.c42 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_reset_sbr()
67 pcie_flr(accel_to_pci_dev(accel_dev)); in adf_reset_flr()
74 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_dev_restore()
Dadf_sriov.c52 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_enable_sriov()
98 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov()
106 pci_disable_sriov(accel_to_pci_dev(accel_dev)); in adf_disable_sriov()
Dadf_dev_mgr.c24 return ((7 * (PCI_SLOT(accel_to_pci_dev(vf)->devfn) - 1)) + in adf_get_vf_id()
25 PCI_FUNC(accel_to_pci_dev(vf)->devfn) + in adf_get_vf_id()
26 (PCI_SLOT(accel_to_pci_dev(vf)->devfn) - 1)); in adf_get_vf_id()
31 return (accel_to_pci_dev(vf)->bus->number << 8) | adf_get_vf_id(vf); in adf_get_vf_num()
Dadf_vf_isr.c62 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_disable_msi()
180 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_request_msi_irq()
226 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_vf_isr_resource_free()
Dadf_ctl_drv.c365 dev_info.bus = accel_to_pci_dev(accel_dev)->bus->number; in adf_ctl_ioctl_get_status()
366 dev_info.dev = PCI_SLOT(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
367 dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
Dadf_pfvf_pf_msg.c13 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarting()
Dadf_accel_devices.h270 #define accel_to_pci_dev(accel_ptr) accel_ptr->accel_pci_dev.pci_dev macro