Lines Matching defs:pci_dev

41 	struct pci_dev *pdev;						\
59 struct pci_dev *pdev = to_pci_dev(dev);
78 struct pci_dev *pdev = to_pci_dev(dev);
86 struct pci_dev *pdev = to_pci_dev(dev);
152 struct pci_dev *pdev = to_pci_dev(dev);
162 struct pci_dev *pci_dev = to_pci_dev(dev);
168 if (pci_dev->subordinate)
174 struct resource *res = &pci_dev->resource[i];
175 pci_resource_to_user(pci_dev, i, res, &start, &end);
188 struct pci_dev *pdev = to_pci_dev(dev);
198 struct pci_dev *pdev = to_pci_dev(dev);
207 struct pci_dev *pci_dev = to_pci_dev(dev);
212 err = pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &linkstat);
225 struct pci_dev *pci_dev = to_pci_dev(dev);
229 err = pcie_capability_read_word(pci_dev, PCI_EXP_LNKSTA, &linkstat);
241 struct pci_dev *pci_dev = to_pci_dev(dev);
245 err = pci_read_config_byte(pci_dev, PCI_SECONDARY_BUS, &sec_bus);
257 struct pci_dev *pci_dev = to_pci_dev(dev);
261 err = pci_read_config_byte(pci_dev, PCI_SUBORDINATE_BUS, &sub_bus);
273 struct pci_dev *pci_dev = to_pci_dev(dev);
275 return sysfs_emit(buf, "%u\n", pci_ari_enabled(pci_dev->bus));
282 struct pci_dev *pci_dev = to_pci_dev(dev);
285 pci_dev->vendor, pci_dev->device,
286 pci_dev->subsystem_vendor, pci_dev->subsystem_device,
287 (u8)(pci_dev->class >> 16), (u8)(pci_dev->class >> 8),
288 (u8)(pci_dev->class));
295 struct pci_dev *pdev = to_pci_dev(dev);
323 struct pci_dev *pdev;
335 struct pci_dev *pdev = to_pci_dev(dev);
369 struct pci_dev *pdev = to_pci_dev(dev);
386 struct pci_dev *pdev = to_pci_dev(dev);
397 struct pci_dev *pdev = to_pci_dev(dev);
467 struct pci_dev *pdev = to_pci_dev(dev);
525 struct pci_dev *pdev = to_pci_dev(dev);
542 struct pci_dev *pdev = to_pci_dev(dev);
552 struct pci_dev *pdev = to_pci_dev(dev);
566 struct pci_dev *pdev = to_pci_dev(dev);
579 struct pci_dev *pdev = to_pci_dev(dev);
654 struct pci_dev *pdev = to_pci_dev(dev);
655 struct pci_dev *vga_dev = vga_default_device();
670 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
745 struct pci_dev *dev = to_pci_dev(kobj_to_dev(kobj));
820 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1009 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vma,
1043 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1083 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1148 static void pci_remove_resource_files(struct pci_dev *pdev)
1169 static int pci_create_attr(struct pci_dev *pdev, int num, int write_combine)
1224 static int pci_create_resource_files(struct pci_dev *pdev)
1249 int __weak pci_create_resource_files(struct pci_dev *dev) { return 0; }
1250 void __weak pci_remove_resource_files(struct pci_dev *dev) { return; }
1268 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1294 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1327 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1348 struct pci_dev *pdev = to_pci_dev(dev);
1376 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1394 struct pci_dev *pdev = to_pci_dev(dev); \
1411 struct pci_dev *pdev = to_pci_dev(dev); \
1485 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj));
1495 int __must_check pci_create_sysfs_dev_files(struct pci_dev *pdev)
1509 void pci_remove_sysfs_dev_files(struct pci_dev *pdev)
1519 struct pci_dev *pdev = NULL;
1548 struct pci_dev *pdev = to_pci_dev(dev);
1567 struct pci_dev *pdev = to_pci_dev(dev);
1579 struct pci_dev *pdev = to_pci_dev(dev);
1591 struct pci_dev *pdev = to_pci_dev(dev);