Home
last modified time | relevance | path

Searched refs:pci_resource_start (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/linux-5.19.10/drivers/ata/
Dsata_uli.c187 (unsigned long long)pci_resource_start(pdev, 0) + 8, in uli_init_one()
188 ((unsigned long long)pci_resource_start(pdev, 1) | ATA_PCI_CTL_OFS) + 4, in uli_init_one()
189 (unsigned long long)pci_resource_start(pdev, 4) + 16); in uli_init_one()
202 (unsigned long long)pci_resource_start(pdev, 2) + 9, in uli_init_one()
203 ((unsigned long long)pci_resource_start(pdev, 3) | ATA_PCI_CTL_OFS) + 4, in uli_init_one()
204 (unsigned long long)pci_resource_start(pdev, 4) + 24); in uli_init_one()
/linux-5.19.10/drivers/pci/hotplug/
Dcpcihp_zt5550.c79 dbg("pci resource start %llx", (unsigned long long)pci_resource_start(hc_dev, 1)); in zt5550_hc_config()
82 if (!request_mem_region(pci_resource_start(hc_dev, 1), in zt5550_hc_config()
90 ioremap(pci_resource_start(hc_dev, 1), pci_resource_len(hc_dev, 1)); in zt5550_hc_config()
94 (unsigned long long)pci_resource_start(hc_dev, 1)); in zt5550_hc_config()
121 release_mem_region(pci_resource_start(hc_dev, 1), in zt5550_hc_config()
134 release_mem_region(pci_resource_start(hc_dev, 1), in zt5550_hc_cleanup()
/linux-5.19.10/sound/soc/intel/atom/sst/
Dsst_pci.c37 ctx->ddr_base = pci_resource_start(pci, 0); in sst_platform_get_resources()
64 ctx->shim_phy_add = pci_resource_start(pci, 1); in sst_platform_get_resources()
73 ctx->mailbox_add = pci_resource_start(pci, 2); in sst_platform_get_resources()
83 ctx->iram_base = pci_resource_start(pci, 3); in sst_platform_get_resources()
93 ctx->dram_base = pci_resource_start(pci, 4); in sst_platform_get_resources()
/linux-5.19.10/drivers/scsi/aacraid/
Dnark.c40 dev->base_start = pci_resource_start(dev->pdev, 2); in aac_nark_ioremap()
41 dev->regs.rx = ioremap((u64)pci_resource_start(dev->pdev, 0) | in aac_nark_ioremap()
42 ((u64)pci_resource_start(dev->pdev, 1) << 32), in aac_nark_ioremap()
/linux-5.19.10/drivers/media/pci/mantis/
Dmantis_pci.c67 if (!request_mem_region(pci_resource_start(pdev, 0), in mantis_pci_init()
76 mantis->mmio = ioremap(pci_resource_start(pdev, 0), in mantis_pci_init()
125 release_mem_region(pci_resource_start(pdev, 0), in mantis_pci_init()
146 release_mem_region(pci_resource_start(pdev, 0), in mantis_pci_exit()
/linux-5.19.10/drivers/mtd/nand/raw/
Ddenali_pci.c49 mem_base = pci_resource_start(dev, 0); in denali_pci_probe()
51 csr_base = pci_resource_start(dev, 1); in denali_pci_probe()
54 csr_base = pci_resource_start(dev, 0); in denali_pci_probe()
56 mem_base = pci_resource_start(dev, 1); in denali_pci_probe()
/linux-5.19.10/drivers/media/radio/
Dradio-maxiradio.c150 if (!request_region(pci_resource_start(pdev, 0), in maxiradio_probe()
159 dev->io = pci_resource_start(pdev, 0); in maxiradio_probe()
167 release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in maxiradio_probe()
184 release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in maxiradio_remove()
/linux-5.19.10/drivers/media/pci/tw68/
Dtw68-core.c249 dev->pci_lat, (u64)pci_resource_start(pci_dev, 0)); in tw68_initdev()
277 if (!request_mem_region(pci_resource_start(pci_dev, 0), in tw68_initdev()
283 (unsigned long long)pci_resource_start(pci_dev, 0)); in tw68_initdev()
286 dev->lmmio = ioremap(pci_resource_start(pci_dev, 0), in tw68_initdev()
333 release_mem_region(pci_resource_start(pci_dev, 0), in tw68_initdev()
356 release_mem_region(pci_resource_start(pci_dev, 0), in tw68_finidev()
/linux-5.19.10/drivers/gpu/drm/qxl/
Dqxl_kms.c122 qdev->rom_base = pci_resource_start(pdev, 2); in qxl_device_init()
124 qdev->vram_base = pci_resource_start(pdev, 0); in qxl_device_init()
125 qdev->io_base = pci_resource_start(pdev, 3); in qxl_device_init()
136 qdev->surfaceram_base = pci_resource_start(pdev, sb); in qxl_device_init()
145 qdev->surfaceram_base = pci_resource_start(pdev, sb); in qxl_device_init()
/linux-5.19.10/drivers/usb/cdns3/
Dcdns3-pci-wrap.c110 res[RES_DEV_ID].start = pci_resource_start(pdev, PCI_BAR_DEV); in cdns3_pci_probe()
117 res[RES_HOST_ID].start = pci_resource_start(pdev, PCI_BAR_HOST); in cdns3_pci_probe()
134 res[RES_DRD_ID].start = pci_resource_start(pdev, PCI_BAR_OTG); in cdns3_pci_probe()
Dcdnsp-pci.c108 rsrc_start = pci_resource_start(pdev, PCI_BAR_DEV); in cdnsp_pci_probe()
129 res->start = pci_resource_start(pdev, PCI_BAR_HOST); in cdnsp_pci_probe()
143 res->start = pci_resource_start(pdev, PCI_BAR_OTG); in cdnsp_pci_probe()
/linux-5.19.10/lib/
Dpci_iomap.c33 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_range()
73 resource_size_t start = pci_resource_start(dev, bar); in pci_iomap_wc_range()
/linux-5.19.10/drivers/comedi/drivers/
Damplc_pci236.c105 devpriv->lcr_iobase = pci_resource_start(pci_dev, 1); in pci236_auto_attach()
106 iobase = pci_resource_start(pci_dev, 2); in pci236_auto_attach()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c123 ctrl_bar = ioremap(pci_resource_start(pdev, NFP_NET_CTRL_BAR), in nfp_netvf_pci_probe()
218 map_addr = pci_resource_start(pdev, tx_bar_no) + bar_off; in nfp_netvf_pci_probe()
234 map_addr = pci_resource_start(pdev, tx_bar_no) + tx_bar_off; in nfp_netvf_pci_probe()
243 map_addr = pci_resource_start(pdev, rx_bar_no) + rx_bar_off; in nfp_netvf_pci_probe()
/linux-5.19.10/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c737 if (!request_mem_region(pci_resource_start(pci_dev, 0), in netup_unidvb_request_mmio()
742 (unsigned long long)pci_resource_start(pci_dev, 0)); in netup_unidvb_request_mmio()
745 if (!request_mem_region(pci_resource_start(pci_dev, 1), in netup_unidvb_request_mmio()
750 (unsigned long long)pci_resource_start(pci_dev, 1)); in netup_unidvb_request_mmio()
751 release_mem_region(pci_resource_start(pci_dev, 0), in netup_unidvb_request_mmio()
868 ndev->lmmio0 = ioremap(pci_resource_start(pci_dev, 0), in netup_unidvb_initdev()
875 ndev->lmmio1 = ioremap(pci_resource_start(pci_dev, 1), in netup_unidvb_initdev()
960 release_mem_region(pci_resource_start(pci_dev, 0), in netup_unidvb_initdev()
962 release_mem_region(pci_resource_start(pci_dev, 1), in netup_unidvb_initdev()
999 release_mem_region(pci_resource_start(pci_dev, 0), in netup_unidvb_finidev()
[all …]
/linux-5.19.10/drivers/uio/
Duio_cif.c56 info->mem[0].addr = pci_resource_start(dev, 0); in hilscher_pci_probe()
65 info->mem[1].addr = pci_resource_start(dev, 2); in hilscher_pci_probe()
Duio_netx.c81 info->mem[0].addr = pci_resource_start(dev, bar); in netx_pci_probe()
84 info->mem[0].internal_addr = ioremap(pci_resource_start(dev, bar), in netx_pci_probe()
/linux-5.19.10/drivers/i2c/busses/
Di2c-hydra.c105 unsigned long base = pci_resource_start(dev, 0); in hydra_probe()
134 release_mem_region(pci_resource_start(dev, 0)+ in hydra_remove()
/linux-5.19.10/drivers/fpga/
Ddfl-pci.c206 start = pci_resource_start(pcidev, bir) + offset; in find_dfls_by_vsec()
235 start = pci_resource_start(pcidev, 0); in find_dfls_by_default()
271 start = pci_resource_start(pcidev, bar) + offset; in find_dfls_by_default()
277 start = pci_resource_start(pcidev, 0); in find_dfls_by_default()
/linux-5.19.10/drivers/gpio/
Dgpio-bt8xx.c181 if (!devm_request_mem_region(&dev->dev, pci_resource_start(dev, 0), in bt8xxgpio_probe()
185 (unsigned long long)pci_resource_start(dev, 0)); in bt8xxgpio_probe()
192 bg->mmio = devm_ioremap(&dev->dev, pci_resource_start(dev, 0), 0x1000); in bt8xxgpio_probe()
/linux-5.19.10/drivers/xen/
Dplatform-pci.c108 ioaddr = pci_resource_start(pdev, 0); in platform_pci_probe()
110 mmio_addr = pci_resource_start(pdev, 1); in platform_pci_probe()
/linux-5.19.10/drivers/usb/gadget/udc/
Damd5536udc_pci.c73 release_mem_region(pci_resource_start(pdev, 0), in udc_pci_remove()
109 resource = pci_resource_start(pdev, 0); in udc_pci_probe()
/linux-5.19.10/drivers/tty/serial/jsm/
Djsm_driver.c137 brd->membase = pci_resource_start(pdev, 4); in jsm_probe_one()
145 brd->iobase = pci_resource_start(pdev, 1); in jsm_probe_one()
189 brd->membase = pci_resource_start(pdev, 0); in jsm_probe_one()
/linux-5.19.10/drivers/mtd/maps/
Dpci.c97 map->base = ioremap(pci_resource_start(dev, 0), in intel_iq80310_init()
160 base = pci_resource_start(dev, PCI_ROM_RESOURCE); in intel_dc21285_init()
167 base = pci_resource_start(dev, 2); in intel_dc21285_init()
/linux-5.19.10/drivers/media/pci/bt8xx/
Dbt878.c427 bt->bt878_adr = pci_resource_start(dev, 0); in bt878_probe()
428 if (!request_mem_region(pci_resource_start(dev, 0), in bt878_probe()
489 release_mem_region(pci_resource_start(bt->dev, 0), in bt878_probe()
522 release_mem_region(pci_resource_start(bt->dev, 0), in bt878_remove()

12345678910>>...25