Home
last modified time | relevance | path

Searched refs:pci_resource_len (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/Linux-v6.6/drivers/pci/hotplug/
Dcpcihp_zt5550.c80 dbg("pci resource len %llx", (unsigned long long)pci_resource_len(hc_dev, 1)); in zt5550_hc_config()
83 pci_resource_len(hc_dev, 1), MY_NAME)) { in zt5550_hc_config()
90 ioremap(pci_resource_start(hc_dev, 1), pci_resource_len(hc_dev, 1)); in zt5550_hc_config()
93 (unsigned long long)pci_resource_len(hc_dev, 1), in zt5550_hc_config()
122 pci_resource_len(hc_dev, 1)); in zt5550_hc_config()
135 pci_resource_len(hc_dev, 1)); in zt5550_hc_cleanup()
/Linux-v6.6/sound/soc/intel/atom/sst/
Dsst_pci.c53 pci_resource_len(pci, 0)); in sst_platform_get_resources()
64 ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); in sst_platform_get_resources()
73 ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); in sst_platform_get_resources()
83 ctx->iram = pcim_iomap(pci, 3, pci_resource_len(pci, 3)); in sst_platform_get_resources()
93 ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); in sst_platform_get_resources()
/Linux-v6.6/drivers/media/pci/mantis/
Dmantis_pci.c68 pci_resource_len(pdev, 0), in mantis_pci_init()
77 pci_resource_len(pdev, 0)); in mantis_pci_init()
126 pci_resource_len(pdev, 0)); in mantis_pci_init()
147 pci_resource_len(pdev, 0)); in mantis_pci_exit()
/Linux-v6.6/drivers/gpu/drm/qxl/
Dqxl_kms.c121 qdev->rom_size = pci_resource_len(pdev, 2); in qxl_device_init()
125 qdev->vram_mapping = io_mapping_create_wc(qdev->vram_base, pci_resource_len(pdev, 0)); in qxl_device_init()
131 if (pci_resource_len(pdev, 4) > 0) { in qxl_device_init()
135 qdev->surfaceram_size = pci_resource_len(pdev, sb); in qxl_device_init()
144 qdev->surfaceram_size = pci_resource_len(pdev, sb); in qxl_device_init()
158 (int)pci_resource_len(pdev, 0) / 1024 / 1024, in qxl_device_init()
159 (int)pci_resource_len(pdev, 0) / 1024, in qxl_device_init()
/Linux-v6.6/drivers/mtd/nand/raw/
Ddenali_pci.c50 mem_len = pci_resource_len(dev, 1); in denali_pci_probe()
52 csr_len = pci_resource_len(dev, 1); in denali_pci_probe()
55 csr_len = pci_resource_len(dev, 0); in denali_pci_probe()
57 mem_len = pci_resource_len(dev, 1); in denali_pci_probe()
/Linux-v6.6/drivers/net/can/ctucanfd/
Dctucanfd_pci.c121 (long long)pci_resource_len(pdev, 0)); in ctucan_pci_probe()
125 (long long)pci_resource_len(pdev, 1)); in ctucan_pci_probe()
127 addr = pci_iomap(pdev, 1, pci_resource_len(pdev, 1)); in ctucan_pci_probe()
135 bar0_base = pci_iomap(pdev, 0, pci_resource_len(pdev, 0)); in ctucan_pci_probe()
/Linux-v6.6/drivers/net/ethernet/sfc/
Def100.c101 pci_resource_len(efx->pci_dev, bar); in ef100_pci_does_bar_overflow()
146 pci_resource_len(efx->pci_dev, bar)); in ef100_pci_parse_continue_entry()
164 pci_resource_len(efx->pci_dev, previous_bar)); in ef100_pci_parse_continue_entry()
328 if (offset > pci_resource_len(efx->pci_dev, bar) - sizeof(u32) * 2) { in ef100_pci_parse_xilinx_cap()
338 pci_resource_len(efx->pci_dev, bar)); in ef100_pci_parse_xilinx_cap()
488 if (fcw.offset > pci_resource_len(efx->pci_dev, fcw.bar) - ESE_GZ_FCW_LEN) { in ef100_pci_probe()
497 pci_resource_len(efx->pci_dev, fcw.bar)); in ef100_pci_probe()
/Linux-v6.6/drivers/media/radio/
Dradio-maxiradio.c151 pci_resource_len(pdev, 0), v4l2_dev->name)) { 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-v6.6/drivers/net/ethernet/mellanox/mlx4/
Dcrdump.c107 cr_res_size = pci_resource_len(pdev, 0); in mlx4_crdump_collect_crspace()
188 cr_res_size = pci_resource_len(pdev, 0); in mlx4_crdump_collect()
232 pci_resource_len(pdev, 0)); in mlx4_crdump_init()
/Linux-v6.6/lib/
Dpci_iomap.c34 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_range()
74 resource_size_t len = pci_resource_len(dev, bar); in pci_iomap_wc_range()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c172 if (tx_bar_sz > pci_resource_len(pdev, tx_bar_no)) { in nfp_netvf_pci_probe()
175 tx_bar_sz = pci_resource_len(pdev, tx_bar_no); in nfp_netvf_pci_probe()
178 if (rx_bar_sz > pci_resource_len(pdev, rx_bar_no)) { in nfp_netvf_pci_probe()
181 rx_bar_sz = pci_resource_len(pdev, rx_bar_no); in nfp_netvf_pci_probe()
/Linux-v6.6/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c738 pci_resource_len(pci_dev, 0), NETUP_UNIDVB_NAME)) { in netup_unidvb_request_mmio()
746 pci_resource_len(pci_dev, 1), NETUP_UNIDVB_NAME)) { in netup_unidvb_request_mmio()
752 pci_resource_len(pci_dev, 0)); in netup_unidvb_request_mmio()
869 pci_resource_len(pci_dev, 0)); in netup_unidvb_initdev()
876 pci_resource_len(pci_dev, 1)); in netup_unidvb_initdev()
887 ndev->lmmio0, (u32)pci_resource_len(pci_dev, 0), in netup_unidvb_initdev()
888 ndev->lmmio1, (u32)pci_resource_len(pci_dev, 1), in netup_unidvb_initdev()
962 pci_resource_len(pci_dev, 0)); in netup_unidvb_initdev()
964 pci_resource_len(pci_dev, 1)); in netup_unidvb_initdev()
1001 pci_resource_len(pci_dev, 0)); in netup_unidvb_finidev()
[all …]
/Linux-v6.6/drivers/media/pci/cx23885/
Dcx23885-ioctl.c60 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) in cx23885_g_register()
92 if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) in cx23885_s_register()
/Linux-v6.6/drivers/crypto/marvell/octeontx2/
Dcn10k_cpt.c63 size = pci_resource_len(pdev, PCI_MBOX_BAR_NUM); in cn10k_cptpf_lmtst_init()
88 size = pci_resource_len(pdev, PCI_MBOX_BAR_NUM); in cn10k_cptvf_lmtst_init()
/Linux-v6.6/drivers/media/pci/tw68/
Dtw68-core.c278 pci_resource_len(pci_dev, 0), in tw68_initdev()
287 pci_resource_len(pci_dev, 0)); in tw68_initdev()
334 pci_resource_len(pci_dev, 0)); in tw68_initdev()
357 pci_resource_len(pci_dev, 0)); in tw68_finidev()
/Linux-v6.6/drivers/video/fbdev/
Dgxt4500.c635 if (!request_mem_region(reg_phys, pci_resource_len(pdev, 0), in gxt4500_probe()
642 if (!request_mem_region(fb_phys, pci_resource_len(pdev, 1), in gxt4500_probe()
668 info->fix.smem_len = pci_resource_len(pdev, 1); in gxt4500_probe()
728 release_mem_region(fb_phys, pci_resource_len(pdev, 1)); in gxt4500_probe()
730 release_mem_region(reg_phys, pci_resource_len(pdev, 0)); in gxt4500_probe()
749 pci_resource_len(pdev, 0)); in gxt4500_remove()
751 pci_resource_len(pdev, 1)); in gxt4500_remove()
/Linux-v6.6/drivers/uio/
Duio_cif.c63 info->mem[0].size = pci_resource_len(dev, 0); in hilscher_pci_probe()
66 info->mem[1].size = pci_resource_len(dev, 2); in hilscher_pci_probe()
Duio_netx.c85 pci_resource_len(dev, bar)); in netx_pci_probe()
90 info->mem[0].size = pci_resource_len(dev, bar); in netx_pci_probe()
/Linux-v6.6/drivers/fpga/
Ddfl-pci.c204 len = pci_resource_len(pcidev, bir); in find_dfls_by_vsec()
246 len = pci_resource_len(pcidev, 0); in find_dfls_by_default()
282 len = pci_resource_len(pcidev, bar) - offset; in find_dfls_by_default()
288 len = pci_resource_len(pcidev, 0); in find_dfls_by_default()
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_region_lmem.c26 if (pci_resource_len(pdev, resno)) in _release_bars()
61 current_size = roundup_pow_of_two(pci_resource_len(pdev, GEN12_LMEM_BAR)); in i915_resize_lmem_bar()
254 io_size = min(pci_resource_len(pdev, GEN12_LMEM_BAR), lmem_size); in setup_lmem()
/Linux-v6.6/drivers/net/wan/
Dpci200syn.c299 if (pci_resource_len(pdev, 0) != PCI200SYN_PLX_SIZE || in pci200_pci_init_one()
300 pci_resource_len(pdev, 2) != PCI200SYN_SCA_SIZE || in pci200_pci_init_one()
301 pci_resource_len(pdev, 3) < 16384) { in pci200_pci_init_one()
333 pci_resource_len(pdev, 3)); in pci200_pci_init_one()
Dpc300too.c311 if (pci_resource_len(pdev, 0) != PC300_PLX_SIZE || in pc300_pci_init_one()
312 pci_resource_len(pdev, 2) != PC300_SCA_SIZE || in pc300_pci_init_one()
313 pci_resource_len(pdev, 3) < 16384) { in pc300_pci_init_one()
382 pci_resource_len(pdev, 3)); in pc300_pci_init_one()
/Linux-v6.6/drivers/usb/gadget/udc/
Damd5536udc_pci.c74 pci_resource_len(pdev, 0)); in udc_pci_remove()
110 len = pci_resource_len(pdev, 0); in udc_pci_probe()
/Linux-v6.6/drivers/mtd/maps/
Dpci.c98 pci_resource_len(dev, 0)); in intel_iq80310_init()
161 len = pci_resource_len(dev, PCI_ROM_RESOURCE); in intel_dc21285_init()
168 len = pci_resource_len(dev, 2); in intel_dc21285_init()
/Linux-v6.6/arch/alpha/kernel/
Dpci-sysfs.c44 size = ((pci_resource_len(pdev, num) - 1) >> (PAGE_SHIFT - shift)) + 1; in __pci_mmap_fits()
160 size_t size = pci_resource_len(pdev, num); in pci_create_one_attr()
242 if (!pci_resource_len(pdev, i)) in pci_create_resource_files()

12345678910>>...16