| /linux-6.15/drivers/pci/ |
| H A D | pci-sysfs.c | 48 pdev = to_pci_dev(dev); \ 64 struct pci_dev *pdev = to_pci_dev(dev); in irq_show() 83 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show() 91 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store() 157 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show() 193 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show() 203 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show() 300 struct pci_dev *pdev = to_pci_dev(dev); in enable_store() 330 pdev = to_pci_dev(dev); in enable_show() 340 struct pci_dev *pdev = to_pci_dev(dev); in numa_node_store() [all …]
|
| H A D | pci-driver.c | 438 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe() 462 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove() 505 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown() 635 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend() 662 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late() 676 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume() 714 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_prepare() 738 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete() 783 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend() 1562 pdev = to_pci_dev(dev); in pci_uevent() [all …]
|
| /linux-6.15/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-6.15/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_sysfs.c | 24 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_show() 38 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_store() 96 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_show() 124 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_store() 163 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in pm_idle_enabled_show() 188 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in pm_idle_enabled_store() 213 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in auto_reset_show() 231 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in auto_reset_store() 251 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in rp2srv_show() 285 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in rp2srv_store() [all …]
|
| 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-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_irq.c | 52 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_fw_request_mbx() 150 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_pcs_request_irq() 207 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_synchronize_irq() 219 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_request_irq() 230 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_free_irq() 283 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_free_irqs() 293 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_alloc_irqs()
|
| /linux-6.15/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_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()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_vga.c | 30 struct pci_dev *pdev = to_pci_dev(display->drm->dev); in intel_vga_disable() 84 struct pci_dev *pdev = to_pci_dev(display->drm->dev); in intel_vga_reset_io_mem() 104 struct pci_dev *pdev = to_pci_dev(display->drm->dev); in intel_vga_register() 124 struct pci_dev *pdev = to_pci_dev(display->drm->dev); in intel_vga_unregister()
|
| /linux-6.15/arch/s390/pci/ |
| H A D | pci_sysfs.c | 24 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \ 47 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() 81 struct pci_dev *pdev = to_pci_dev(dev); in recover_store() 133 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read() 147 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write() 171 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
|
| /linux-6.15/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-6.15/sound/hda/ |
| H A D | hdac_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-6.15/drivers/gpu/drm/ast/ |
| H A D | ast_drv.c | 389 pci_save_state(to_pci_dev(dev->dev)); in ast_drm_freeze() 411 if (pci_enable_device(to_pci_dev(dev->dev))) in ast_drm_resume() 419 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend() 434 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume() 441 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze() 448 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw() 455 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf.c | 23 struct pci_dev *pdev = to_pci_dev(dev); in pf_reduce_totalvfs() 52 struct pci_dev *pdev = to_pci_dev(dev); in xe_sriov_pf_readiness() 97 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in xe_sriov_pf_print_vfs_summary()
|
| H A D | xe_pci_sriov.c | 67 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in xe_pci_pf_get_vf_dev() 79 struct pci_dev *pdev_pf = to_pci_dev(xe->drm.dev); in pf_link_vfs() 116 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in pf_enable_vfs() 162 struct pci_dev *pdev = to_pci_dev(dev); in pf_disable_vfs()
|
| /linux-6.15/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-6.15/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-6.15/drivers/gpu/drm/ |
| H A D | drm_pci.c | 50 return pci_domain_nr(to_pci_dev(dev->dev)->bus); in drm_get_pci_domain() 55 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_pci_set_busid()
|
| /linux-6.15/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 …]
|