Home
last modified time | relevance | path

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

12345678910

/linux/drivers/usb/host/
H A Duhci-pci.c29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc()
40 return uhci_check_and_reset_hc(to_pci_dev(uhci_dev(uhci)), in uhci_pci_check_and_reset_hc()
50 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_configure_hc()
64 switch (to_pci_dev(uhci_dev(uhci))->vendor) { in uhci_pci_resume_detect_interrupts_are_broken()
127 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_VIA || in uhci_pci_init()
128 to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_ZHAOXIN) in uhci_pci_init()
132 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_HP) in uhci_pci_init()
136 if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_INTEL) in uhci_pci_init()
177 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_suspend()
H A Dohci-pci.c74 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_quirk_ns()
170 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_quirk_loongson()
264 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in ohci_pci_reset()
/linux/drivers/ata/
H A Dpata_atiixp.c51 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_cable_detect()
84 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_prereset()
107 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_pio_timing()
154 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_set_dmamode()
217 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_start()
244 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in atiixp_bmdma_stop()
H A Dpata_sl82c105.c59 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()
232 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_sff_irq_check()
H A Dpata_efar.c44 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_pre_reset()
62 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in efar_cable_detect()
87 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_piomode()
160 struct pci_dev *dev = to_pci_dev(ap->host->dev); in efar_set_dmamode()
H A Dpata_it8213.c39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_pre_reset()
56 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in it8213_cable_detect()
78 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_piomode()
142 struct pci_dev *dev = to_pci_dev(ap->host->dev); in it8213_set_dmamode()
H A Dpata_cs5536.c110 struct pci_dev *pdev = to_pci_dev(adev->link->ap->host->dev); in cs5536_program_dtc()
131 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_cable_detect()
162 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_piomode()
202 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5536_set_dmamode()
H A Dpata_oldpiix.c41 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in oldpiix_pre_reset()
67 struct pci_dev *dev = to_pci_dev(ap->host->dev); in oldpiix_set_piomode()
128 struct pci_dev *dev = to_pci_dev(ap->host->dev); in oldpiix_set_dmamode()
H A 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()
H A Dpata_sil680.c82 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_cable_detect()
115 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_set_piomode()
163 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_set_dmamode()
217 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sil680_sff_irq_check()
H A Dpata_hpt366.c214 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt36x_cable_detect()
230 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt366_set_mode()
293 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt366_prereset()
H A Dpata_hpt37x.c334 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_cable_detect()
362 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt374_fn1_cable_detect()
392 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_pre_reset()
426 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_set_mode()
480 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt370_bmdma_stop()
517 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in hpt37x_bmdma_stop()
H A Dpata_ns87410.c29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_pre_reset()
52 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_set_piomode()
/linux/arch/s390/pci/
H A Dpci_sysfs.c23 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
49 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in mio_enabled_show()
83 struct pci_dev *pdev = to_pci_dev(dev); in recover_store()
135 struct pci_dev *pdev = to_pci_dev(dev); in util_string_read()
149 struct pci_dev *pdev = to_pci_dev(dev); in report_error_write()
180 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); in index_show()
/linux/sound/hda/core/
H A Di915.c37 struct pci_dev *pci = to_pci_dev(bus->dev); in snd_hdac_i915_set_bclk()
115 hdac_pci = to_pci_dev(bus->dev); in i915_component_master_match()
116 i915_pci = to_pci_dev(dev); in i915_component_master_match()
190 if (!i915_gfx_present(to_pci_dev(bus->dev))) in snd_hdac_i915_init()
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.h136 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_heads()
148 return nv_two_heads(dev) && (to_pci_dev(dev->dev)->device & 0x0ff0) != 0x0110; in nv_gf4_disp_arch()
155 const int impl = to_pci_dev(dev->dev)->device & 0x0ff0; in nv_two_reg_pll()
166 struct pci_dev *pdev = to_pci_dev(dev->dev); in nv_match_device()
/linux/drivers/misc/ocxl/
H A Dcore.c58 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_actag()
96 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_pasid()
133 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in reserve_fn_bar()
150 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in release_fn_bar()
165 struct pci_dev *pci_dev = to_pci_dev(afu->fn->dev.parent); in map_mmio_areas()
258 struct pci_dev *dev = to_pci_dev(afu->fn->dev.parent); in deactivate_afu()
337 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in assign_function_actag()
358 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in set_function_pasid()
443 struct pci_dev *dev = to_pci_dev(fn->dev.parent); in deconfigure_function()
/linux/drivers/cxl/core/
H A Dpci.c61 pdev = to_pci_dev(dport_dev); in devm_cxl_add_dport_by_dev()
77 struct pci_dev *pdev = to_pci_dev(cxlds->dev); in cxl_dvsec_mem_range_valid()
113 struct pci_dev *pdev = to_pci_dev(cxlds->dev); in cxl_dvsec_mem_range_active()
151 struct pci_dev *pdev = to_pci_dev(cxlds->dev); in cxl_await_media_ready()
185 struct pci_dev *pdev = to_pci_dev(cxlds->dev); in cxl_set_mem_enable()
266 struct pci_dev *pdev = to_pci_dev(cxlds->dev); in cxl_dvsec_rr_decode()
582 pdev = to_pci_dev(host); in read_cdat_data()
584 pdev = to_pci_dev(uport); in read_cdat_data()
806 pdev = to_pci_dev(dev); in cxl_gpf_get_dvsec()
873 pdev = to_pci_dev(dport->dport_dev); in cxl_gpf_port_setup()
/linux/drivers/usb/core/
H A Dhcd-pci.c420 struct pci_dev *pci_dev = to_pci_dev(dev); in suspend_common()
483 struct pci_dev *pci_dev = to_pci_dev(dev); in resume_common()
536 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_suspend_noirq()
575 struct pci_dev *pci_dev = to_pci_dev(dev); in hcd_pci_poweroff_late()
586 powermac_set_asic(to_pci_dev(dev), 1); in hcd_pci_resume_noirq()
618 powermac_set_asic(to_pci_dev(dev), 0); in hcd_pci_runtime_suspend()
627 powermac_set_asic(to_pci_dev(dev), 1); in hcd_pci_runtime_resume()
/linux/drivers/pci/
H A Dpci-label.c91 struct pci_dev *pdev = to_pci_dev(dev); in smbios_label_show()
102 struct pci_dev *pdev = to_pci_dev(dev); in index_show()
119 struct pci_dev *pdev = to_pci_dev(dev); in smbios_attr_is_visible()
H A Dtsm.c233 struct pci_dev *pdev = to_pci_dev(dev); in connect_show()
263 struct pci_dev *pdev = to_pci_dev(dev); in connect_store()
473 struct pci_dev *pdev = to_pci_dev(dev); in disconnect_store()
496 struct pci_dev *pdev = to_pci_dev(dev); in bound_show()
523 struct pci_dev *pdev = to_pci_dev(dev); in dsm_show()
542 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_tsm_link_group_visible()
572 struct pci_dev *pdev = to_pci_dev(kobj_to_dev(kobj)); in pci_tsm_attr_visible()
687 uport = to_pci_dev(grandparent); in find_dsm_dev()
/linux/drivers/platform/x86/intel/atomisp2/
H A Dpm.c83 struct pci_dev *pdev = to_pci_dev(dev); in isp_pci_suspend()
111 struct pci_dev *pdev = to_pci_dev(dev); in isp_pci_resume()
/linux/drivers/ssb/
H A 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/drivers/gpu/drm/gma500/
H A Dpower.c180 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_suspend()
197 struct pci_dev *pdev = to_pci_dev(_dev); in gma_power_resume()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_vga.c96 pdev = to_pci_dev(dev->dev); in nouveau_vga_init()
120 pdev = to_pci_dev(dev->dev); in nouveau_vga_fini()

12345678910