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()
244 struct pci_dev *pdev = to_pci_dev(dev); in dma_mask_bits_show()
261 struct pci_dev *pdev = to_pci_dev(dev); in msi_bus_show()
272 struct pci_dev *pdev = to_pci_dev(dev); in msi_bus_store()
343 struct pci_dev *pdev = to_pci_dev(dev); in dev_rescan_store()
402 struct pci_dev *pdev = to_pci_dev(dev); in d3cold_allowed_store()
417 struct pci_dev *pdev = to_pci_dev(dev); in d3cold_allowed_show()
427 struct pci_dev *pdev = to_pci_dev(dev); in devspec_show()
442 struct pci_dev *pdev = to_pci_dev(dev); in sriov_totalvfs_show()
452 struct pci_dev *pdev = to_pci_dev(dev); in sriov_numvfs_show()
468 struct pci_dev *pdev = to_pci_dev(dev); in sriov_numvfs_store()
524 struct pci_dev *pdev = to_pci_dev(dev); in driver_override_store()
554 struct pci_dev *pdev = to_pci_dev(dev); in driver_override_show()
617 struct pci_dev *pdev = to_pci_dev(dev); in boot_vga_show()
618 struct pci_dev *vga_dev = vga_default_device(); in boot_vga_show()
633 struct pci_dev *dev = to_pci_dev(container_of(kobj, struct device, in pci_read_config()
710 struct pci_dev *dev = to_pci_dev(container_of(kobj, struct device, in pci_write_config()
772 struct pci_dev *dev = in read_vpd_attr()
787 struct pci_dev *dev = in write_vpd_attr()
973 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vma, in pci_mmap_fits()
1003 struct pci_dev *pdev = to_pci_dev(container_of(kobj, in pci_mmap_resource()
1057 struct pci_dev *pdev = to_pci_dev(container_of(kobj, in pci_resource_io()
1121 static void pci_remove_resource_files(struct pci_dev *pdev) in pci_remove_resource_files()
1142 static int pci_create_attr(struct pci_dev *pdev, int num, int write_combine) in pci_create_attr()
1184 static int pci_create_resource_files(struct pci_dev *pdev) in pci_create_resource_files()
1209 int __weak pci_create_resource_files(struct pci_dev *dev) { return 0; } in pci_create_resource_files()
1210 void __weak pci_remove_resource_files(struct pci_dev *dev) { return; } in pci_remove_resource_files()
1228 struct pci_dev *pdev = to_pci_dev(container_of(kobj, struct device, kobj)); in pci_write_rom()
1254 struct pci_dev *pdev = to_pci_dev(container_of(kobj, struct device, kobj)); in pci_read_rom()
1301 struct pci_dev *pdev = to_pci_dev(dev); in reset_store()
1320 static int pci_create_capabilities_sysfs(struct pci_dev *dev) in pci_create_capabilities_sysfs()
1366 int __must_check pci_create_sysfs_dev_files(struct pci_dev *pdev) in pci_create_sysfs_dev_files()
1438 static void pci_remove_capabilities_sysfs(struct pci_dev *dev) in pci_remove_capabilities_sysfs()
1458 void pci_remove_sysfs_dev_files(struct pci_dev *pdev) in pci_remove_sysfs_dev_files()
1490 struct pci_dev *pdev = NULL; in pci_sysfs_init()
1515 struct pci_dev *pdev = to_pci_dev(dev); in pci_dev_attrs_are_visible()
1534 struct pci_dev *pdev = to_pci_dev(dev); in pci_dev_hp_attrs_are_visible()