Lines Matching refs:accel_pci_dev
40 pci_release_regions(accel_dev->accel_pci_dev.pci_dev); in adf_cleanup_pci_dev()
41 pci_disable_device(accel_dev->accel_pci_dev.pci_dev); in adf_cleanup_pci_dev()
46 struct adf_accel_pci *accel_pci_dev = &accel_dev->accel_pci_dev; in adf_cleanup_accel() local
50 struct adf_bar *bar = &accel_pci_dev->pci_bars[i]; in adf_cleanup_accel()
53 pci_iounmap(accel_pci_dev->pci_dev, bar->virt_addr); in adf_cleanup_accel()
57 switch (accel_pci_dev->pci_dev->device) { in adf_cleanup_accel()
75 struct adf_accel_pci *accel_pci_dev; in adf_probe() local
104 accel_pci_dev = &accel_dev->accel_pci_dev; in adf_probe()
105 accel_pci_dev->pci_dev = pdev; in adf_probe()
126 pci_read_config_byte(pdev, PCI_REVISION_ID, &accel_pci_dev->revid); in adf_probe()
135 accel_pci_dev->sku = hw_data->get_sku(hw_data); in adf_probe()
188 struct adf_bar *bar = &accel_pci_dev->pci_bars[i++]; in adf_probe()
194 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe()
234 pci_release_regions(accel_pci_dev->pci_dev); in adf_probe()
236 pci_disable_device(accel_pci_dev->pci_dev); in adf_probe()