Lines Matching refs:pdev
92 static void ast_kick_out_firmware_fb(struct pci_dev *pdev)
101 ap->ranges[0].base = pci_resource_start(pdev, 0);
102 ap->ranges[0].size = pci_resource_len(pdev, 0);
105 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW;
111 static int ast_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
117 ast_kick_out_firmware_fb(pdev);
119 ret = pcim_enable_device(pdev);
123 ast = ast_device_create(&ast_driver, pdev, ent->driver_data);
137 static void ast_pci_remove(struct pci_dev *pdev)
139 struct drm_device *dev = pci_get_drvdata(pdev);
152 pci_save_state(dev->pdev);
167 if (pci_enable_device(dev->pdev))
178 struct pci_dev *pdev = to_pci_dev(dev);
179 struct drm_device *ddev = pci_get_drvdata(pdev);
186 pci_disable_device(pdev);
187 pci_set_power_state(pdev, PCI_D3hot);
193 struct pci_dev *pdev = to_pci_dev(dev);
194 struct drm_device *ddev = pci_get_drvdata(pdev);
200 struct pci_dev *pdev = to_pci_dev(dev);
201 struct drm_device *ddev = pci_get_drvdata(pdev);
207 struct pci_dev *pdev = to_pci_dev(dev);
208 struct drm_device *ddev = pci_get_drvdata(pdev);
214 struct pci_dev *pdev = to_pci_dev(dev);
215 struct drm_device *ddev = pci_get_drvdata(pdev);