Lines Matching refs:device
286 * but directly by the video driver through function pointers in the device
294 struct pci_dev *device = NULL;
305 for_each_pci_dev(device) {
306 /* Don't touch the bridge yet, device first */
307 if (device == pdev)
313 * device
315 if (device->bus != pdev->bus)
317 agp = pci_find_capability(device, PCI_CAP_ID_AGP);
320 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd);
323 dev_info(&pdev->dev, "disabling AGP on device %s\n",
324 pci_name(device));
326 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd);
616 if (pdev->device == devs[j].device_id) {
624 pdev->vendor, pdev->device);
640 "device-rev", NULL);
690 .device = PCI_ANY_ID,