/linux/drivers/pci/ |
A D | pci-sysfs.c | 42 pdev = to_pci_dev(dev); \ 58 struct pci_dev *pdev = to_pci_dev(dev); in irq_show() 80 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_show() 88 struct pci_dev *pdev = to_pci_dev(dev); in broken_parity_status_store() 154 struct pci_dev *pdev = to_pci_dev(dev); in power_state_show() 190 struct pci_dev *pdev = to_pci_dev(dev); in max_link_speed_show() 200 struct pci_dev *pdev = to_pci_dev(dev); in max_link_width_show() 298 struct pci_dev *pdev = to_pci_dev(dev); in enable_store() 328 pdev = to_pci_dev(dev); in enable_show() 338 struct pci_dev *pdev = to_pci_dev(dev); in numa_node_store() [all …]
|
A D | pci-driver.c | 435 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_probe() 459 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_remove() 495 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_device_shutdown() 591 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend() 618 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_suspend_late() 632 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_legacy_resume() 670 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_prepare() 694 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_complete() 739 struct pci_dev *pci_dev = to_pci_dev(dev); in pci_pm_suspend() 1518 pdev = to_pci_dev(dev); in pci_uevent() [all …]
|
/linux/drivers/usb/host/ |
A D | uhci-pci.c | 29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() 40 return uhci_check_and_reset_hc(to_pci_dev(uhci_dev(uhci)), in uhci_pci_check_and_reset_hc() 50 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_configure_hc() 64 switch (to_pci_dev(uhci_dev(uhci))->vendor) { in uhci_pci_resume_detect_interrupts_are_broken() 126 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA) in uhci_pci_init() 130 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_HP) in uhci_pci_init() 134 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_INTEL) in uhci_pci_init() 175 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_suspend()
|
/linux/drivers/gpu/drm/ast/ |
A D | ast_drv.c | 149 pci_save_state(to_pci_dev(dev->dev)); in ast_drm_freeze() 164 if (pci_enable_device(to_pci_dev(dev->dev))) in ast_drm_resume() 175 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_suspend() 190 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_resume() 197 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_freeze() 204 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_thaw() 211 struct pci_dev *pdev = to_pci_dev(dev); in ast_pm_poweroff()
|
/linux/drivers/ata/ |
A D | pata_sis.c | 102 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_port_base() 124 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_133_cable_detect() 144 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_66_cable_detect() 172 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_pre_reset() 196 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_set_fifo() 228 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_old_set_piomode() 265 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_100_set_piomode() 290 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_133_set_piomode() 338 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_old_set_dmamode() 377 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sis_66_set_dmamode() [all …]
|
A D | pata_artop.c | 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset() 77 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_cable_detect() 101 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_load_piomode() 128 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_set_piomode() 155 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_load_piomode() 182 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_set_piomode() 207 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6210_set_dmamode() 247 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop6260_set_dmamode()
|
A D | pata_atiixp.c | 51 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_cable_detect() 84 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_prereset() 107 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_pio_timing() 154 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_dmamode() 217 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_start() 244 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_stop()
|
A D | pata_sl82c105.c | 59 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_pre_reset() 80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_piomode() 117 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_dmamode() 142 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_reset_engine() 233 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_sff_irq_check()
|
A D | pata_cmd64x.c | 75 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_cable_detect() 96 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_timing() 197 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_set_dmamode() 241 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_sff_irq_check() 261 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd64x_sff_irq_clear() 280 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_sff_irq_check() 297 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd648_sff_irq_clear()
|
A D | pata_efar.c | 44 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_pre_reset() 62 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_cable_detect() 87 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_piomode() 160 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_dmamode()
|
A D | pata_it8213.c | 39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_pre_reset() 56 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_cable_detect() 78 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_piomode() 142 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_dmamode()
|
A D | pata_cs5536.c | 110 struct pci_dev *pdev = to_pci_dev(adev->link->ap->host->dev); in cs5536_program_dtc() 131 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_cable_detect() 162 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_piomode() 202 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_dmamode()
|
A D | pata_cmd640.c | 55 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_set_piomode() 133 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_qc_issue() 153 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_port_start() 166 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cmd640_sff_irq_check()
|
/linux/arch/s390/pci/ |
A D | pci_sysfs.c | 24 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \ 46 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show() 56 struct pci_dev *pdev = to_pci_dev(dev); in recover_store() 128 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read() 142 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write() 167 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
|
/linux/arch/powerpc/kernel/ |
A D | eeh_sysfs.c | 27 struct pci_dev *pdev = to_pci_dev(dev); \ 43 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_show() 59 struct pci_dev *pdev = to_pci_dev(dev); in eeh_pe_state_store() 82 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_show() 96 struct pci_dev *pdev = to_pci_dev(dev); in eeh_notify_resume_store()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_vga.c | 28 struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev); in intel_vga_disable() 82 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_reset_io_mem() 143 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_register() 163 struct pci_dev *pdev = to_pci_dev(i915->drm.dev); in intel_vga_unregister()
|
/linux/drivers/misc/ocxl/ |
A D | core.c | 58 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_actag() 96 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_pasid() 133 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in reserve_fn_bar() 150 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in release_fn_bar() 165 struct pci_dev *pci_dev = to_pci_dev(afu->fn->dev.parent); in map_mmio_areas() 258 struct pci_dev *dev = to_pci_dev(afu->fn->dev.parent); in deactivate_afu() 337 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in assign_function_actag() 358 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in set_function_pasid() 443 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in deconfigure_function()
|
/linux/drivers/gpu/drm/ |
A D | drm_pci.c | 56 return pci_domain_nr(to_pci_dev(dev->dev)->bus); in drm_get_pci_domain() 61 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_pci_set_busid() 79 struct pci_dev *pdev = to_pci_dev(dev->dev); in drm_legacy_pci_irq_by_busid() 136 if (pci_find_capability(to_pci_dev(dev->dev), PCI_CAP_ID_AGP)) in drm_legacy_pci_agp_init()
|
A D | drm_irq.c | 107 vga_client_unregister(to_pci_dev(dev->dev)); in drm_legacy_irq_install() 153 vga_client_unregister(to_pci_dev(dev->dev)); in drm_legacy_irq_uninstall() 185 pdev = to_pci_dev(dev->dev); in drm_legacy_irq_control()
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | disp.h | 133 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_heads() 145 return nv_two_heads(dev) && (to_pci_dev(dev->dev)->device & 0x0ff0) != 0x0110; in nv_gf4_disp_arch() 152 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_reg_pll() 163 struct pci_dev *pdev = to_pci_dev(dev->dev); in nv_match_device()
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | processor_thermal_rfim.c | 72 struct pci_dev *pdev = to_pci_dev(dev);\ 101 struct pci_dev *pdev = to_pci_dev(dev);\ 206 ret = processor_thermal_send_mbox_cmd(to_pci_dev(dev), cmd_id, input, &cmd_resp); in rfi_restriction_store() 221 ret = processor_thermal_send_mbox_cmd(to_pci_dev(dev), cmd_id, 0, &cmd_resp); in rfi_restriction_show() 236 ret = processor_thermal_send_mbox_cmd(to_pci_dev(dev), cmd_id, 0, &cmd_resp); in ddr_data_rate_show()
|
/linux/sound/hda/ |
A D | hdac_i915.c | 36 struct pci_dev *pci = to_pci_dev(bus->dev); in snd_hdac_i915_set_bclk() 108 hdac_pci = to_pci_dev(bus->dev); in i915_component_master_match() 109 i915_pci = to_pci_dev(dev); in i915_component_master_match()
|
/linux/drivers/gpu/drm/gma500/ |
A D | power.c | 190 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_suspend() 217 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_resume() 252 struct pci_dev *pdev = to_pci_dev(dev->dev); in gma_power_begin() 312 struct drm_device *drmdev = pci_get_drvdata(to_pci_dev(dev)); in psb_runtime_idle()
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_drv.c | 169 struct pci_dev *pdev = to_pci_dev(dev->dev); in qxl_drm_freeze() 206 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_suspend() 221 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_resume() 249 struct pci_dev *pdev = to_pci_dev(dev); in qxl_pm_restore()
|
/linux/drivers/crypto/ccp/ |
A D | sp-pci.c | 39 struct pci_dev *pdev = to_pci_dev(dev); in sp_get_msix_irqs() 61 struct pci_dev *pdev = to_pci_dev(dev); in sp_get_msi_irq() 99 struct pci_dev *pdev = to_pci_dev(dev); in sp_free_irqs() 118 pdev_new = to_pci_dev(dev_new); in sp_pci_is_master() 119 pdev_cur = to_pci_dev(dev_cur); in sp_pci_is_master()
|