Home
last modified time | relevance | path

Searched refs:to_pci_dev (Results 1 – 200 of 261) sorted by relevance

12

/linux-4.4.14/drivers/usb/host/
Duhci-pci.c28 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc()
39 return uhci_check_and_reset_hc(to_pci_dev(uhci_dev(uhci)), in uhci_pci_check_and_reset_hc()
49 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_configure_hc()
63 switch (to_pci_dev(uhci_dev(uhci))->vendor) { in uhci_pci_resume_detect_interrupts_are_broken()
125 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA) in uhci_pci_init()
129 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_HP) in uhci_pci_init()
170 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_suspend()
Dxhci-pci.c83 struct pci_dev *pdev = to_pci_dev(dev); in xhci_pci_quirks()
211 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_setup()
329 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pme_quirk()
373 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_suspend()
391 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_pci_resume()
Dohci-pci.c73 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_quirk_ns()
228 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_pci_reset()
Dehci-pci.c103 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_setup()
352 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ehci_pci_resume()
Dxhci.c233 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_setup_msi()
259 struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_free_irq()
282 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_setup_msix()
339 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_cleanup_msix()
378 pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); in xhci_try_enable_msi()
742 usb_disable_xhci_ports(to_pci_dev(hcd->self.controller)); in xhci_shutdown()
759 pci_set_power_state(to_pci_dev(hcd->self.controller), PCI_D3hot); in xhci_shutdown()
/linux-4.4.14/drivers/pci/
Dpci-sysfs.c44 pdev = to_pci_dev(dev); \
60 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show()
68 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store()
89 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus); in pci_dev_show_local_cpu()
133 struct pci_dev *pci_dev = to_pci_dev(dev); in resource_show()
159 struct pci_dev *pci_dev = to_pci_dev(dev); in modalias_show()
172 struct pci_dev *pdev = to_pci_dev(dev); in enable_store()
199 pdev = to_pci_dev(dev); in enable_show()
209 struct pci_dev *pdev = to_pci_dev(dev); in numa_node_store()
244 struct pci_dev *pdev = to_pci_dev(dev); in dma_mask_bits_show()
[all …]
Dpci-driver.c402 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe()
421 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove()
459 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown()
551 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend()
578 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late()
612 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume_early()
621 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume()
682 return pci_dev_keep_suspended(to_pci_dev(dev)); in pci_pm_prepare()
687 pci_dev_complete_resume(to_pci_dev(dev)); in pci_pm_complete()
702 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend()
[all …]
Dpci-label.c81 pdev = to_pci_dev(dev); in smbios_instance_string_exist()
91 pdev = to_pci_dev(dev); in smbioslabel_show()
101 pdev = to_pci_dev(dev); in smbiosinstance_show()
Dirq.c15 struct pci_dev *parent = to_pci_dev(pdev->dev.parent); in pci_note_irq_problem()
Dsearch.c236 struct pci_dev *pdev = to_pci_dev(dev); in match_pci_dev_by_id()
273 pdev = to_pci_dev(dev); in pci_get_dev_by_id()
Dpci-acpi.c319 pci_dev = to_pci_dev(context->dev); in pci_acpi_wake_dev()
583 struct pci_dev *pci_dev = to_pci_dev(dev); in acpi_pci_find_companion()
647 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_acpi_setup()
Dmsi.c1127 return to_pci_dev(desc->dev); in msi_desc_to_pci_dev()
1190 struct msi_desc *desc = first_pci_msi_entry(to_pci_dev(dev)); in pci_msi_domain_check_cap()
Dprobe.c1519 pci_dev = to_pci_dev(dev); in pci_release_dev()
2388 const struct pci_dev *a = to_pci_dev(d_a); in pci_sort_bf_cmp()
2389 const struct pci_dev *b = to_pci_dev(d_b); in pci_sort_bf_cmp()
/linux-4.4.14/drivers/ata/
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_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_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_cs5536.c122 struct pci_dev *pdev = to_pci_dev(adev->link->ap->host->dev); in cs5536_program_dtc()
143 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_cable_detect()
174 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_piomode()
214 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_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()
Dpata_oldpiix.c40 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in oldpiix_pre_reset()
66 struct pci_dev *dev = to_pci_dev(ap->host->dev); in oldpiix_set_piomode()
127 struct pci_dev *dev = to_pci_dev(ap->host->dev); in oldpiix_set_dmamode()
Dpata_pdc202xx_old.c28 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc2026x_cable_detect()
48 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check()
80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_configure_piomode()
127 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_set_dmamode()
Dpata_piccolo.c36 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_piomode()
46 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_dmamode()
Dpata_amd.c48 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in timing_setup()
139 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in amd_pre_reset()
157 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in amd_cable_detect()
180 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in amd_fifo_setup()
337 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in nv_pre_reset()
387 pci_write_config_dword(to_pci_dev(host->dev), 0x60, udma); in nv_host_stop()
Dpata_hpt37x.c336 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_cable_detect()
364 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt374_fn1_cable_detect()
394 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_pre_reset()
413 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt370_set_mode()
477 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt370_bmdma_stop()
507 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt372_set_mode()
571 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_bmdma_stop()
Dpata_sch.c112 struct pci_dev *dev = to_pci_dev(ap->host->dev); in sch_set_piomode()
141 struct pci_dev *dev = to_pci_dev(ap->host->dev); in sch_set_dmamode()
Dpata_sil680.c86 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_cable_detect()
118 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_set_piomode()
166 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_set_dmamode()
221 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_sff_irq_check()
Dpata_serverworks.c69 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in oem_cable()
104 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in serverworks_cable_detect()
202 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in serverworks_set_piomode()
233 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in serverworks_set_dmamode()
Dpata_atp867x.c123 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atp867x_set_dmamode()
265 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atp867x_cable_detect()
351 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atp867x_set_priv()
373 struct pci_dev *pdev = to_pci_dev(host->dev); in atp867x_fixup()
420 struct pci_dev *pdev = to_pci_dev(gdev); in atp867x_ata_pci_sff_init_host()
Dpata_ns87410.c42 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_pre_reset()
65 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_set_piomode()
Dpata_hpt3x2n.c142 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x2n_cable_detect()
172 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x2n_pre_reset()
184 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x2n_set_mode()
248 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x2n_bmdma_stop()
Dpata_rdc.c76 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in rdc_pata_prereset()
104 struct pci_dev *dev = to_pci_dev(ap->host->dev); in rdc_set_piomode()
185 struct pci_dev *dev = to_pci_dev(ap->host->dev); in rdc_set_dmamode()
Dsata_sis.c118 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in get_scr_cfg_addr()
147 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev); in sis_scr_cfg_read()
160 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev); in sis_scr_cfg_write()
Dpata_triflex.c63 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in triflex_prereset()
87 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in triflex_load_timing()
Dpata_it821x.c128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_program()
157 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_program_udma()
187 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_clock_strategy()
292 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_passthru_set_dmamode()
737 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_port_start()
791 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it821x_rdc_cable()
Dsata_via.c206 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev); in vt8251_scr_read()
254 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev); in vt8251_scr_write()
395 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in vt6421_pata_cable_detect()
406 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in vt6421_set_pio_mode()
414 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in vt6421_set_dma_mode()
Dpata_radisys.c42 struct pci_dev *dev = to_pci_dev(ap->host->dev); in radisys_set_piomode()
92 struct pci_dev *dev = to_pci_dev(ap->host->dev); in radisys_set_dmamode()
Dpata_mpiix.c51 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in mpiix_pre_reset()
79 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in mpiix_set_piomode()
Dpata_sc1200.c98 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sc1200_set_piomode()
134 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sc1200_set_dmamode()
Dpata_optidma.c57 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in optidma_pre_reset()
202 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in optiplus_mode_setup()
322 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in optidma_set_mode()
Dpata_ali.c91 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ali_c2_cable_detect()
143 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ali_fifo_control()
172 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ali_program_modes()
247 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ali_set_dmamode()
Dsata_uli.c111 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev); in uli_scr_cfg_read()
121 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev); in uli_scr_cfg_write()
Data_piix.c523 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ich_pata_cable_detect()
556 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in piix_pata_prereset()
568 struct pci_dev *dev = to_pci_dev(ap->host->dev); in piix_set_timings()
681 struct pci_dev *dev = to_pci_dev(ap->host->dev); in do_pata_set_dmamode()
1356 struct pci_dev *pdev = to_pci_dev(host->dev); in piix_init_pcs()
1419 struct pci_dev *pdev = to_pci_dev(host->dev); in piix_no_sidpr()
1452 struct pci_dev *pdev = to_pci_dev(host->dev); in piix_init_sidpr()
1534 struct pci_dev *pdev = to_pci_dev(host->dev); in piix_iocfg_bit18_quirk()
Dpata_hpt3x3.c39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x3_set_piomode()
69 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt3x3_set_dmamode()
Dpata_hpt366.c218 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt36x_cable_detect()
234 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt366_set_mode()
Dpata_via.c182 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in via_cable_detect()
220 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in via_pre_reset()
247 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in via_do_set_mode()
444 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in via_port_start()
Dpata_marvell.c70 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in marvell_pre_reset()
Dpata_jmicron.c44 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in jmicron_pre_reset()
Dpata_opti.c56 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in opti_pre_reset()
Dpata_cypress.c53 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cy82c693_set_piomode()
Dpata_cs5535.c80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5535_cable_detect()
Dahci.c614 struct pci_dev *pdev = to_pci_dev(host->dev); in ahci_pci_reset_controller()
636 struct pci_dev *pdev = to_pci_dev(host->dev); in ahci_pci_init_controller()
767 struct pci_dev *pdev = to_pci_dev(host->dev); in ahci_avn_hardreset()
899 struct pci_dev *pdev = to_pci_dev(host->dev); in ahci_pci_print_info()
947 struct pci_dev *pdev = to_pci_dev(host->dev); in ahci_p5wdh_workaround()
Dpata_acpi.c193 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pacpi_port_start()
Dpata_cs5520.c71 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings()
Dsata_nv.c679 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in nv_adma_slave_config()
1129 struct pci_dev *pdev = to_pci_dev(dev); in nv_adma_port_start()
1308 struct pci_dev *pdev = to_pci_dev(host->dev); in nv_adma_host_init()
1894 struct pci_dev *pdev = to_pci_dev(host->dev); in nv_swncq_host_init()
1919 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in nv_swncq_slave_config()
2486 struct pci_dev *pdev = to_pci_dev(host->dev); in nv_ck804_host_stop()
2497 struct pci_dev *pdev = to_pci_dev(host->dev); in nv_adma_host_stop()
Dpata_ns87415.c54 struct pci_dev *dev = to_pci_dev(ap->host->dev); in ns87415_set_mode()
Dacard-ahci.c212 struct pci_dev *pdev = to_pci_dev(host->dev); in acard_ahci_pci_print_info()
Dsata_svw.c331 np = pci_device_to_OF_node(to_pci_dev(ap->host->dev)); in k2_sata_show_info()
Dsata_sil.c667 struct pci_dev *pdev = to_pci_dev(host->dev); in sil_init_controller()
Dlibata-sff.c2296 struct pci_dev *pdev = to_pci_dev(gdev); in ata_pci_sff_init_host()
2420 struct pci_dev *pdev = to_pci_dev(dev); in ata_pci_sff_activate_host()
3198 struct pci_dev *pdev = to_pci_dev(gdev); in ata_pci_bmdma_init()
/linux-4.4.14/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()
526 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()
Dcs5536.c94 struct pci_dev *pdev = to_pci_dev(drive->hwif->dev); in cs5536_program_dtc()
115 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5536_cable_detect()
146 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5536_set_pio_mode()
190 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5536_set_dma_mode()
Dsiimage.c78 return pdev_is_sata(to_pci_dev(hwif->dev)); in is_sata()
198 struct pci_dev *dev = to_pci_dev(hwif->dev); in sil_pata_udma_filter()
244 struct pci_dev *dev = to_pci_dev(hwif->dev); in sil_set_pio_mode()
304 struct pci_dev *dev = to_pci_dev(hwif->dev); in sil_set_dma_mode()
343 struct pci_dev *dev = to_pci_dev(hwif->dev); in sil_test_irq()
551 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_mmio_iops_siimage()
651 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_iops_siimage()
672 struct pci_dev *dev = to_pci_dev(hwif->dev); in sil_cable_detect()
Dslc90e66.c23 struct pci_dev *dev = to_pci_dev(hwif->dev); in slc90e66_set_pio_mode()
77 struct pci_dev *dev = to_pci_dev(hwif->dev); in slc90e66_set_dma_mode()
120 struct pci_dev *dev = to_pci_dev(hwif->dev); in slc90e66_cable_detect()
Datiixp.c53 struct pci_dev *dev = to_pci_dev(hwif->dev); in atiixp_set_pio_mode()
87 struct pci_dev *dev = to_pci_dev(hwif->dev); in atiixp_set_dma_mode()
125 struct pci_dev *pdev = to_pci_dev(hwif->dev); in atiixp_cable_detect()
Dcy82c693.c85 struct pci_dev *dev = to_pci_dev(hwif->dev); in cy82c693_set_pio_mode()
151 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_iops_cy82c693()
197 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in cy82c693_remove()
Dit8213.c28 struct pci_dev *dev = to_pci_dev(hwif->dev); in it8213_set_pio_mode()
85 struct pci_dev *dev = to_pci_dev(hwif->dev); in it8213_set_dma_mode()
145 struct pci_dev *dev = to_pci_dev(hwif->dev); in it8213_cable_detect()
Dalim15x3.c53 struct pci_dev *pdev = to_pci_dev(hwif->dev); in ali_fifo_control()
67 struct pci_dev *dev = to_pci_dev(hwif->dev); in ali_program_timings()
167 struct pci_dev *dev = to_pci_dev(hwif->dev); in ali_set_dma_mode()
383 struct pci_dev *dev = to_pci_dev(hwif->dev); in ali_cable_detect()
469 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_dma_ali15x3()
Dit821x.c115 struct pci_dev *dev = to_pci_dev(hwif->dev); in it821x_program()
141 struct pci_dev *dev = to_pci_dev(hwif->dev); in it821x_program_udma()
171 struct pci_dev *dev = to_pci_dev(hwif->dev); in it821x_clock_strategy()
284 struct pci_dev *dev = to_pci_dev(hwif->dev); in it821x_tune_mwdma()
321 struct pci_dev *dev = to_pci_dev(hwif->dev); in it821x_tune_udma()
533 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_hwif_it821x()
Dhpt366.c633 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt3xx_set_mode()
664 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt3xx_maskproc()
693 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in hpt366_dma_lost_irq()
709 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt370_clear_engine()
718 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt370_irq_timeout()
759 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt374_dma_test_irq()
780 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt374_dma_end()
1156 struct pci_dev *dev = to_pci_dev(hwif->dev); in hpt3xx_cable_detect()
1227 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_dma_hpt366()
1506 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in hpt366_remove()
Dit8172.c42 struct pci_dev *dev = to_pci_dev(hwif->dev); in it8172_set_pio_mode()
82 struct pci_dev *dev = to_pci_dev(hwif->dev); in it8172_set_dma_mode()
Dns87415.c101 struct pci_dev *pdev = to_pci_dev(hwif->dev); in superio_init_iops()
125 struct pci_dev *dev = to_pci_dev(hwif->dev); in ns87415_prepare_drive()
206 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_hwif_ns87415()
Daec62xx.c86 struct pci_dev *dev = to_pci_dev(hwif->dev); in aec6210_set_mode()
114 struct pci_dev *dev = to_pci_dev(hwif->dev); in aec6260_set_mode()
165 struct pci_dev *dev = to_pci_dev(hwif->dev); in atp86x_cable_detect()
Dpdc202xx_old.c26 struct pci_dev *dev = to_pci_dev(hwif->dev); in pdc202xx_set_mode()
87 struct pci_dev *dev = to_pci_dev(hwif->dev); in pdc202xx_test_irq()
108 struct pci_dev *dev = to_pci_dev(hwif->dev); in pdc2026x_cable_detect()
Dpiix.c70 struct pci_dev *dev = to_pci_dev(hwif->dev); in piix_set_pio_mode()
139 struct pci_dev *dev = to_pci_dev(hwif->dev); in piix_set_dma_mode()
273 struct pci_dev *pdev = to_pci_dev(hwif->dev); in piix_cable_detect()
Dsetup-pci.c82 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_pci_dma_base()
111 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_pci_check_simplex()
366 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_hwif_setup_dma()
607 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in ide_pci_remove()
Dtc86c001.c136 struct pci_dev *dev = to_pci_dev(hwif->dev); in tc86c001_cable_detect()
149 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_hwif_tc86c001()
Dsc1200.c84 struct pci_dev *pdev = to_pci_dev(hwif->dev); in sc1200_tunepio()
128 struct pci_dev *dev = to_pci_dev(hwif->dev); in sc1200_set_dma_mode()
Dpdc202xx_new.c135 struct pci_dev *dev = to_pci_dev(hwif->dev); in pdcnew_set_dma_mode()
173 struct pci_dev *dev = to_pci_dev(hwif->dev); in pdcnew_set_pio_mode()
520 struct pci_dev *dev2 = host->dev[1] ? to_pci_dev(host->dev[1]) : NULL; in pdc202new_remove()
Dvia82cxxx.c127 struct pci_dev *dev = to_pci_dev(hwif->dev); in via_set_speed()
182 struct pci_dev *dev = to_pci_dev(hwif->dev); in via_set_drive()
384 struct pci_dev *pdev = to_pci_dev(hwif->dev); in via82cxxx_cable_detect()
Dtriflex.c39 struct pci_dev *dev = to_pci_dev(hwif->dev); in triflex_set_mode()
Djmicron.c31 struct pci_dev *pdev = to_pci_dev(hwif->dev); in jmicron_cable_detect()
Dcs5520.c62 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5520_set_pio_mode()
Dcs5535.c158 struct pci_dev *dev = to_pci_dev(hwif->dev); in cs5535_cable_detect()
Dsgiioc4.c147 struct pci_dev *dev = to_pci_dev(hwif->dev); in sgiioc4_clearirq()
312 struct pci_dev *dev = to_pci_dev(hwif->dev); in ide_dma_sgiioc4()
Dtrm290.c236 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_hwif_trm290()
Damd74xx.c84 struct pci_dev *dev = to_pci_dev(hwif->dev); in amd_set_drive()
Dide-acpi.c124 struct pci_dev *pdev = to_pci_dev(dev); in ide_get_dev_handle()
/linux-4.4.14/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-4.4.14/drivers/gpu/drm/qxl/
Dqxl_drv.c146 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_suspend()
161 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_resume()
175 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_thaw()
183 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_freeze()
191 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()
/linux-4.4.14/drivers/misc/mei/
Dpci-txe.c244 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pci_suspend()
264 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pci_resume()
302 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pm_runtime_idle()
317 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pm_runtime_suspend()
352 struct pci_dev *pdev = to_pci_dev(device); in mei_txe_pm_runtime_resume()
382 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_txe_set_pm_domain()
Dpci-me.c301 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pci_suspend()
321 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pci_resume()
360 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pm_runtime_idle()
376 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pm_runtime_suspend()
402 struct pci_dev *pdev = to_pci_dev(device); in mei_me_pm_runtime_resume()
430 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_me_set_pm_domain()
Dhw-txe.c634 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_txe_fw_status()
1050 if (pci_dev_msi_enabled(to_pci_dev(dev->dev))) in mei_txe_irq_thread_handler()
Dhw-me.c181 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_me_fw_status()
208 struct pci_dev *pdev = to_pci_dev(dev->dev); in mei_me_hw_config()
/linux-4.4.14/arch/powerpc/kernel/
Deeh_sysfs.c43 struct pci_dev *pdev = to_pci_dev(dev); \
60 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show()
76 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store()
Ddma.c328 struct pci_dev *pdev = to_pci_dev(dev); in dma_set_mask()
357 struct pci_dev *pdev = to_pci_dev(dev); in dma_get_required_mask()
Disa-bridge.c222 struct pci_dev *pdev = to_pci_dev(dev); in isa_bridge_notify()
/linux-4.4.14/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()
223 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_unmap_page()
246 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_unmap_sg()
280 struct pci_dev *pdev = to_pci_dev(dev); in sn_dma_map_sg()
/linux-4.4.14/arch/s390/pci/
Dpci_sysfs.c19 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
40 struct pci_dev *pdev = to_pci_dev(dev); in recover_store()
73 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read()
Dpci_dma.c287 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_map_pages()
333 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_unmap_pages()
356 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_alloc()
386 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in s390_dma_free()
Dpci.c692 struct pci_dev *pdev = to_pci_dev(dev); in zpci_restore()
714 struct pci_dev *pdev = to_pci_dev(dev); in zpci_freeze()
/linux-4.4.14/drivers/hwmon/
Di5500_temp.c49 struct pci_dev *pdev = to_pci_dev(dev->parent); in show_temp()
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()
Dk8temp.c57 struct pci_dev *pdev = to_pci_dev(dev); in k8temp_update_device()
/linux-4.4.14/drivers/usb/core/
Dhcd-pci.c424 struct pci_dev *pci_dev = to_pci_dev(dev); in check_root_hub_suspended()
443 struct pci_dev *pci_dev = to_pci_dev(dev); in suspend_common()
498 struct pci_dev *pci_dev = to_pci_dev(dev); in resume_common()
549 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_suspend_noirq()
588 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_resume_noirq()
623 powermac_set_asic(to_pci_dev(dev), 0); in hcd_pci_runtime_suspend()
632 powermac_set_asic(to_pci_dev(dev), 1); in hcd_pci_runtime_resume()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_drv.c422 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_suspend()
429 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_resume()
436 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_freeze()
443 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_thaw()
450 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_suspend()
475 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_resume()
500 struct pci_dev *pdev = to_pci_dev(dev); in radeon_pmops_runtime_idle()
/linux-4.4.14/drivers/mmc/host/
Ddw_mmc-pci.c85 struct pci_dev *pdev = to_pci_dev(dev); in dw_mci_pci_suspend()
93 struct pci_dev *pdev = to_pci_dev(dev); in dw_mci_pci_resume()
Dtoshsd.c576 struct pci_dev *pdev = to_pci_dev(dev); in toshsd_pm_suspend()
591 struct pci_dev *pdev = to_pci_dev(dev); in toshsd_pm_resume()
Dsdhci-pci-core.c1438 struct pci_dev *pdev = to_pci_dev(dev); in sdhci_pci_suspend()
1490 struct pci_dev *pdev = to_pci_dev(dev); in sdhci_pci_resume()
/linux-4.4.14/arch/x86/pci/
Dsta2x11-fixup.c177 *dma_handle = p2a(*dma_handle, to_pci_dev(dev)); in sta2x11_swiotlb_alloc_coherent()
232 map = sta2x11_pdev_to_mapping(to_pci_dev(dev)); in dma_capable()
252 return p2a(paddr, to_pci_dev(dev)); in phys_to_dma()
264 return a2p(daddr, to_pci_dev(dev)); in dma_to_phys()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_drv.c337 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_suspend()
344 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_resume()
351 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_freeze()
358 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_thaw()
365 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_runtime_suspend()
390 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_runtime_resume()
415 struct pci_dev *pdev = to_pci_dev(dev); in amdgpu_pmops_runtime_idle()
/linux-4.4.14/drivers/dma/dw/
Dpci.c76 struct pci_dev *pci = to_pci_dev(dev); in dw_pci_suspend_late()
84 struct pci_dev *pci = to_pci_dev(dev); in dw_pci_resume_early()
/linux-4.4.14/drivers/ssb/
Dpcihost_wrapper.c24 struct pci_dev *dev = to_pci_dev(d); in ssb_pcihost_suspend()
45 struct pci_dev *dev = to_pci_dev(d); in ssb_pcihost_resume()
/linux-4.4.14/drivers/spi/
Dspi-dw-pci.c109 struct pci_dev *pdev = to_pci_dev(dev); in spi_suspend()
117 struct pci_dev *pdev = to_pci_dev(dev); in spi_resume()
/linux-4.4.14/drivers/gpu/drm/cirrus/
Dcirrus_drv.c87 struct pci_dev *pdev = to_pci_dev(dev); in cirrus_pm_suspend()
104 struct pci_dev *pdev = to_pci_dev(dev); in cirrus_pm_resume()
/linux-4.4.14/drivers/dma/ioat/
Ddca.c127 pdev = to_pci_dev(dev); in ioat_dca_dev_managed()
146 pdev = to_pci_dev(dev); in ioat_dca_add_requester()
180 pdev = to_pci_dev(dev); in ioat_dca_remove_requester()
/linux-4.4.14/drivers/gpu/drm/bochs/
Dbochs_drv.c104 struct pci_dev *pdev = to_pci_dev(dev); in bochs_pm_suspend()
121 struct pci_dev *pdev = to_pci_dev(dev); in bochs_pm_resume()
/linux-4.4.14/sound/soc/intel/skylake/
Dskl.c139 struct pci_dev *pci = to_pci_dev(dev); in skl_suspend()
151 struct pci_dev *pci = to_pci_dev(dev); in skl_resume()
167 struct pci_dev *pci = to_pci_dev(dev); in skl_runtime_suspend()
192 struct pci_dev *pci = to_pci_dev(dev); in skl_runtime_resume()
/linux-4.4.14/arch/x86/video/
Dfbdev.c22 pci_dev = to_pci_dev(device); in fb_is_primary_device()
/linux-4.4.14/drivers/iommu/
Ds390-iommu.c88 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_attach_device()
141 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_detach_device()
188 struct zpci_dev *zdev = to_pci_dev(dev)->sysdata; in s390_iommu_remove_device()
Dfsl_pamu_domain.c672 pdev = to_pci_dev(dev); in fsl_pamu_attach_device()
709 pdev = to_pci_dev(dev); in fsl_pamu_detach_device()
969 group = get_pci_device_group(to_pci_dev(dev)); in fsl_pamu_device_group()
Dintel-iommu.c888 pdev = to_pci_dev(dev); in device_to_iommu()
909 ptmp = to_pci_dev(tmp); in device_to_iommu()
1468 pdev = to_pci_dev(info->dev); in iommu_enable_dev_iotlb()
1495 pdev = to_pci_dev(info->dev); in iommu_disable_dev_iotlb()
2069 return pci_for_each_dma_alias(to_pci_dev(dev), in domain_context_mapping()
2093 return !pci_for_each_dma_alias(to_pci_dev(dev), in domain_context_mapped()
2340 struct pci_dev *pdev = to_pci_dev(info->dev); in dmar_insert_one_dev_info()
2432 struct pci_dev *pdev = to_pci_dev(dev); in get_domain_for_dev()
2719 struct pci_dev *pdev = to_pci_dev(dev); in device_is_rmrr_locked()
2732 struct pci_dev *pdev = to_pci_dev(dev); in iommu_should_identity_map()
[all …]
Damd_iommu.c131 struct pci_dev *pdev = to_pci_dev(dev); in get_device_id()
181 struct pci_dev *pdev = to_pci_dev(dev); in get_alias()
364 struct pci_dev *pdev = to_pci_dev(dev); in iommu_init_device()
2139 struct pci_dev *pdev = to_pci_dev(dev); in attach_device()
2221 pdev_iommuv2_disable(to_pci_dev(dev)); in detach_device()
2223 pci_disable_ats(to_pci_dev(dev)); in detach_device()
Dintel-svm.c300 pasid_max = pci_max_pasids(to_pci_dev(dev)); in intel_svm_bind_mm()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_mid.c56 struct pci_dev *pdev = to_pci_dev(p->dev); in pnw_setup()
79 struct pci_dev *pdev = to_pci_dev(p->dev); in tng_setup()
111 struct pci_dev *pdev = to_pci_dev(p->dev); in dnv_setup()
/linux-4.4.14/drivers/misc/cxl/
Dpci.c438 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_setup_irq()
445 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_update_image_control()
480 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_alloc_one_irq()
487 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_release_one_irq()
494 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_alloc_irq_ranges()
501 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_release_irq_ranges()
926 struct pci_dev *dev = to_pci_dev(adapter->dev.parent); in cxl_reset()
982 pci_release_region(to_pci_dev(adapter->dev.parent), 2); in cxl_unmap_adapter_regs()
987 pci_release_region(to_pci_dev(adapter->dev.parent), 0); in cxl_unmap_adapter_regs()
1207 struct pci_dev *pdev = to_pci_dev(adapter->dev.parent); in cxl_deconfigure_adapter()
Dvphb.c237 phys_dev = to_pci_dev(afu->adapter->dev.parent); in cxl_pci_vphb_add()
Dcxl.h547 pdev = to_pci_dev(cxl->dev.parent); in cxl_adapter_link_ok()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pci.c242 struct pci_dev *pdev = to_pci_dev(dev); in stmmac_pci_suspend()
250 struct pci_dev *pdev = to_pci_dev(dev); in stmmac_pci_resume()
/linux-4.4.14/drivers/xen/
Dpci.c39 struct pci_dev *pci_dev = to_pci_dev(dev); in xen_add_device()
152 struct pci_dev *pci_dev = to_pci_dev(dev); in xen_remove_device()
Ddbgp.c23 const struct pci_dev *pdev = to_pci_dev(ctrlr); in xen_dbgp_op()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_drm.c631 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_suspend()
653 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_resume()
674 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_freeze()
682 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_thaw()
690 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_runtime_suspend()
721 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_runtime_resume()
748 struct pci_dev *pdev = to_pci_dev(dev); in nouveau_pmops_runtime_idle()
/linux-4.4.14/arch/mips/include/asm/mach-ip27/
Ddma-coherence.h17 pdev_to_baddr(to_pci_dev(dev), (addr))
/linux-4.4.14/drivers/net/wireless/ath/ath5k/
Dpci.c304 struct pci_dev *pdev = to_pci_dev(dev); in ath5k_pci_suspend()
314 struct pci_dev *pdev = to_pci_dev(dev); in ath5k_pci_resume()
/linux-4.4.14/drivers/edac/
Dpasemi_edac.c77 struct pci_dev *pdev = to_pci_dev(mci->pdev); in pasemi_edac_get_error_info()
98 struct pci_dev *pdev = to_pci_dev(mci->pdev); in pasemi_edac_process_error_info()
Dx38_edac.c156 pdev = to_pci_dev(mci->pdev); in x38_clear_error_info()
172 pdev = to_pci_dev(mci->pdev); in x38_get_and_clear_error_info()
Di3200_edac.c172 pdev = to_pci_dev(mci->pdev); in i3200_clear_error_info()
189 pdev = to_pci_dev(mci->pdev); in i3200_get_and_clear_error_info()
Die31200_edac.c213 pci_write_bits16(to_pci_dev(mci->pdev), IE31200_ERRSTS, in ie31200_clear_error_info()
224 pdev = to_pci_dev(mci->pdev); in ie31200_get_and_clear_error_info()
Damd76x_edac.c108 pdev = to_pci_dev(mci->pdev); in amd76x_get_error_info()
Di82860_edac.c70 pdev = to_pci_dev(mci->pdev); in i82860_get_error_info()
Dr82600_edac.c143 pdev = to_pci_dev(mci->pdev); in r82600_get_error_info()
Dedac_pci.c466 pci->dev_name = pci_name(to_pci_dev(dev)); in edac_pci_create_generic_ctl()
Di82443bxgx_edac.c127 pdev = to_pci_dev(mci->pdev); in i82443bxgx_edacmc_get_error_info()
Di3000_edac.c197 pdev = to_pci_dev(mci->pdev); in i3000_get_error_info()
Di82875p_edac.c192 pdev = to_pci_dev(mci->pdev); in i82875p_get_error_info()
Di82975x_edac.c244 pdev = to_pci_dev(mci->pdev); in i82975x_get_error_info()
/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_drm_bus.c72 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent); in drm_virtio_init()
/linux-4.4.14/drivers/video/fbdev/
Dtgafb.c1412 if (tga_bus_pci && pci_enable_device(to_pci_dev(dev))) {
1430 bar0_start = pci_resource_start(to_pci_dev(dev), 0);
1431 bar0_len = pci_resource_len(to_pci_dev(dev), 0);
1457 par->tga_chip_rev = (to_pci_dev(dev))->revision;
1508 to_pci_dev(dev)->bus->number,
1509 PCI_SLOT(to_pci_dev(dev)->devfn),
1510 PCI_FUNC(to_pci_dev(dev)->devfn));
1548 bar0_start = pci_resource_start(to_pci_dev(dev), 0);
1549 bar0_len = pci_resource_len(to_pci_dev(dev), 0);
Dsm712fb.c1551 struct pci_dev *pdev = to_pci_dev(device); in smtcfb_pci_suspend()
1574 struct pci_dev *pdev = to_pci_dev(device); in smtcfb_pci_resume()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dpci.c774 pci_read_config_byte(to_pci_dev(sc->dev), PCI_CACHE_LINE_SIZE, &u8tmp); in ath_pci_read_cachesize()
826 struct pci_dev *pdev = to_pci_dev(sc->dev); in ath_pci_aspm_init()
1008 struct pci_dev *pdev = to_pci_dev(device); in ath_pci_suspend()
1032 struct pci_dev *pdev = to_pci_dev(device); in ath_pci_resume()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dpcie_bus.c268 struct pci_dev *pdev = to_pci_dev(dev); in wil6210_suspend()
295 struct pci_dev *pdev = to_pci_dev(dev); in wil6210_resume()
/linux-4.4.14/include/linux/uwb/
Dumc.h145 pci_dev = to_pci_dev(umc_dev->dev.parent); in umc_parent_pci_dev()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_pci.c36 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v3-its-pci-msi.c80 pdev = to_pci_dev(dev); in its_pci_msi_prepare()
/linux-4.4.14/drivers/dca/
Ddca-core.c49 struct pci_dev *pdev = to_pci_dev(dev); in dca_pci_rc_from_dev()
80 struct pci_dev *pdev = to_pci_dev(dev); in dca_provider_ioat_ver_3_0()
/linux-4.4.14/drivers/misc/
Dtifm_core.c301 return pci_map_sg(to_pci_dev(sock->dev.parent), sg, nents, direction); in tifm_map_sg()
308 pci_unmap_sg(to_pci_dev(sock->dev.parent), sg, nents, direction); in tifm_unmap_sg()
/linux-4.4.14/drivers/pci/pcie/
Daspm.c824 struct pci_dev *pci_device = to_pci_dev(dev); in link_state_show()
835 struct pci_dev *pdev = to_pci_dev(dev); in link_state_store()
869 struct pci_dev *pci_device = to_pci_dev(dev); in clk_ctl_show()
880 struct pci_dev *pdev = to_pci_dev(dev); in clk_ctl_store()
Dportdrv_pci.c84 struct pci_dev *pdev = to_pci_dev(dev); in pcie_port_resume_noirq()
/linux-4.4.14/drivers/mcb/
Dmcb-pci.c28 struct pci_dev *pdev = to_pci_dev(dev); in mcb_pci_get_irq()
/linux-4.4.14/drivers/bcma/
Dhost_pci.c261 struct pci_dev *pdev = to_pci_dev(dev); in bcma_host_pci_suspend()
271 struct pci_dev *pdev = to_pci_dev(dev); in bcma_host_pci_resume()
/linux-4.4.14/drivers/gpu/vga/
Dvga_switcheroo.c871 struct pci_dev *pdev = to_pci_dev(dev); in vga_switcheroo_runtime_suspend()
887 struct pci_dev *pdev = to_pci_dev(dev); in vga_switcheroo_runtime_resume()
937 struct pci_dev *pdev = to_pci_dev(dev); in vga_switcheroo_runtime_resume_hdmi_audio()
/linux-4.4.14/arch/parisc/kernel/
Ddrivers.c298 unsigned int devfn = to_pci_dev(dev)->devfn; in get_node_path()
306 unsigned int devfn = to_pci_dev(dev)->devfn; in get_node_path()
641 struct pci_dev *pdev = to_pci_dev(dev); in match_pci_device()
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00pci.c52 struct pci_dev *pci_dev = to_pci_dev(rt2x00dev->dev); in rt2x00pci_alloc_reg()
/linux-4.4.14/drivers/uwb/
Dumc-bus.c91 pci = to_pci_dev(umc->dev.parent); in umc_match_pci_id()
/linux-4.4.14/arch/ia64/hp/common/
Dsba_iommu.c259 ? ((struct ioc *) PCI_CONTROLLER(to_pci_dev(dev))->iommu) : NULL)
938 ASSERT(to_pci_dev(dev)->dma_mask); in sba_map_page()
942 if (likely((pci_addr & ~to_pci_dev(dev)->dma_mask) == 0)) { in sba_map_page()
949 to_pci_dev(dev)->dma_mask, pci_addr); in sba_map_page()
1474 ASSERT(to_pci_dev(dev)->dma_mask); in sba_map_sg_attrs()
1475 if (likely((ioc->dma_mask & ~to_pci_dev(dev)->dma_mask) == 0)) { in sba_map_sg_attrs()
/linux-4.4.14/drivers/virtio/
Dvirtio_pci_common.c437 struct pci_dev *pci_dev = to_pci_dev(dev); in virtio_pci_freeze()
450 struct pci_dev *pci_dev = to_pci_dev(dev); in virtio_pci_restore()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dfalcon_boards.c363 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_phy_flash_cfg()
371 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in set_phy_flash_cfg()
Defx.c2360 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_phy_type()
2369 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_mcdi_log()
2377 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in set_mcdi_log()
3218 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in efx_pm_freeze()
3239 struct efx_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in efx_pm_thaw()
3276 struct pci_dev *pci_dev = to_pci_dev(dev); in efx_pm_poweroff()
3290 struct pci_dev *pci_dev = to_pci_dev(dev); in efx_pm_resume()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_drv.c1395 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_suspend()
1405 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_resume()
1412 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_freeze()
1439 struct pci_dev *pdev = to_pci_dev(kdev); in vmw_pm_restore()
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_bt829.c169 struct pci_dev *pdev = to_pci_dev(atir_driver.dev); in cleanup_module()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dpower.c311 struct drm_device *drmdev = pci_get_drvdata(to_pci_dev(dev)); in psb_runtime_idle()
/linux-4.4.14/drivers/net/fddi/
Ddefxx.c445 bar_start[0] = pci_resource_start(to_pci_dev(bdev), num); in dfx_get_bars()
446 bar_len[0] = pci_resource_len(to_pci_dev(bdev), num); in dfx_get_bars()
556 err = pci_enable_device(to_pci_dev(bdev)); in dfx_register()
632 pci_set_master(to_pci_dev(bdev)); in dfx_register()
678 pci_disable_device(to_pci_dev(bdev)); in dfx_register()
829 struct pci_dev *pdev = to_pci_dev(bdev); in dfx_bus_init()
3731 pci_disable_device(to_pci_dev(bdev)); in dfx_unregister()
/linux-4.4.14/drivers/scsi/isci/
Dinit.c724 struct pci_dev *pdev = to_pci_dev(dev); in isci_suspend()
742 struct pci_dev *pdev = to_pci_dev(dev); in isci_resume()
/linux-4.4.14/drivers/thunderbolt/
Dnhi.c498 struct pci_dev *pdev = to_pci_dev(dev); in nhi_suspend_noirq()
506 struct pci_dev *pdev = to_pci_dev(dev); in nhi_resume_noirq()
/linux-4.4.14/Documentation/driver-model/
Dporting.txt110 #define to_pci_dev(n) container_of(n, struct pci_dev, dev)
114 static inline struct pci_dev * to_pci_dev(struct kobject * kobj)
294 struct pci_dev * pci_dev = to_pci_dev(dev);
/linux-4.4.14/drivers/vme/bridges/
Dvme_tsi148.c313 pdev = to_pci_dev(tsi148_bridge->parent); in tsi148_irq_init()
425 pdev = to_pci_dev(tsi148_bridge->parent); in tsi148_irq_set()
732 pdev = to_pci_dev(tsi148_bridge->parent); in tsi148_alloc_resource()
835 pdev = to_pci_dev(tsi148_bridge->parent); in tsi148_master_set()
2170 pdev = to_pci_dev(parent); in tsi148_alloc_consistent()
2181 pdev = to_pci_dev(parent); in tsi148_free_consistent()
/linux-4.4.14/drivers/net/wireless/p54/
Dp54pci.c669 struct pci_dev *pdev = to_pci_dev(device); in p54p_suspend()
679 struct pci_dev *pdev = to_pci_dev(device); in p54p_resume()
/linux-4.4.14/drivers/memstick/host/
Dr592.c855 struct pci_dev *pdev = to_pci_dev(core_dev); in r592_suspend()
866 struct pci_dev *pdev = to_pci_dev(core_dev); in r592_resume()
/linux-4.4.14/arch/x86/kernel/apic/
Dmsi.c102 struct pci_dev *pdev = to_pci_dev(dev); in pci_msi_prepare()
/linux-4.4.14/drivers/scsi/aic94xx/
Daic94xx_hwi.h231 #define dev_to_asd_ha(__dev) pci_get_drvdata(to_pci_dev(__dev))
/linux-4.4.14/arch/alpha/kernel/
Dpci-sysfs.c67 struct pci_dev *pdev = to_pci_dev(container_of(kobj, in pci_mmap_resource()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_drv.c994 struct pci_dev *pdev = to_pci_dev(dev); in i915_pm_suspend()
1473 struct pci_dev *pdev = to_pci_dev(device); in intel_runtime_suspend()
1558 struct pci_dev *pdev = to_pci_dev(device); in intel_runtime_resume()
/linux-4.4.14/drivers/nvme/host/
Dpci.c2374 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_map_cmb()
2429 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_setup_io_queues()
2622 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_dev_add()
2679 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_dev_map()
2749 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_dev_unmap()
3209 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_remove_dead_ctrl()
3414 struct pci_dev *pdev = to_pci_dev(dev); in nvme_suspend()
3423 struct pci_dev *pdev = to_pci_dev(dev); in nvme_resume()
Dlightnvm.c584 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_nvm_ns_supported()
/linux-4.4.14/drivers/thermal/int340x_thermal/
Dprocessor_thermal_device.c79 pci_dev = to_pci_dev(dev); \
/linux-4.4.14/drivers/misc/ibmasm/
Dremote.c214 struct pci_dev *pdev = to_pci_dev(sp->dev); in ibmasm_init_remote_input_dev()
/linux-4.4.14/drivers/media/pci/pt3/
Dpt3.c658 struct pci_dev *pdev = to_pci_dev(dev); in pt3_suspend()
678 struct pci_dev *pdev = to_pci_dev(dev); in pt3_resume()
/linux-4.4.14/drivers/mtd/nand/
Dr852.c1013 struct r852_device *dev = pci_get_drvdata(to_pci_dev(device)); in r852_suspend()
1034 struct r852_device *dev = pci_get_drvdata(to_pci_dev(device)); in r852_resume()
/linux-4.4.14/drivers/pcmcia/
Dyenta_socket.c174 struct pci_dev *dev = to_pci_dev(yentadev); in show_yenta_registers()
1291 struct pci_dev *pdev = to_pci_dev(dev); in yenta_dev_suspend_noirq()
1310 struct pci_dev *pdev = to_pci_dev(dev); in yenta_dev_resume_noirq()
/linux-4.4.14/drivers/watchdog/
DiTCO_wdt.c447 iTCO_wdt_private.pdev = to_pci_dev(dev->dev.parent); in iTCO_wdt_probe()
/linux-4.4.14/include/linux/
Dpci.h401 #define to_pci_dev(n) container_of(n, struct pci_dev, dev) macro
847 #define dev_is_pf(d) ((dev_is_pci(d) ? to_pci_dev(d)->is_physfn : false))
848 #define dev_num_vf(d) ((dev_is_pci(d) ? pci_num_vf(to_pci_dev(d)) : 0))
/linux-4.4.14/arch/powerpc/platforms/pseries/
Diommu.c1225 pdev = to_pci_dev(dev); in dma_set_mask_pSeriesLP()
1275 struct pci_dev *pdev = to_pci_dev(dev); in dma_get_required_mask_pSeriesLP()
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Ddrv.c638 struct pci_dev *pdev = to_pci_dev(device); in iwl_pci_resume()
/linux-4.4.14/sound/pci/hda/
Dhda_intel.c942 struct pci_dev *pci = to_pci_dev(dev); in azx_resume()
982 struct pci_dev *pci = to_pci_dev(dev); in azx_freeze_noirq()
992 struct pci_dev *pci = to_pci_dev(dev); in azx_thaw_noirq()
/linux-4.4.14/drivers/mfd/
Dtimberdale.c641 struct pci_dev *pdev = to_pci_dev(dev); in show_fw_ver()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dnvm.c740 struct pci_dev *pdev = to_pci_dev(mvm->dev); in iwl_mvm_get_bios_mcc()

12