Lines Matching defs:device
287 * but directly by the video driver through function pointers in the device
295 struct pci_dev *device = NULL;
306 for_each_pci_dev(device) {
307 /* Don't touch the bridge yet, device first */
308 if (device == pdev)
314 * device
316 if (device->bus != pdev->bus)
318 agp = pci_find_capability(device, PCI_CAP_ID_AGP);
321 pci_read_config_dword(device, agp + PCI_AGP_COMMAND, &cmd);
324 dev_info(&pdev->dev, "disabling AGP on device %s\n",
325 pci_name(device));
327 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, cmd);
617 if (pdev->device == devs[j].device_id) {
625 pdev->vendor, pdev->device);
641 "device-rev", NULL);
691 .device = PCI_ANY_ID,