Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_aer.c43 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_reset_sbr()
68 pcie_flr(accel_to_pci_dev(accel_dev)); in adf_reset_flr()
75 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_dev_restore()
186 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_enable_aer()
204 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_disable_aer()
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()
181 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_request_msi_irq()
227 struct pci_dev *pdev = accel_to_pci_dev(accel_dev); in adf_vf_isr_resource_free()
Dadf_ctl_drv.c373 dev_info.bus = accel_to_pci_dev(accel_dev)->bus->number; in adf_ctl_ioctl_get_status()
374 dev_info.dev = PCI_SLOT(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
375 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.h250 #define accel_to_pci_dev(accel_ptr) accel_ptr->accel_pci_dev.pci_dev macro