Home
last modified time | relevance | path

Searched refs:to_pci_dev (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/linux-6.6.21/drivers/pci/ !
Dpci-sysfs.c43 pdev = to_pci_dev(dev); \
59 struct pci_dev *pdev = to_pci_dev(dev); in irq_show()
78 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show()
86 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store()
109 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu()
152 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show()
162 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show()
188 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show()
198 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show()
207 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_speed_show()
[all …]
Dpci-driver.c447 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe()
471 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove()
507 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown()
637 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend()
664 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late()
678 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume()
716 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_prepare()
740 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete()
785 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend()
850 pci_fixup_device(pci_fixup_suspend, to_pci_dev(dev)); in pci_pm_suspend_late()
[all …]
/linux-6.6.21/drivers/usb/host/ !
Duhci-pci.c29 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.6.21/drivers/gpu/drm/ast/ !
Dast_drv.c135 pci_save_state(to_pci_dev(dev->dev)); in ast_drm_freeze()
148 if (pci_enable_device(to_pci_dev(dev->dev))) in ast_drm_resume()
156 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend()
171 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume()
178 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze()
185 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw()
192 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/ !
Dadf_sysfs.c22 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_show()
37 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_store()
95 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_show()
126 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_store()
160 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in pm_idle_enabled_show()
185 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in pm_idle_enabled_store()
/linux-6.6.21/drivers/ata/ !
Dpata_sis.c102 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 …]
Dpata_artop.c58 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()
Dpata_atiixp.c51 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()
Dpata_sl82c105.c59 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()
Dpata_cmd64x.c75 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()
Dpata_efar.c44 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()
Dpata_it8213.c39 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()
Dpata_cmd640.c55 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()
Dpata_cs5536.c110 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.6.21/drivers/gpu/drm/i915/display/ !
Dintel_vga.c31 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev); in intel_vga_disable()
85 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_reset_io_mem()
119 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_register()
139 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_unregister()
/linux-6.6.21/arch/s390/pci/ !
Dpci_sysfs.c24 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
46 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show()
56 struct pci_dev *pdev = to_pci_dev(dev); in recover_store()
128 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read()
142 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write()
167 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
/linux-6.6.21/arch/powerpc/kernel/ !
Deeh_sysfs.c28 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.6.21/sound/hda/ !
Dhdac_i915.c31 struct pci_dev *pci = to_pci_dev(bus->dev); in snd_hdac_i915_set_bclk()
109 hdac_pci = to_pci_dev(bus->dev); in i915_component_master_match()
110 i915_pci = to_pci_dev(dev); in i915_component_master_match()
154 if (!i915_gfx_present(to_pci_dev(bus->dev))) in snd_hdac_i915_init()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/ !
Ddisp.h136 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.6.21/drivers/gpu/drm/ !
Ddrm_pci.c56 return pci_domain_nr(to_pci_dev(dev->dev)->bus); in drm_get_pci_domain()
61 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_pci_set_busid()
79 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_legacy_pci_irq_by_busid()
136 if (pci_find_capability(to_pci_dev(dev->dev), PCI_CAP_ID_AGP)) in drm_legacy_pci_agp_init()
Ddrm_irq.c106 vga_client_unregister(to_pci_dev(dev->dev)); in drm_legacy_irq_install()
152 vga_client_unregister(to_pci_dev(dev->dev)); in drm_legacy_irq_uninstall()
184 pdev = to_pci_dev(dev->dev); in drm_legacy_irq_control()
/linux-6.6.21/drivers/misc/ocxl/ !
Dcore.c58 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.6.21/drivers/accel/ivpu/ !
Divpu_pm.c106 ret = pci_try_reset_function(to_pci_dev(vdev->drm.dev)); in ivpu_pm_recovery_work()
159 pci_save_state(to_pci_dev(dev)); in ivpu_pm_suspend_cb()
160 pci_set_power_state(to_pci_dev(dev), PCI_D3hot); in ivpu_pm_suspend_cb()
175 pci_set_power_state(to_pci_dev(dev), PCI_D0); in ivpu_pm_resume_cb()
176 pci_restore_state(to_pci_dev(dev)); in ivpu_pm_resume_cb()
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/ !
Dorinoco_pci.h23 struct pci_dev *pdev = to_pci_dev(dev_d); in orinoco_pci_suspend()
34 struct pci_dev *pdev = to_pci_dev(dev_d); in orinoco_pci_resume()
/linux-6.6.21/drivers/gpu/drm/qxl/ !
Dqxl_drv.c170 struct pci_dev *pdev = to_pci_dev(dev->dev); in qxl_drm_freeze()
206 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_suspend()
221 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_resume()
251 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()

12345678910>>...18