| /linux/drivers/pci/ |
| H A D | pci-sysfs.c | 49 pdev = to_pci_dev(dev); \ 65 struct pci_dev *pdev = to_pci_dev(dev); in irq_show() 84 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show() 92 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store() 115 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu() 158 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show() 168 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show() 201 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show() 211 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show() 226 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_speed_show() [all …]
|
| H A D | pci-driver.c | 467 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe() 491 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove() 534 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown() 658 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend() 687 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late() 701 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume() 739 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_prepare() 765 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete() 812 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend() 876 pci_fixup_device(pci_fixup_suspend, to_pci_dev(dev)); in pci_pm_suspend_late() [all …]
|
| H A D | p2pdma.c | 44 struct pci_dev *pdev = to_pci_dev(dev); in size_show() 61 struct pci_dev *pdev = to_pci_dev(dev); in available_show() 78 struct pci_dev *pdev = to_pci_dev(dev); in published_show() 95 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in p2pmem_alloc_mmap() 217 to_pci_dev(pgmap->mem->owner)->p2pdma, 1); in p2pdma_folio_free() 478 return to_pci_dev(dev); in find_parent_pci_dev() 1086 struct pci_dev *pdev = to_pci_dev(provider->owner); in pci_p2pdma_map_type() 1097 client = to_pci_dev(dev); in pci_p2pdma_map_type() 1153 *p2p_dev = to_pci_dev(dev); in pci_p2pdma_enable_store()
|
| H A D | tsm.c | 233 struct pci_dev *pdev = to_pci_dev(dev); in connect_show() 263 struct pci_dev *pdev = to_pci_dev(dev); in connect_store() 473 struct pci_dev *pdev = to_pci_dev(dev); in disconnect_store() 496 struct pci_dev *pdev = to_pci_dev(dev); in bound_show() 523 struct pci_dev *pdev = to_pci_dev(dev); in dsm_show() 542 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_tsm_link_group_visible() 572 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_tsm_attr_visible() 687 uport = to_pci_dev(grandparent); in find_dsm_dev()
|
| H A D | pci-label.c | 91 struct pci_dev *pdev = to_pci_dev(dev); in smbios_label_show() 102 struct pci_dev *pdev = to_pci_dev(dev); in index_show() 119 struct pci_dev *pdev = to_pci_dev(dev); in smbios_attr_is_visible()
|
| /linux/drivers/usb/host/ |
| H A D | uhci-pci.c | 29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() 40 return uhci_check_and_reset_hc(to_pci_dev(uhci_dev(uhci)), in uhci_pci_check_and_reset_hc() 50 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_configure_hc() 64 switch (to_pci_dev(uhci_dev(uhci))->vendor) { in uhci_pci_resume_detect_interrupts_are_broken() 127 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA || in uhci_pci_init() 128 to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_ZHAOXIN) in uhci_pci_init() 132 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_HP) in uhci_pci_init() 136 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_INTEL) in uhci_pci_init() 177 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_suspend()
|
| /linux/drivers/ata/ |
| H A D | pata_sis.c | 102 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_port_base() 124 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_133_cable_detect() 144 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_66_cable_detect() 172 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_pre_reset() 196 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_set_fifo() 228 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_old_set_piomode() 265 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_100_set_piomode() 290 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_133_set_piomode() 338 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_old_set_dmamode() 377 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_66_set_dmamode() [all …]
|
| H A D | pata_artop.c | 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset() 77 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_cable_detect() 101 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_load_piomode() 128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_set_piomode() 155 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_load_piomode() 182 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_set_piomode() 207 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_set_dmamode() 247 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_set_dmamode()
|
| H A D | pata_atiixp.c | 51 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_cable_detect() 84 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_prereset() 107 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_pio_timing() 154 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_dmamode() 217 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_start() 244 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_stop()
|
| H A D | pata_sl82c105.c | 59 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_pre_reset() 80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_piomode() 117 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_dmamode() 142 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_reset_engine() 232 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_sff_irq_check()
|
| H A D | pata_cmd64x.c | 75 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_cable_detect() 96 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_timing() 197 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_dmamode() 241 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_sff_irq_check() 261 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_sff_irq_clear() 280 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_sff_irq_check() 297 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_sff_irq_clear()
|
| H A D | pata_efar.c | 44 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_pre_reset() 62 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_cable_detect() 87 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_piomode() 160 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_dmamode()
|
| H A D | pata_it8213.c | 39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_pre_reset() 56 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_cable_detect() 78 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_piomode() 142 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_dmamode()
|
| H A D | pata_cmd640.c | 55 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_set_piomode() 133 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_qc_issue() 153 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_port_start() 166 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_sff_irq_check()
|
| H A D | pata_cs5536.c | 110 struct pci_dev *pdev = to_pci_dev(adev->link->ap->host->dev); in cs5536_program_dtc() 131 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_cable_detect() 162 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_piomode() 202 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_dmamode()
|
| H A D | pata_oldpiix.c | 41 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in oldpiix_pre_reset() 67 struct pci_dev *dev = to_pci_dev(ap->host->dev); in oldpiix_set_piomode() 128 struct pci_dev *dev = to_pci_dev(ap->host->dev); in oldpiix_set_dmamode()
|
| H A D | pata_pdc202xx_old.c | 29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc2026x_cable_detect() 47 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check() 79 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_configure_piomode() 126 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_set_dmamode()
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_sysfs_ras_counters.c | 18 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in errors_correctable_show() 33 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in errors_nonfatal_show() 48 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in errors_fatal_show() 65 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in reset_error_counters_store()
|
| /linux/arch/powerpc/kernel/ |
| H A D | eeh_sysfs.c | 28 struct pci_dev *pdev = to_pci_dev(dev); \ 44 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show() 60 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store() 83 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show() 97 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_store()
|
| /linux/sound/hda/core/ |
| H A D | i915.c | 37 struct pci_dev *pci = to_pci_dev(bus->dev); in snd_hdac_i915_set_bclk() 115 hdac_pci = to_pci_dev(bus->dev); in i915_component_master_match() 116 i915_pci = to_pci_dev(dev); in i915_component_master_match() 190 if (!i915_gfx_present(to_pci_dev(bus->dev))) in snd_hdac_i915_init()
|
| /linux/drivers/misc/ocxl/ |
| H A D | core.c | 58 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_actag() 96 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_pasid() 133 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in reserve_fn_bar() 150 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in release_fn_bar() 165 struct pci_dev *pci_dev = to_pci_dev(afu->fn->dev.parent); in map_mmio_areas() 258 struct pci_dev *dev = to_pci_dev(afu->fn->dev.parent); in deactivate_afu() 337 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in assign_function_actag() 358 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in set_function_pasid() 443 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in deconfigure_function()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | disp.h | 136 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_heads() 148 return nv_two_heads(dev) && (to_pci_dev(dev->dev)->device & 0x0ff0) != 0x0110; in nv_gf4_disp_arch() 155 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_reg_pll() 166 struct pci_dev *pdev = to_pci_dev(dev->dev); in nv_match_device()
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_pci.c | 77 pdev = to_pci_dev(dev); in t7xx_mode_store() 111 pdev = to_pci_dev(dev); in t7xx_mode_show() 134 pdev = to_pci_dev(dev); in t7xx_debug_ports_store() 157 pdev = to_pci_dev(dev); in t7xx_debug_ports_show() 677 struct pci_dev *pdev = to_pci_dev(dev); in t7xx_pci_pm_resume_noirq() 693 struct pci_dev *pdev = to_pci_dev(dev); in t7xx_pci_pm_prepare() 707 return __t7xx_pci_pm_suspend(to_pci_dev(dev)); in t7xx_pci_pm_suspend() 712 return __t7xx_pci_pm_resume(to_pci_dev(dev), true); in t7xx_pci_pm_resume() 717 return __t7xx_pci_pm_resume(to_pci_dev(dev), false); in t7xx_pci_pm_thaw() 722 return __t7xx_pci_pm_suspend(to_pci_dev(dev)); in t7xx_pci_pm_runtime_suspend() [all …]
|
| /linux/drivers/usb/core/ |
| H A D | hcd-pci.c | 420 struct pci_dev *pci_dev = to_pci_dev(dev); in suspend_common() 483 struct pci_dev *pci_dev = to_pci_dev(dev); in resume_common() 536 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_suspend_noirq() 575 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_poweroff_late() 586 powermac_set_asic(to_pci_dev(dev), 1); in hcd_pci_resume_noirq() 618 powermac_set_asic(to_pci_dev(dev), 0); in hcd_pci_runtime_suspend() 627 powermac_set_asic(to_pci_dev(dev), 1); in hcd_pci_runtime_resume()
|
| /linux/drivers/hid/intel-thc-hid/intel-quickspi/ |
| H A D | pci-quickspi.c | 744 struct pci_dev *pdev = to_pci_dev(device); in quickspi_suspend() 769 struct pci_dev *pdev = to_pci_dev(device); in quickspi_resume() 802 struct pci_dev *pdev = to_pci_dev(device); in quickspi_freeze() 823 struct pci_dev *pdev = to_pci_dev(device); in quickspi_thaw() 846 struct pci_dev *pdev = to_pci_dev(device); in quickspi_poweroff() 869 struct pci_dev *pdev = to_pci_dev(device); in quickspi_restore() 932 struct pci_dev *pdev = to_pci_dev(device); in quickspi_runtime_suspend() 948 struct pci_dev *pdev = to_pci_dev(device); in quickspi_runtime_resume()
|