Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v4.19/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()
131 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show()
157 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show()
166 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show()
175 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_speed_show()
208 struct pci_dev *pci_dev = to_pci_dev(dev); in current_link_width_show()
225 struct pci_dev *pci_dev = to_pci_dev(dev); in secondary_bus_number_show()
[all …]
Dpci-driver.c414 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe()
437 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove()
476 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown()
566 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend()
593 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late()
627 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume_early()
636 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume()
691 return pci_dev_keep_suspended(to_pci_dev(dev)); in pci_pm_prepare()
696 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete()
734 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend()
[all …]
/Linux-v4.19/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-v4.19/drivers/ata/
Dpata_artop.c57 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset()
76 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_cable_detect()
100 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_load_piomode()
127 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_set_piomode()
154 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_load_piomode()
181 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_set_piomode()
206 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_set_dmamode()
246 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_set_dmamode()
Dpata_sis.c101 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_atiixp.c50 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_cable_detect()
83 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_prereset()
105 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_pio_timing()
152 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_dmamode()
215 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_start()
242 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_stop()
Dpata_sl82c105.c58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_pre_reset()
79 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_piomode()
116 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_dmamode()
141 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.c74 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_cable_detect()
95 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_timing()
196 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_dmamode()
240 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_sff_irq_check()
260 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_sff_irq_clear()
279 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_sff_irq_check()
296 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_sff_irq_clear()
Dpata_efar.c43 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_pre_reset()
61 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_cable_detect()
86 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_piomode()
159 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_dmamode()
Dpata_it8213.c38 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_pre_reset()
55 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_cable_detect()
77 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_piomode()
141 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_dmamode()
Dpata_cmd640.c54 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_set_piomode()
132 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_qc_issue()
152 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_port_start()
165 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_sff_irq_check()
/Linux-v4.19/drivers/ide/
Dsl82c105.c68 struct pci_dev *dev = to_pci_dev(hwif->dev); in sl82c105_set_pio_mode()
115 struct pci_dev *dev = to_pci_dev(hwif->dev); in sl82c105_test_irq()
150 struct pci_dev *dev = to_pci_dev(hwif->dev); in sl82c105_dma_lost_irq()
188 struct pci_dev *dev = to_pci_dev(hwif->dev); in sl82c105_dma_start()
200 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sl82c105_dma_clear()
207 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sl82c105_dma_end()
223 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sl82c105_resetproc()
Dsis5513.c189 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_get_base()
199 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata16_program_timings()
222 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata100_program_timings()
245 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_program_timings()
278 struct pci_dev *dev = to_pci_dev(hwif->dev); in config_drive_art_rwp()
301 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_program_udma_timings()
320 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata33_program_udma_timings()
355 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_udma_filter()
527 struct pci_dev *pdev = to_pci_dev(hwif->dev); in sis_cable_detect()
Dcmd64x.c57 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in cmd64x_program_timings()
149 struct pci_dev *dev = to_pci_dev(hwif->dev); in cmd64x_set_dma_mode()
189 struct pci_dev *dev = to_pci_dev(hwif->dev); in cmd648_clear_irq()
203 struct pci_dev *dev = to_pci_dev(hwif->dev); in cmd64x_clear_irq()
216 struct pci_dev *dev = to_pci_dev(hwif->dev); in cmd648_test_irq()
230 struct pci_dev *dev = to_pci_dev(hwif->dev); in cmd64x_test_irq()
290 struct pci_dev *dev = to_pci_dev(hwif->dev); in cmd64x_cable_detect()
Dserverworks.c67 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in svwks_udma_filter()
114 struct pci_dev *dev = to_pci_dev(hwif->dev); in svwks_set_pio_mode()
137 struct pci_dev *dev = to_pci_dev(hwif->dev); in svwks_set_dma_mode()
275 struct pci_dev *dev = to_pci_dev(hwif->dev); in ata66_svwks_dell()
294 struct pci_dev *dev = to_pci_dev(hwif->dev); in ata66_svwks_cobalt()
306 struct pci_dev *dev = to_pci_dev(hwif->dev); in svwks_cable_detect()
/Linux-v4.19/arch/powerpc/kernel/
Deeh_sysfs.c43 struct pci_dev *pdev = to_pci_dev(dev); \
59 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show()
75 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store()
97 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show()
112 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_store()
/Linux-v4.19/drivers/gpu/drm/ast/
Dast_drv.c122 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend()
136 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume()
143 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze()
154 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw()
161 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
/Linux-v4.19/arch/s390/pci/
Dpci_sysfs.c22 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
43 struct pci_dev *pdev = to_pci_dev(dev); in recover_store()
76 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read()
90 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write()
/Linux-v4.19/drivers/staging/vboxvideo/
Dvbox_drv.c141 struct pci_dev *pdev = to_pci_dev(dev); in vbox_pm_suspend()
157 struct drm_device *ddev = pci_get_drvdata(to_pci_dev(dev)); in vbox_pm_resume()
164 struct pci_dev *pdev = to_pci_dev(dev); in vbox_pm_freeze()
175 struct drm_device *ddev = pci_get_drvdata(to_pci_dev(dev)); in vbox_pm_thaw()
182 struct drm_device *ddev = pci_get_drvdata(to_pci_dev(dev)); in vbox_pm_poweroff()
/Linux-v4.19/drivers/misc/mei/
Dpci-txe.c231 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pci_suspend()
251 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pci_resume()
289 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pm_runtime_idle()
304 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pm_runtime_suspend()
335 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pm_runtime_resume()
368 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_txe_set_pm_domain()
Dpci-me.c327 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pci_suspend()
347 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pci_resume()
386 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pm_runtime_idle()
402 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pm_runtime_suspend()
431 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pm_runtime_resume()
462 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_me_set_pm_domain()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_drv.c190 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_suspend()
205 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_resume()
219 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_thaw()
227 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_freeze()
235 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()
/Linux-v4.19/arch/ia64/sn/pci/
Dpci_dma.c85 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_alloc_coherent()
143 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_free_coherent()
184 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_map_page()
220 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_unmap_page()
243 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_unmap_sg()
277 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_map_sg()
/Linux-v4.19/drivers/crypto/ccp/
Dsp-pci.c42 struct pci_dev *pdev = to_pci_dev(dev); in sp_get_msix_irqs()
64 struct pci_dev *pdev = to_pci_dev(dev); in sp_get_msi_irq()
102 struct pci_dev *pdev = to_pci_dev(dev); in sp_free_irqs()
121 pdev_new = to_pci_dev(dev_new); in sp_pci_is_master()
122 pdev_cur = to_pci_dev(dev_cur); in sp_pci_is_master()
/Linux-v4.19/drivers/hwmon/
Di5500_temp.c49 struct pci_dev *pdev = to_pci_dev(dev->parent); in temp1_input_show()
64 struct pci_dev *pdev = to_pci_dev(dev->parent); in show_thresh()
78 struct pci_dev *pdev = to_pci_dev(dev->parent); in show_alarm()

12345678910>>...13