Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.3-rc2/drivers/pci/
A 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()
152 struct pci_dev *pdev = to_pci_dev(dev); in power_state_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()
296 struct pci_dev *pdev = to_pci_dev(dev); in enable_store()
326 pdev = to_pci_dev(dev); in enable_show()
336 struct pci_dev *pdev = to_pci_dev(dev); in numa_node_store()
[all …]
A 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()
624 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend()
651 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late()
665 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume()
703 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_prepare()
727 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete()
772 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend()
1555 pdev = to_pci_dev(dev); in pci_uevent()
[all …]
/linux-6.3-rc2/drivers/usb/host/
A 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-6.3-rc2/drivers/gpu/drm/ast/
A Dast_drv.c149 pci_save_state(to_pci_dev(dev->dev)); in ast_drm_freeze()
162 if (pci_enable_device(to_pci_dev(dev->dev))) in ast_drm_resume()
170 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend()
185 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume()
192 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze()
199 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw()
206 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
/linux-6.3-rc2/drivers/ata/
A 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 …]
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
A 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.3-rc2/drivers/gpu/drm/i915/display/
A 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.3-rc2/arch/s390/pci/
A 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.3-rc2/arch/powerpc/kernel/
A 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.3-rc2/sound/hda/
A 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()
153 if (!i915_gfx_present(to_pci_dev(bus->dev))) in snd_hdac_i915_init()
/linux-6.3-rc2/drivers/crypto/qat/qat_common/
A Dadf_sysfs.c21 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_show()
36 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in state_store()
107 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_show()
138 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cfg_services_store()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/
A 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.3-rc2/drivers/gpu/drm/
A 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()
A 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.3-rc2/drivers/misc/ocxl/
A 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.3-rc2/drivers/thermal/intel/int340x_thermal/
A Dprocessor_thermal_rfim.c74 struct pci_dev *pdev = to_pci_dev(dev);\
103 struct pci_dev *pdev = to_pci_dev(dev);\
210 ret = processor_thermal_send_mbox_write_cmd(to_pci_dev(dev), id, input); in rfi_restriction_store()
225 ret = processor_thermal_send_mbox_read_cmd(to_pci_dev(dev), id, &resp); in rfi_restriction_show()
240 ret = processor_thermal_send_mbox_read_cmd(to_pci_dev(dev), id, &resp); in ddr_data_rate_show()
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/
A 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.3-rc2/drivers/accel/ivpu/
A Divpu_pm.c105 ret = pci_reset_function(to_pci_dev(vdev->drm.dev)); in ivpu_pm_recovery_work()
157 pci_save_state(to_pci_dev(dev)); in ivpu_pm_suspend_cb()
158 pci_set_power_state(to_pci_dev(dev), PCI_D3hot); in ivpu_pm_suspend_cb()
173 pci_set_power_state(to_pci_dev(dev), PCI_D0); in ivpu_pm_resume_cb()
174 pci_restore_state(to_pci_dev(dev)); in ivpu_pm_resume_cb()

Completed in 47 milliseconds

12345678910>>...18