Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.12.1/drivers/pci/
Dpci-sysfs.c47 pdev = to_pci_dev(dev); \
63 struct pci_dev *pdev = to_pci_dev(dev); in irq_show()
82 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show()
90 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store()
113 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu()
156 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show()
166 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show()
192 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show()
202 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show()
211 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_speed_show()
[all …]
Dpci-driver.c438 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()
848 pci_fixup_device(pci_fixup_suspend, to_pci_dev(dev)); in pci_pm_suspend_late()
[all …]
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_sysfs.c24 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_show()
39 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_store()
97 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_show()
128 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_store()
162 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in pm_idle_enabled_show()
187 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()
233 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in auto_reset_store()
253 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in rp2srv_show()
287 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in rp2srv_store()
[all …]
Dadf_sysfs_ras_counters.c18 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()
Dadf_sysfs_rl.c54 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in set_param_u()
91 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in set_param_s()
110 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in get_param_u()
144 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in get_param_s()
317 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cap_rem_show()
361 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in sla_op_store()
/linux-6.12.1/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.12.1/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_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_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_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.12.1/drivers/gpu/drm/i915/display/
Dintel_vga.c30 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev); in intel_vga_disable()
84 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_reset_io_mem()
104 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_register()
124 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_unregister()
/linux-6.12.1/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.12.1/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()
89 struct pci_dev *pdev = to_pci_dev(dev); in recover_store()
141 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read()
155 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write()
179 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
/linux-6.12.1/sound/hda/
Dhdac_i915.c37 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.12.1/drivers/gpu/drm/ast/
Dast_drv.c388 pci_save_state(to_pci_dev(dev->dev)); in ast_drm_freeze()
406 if (pci_enable_device(to_pci_dev(dev->dev))) in ast_drm_resume()
414 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend()
429 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume()
436 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze()
443 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw()
450 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_irq.c152 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_request_irq()
163 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_free_irq()
174 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_free_irqs()
187 struct pci_dev *pdev = to_pci_dev(fbd->dev); in fbnic_alloc_irqs()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_sriov_pf.c23 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()
/linux-6.12.1/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.12.1/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.12.1/drivers/gpu/drm/
Ddrm_pci.c50 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()

12345678910>>...19