Searched refs:accel_to_pci_dev (Results 1 – 7 of 7) sorted by relevance
42 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()
52 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()
24 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()
62 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()
365 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()
13 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarting()
270 #define accel_to_pci_dev(accel_ptr) accel_ptr->accel_pci_dev.pci_dev macro