Lines Matching refs:to_pci_dev

44 	pdev = to_pci_dev(dev);						\
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()
89 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu()
133 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show()
159 struct pci_dev *pci_dev = to_pci_dev(dev); in modalias_show()
172 struct pci_dev *pdev = to_pci_dev(dev); in enable_store()
199 pdev = to_pci_dev(dev); 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()
368 pci_stop_and_remove_bus_device_locked(to_pci_dev(dev)); in remove_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()
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()
773 to_pci_dev(container_of(kobj, struct device, kobj)); in read_vpd_attr()
788 to_pci_dev(container_of(kobj, struct device, kobj)); in write_vpd_attr()
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()
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()
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()