/Linux-v6.6/drivers/pci/hotplug/ |
D | cpcihp_zt5550.c | 80 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/ |
D | sst_pci.c | 53 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/ |
D | mantis_pci.c | 68 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/ |
D | qxl_kms.c | 121 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/ |
D | denali_pci.c | 50 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/ |
D | ctucanfd_pci.c | 121 (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/ |
D | ef100.c | 101 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/ |
D | radio-maxiradio.c | 151 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/ |
D | crdump.c | 107 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/ |
D | pci_iomap.c | 34 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/ |
D | nfp_netvf_main.c | 172 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/ |
D | netup_unidvb_core.c | 738 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/ |
D | cx23885-ioctl.c | 60 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/ |
D | cn10k_cpt.c | 63 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/ |
D | tw68-core.c | 278 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/ |
D | gxt4500.c | 635 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/ |
D | uio_cif.c | 63 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()
|
D | uio_netx.c | 85 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/ |
D | dfl-pci.c | 204 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/ |
D | intel_region_lmem.c | 26 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/ |
D | pci200syn.c | 299 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()
|
D | pc300too.c | 311 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/ |
D | amd5536udc_pci.c | 74 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/ |
D | pci.c | 98 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/ |
D | pci-sysfs.c | 44 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()
|