Lines Matching refs:pci_dev

42 	struct pci_dev *pdev;						\
60 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show()
68 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store()
133 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show() local
139 if (pci_dev->subordinate) in resource_show()
145 struct resource *res = &pci_dev->resource[i]; in resource_show()
146 pci_resource_to_user(pci_dev, i, res, &start, &end); in resource_show()
159 struct pci_dev *pci_dev = to_pci_dev(dev); in modalias_show() local
162 pci_dev->vendor, pci_dev->device, in modalias_show()
163 pci_dev->subsystem_vendor, pci_dev->subsystem_device, in modalias_show()
164 (u8)(pci_dev->class >> 16), (u8)(pci_dev->class >> 8), in modalias_show()
165 (u8)(pci_dev->class)); in modalias_show()
172 struct pci_dev *pdev = to_pci_dev(dev); in enable_store()
197 struct pci_dev *pdev; in enable_show()
209 struct pci_dev *pdev = to_pci_dev(dev); in numa_node_store()
241 struct pci_dev *pdev = to_pci_dev(dev); in dma_mask_bits_show()
258 struct pci_dev *pdev = to_pci_dev(dev); in msi_bus_show()
269 struct pci_dev *pdev = to_pci_dev(dev); in msi_bus_store()
340 struct pci_dev *pdev = to_pci_dev(dev); in dev_rescan_store()
399 struct pci_dev *pdev = to_pci_dev(dev); in d3cold_allowed_store()
414 struct pci_dev *pdev = to_pci_dev(dev); in d3cold_allowed_show()
424 struct pci_dev *pdev = to_pci_dev(dev); in devspec_show()
439 struct pci_dev *pdev = to_pci_dev(dev); in sriov_totalvfs_show()
449 struct pci_dev *pdev = to_pci_dev(dev); in sriov_numvfs_show()
465 struct pci_dev *pdev = to_pci_dev(dev); in sriov_numvfs_store()
521 struct pci_dev *pdev = to_pci_dev(dev); in driver_override_store()
551 struct pci_dev *pdev = to_pci_dev(dev); in driver_override_show()
614 struct pci_dev *pdev = to_pci_dev(dev); in boot_vga_show()
615 struct pci_dev *vga_dev = vga_default_device(); in boot_vga_show()
630 struct pci_dev *dev = to_pci_dev(container_of(kobj, struct device, in pci_read_config()
707 struct pci_dev *dev = to_pci_dev(container_of(kobj, struct device, in pci_write_config()
769 struct pci_dev *dev = in read_vpd_attr()
784 struct pci_dev *dev = in write_vpd_attr()
970 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vma, in pci_mmap_fits()
1000 struct pci_dev *pdev = to_pci_dev(container_of(kobj, in pci_mmap_resource()
1054 struct pci_dev *pdev = to_pci_dev(container_of(kobj, in pci_resource_io()
1118 static void pci_remove_resource_files(struct pci_dev *pdev) in pci_remove_resource_files()
1139 static int pci_create_attr(struct pci_dev *pdev, int num, int write_combine) in pci_create_attr()
1181 static int pci_create_resource_files(struct pci_dev *pdev) in pci_create_resource_files()
1206 int __weak pci_create_resource_files(struct pci_dev *dev) { return 0; } in pci_create_resource_files()
1207 void __weak pci_remove_resource_files(struct pci_dev *dev) { return; } in pci_remove_resource_files()
1225 struct pci_dev *pdev = to_pci_dev(container_of(kobj, struct device, kobj)); in pci_write_rom()
1251 struct pci_dev *pdev = to_pci_dev(container_of(kobj, struct device, kobj)); in pci_read_rom()
1298 struct pci_dev *pdev = to_pci_dev(dev); in reset_store()
1317 static int pci_create_capabilities_sysfs(struct pci_dev *dev) in pci_create_capabilities_sysfs()
1363 int __must_check pci_create_sysfs_dev_files(struct pci_dev *pdev) in pci_create_sysfs_dev_files()
1435 static void pci_remove_capabilities_sysfs(struct pci_dev *dev) in pci_remove_capabilities_sysfs()
1455 void pci_remove_sysfs_dev_files(struct pci_dev *pdev) in pci_remove_sysfs_dev_files()
1487 struct pci_dev *pdev = NULL; in pci_sysfs_init()
1512 struct pci_dev *pdev = to_pci_dev(dev); in pci_dev_attrs_are_visible()
1531 struct pci_dev *pdev = to_pci_dev(dev); in pci_dev_hp_attrs_are_visible()