Home
last modified time | relevance | path

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

12345678910>>...15

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_kms.c124 qdev->rom_size = pci_resource_len(pdev, 2); in qxl_device_init()
128 qdev->vram_mapping = io_mapping_create_wc(qdev->vram_base, pci_resource_len(pdev, 0)); in qxl_device_init()
134 if (pci_resource_len(pdev, 4) > 0) { in qxl_device_init()
138 qdev->surfaceram_size = pci_resource_len(pdev, sb); in qxl_device_init()
147 qdev->surfaceram_size = pci_resource_len(pdev, sb); in qxl_device_init()
161 (int)pci_resource_len(pdev, 0) / 1024 / 1024, in qxl_device_init()
162 (int)pci_resource_len(pdev, 0) / 1024, in qxl_device_init()
/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/
Dsst_pci.c54 pci_resource_len(pci, 0)); in sst_platform_get_resources()
65 ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); in sst_platform_get_resources()
74 ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); in sst_platform_get_resources()
84 ctx->iram = pcim_iomap(pci, 3, pci_resource_len(pci, 3)); in sst_platform_get_resources()
94 ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); in sst_platform_get_resources()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
Dast_mm.c83 pci_resource_len(dev->pdev, 0)); in ast_mm_release()
102 pci_resource_len(dev->pdev, 0)); in ast_mm_init()
104 pci_resource_len(dev->pdev, 0)); in ast_mm_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
490 if (fcw.offset > pci_resource_len(efx->pci_dev, fcw.bar) - ESE_GZ_FCW_LEN) { in ef100_pci_probe()
500 pci_resource_len(efx->pci_dev, fcw.bar)); in ef100_pci_probe()
/kernel/linux/linux-5.10/drivers/media/radio/
Dradio-maxiradio.c153 pci_resource_len(pdev, 0), v4l2_dev->name)) { in maxiradio_probe()
169 release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in maxiradio_probe()
186 release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); in maxiradio_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c156 if (tx_bar_sz > pci_resource_len(pdev, tx_bar_no)) { in nfp_netvf_pci_probe()
159 tx_bar_sz = pci_resource_len(pdev, tx_bar_no); in nfp_netvf_pci_probe()
162 if (rx_bar_sz > pci_resource_len(pdev, rx_bar_no)) { in nfp_netvf_pci_probe()
165 rx_bar_sz = pci_resource_len(pdev, rx_bar_no); in nfp_netvf_pci_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
961 pci_resource_len(pci_dev, 0)); in netup_unidvb_initdev()
963 pci_resource_len(pci_dev, 1)); in netup_unidvb_initdev()
1000 pci_resource_len(pci_dev, 0)); in netup_unidvb_finidev()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mm.c85 pci_resource_len(dev->pdev, 0)); in mgag200_mm_release()
106 len = pci_resource_len(dev->pdev, 0); in mgag200_mm_init()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dgxt4500.c632 if (!request_mem_region(reg_phys, pci_resource_len(pdev, 0), in gxt4500_probe()
639 if (!request_mem_region(fb_phys, pci_resource_len(pdev, 1), in gxt4500_probe()
665 info->fix.smem_len = pci_resource_len(pdev, 1); in gxt4500_probe()
726 release_mem_region(fb_phys, pci_resource_len(pdev, 1)); in gxt4500_probe()
728 release_mem_region(reg_phys, pci_resource_len(pdev, 0)); in gxt4500_probe()
747 pci_resource_len(pdev, 0)); in gxt4500_remove()
749 pci_resource_len(pdev, 1)); in gxt4500_remove()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/fpga/
Ddfl-pci.c177 len = pci_resource_len(pcidev, 0); in cci_enumerate_feature_devs()
204 len = pci_resource_len(pcidev, bar) - offset; in cci_enumerate_feature_devs()
210 len = pci_resource_len(pcidev, 0); in cci_enumerate_feature_devs()
/kernel/linux/linux-5.10/drivers/net/wan/
Dpci200syn.c309 if (pci_resource_len(pdev, 0) != PCI200SYN_PLX_SIZE || in pci200_pci_init_one()
310 pci_resource_len(pdev, 2) != PCI200SYN_SCA_SIZE || in pci200_pci_init_one()
311 pci_resource_len(pdev, 3) < 16384) { in pci200_pci_init_one()
345 pci_resource_len(pdev, 3)); in pci200_pci_init_one()
Dpc300too.c324 if (pci_resource_len(pdev, 0) != PC300_PLX_SIZE || in pc300_pci_init_one()
325 pci_resource_len(pdev, 2) != PC300_SCA_SIZE || in pc300_pci_init_one()
326 pci_resource_len(pdev, 3) < 16384) { in pc300_pci_init_one()
395 pci_resource_len(pdev, 3)); in pc300_pci_init_one()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dpci-sysfs.c44 size = ((pci_resource_len(pdev, num) - 1) >> (PAGE_SHIFT - shift)) + 1; in __pci_mmap_fits()
158 size_t size = pci_resource_len(pdev, num); in pci_create_one_attr()
238 if (!pci_resource_len(pdev, i)) in pci_create_resource_files()
/kernel/linux/linux-5.10/drivers/gpu/drm/vboxvideo/
Dvbox_ttm.c28 pci_resource_len(dev->pdev, 0)); in vbox_mm_init()

12345678910>>...15