/linux-4.4.14/drivers/usb/host/ |
D | uhci-pci.c | 28 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()
|
D | xhci-pci.c | 83 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()
|
D | ohci-pci.c | 73 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()
|
D | ehci-pci.c | 103 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()
|
D | xhci.c | 233 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/ |
D | pci-sysfs.c | 44 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 …]
|
D | pci-driver.c | 402 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 …]
|
D | pci-label.c | 81 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()
|
D | irq.c | 15 struct pci_dev *parent = to_pci_dev(pdev->dev.parent); in pci_note_irq_problem()
|
D | search.c | 236 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()
|
D | pci-acpi.c | 319 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()
|
D | msi.c | 1127 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()
|
D | probe.c | 1519 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/ |
D | pata_sis.c | 101 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 …]
|
D | pata_artop.c | 57 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()
|
D | pata_atiixp.c | 50 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()
|
D | pata_sl82c105.c | 58 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()
|
D | pata_cmd64x.c | 74 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()
|
D | pata_efar.c | 43 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()
|
D | pata_it8213.c | 38 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()
|
D | pata_cs5536.c | 122 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()
|
D | pata_cmd640.c | 54 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()
|
D | pata_oldpiix.c | 40 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()
|
D | pata_pdc202xx_old.c | 28 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()
|
D | pata_piccolo.c | 36 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()
|
D | pata_amd.c | 48 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()
|
D | pata_hpt37x.c | 336 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()
|
D | pata_sch.c | 112 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()
|
D | pata_sil680.c | 86 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()
|
D | pata_serverworks.c | 69 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()
|
D | pata_atp867x.c | 123 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()
|
D | pata_ns87410.c | 42 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()
|
D | pata_hpt3x2n.c | 142 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()
|
D | pata_rdc.c | 76 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()
|
D | sata_sis.c | 118 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()
|
D | pata_triflex.c | 63 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()
|
D | pata_it821x.c | 128 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()
|
D | sata_via.c | 206 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()
|
D | pata_radisys.c | 42 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()
|
D | pata_mpiix.c | 51 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()
|
D | pata_sc1200.c | 98 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()
|
D | pata_optidma.c | 57 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()
|
D | pata_ali.c | 91 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()
|
D | sata_uli.c | 111 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()
|
D | ata_piix.c | 523 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()
|
D | pata_hpt3x3.c | 39 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()
|
D | pata_hpt366.c | 218 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()
|
D | pata_via.c | 182 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()
|
D | pata_marvell.c | 70 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in marvell_pre_reset()
|
D | pata_jmicron.c | 44 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in jmicron_pre_reset()
|
D | pata_opti.c | 56 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in opti_pre_reset()
|
D | pata_cypress.c | 53 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cy82c693_set_piomode()
|
D | pata_cs5535.c | 80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5535_cable_detect()
|
D | ahci.c | 614 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()
|
D | pata_acpi.c | 193 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pacpi_port_start()
|
D | pata_cs5520.c | 71 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings()
|
D | sata_nv.c | 679 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()
|
D | pata_ns87415.c | 54 struct pci_dev *dev = to_pci_dev(ap->host->dev); in ns87415_set_mode()
|
D | acard-ahci.c | 212 struct pci_dev *pdev = to_pci_dev(host->dev); in acard_ahci_pci_print_info()
|
D | sata_svw.c | 331 np = pci_device_to_OF_node(to_pci_dev(ap->host->dev)); in k2_sata_show_info()
|
D | sata_sil.c | 667 struct pci_dev *pdev = to_pci_dev(host->dev); in sil_init_controller()
|
D | libata-sff.c | 2296 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/ |
D | sl82c105.c | 68 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()
|
D | sis5513.c | 189 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()
|
D | cmd64x.c | 57 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()
|
D | serverworks.c | 67 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()
|
D | cs5536.c | 94 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()
|
D | siimage.c | 78 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()
|
D | slc90e66.c | 23 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()
|
D | atiixp.c | 53 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()
|
D | cy82c693.c | 85 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()
|
D | it8213.c | 28 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()
|
D | alim15x3.c | 53 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()
|
D | it821x.c | 115 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()
|
D | hpt366.c | 633 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()
|
D | it8172.c | 42 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()
|
D | ns87415.c | 101 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()
|
D | aec62xx.c | 86 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()
|
D | pdc202xx_old.c | 26 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()
|
D | piix.c | 70 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()
|
D | setup-pci.c | 82 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()
|
D | tc86c001.c | 136 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()
|
D | sc1200.c | 84 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()
|
D | pdc202xx_new.c | 135 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()
|
D | via82cxxx.c | 127 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()
|
D | triflex.c | 39 struct pci_dev *dev = to_pci_dev(hwif->dev); in triflex_set_mode()
|
D | jmicron.c | 31 struct pci_dev *pdev = to_pci_dev(hwif->dev); in jmicron_cable_detect()
|
D | cs5520.c | 62 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5520_set_pio_mode()
|
D | cs5535.c | 158 struct pci_dev *dev = to_pci_dev(hwif->dev); in cs5535_cable_detect()
|
D | sgiioc4.c | 147 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()
|
D | trm290.c | 236 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_hwif_trm290()
|
D | amd74xx.c | 84 struct pci_dev *dev = to_pci_dev(hwif->dev); in amd_set_drive()
|
D | ide-acpi.c | 124 struct pci_dev *pdev = to_pci_dev(dev); in ide_get_dev_handle()
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
D | ast_drv.c | 122 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/ |
D | qxl_drv.c | 146 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/ |
D | pci-txe.c | 244 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()
|
D | pci-me.c | 301 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()
|
D | hw-txe.c | 634 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()
|
D | hw-me.c | 181 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/ |
D | eeh_sysfs.c | 43 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()
|
D | dma.c | 328 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()
|
D | isa-bridge.c | 222 struct pci_dev *pdev = to_pci_dev(dev); in isa_bridge_notify()
|
/linux-4.4.14/arch/ia64/sn/pci/ |
D | pci_dma.c | 85 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/ |
D | pci_sysfs.c | 19 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()
|
D | pci_dma.c | 287 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()
|
D | pci.c | 692 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/ |
D | i5500_temp.c | 49 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()
|
D | k8temp.c | 57 struct pci_dev *pdev = to_pci_dev(dev); in k8temp_update_device()
|
/linux-4.4.14/drivers/usb/core/ |
D | hcd-pci.c | 424 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/ |
D | radeon_drv.c | 422 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/ |
D | dw_mmc-pci.c | 85 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()
|
D | toshsd.c | 576 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()
|
D | sdhci-pci-core.c | 1438 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/ |
D | sta2x11-fixup.c | 177 *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/ |
D | amdgpu_drv.c | 337 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/ |
D | pci.c | 76 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/ |
D | pcihost_wrapper.c | 24 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/ |
D | spi-dw-pci.c | 109 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/ |
D | cirrus_drv.c | 87 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/ |
D | dca.c | 127 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/ |
D | bochs_drv.c | 104 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/ |
D | skl.c | 139 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/ |
D | fbdev.c | 22 pci_dev = to_pci_dev(device); in fb_is_primary_device()
|
/linux-4.4.14/drivers/iommu/ |
D | s390-iommu.c | 88 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()
|
D | fsl_pamu_domain.c | 672 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()
|
D | intel-iommu.c | 888 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 …]
|
D | amd_iommu.c | 131 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()
|
D | intel-svm.c | 300 pasid_max = pci_max_pasids(to_pci_dev(dev)); in intel_svm_bind_mm()
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_mid.c | 56 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/ |
D | pci.c | 438 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()
|
D | vphb.c | 237 phys_dev = to_pci_dev(afu->adapter->dev.parent); in cxl_pci_vphb_add()
|
D | cxl.h | 547 pdev = to_pci_dev(cxl->dev.parent); in cxl_adapter_link_ok()
|
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_pci.c | 242 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/ |
D | pci.c | 39 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()
|
D | dbgp.c | 23 const struct pci_dev *pdev = to_pci_dev(ctrlr); in xen_dbgp_op()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_drm.c | 631 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/ |
D | dma-coherence.h | 17 pdev_to_baddr(to_pci_dev(dev), (addr))
|
/linux-4.4.14/drivers/net/wireless/ath/ath5k/ |
D | pci.c | 304 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/ |
D | pasemi_edac.c | 77 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()
|
D | x38_edac.c | 156 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()
|
D | i3200_edac.c | 172 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()
|
D | ie31200_edac.c | 213 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()
|
D | amd76x_edac.c | 108 pdev = to_pci_dev(mci->pdev); in amd76x_get_error_info()
|
D | i82860_edac.c | 70 pdev = to_pci_dev(mci->pdev); in i82860_get_error_info()
|
D | r82600_edac.c | 143 pdev = to_pci_dev(mci->pdev); in r82600_get_error_info()
|
D | edac_pci.c | 466 pci->dev_name = pci_name(to_pci_dev(dev)); in edac_pci_create_generic_ctl()
|
D | i82443bxgx_edac.c | 127 pdev = to_pci_dev(mci->pdev); in i82443bxgx_edacmc_get_error_info()
|
D | i3000_edac.c | 197 pdev = to_pci_dev(mci->pdev); in i3000_get_error_info()
|
D | i82875p_edac.c | 192 pdev = to_pci_dev(mci->pdev); in i82875p_get_error_info()
|
D | i82975x_edac.c | 244 pdev = to_pci_dev(mci->pdev); in i82975x_get_error_info()
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_drm_bus.c | 72 struct pci_dev *pdev = to_pci_dev(vdev->dev.parent); in drm_virtio_init()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | tgafb.c | 1412 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);
|
D | sm712fb.c | 1551 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/ |
D | pci.c | 774 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/ |
D | pcie_bus.c | 268 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/ |
D | umc.h | 145 pci_dev = to_pci_dev(umc_dev->dev.parent); in umc_parent_pci_dev()
|
/linux-4.4.14/drivers/staging/comedi/ |
D | comedi_pci.c | 36 return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL; in comedi_to_pci_dev()
|
/linux-4.4.14/drivers/irqchip/ |
D | irq-gic-v3-its-pci-msi.c | 80 pdev = to_pci_dev(dev); in its_pci_msi_prepare()
|
/linux-4.4.14/drivers/dca/ |
D | dca-core.c | 49 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/ |
D | tifm_core.c | 301 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/ |
D | aspm.c | 824 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()
|
D | portdrv_pci.c | 84 struct pci_dev *pdev = to_pci_dev(dev); in pcie_port_resume_noirq()
|
/linux-4.4.14/drivers/mcb/ |
D | mcb-pci.c | 28 struct pci_dev *pdev = to_pci_dev(dev); in mcb_pci_get_irq()
|
/linux-4.4.14/drivers/bcma/ |
D | host_pci.c | 261 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/ |
D | vga_switcheroo.c | 871 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/ |
D | drivers.c | 298 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/ |
D | rt2x00pci.c | 52 struct pci_dev *pci_dev = to_pci_dev(rt2x00dev->dev); in rt2x00pci_alloc_reg()
|
/linux-4.4.14/drivers/uwb/ |
D | umc-bus.c | 91 pci = to_pci_dev(umc->dev.parent); in umc_match_pci_id()
|
/linux-4.4.14/arch/ia64/hp/common/ |
D | sba_iommu.c | 259 ? ((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/ |
D | virtio_pci_common.c | 437 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/ |
D | falcon_boards.c | 363 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()
|
D | efx.c | 2360 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/ |
D | vmwgfx_drv.c | 1395 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/ |
D | lirc_bt829.c | 169 struct pci_dev *pdev = to_pci_dev(atir_driver.dev); in cleanup_module()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | power.c | 311 struct drm_device *drmdev = pci_get_drvdata(to_pci_dev(dev)); in psb_runtime_idle()
|
/linux-4.4.14/drivers/net/fddi/ |
D | defxx.c | 445 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/ |
D | init.c | 724 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/ |
D | nhi.c | 498 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/ |
D | porting.txt | 110 #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/ |
D | vme_tsi148.c | 313 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/ |
D | p54pci.c | 669 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/ |
D | r592.c | 855 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/ |
D | msi.c | 102 struct pci_dev *pdev = to_pci_dev(dev); in pci_msi_prepare()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.h | 231 #define dev_to_asd_ha(__dev) pci_get_drvdata(to_pci_dev(__dev))
|
/linux-4.4.14/arch/alpha/kernel/ |
D | pci-sysfs.c | 67 struct pci_dev *pdev = to_pci_dev(container_of(kobj, in pci_mmap_resource()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_drv.c | 994 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/ |
D | pci.c | 2374 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()
|
D | lightnvm.c | 584 struct pci_dev *pdev = to_pci_dev(dev->dev); in nvme_nvm_ns_supported()
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | processor_thermal_device.c | 79 pci_dev = to_pci_dev(dev); \
|
/linux-4.4.14/drivers/misc/ibmasm/ |
D | remote.c | 214 struct pci_dev *pdev = to_pci_dev(sp->dev); in ibmasm_init_remote_input_dev()
|
/linux-4.4.14/drivers/media/pci/pt3/ |
D | pt3.c | 658 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/ |
D | r852.c | 1013 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/ |
D | yenta_socket.c | 174 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/ |
D | iTCO_wdt.c | 447 iTCO_wdt_private.pdev = to_pci_dev(dev->dev.parent); in iTCO_wdt_probe()
|
/linux-4.4.14/include/linux/ |
D | pci.h | 401 #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/ |
D | iommu.c | 1225 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/ |
D | drv.c | 638 struct pci_dev *pdev = to_pci_dev(device); in iwl_pci_resume()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_intel.c | 942 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/ |
D | timberdale.c | 641 struct pci_dev *pdev = to_pci_dev(dev); in show_fw_ver()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | nvm.c | 740 struct pci_dev *pdev = to_pci_dev(mvm->dev); in iwl_mvm_get_bios_mcc()
|