Home
last modified time | relevance | path

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

12345678910>>...17

/linux/drivers/pci/
H A Dpci-sysfs.c48 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()
114 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu()
157 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show()
167 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_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()
212 struct pci_dev *pci_dev = to_pci_dev(de in current_link_speed_show()
[all...]
/linux/drivers/usb/host/
H 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()
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/drivers/crypto/intel/qat/qat_common/
H A Dadf_sysfs.c24 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()
287 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(de in rp2srv_store()
[all...]
H A 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()
H A Dadf_sysfs_rl.c55 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in set_param_u()
92 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in set_param_s()
111 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in get_param_u()
145 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in get_param_s()
299 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in srv_store()
326 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in cap_rem_show()
370 accel_dev = adf_devmgr_pci_to_accel_dev(to_pci_dev(dev)); in sla_op_store()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_irq.c52 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/drivers/ata/
H 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(a in sis_66_set_dmamode()
[all...]
H 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()
H 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()
H 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()
H 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()
H 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()
H 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()
H 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/drivers/gpu/drm/xe/
H A Dxe_device_sysfs.c39 struct pci_dev *pdev = to_pci_dev(dev); in vram_d3cold_threshold_show()
54 struct pci_dev *pdev = to_pci_dev(dev); in vram_d3cold_threshold_store()
77 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in lb_fan_control_version_show()
116 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in lb_voltage_regulator_version_show()
154 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in late_bind_create_files()
187 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev)); in late_bind_remove_files()
249 struct pci_dev *pdev = to_pci_dev(dev); in auto_link_downgrade_capable_show()
265 struct pci_dev *pdev = to_pci_dev(dev); in auto_link_downgrade_status_show()
H A Dxe_pci_sriov.c74 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in xe_pci_pf_get_vf_dev()
86 struct pci_dev *pdev_pf = to_pci_dev(xe->drm.dev); in pf_link_vfs()
137 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in resize_vf_vram_bar()
149 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in pf_enable_vfs()
208 struct pci_dev *pdev = to_pci_dev(dev); in pf_disable_vfs()
H A Dxe_survivability_mode.c127 struct pci_dev *pdev = to_pci_dev(dev); in survivability_mode_show()
147 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in xe_survivability_mode_fini()
220 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in xe_survivability_mode_is_requested()
261 struct pci_dev *pdev = to_pci_dev(xe->drm.dev); in xe_survivability_mode_enable()
/linux/arch/s390/pci/
H A Dpci_sysfs.c24 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/arch/powerpc/kernel/
H 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/sound/hda/core/
H A Di915.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/drivers/gpu/drm/nouveau/dispnv04/
H 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/drivers/misc/ocxl/
H 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/drivers/gpu/drm/
H A Ddrm_pci.c49 return pci_domain_nr(to_pci_dev(dev->dev)->bus); in drm_get_pci_domain()
54 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_pci_set_busid()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c77 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(de in t7xx_pci_pm_runtime_suspend()
[all...]
/linux/drivers/gpu/drm/qxl/
H A Dqxl_drv.c172 struct pci_dev *pdev = to_pci_dev(dev->dev); in qxl_drm_freeze()
208 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_suspend()
223 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_resume()
253 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()

12345678910>>...17