Lines Matching refs:pci_dev
78 static int adf_probe(struct pci_dev *dev, const struct pci_device_id *ent);
79 static void adf_remove(struct pci_dev *dev);
91 pci_release_regions(accel_dev->accel_pci_dev.pci_dev); in adf_cleanup_pci_dev()
92 pci_disable_device(accel_dev->accel_pci_dev.pci_dev); in adf_cleanup_pci_dev()
104 pci_iounmap(accel_pci_dev->pci_dev, bar->virt_addr); in adf_cleanup_accel()
108 switch (accel_pci_dev->pci_dev->device) { in adf_cleanup_accel()
204 static int adf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in adf_probe()
236 accel_pci_dev->pci_dev = pdev; in adf_probe()
339 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe()
379 pci_release_regions(accel_pci_dev->pci_dev); in adf_probe()
381 pci_disable_device(accel_pci_dev->pci_dev); in adf_probe()
388 static void adf_remove(struct pci_dev *pdev) in adf_remove()