Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v5.15/drivers/pci/
Dpci-sysfs.c41 pdev = to_pci_dev(dev); \
58 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show()
66 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store()
87 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu()
130 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show()
140 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show()
166 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show()
176 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show()
185 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_speed_show()
203 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_width_show()
[all …]
Dpci-driver.c435 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe()
459 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove()
497 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown()
593 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend()
620 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late()
634 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume()
672 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_prepare()
696 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete()
741 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend()
800 pci_fixup_device(pci_fixup_suspend, to_pci_dev(dev)); in pci_pm_suspend_late()
[all …]
/Linux-v5.15/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()
126 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA) in uhci_pci_init()
130 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_HP) in uhci_pci_init()
134 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_INTEL) in uhci_pci_init()
175 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_suspend()
/Linux-v5.15/drivers/gpu/drm/ast/
Dast_drv.c149 pci_save_state(to_pci_dev(dev->dev)); in ast_drm_freeze()
164 if (pci_enable_device(to_pci_dev(dev->dev))) in ast_drm_resume()
175 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend()
190 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume()
197 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze()
204 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw()
211 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
/Linux-v5.15/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()
233 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-v5.15/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()
120 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read()
134 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write()
159 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
/Linux-v5.15/arch/powerpc/kernel/
Deeh_sysfs.c27 struct pci_dev *pdev = to_pci_dev(dev); \
43 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show()
59 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store()
82 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show()
96 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_store()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_vga.c28 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev); in intel_vga_disable()
82 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_reset_io_mem()
143 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_register()
163 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_unregister()
/Linux-v5.15/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.c107 vga_client_unregister(to_pci_dev(dev->dev)); in drm_legacy_irq_install()
153 vga_client_unregister(to_pci_dev(dev->dev)); in drm_legacy_irq_uninstall()
185 pdev = to_pci_dev(dev->dev); in drm_legacy_irq_control()
/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.h133 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_heads()
145 return nv_two_heads(dev) && (to_pci_dev(dev->dev)->device & 0x0ff0) != 0x0110; in nv_gf4_disp_arch()
152 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_reg_pll()
163 struct pci_dev *pdev = to_pci_dev(dev->dev); in nv_match_device()
/Linux-v5.15/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-v5.15/sound/hda/
Dhdac_i915.c36 struct pci_dev *pci = to_pci_dev(bus->dev); in snd_hdac_i915_set_bclk()
108 hdac_pci = to_pci_dev(bus->dev); in i915_component_master_match()
109 i915_pci = to_pci_dev(dev); in i915_component_master_match()
/Linux-v5.15/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_rfim.c72 struct pci_dev *pdev = to_pci_dev(dev);\
101 struct pci_dev *pdev = to_pci_dev(dev);\
206 ret = processor_thermal_send_mbox_cmd(to_pci_dev(dev), cmd_id, input, &cmd_resp); in rfi_restriction_store()
221 ret = processor_thermal_send_mbox_cmd(to_pci_dev(dev), cmd_id, 0, &cmd_resp); in rfi_restriction_show()
236 ret = processor_thermal_send_mbox_cmd(to_pci_dev(dev), cmd_id, 0, &cmd_resp); in ddr_data_rate_show()
/Linux-v5.15/drivers/hwmon/
Di5500_temp.c40 struct pci_dev *pdev = to_pci_dev(dev->parent); in temp1_input_show()
55 struct pci_dev *pdev = to_pci_dev(dev->parent); in thresh_show()
69 struct pci_dev *pdev = to_pci_dev(dev->parent); in alarm_show()
/Linux-v5.15/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-v5.15/drivers/gpu/drm/qxl/
Dqxl_drv.c169 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()
249 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()

12345678910>>...17