pci_resource_len 44 arch/alpha/kernel/pci-sysfs.c size = ((pci_resource_len(pdev, num) - 1) >> (PAGE_SHIFT - shift)) + 1; pci_resource_len 158 arch/alpha/kernel/pci-sysfs.c size_t size = pci_resource_len(pdev, num); pci_resource_len 238 arch/alpha/kernel/pci-sysfs.c if (!pci_resource_len(pdev, i)) pci_resource_len 286 arch/s390/pci/pci.c unsigned long barsize = pci_resource_len(pdev, bar); pci_resource_len 297 arch/s390/pci/pci.c if (!pci_resource_len(pdev, bar) || bar >= PCI_BAR_COUNT) pci_resource_len 316 arch/s390/pci/pci.c unsigned long barsize = pci_resource_len(pdev, bar); pci_resource_len 327 arch/s390/pci/pci.c if (!pci_resource_len(pdev, bar) || bar >= PCI_BAR_COUNT) pci_resource_len 420 arch/s390/pci/pci.c len = pci_resource_len(pdev, i); pci_resource_len 437 arch/s390/pci/pci.c len = pci_resource_len(pdev, bar); pci_resource_len 455 arch/s390/pci/pci.c len = pci_resource_len(pdev, i); pci_resource_len 132 arch/x86/kernel/sysfb_efi.c if (pci_resource_len(dev, i) == 0) pci_resource_len 137 drivers/acpi/ioapic.c if (dev && pci_resource_len(dev, 0)) { pci_resource_len 1486 drivers/ata/ahci.c pci_resource_len(pdev, bar) < SZ_512K || pci_resource_len 1282 drivers/ata/ata_piix.c !pci_resource_len(pdev, AHCI_PCI_BAR)) pci_resource_len 1455 drivers/ata/ata_piix.c pci_resource_len(pdev, PIIX_SIDPR_BAR) != PIIX_SIDPR_LEN) pci_resource_len 283 drivers/ata/libata-eh.c len = (unsigned long long)pci_resource_len(pdev, bar); pci_resource_len 2201 drivers/ata/libata-sff.c pci_resource_len(pdev, port + i) == 0) pci_resource_len 282 drivers/ata/pata_atp867x.c len = pci_resource_len(pdev, i); pci_resource_len 207 drivers/ata/sata_sis.c (pci_resource_len(pdev, SIS_SCR_PCI_BAR) < 128))) { pci_resource_len 443 drivers/ata/sata_svw.c if (pci_resource_len(pdev, bar_pos) == 0) { pci_resource_len 698 drivers/ata/sata_via.c (pci_resource_len(pdev, i) < bar_sizes[i])) { pci_resource_len 703 drivers/ata/sata_via.c (unsigned long long)pci_resource_len(pdev, i)); pci_resource_len 348 drivers/ata/sata_vsc.c if (pci_resource_len(pdev, 0) == 0) pci_resource_len 2342 drivers/atm/iphase.c iadev->pci_map_size = pci_resource_len(iadev->pci, 0); pci_resource_len 785 drivers/block/rsxx/core.c if (pci_resource_len(dev, 0) == 0) { pci_resource_len 3218 drivers/block/skd_main.c skdev->mem_size[i] = (u32)pci_resource_len(pdev, i); pci_resource_len 3389 drivers/block/skd_main.c skdev->mem_size[i] = (u32)pci_resource_len(pdev, i); pci_resource_len 1444 drivers/block/sx8.c pci_resource_len(pdev, 0)); pci_resource_len 810 drivers/block/umem.c csr_len = pci_resource_len(dev, 0); pci_resource_len 542 drivers/char/agp/intel-gtt.c aperture_size = pci_resource_len(intel_private.pcidev, 2); pci_resource_len 480 drivers/crypto/cavium/nitrox/nitrox_main.c pci_resource_len(pdev, 0)); pci_resource_len 2483 drivers/crypto/hifn_795x.c if (pci_resource_len(pdev, 0) < HIFN_BAR0_SIZE || pci_resource_len 2484 drivers/crypto/hifn_795x.c pci_resource_len(pdev, 1) < HIFN_BAR1_SIZE || pci_resource_len 2485 drivers/crypto/hifn_795x.c pci_resource_len(pdev, 2) < HIFN_BAR2_SIZE) { pci_resource_len 2507 drivers/crypto/hifn_795x.c size = pci_resource_len(pdev, i); pci_resource_len 1431 drivers/crypto/hisilicon/qm.c pci_resource_len(qm->pdev, PCI_BAR_2)); pci_resource_len 240 drivers/crypto/qat/qat_c3xxx/adf_drv.c bar->size = pci_resource_len(pdev, bar_nr); pci_resource_len 220 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c bar->size = pci_resource_len(pdev, bar_nr); pci_resource_len 240 drivers/crypto/qat/qat_c62x/adf_drv.c bar->size = pci_resource_len(pdev, bar_nr); pci_resource_len 220 drivers/crypto/qat/qat_c62xvf/adf_drv.c bar->size = pci_resource_len(pdev, bar_nr); pci_resource_len 242 drivers/crypto/qat/qat_dh895xcc/adf_drv.c bar->size = pci_resource_len(pdev, bar_nr); pci_resource_len 220 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c bar->size = pci_resource_len(pdev, bar_nr); pci_resource_len 96 drivers/dma/hsu/pci.c chip->length = pci_resource_len(pdev, 0); pci_resource_len 3591 drivers/firewire/ohci.c pci_resource_len(dev, 0) < OHCI1394_REGISTER_SIZE) { pci_resource_len 114 drivers/fpga/dfl-pci.c len = pci_resource_len(pcidev, 0); pci_resource_len 145 drivers/fpga/dfl-pci.c len = pci_resource_len(pcidev, bar) - offset; pci_resource_len 152 drivers/fpga/dfl-pci.c len = pci_resource_len(pcidev, 0); pci_resource_len 182 drivers/gpio/gpio-bt8xx.c pci_resource_len(dev, 0), pci_resource_len 608 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->doorbell.size = pci_resource_len(adev->pdev, 2); pci_resource_len 2673 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->rmmio_size = pci_resource_len(adev->pdev, 5); pci_resource_len 2676 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->rmmio_size = pci_resource_len(adev->pdev, 2); pci_resource_len 2689 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c adev->rio_mem_size = pci_resource_len(adev->pdev, i); pci_resource_len 613 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); pci_resource_len 339 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); pci_resource_len 381 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); pci_resource_len 583 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); pci_resource_len 1081 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c adev->gmc.aper_size = pci_resource_len(adev->pdev, 0); pci_resource_len 79 drivers/gpu/drm/ast/ast_drv.c ap->ranges[0].size = pci_resource_len(pdev, 0); pci_resource_len 53 drivers/gpu/drm/ast/ast_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 55 drivers/gpu/drm/ast/ast_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 68 drivers/gpu/drm/ast/ast_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 111 drivers/gpu/drm/bochs/bochs_drv.c fbsize = pci_resource_len(pdev, 0); pci_resource_len 123 drivers/gpu/drm/bochs/bochs_hw.c iosize = pci_resource_len(pdev, 2); pci_resource_len 150 drivers/gpu/drm/bochs/bochs_hw.c size = pci_resource_len(pdev, 0); pci_resource_len 560 drivers/gpu/drm/cirrus/cirrus.c pci_resource_len(pdev, 0)); pci_resource_len 565 drivers/gpu/drm/cirrus/cirrus.c pci_resource_len(pdev, 1)); pci_resource_len 417 drivers/gpu/drm/gma500/framebuffer.c info->fix.mmio_len = pci_resource_len(dev->pdev, 0); pci_resource_len 449 drivers/gpu/drm/gma500/gtt.c gtt_pages = pci_resource_len(dev->pdev, PSB_GTT_RESOURCE) pci_resource_len 459 drivers/gpu/drm/gma500/gtt.c pg->gatt_pages = pci_resource_len(dev->pdev, PSB_GATT_RESOURCE) pci_resource_len 708 drivers/gpu/drm/gma500/oaktrail_hdmi.c hdmi_dev->mmio_len = pci_resource_len(pdev, 0); pci_resource_len 257 drivers/gpu/drm/gma500/psb_drv.c resource_len = pci_resource_len(dev_priv->aux_pdev, pci_resource_len 217 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c iosize = pci_resource_len(pdev, 1); pci_resource_len 225 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c size = pci_resource_len(pdev, 0); pci_resource_len 394 drivers/gpu/drm/i915/gvt/cfg_space.c pci_resource_len(gvt->dev_priv->drm.pdev, 0); pci_resource_len 396 drivers/gpu/drm/i915/gvt/cfg_space.c pci_resource_len(gvt->dev_priv->drm.pdev, 2); pci_resource_len 2845 drivers/gpu/drm/i915/i915_gem_gtt.c phys_addr = pci_resource_start(pdev, 0) + pci_resource_len(pdev, 0) / 2; pci_resource_len 2992 drivers/gpu/drm/i915/i915_gem_gtt.c pci_resource_len(pdev, 2)); pci_resource_len 3049 drivers/gpu/drm/i915/i915_gem_gtt.c pci_resource_len(pdev, 2)); pci_resource_len 425 drivers/gpu/drm/mga/mga_dma.c dev_priv->mmio_size = pci_resource_len(dev->pdev, 1); pci_resource_len 72 drivers/gpu/drm/mgag200/mgag200_main.c mdev->mc.vram_window = pci_resource_len(mdev->dev->pdev, 0); pci_resource_len 108 drivers/gpu/drm/mgag200/mgag200_main.c mdev->rmmio_size = pci_resource_len(mdev->dev->pdev, 1); pci_resource_len 49 drivers/gpu/drm/mgag200/mgag200_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 52 drivers/gpu/drm/mgag200/mgag200_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 64 drivers/gpu/drm/mgag200/mgag200_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 707 drivers/gpu/drm/nouveau/nouveau_drm.c aper->ranges[0].size = pci_resource_len(pdev, 1); pci_resource_len 710 drivers/gpu/drm/nouveau/nouveau_drm.c if (pci_resource_len(pdev, 2)) { pci_resource_len 712 drivers/gpu/drm/nouveau/nouveau_drm.c aper->ranges[aper->count].size = pci_resource_len(pdev, 2); pci_resource_len 716 drivers/gpu/drm/nouveau/nouveau_drm.c if (pci_resource_len(pdev, 3)) { pci_resource_len 718 drivers/gpu/drm/nouveau/nouveau_drm.c aper->ranges[aper->count].size = pci_resource_len(pdev, 3); pci_resource_len 1574 drivers/gpu/drm/nouveau/nvkm/engine/device/pci.c return pci_resource_len(pdev->pdev, bar); pci_resource_len 132 drivers/gpu/drm/qxl/qxl_kms.c qdev->rom_size = pci_resource_len(pdev, 2); pci_resource_len 136 drivers/gpu/drm/qxl/qxl_kms.c qdev->vram_mapping = io_mapping_create_wc(qdev->vram_base, pci_resource_len(pdev, 0)); pci_resource_len 143 drivers/gpu/drm/qxl/qxl_kms.c if (pci_resource_len(pdev, 4) > 0) { pci_resource_len 147 drivers/gpu/drm/qxl/qxl_kms.c qdev->surfaceram_size = pci_resource_len(pdev, sb); pci_resource_len 156 drivers/gpu/drm/qxl/qxl_kms.c qdev->surfaceram_size = pci_resource_len(pdev, sb); pci_resource_len 170 drivers/gpu/drm/qxl/qxl_kms.c (int)pci_resource_len(pdev, 0) / 1024 / 1024, pci_resource_len 171 drivers/gpu/drm/qxl/qxl_kms.c (int)pci_resource_len(pdev, 0) / 1024, pci_resource_len 5389 drivers/gpu/drm/radeon/cik.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 3749 drivers/gpu/drm/radeon/evergreen.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 2778 drivers/gpu/drm/radeon/r100.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 1470 drivers/gpu/drm/radeon/r600.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 341 drivers/gpu/drm/radeon/radeon_device.c rdev->doorbell.size = pci_resource_len(rdev->pdev, 2); pci_resource_len 1406 drivers/gpu/drm/radeon/radeon_device.c rdev->rmmio_size = pci_resource_len(rdev->pdev, 5); pci_resource_len 1409 drivers/gpu/drm/radeon/radeon_device.c rdev->rmmio_size = pci_resource_len(rdev->pdev, 2); pci_resource_len 1422 drivers/gpu/drm/radeon/radeon_device.c rdev->rio_mem_size = pci_resource_len(rdev->pdev, i); pci_resource_len 878 drivers/gpu/drm/radeon/rs600.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 162 drivers/gpu/drm/radeon/rs690.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 1679 drivers/gpu/drm/radeon/rv770.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 4255 drivers/gpu/drm/radeon/si.c rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); pci_resource_len 591 drivers/gpu/drm/savage/savage_bci.c if (pci_resource_len(dev->pdev, 0) == 0x08000000) { pci_resource_len 605 drivers/gpu/drm/savage/savage_bci.c pci_resource_len(dev->pdev, 0)); pci_resource_len 616 drivers/gpu/drm/savage/savage_bci.c if (pci_resource_len(dev->pdev, 1) == 0x08000000) { pci_resource_len 625 drivers/gpu/drm/savage/savage_bci.c pci_resource_len(dev->pdev, 1)); pci_resource_len 631 drivers/gpu/drm/savage/savage_bci.c fb_size = pci_resource_len(dev->pdev, 1); pci_resource_len 103 drivers/gpu/drm/vboxvideo/vbox_fb.c info->apertures->ranges[0].size = pci_resource_len(pdev, 0); pci_resource_len 30 drivers/gpu/drm/vboxvideo/vbox_ttm.c pci_resource_len(dev->pdev, 0), pci_resource_len 34 drivers/gpu/drm/vboxvideo/vbox_ttm.c pci_resource_len(dev->pdev, 0)); pci_resource_len 44 drivers/gpu/drm/vboxvideo/vbox_ttm.c pci_resource_len(vbox->ddev.pdev, 0), DRM_MTRR_WC); pci_resource_len 436 drivers/i2c/busses/i2c-amd8111.c smbus->size = pci_resource_len(dev, 0); pci_resource_len 877 drivers/i2c/busses/i2c-ismt.c len = pci_resource_len(pdev, SMBBAR); pci_resource_len 325 drivers/i2c/busses/i2c-nforce2.c smbus->size = pci_resource_len(dev, bar); pci_resource_len 346 drivers/i2c/busses/i2c-pasemi.c smbus->size = pci_resource_len(dev, 0); pci_resource_len 174 drivers/i2c/busses/i2c-thunderx-pcidrv.c i2c->twsi_base = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 1290 drivers/ide/pmac.c rlen = pci_resource_len(pdev, 0); pci_resource_len 283 drivers/ide/setup-pci.c if (!flags || pci_resource_len(dev, bar) == 0) pci_resource_len 740 drivers/ide/siimage.c unsigned long barsize = pci_resource_len(dev, 5); pci_resource_len 801 drivers/ide/siimage.c unsigned long barsize = pci_resource_len(dev, 5); pci_resource_len 701 drivers/infiniband/hw/bnxt_re/qplib_res.c dbr_len = pci_resource_len(res->pdev, dbr_bar_reg) - dbr_offset; pci_resource_len 1017 drivers/infiniband/hw/cxgb4/device.c pci_resource_len(devp->rdev.lldi.pdev, 2)); pci_resource_len 1026 drivers/infiniband/hw/cxgb4/device.c pci_resource_len(devp->rdev.lldi.pdev, 2) - pci_resource_len 151 drivers/infiniband/hw/cxgb4/provider.c pci_resource_len(rdev->lldi.pdev, 0)))) { pci_resource_len 162 drivers/infiniband/hw/cxgb4/provider.c pci_resource_len(rdev->lldi.pdev, 2)))) { pci_resource_len 162 drivers/infiniband/hw/efa/efa_main.c dev->db_bar_len = pci_resource_len(dev->pdev, db_bar_idx); pci_resource_len 425 drivers/infiniband/hw/efa/efa_main.c dev->reg_bar_len = pci_resource_len(pdev, EFA_REG_BAR); pci_resource_len 427 drivers/infiniband/hw/efa/efa_main.c dev->mem_bar_len = pci_resource_len(pdev, EFA_MEM_BAR); pci_resource_len 151 drivers/infiniband/hw/hfi1/pcie.c len = pci_resource_len(pdev, 0); pci_resource_len 156 drivers/infiniband/hw/mthca/mthca_catas.c ((pci_resource_len(dev->pdev, 0) - 1) & pci_resource_len 768 drivers/infiniband/hw/mthca/mthca_cmd.c ((pci_resource_len(dev->pdev, 2) - 1) & base); pci_resource_len 665 drivers/infiniband/hw/mthca/mthca_eq.c if (mthca_map_reg(dev, (pci_resource_len(dev->pdev, 0) - 1) & pci_resource_len 677 drivers/infiniband/hw/mthca/mthca_eq.c if (mthca_map_reg(dev, ((pci_resource_len(dev->pdev, 0) - 1) & pci_resource_len 685 drivers/infiniband/hw/mthca/mthca_eq.c if (mthca_map_reg(dev, (pci_resource_len(dev->pdev, 0) - 1) & pci_resource_len 188 drivers/infiniband/hw/mthca/mthca_main.c if (dev_lim->uar_size > pci_resource_len(mdev->pdev, 2)) { pci_resource_len 192 drivers/infiniband/hw/mthca/mthca_main.c (unsigned long long)pci_resource_len(mdev->pdev, 2)); pci_resource_len 918 drivers/infiniband/hw/mthca/mthca_main.c pci_resource_len(pdev, 0) != 1 << 20) { pci_resource_len 874 drivers/infiniband/hw/mthca/mthca_mr.c ((pci_resource_len(dev->pdev, 4) - 1) & pci_resource_len 887 drivers/infiniband/hw/mthca/mthca_mr.c ((pci_resource_len(dev->pdev, 4) - 1) & pci_resource_len 146 drivers/infiniband/hw/qib/qib_pcie.c len = pci_resource_len(pdev, 0); pci_resource_len 59 drivers/infiniband/hw/qib/qib_wc_x86_64.c const size_t len = pci_resource_len(dd->pcidev, 0); pci_resource_len 360 drivers/infiniband/hw/usnic/usnic_vnic.c vnic->bar[i].len = pci_resource_len(pdev, i); pci_resource_len 818 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c (unsigned long long)pci_resource_len(pdev, 0)); pci_resource_len 824 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c (unsigned long long)pci_resource_len(pdev, 1)); pci_resource_len 862 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c len = pci_resource_len(dev->pdev, PVRDMA_PCI_RESOURCE_REG); pci_resource_len 62 drivers/input/gameport/emu10k1-gp.c emu->size = pci_resource_len(pdev, 0); pci_resource_len 547 drivers/ipack/carriers/tpci200.c pci_resource_len(pdev, TPCI200_CFG_MEM_BAR)); pci_resource_len 657 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->cfg.size = pci_resource_len(hw->pdev, hw->ci->cfg_bar); pci_resource_len 684 drivers/isdn/hardware/mISDN/mISDNinfineon.c hw->addr.size = pci_resource_len(hw->pdev, hw->ci->addr_bar); pci_resource_len 984 drivers/isdn/hardware/mISDN/netjet.c card->base_s = pci_resource_len(card->pdev, 0); pci_resource_len 381 drivers/media/common/saa7146/saa7146_core.c pci_resource_len(pci, 0)); pci_resource_len 428 drivers/media/pci/bt8xx/bt878.c pci_resource_len(dev, 0), "bt878")) { pci_resource_len 486 drivers/media/pci/bt8xx/bt878.c pci_resource_len(bt->dev, 0)); pci_resource_len 519 drivers/media/pci/bt8xx/bt878.c pci_resource_len(bt->dev, 0)); pci_resource_len 4023 drivers/media/pci/bt8xx/bttv-driver.c pci_resource_len(dev,0), pci_resource_len 4212 drivers/media/pci/bt8xx/bttv-driver.c pci_resource_len(btv->c.pci,0)); pci_resource_len 4256 drivers/media/pci/bt8xx/bttv-driver.c pci_resource_len(btv->c.pci,0)); pci_resource_len 721 drivers/media/pci/cx23885/cx23885-core.c pci_resource_len(dev->pci, 0), pci_resource_len 994 drivers/media/pci/cx23885/cx23885-core.c pci_resource_len(dev->pci, 0)); pci_resource_len 1104 drivers/media/pci/cx23885/cx23885-core.c pci_resource_len(dev->pci, 0)); pci_resource_len 60 drivers/media/pci/cx23885/cx23885-ioctl.c if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) pci_resource_len 92 drivers/media/pci/cx23885/cx23885-ioctl.c if ((reg->reg & 0x3) != 0 || reg->reg >= pci_resource_len(dev->pci, 0)) pci_resource_len 822 drivers/media/pci/cx25821/cx25821-core.c pci_resource_len(dev->pci, 0), dev->name)) pci_resource_len 914 drivers/media/pci/cx25821/cx25821-core.c dev->lmmio = ioremap(dev->base_io_addr, pci_resource_len(dev->pci, 0)); pci_resource_len 953 drivers/media/pci/cx25821/cx25821-core.c release_mem_region(dev->base_io_addr, pci_resource_len(dev->pci, 0)); pci_resource_len 3641 drivers/media/pci/cx88/cx88-cards.c pci_resource_len(pci, 0), pci_resource_len 3717 drivers/media/pci/cx88/cx88-cards.c pci_resource_len(pci, 0)); pci_resource_len 3722 drivers/media/pci/cx88/cx88-cards.c pci_resource_len(pci, 0)); pci_resource_len 1065 drivers/media/pci/cx88/cx88-core.c pci_resource_len(pci, 0)); pci_resource_len 209 drivers/media/pci/ddbridge/ddbridge-main.c dev->regs_len = pci_resource_len(dev->pdev, 0); pci_resource_len 211 drivers/media/pci/ddbridge/ddbridge-main.c pci_resource_len(dev->pdev, 0)); pci_resource_len 1024 drivers/media/pci/dm1105/dm1105.c dev->io_mem = pci_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 541 drivers/media/pci/dt3155/dt3155.c pd->regs = pci_iomap(pdev, 0, pci_resource_len(pd->pdev, 0)); pci_resource_len 68 drivers/media/pci/mantis/mantis_pci.c pci_resource_len(pdev, 0), pci_resource_len 77 drivers/media/pci/mantis/mantis_pci.c pci_resource_len(pdev, 0)); pci_resource_len 126 drivers/media/pci/mantis/mantis_pci.c pci_resource_len(pdev, 0)); pci_resource_len 147 drivers/media/pci/mantis/mantis_pci.c pci_resource_len(pdev, 0)); pci_resource_len 1649 drivers/media/pci/meye/meye.c pci_resource_len(meye.mchip_dev, 0), pci_resource_len 1734 drivers/media/pci/meye/meye.c pci_resource_len(meye.mchip_dev, 0)); pci_resource_len 1765 drivers/media/pci/meye/meye.c pci_resource_len(meye.mchip_dev, 0)); pci_resource_len 733 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 0), NETUP_UNIDVB_NAME)) { pci_resource_len 741 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 1), NETUP_UNIDVB_NAME)) { pci_resource_len 747 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 0)); pci_resource_len 864 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 0)); pci_resource_len 871 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 1)); pci_resource_len 882 drivers/media/pci/netup_unidvb/netup_unidvb_core.c ndev->lmmio0, (u32)pci_resource_len(pci_dev, 0), pci_resource_len 883 drivers/media/pci/netup_unidvb/netup_unidvb_core.c ndev->lmmio1, (u32)pci_resource_len(pci_dev, 1), pci_resource_len 956 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 0)); pci_resource_len 958 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 1)); pci_resource_len 995 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 0)); pci_resource_len 997 drivers/media/pci/netup_unidvb/netup_unidvb_core.c pci_resource_len(pci_dev, 1)); pci_resource_len 1172 drivers/media/pci/ngene/ngene-core.c pci_resource_len(dev->pci_dev, 0)); pci_resource_len 1129 drivers/media/pci/saa7134/saa7134-core.c pci_resource_len(pci_dev,0), pci_resource_len 1137 drivers/media/pci/saa7134/saa7134-core.c pci_resource_len(pci_dev, 0)); pci_resource_len 1297 drivers/media/pci/saa7134/saa7134-core.c pci_resource_len(pci_dev,0)); pci_resource_len 1363 drivers/media/pci/saa7134/saa7134-core.c pci_resource_len(pci_dev,0)); pci_resource_len 661 drivers/media/pci/saa7146/mxb.c if (reg->reg > pci_resource_len(dev->pci, 0) - 4) pci_resource_len 672 drivers/media/pci/saa7146/mxb.c if (reg->reg > pci_resource_len(dev->pci, 0) - 4) pci_resource_len 880 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 0), dev->name)) { pci_resource_len 883 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 2), dev->name)) pci_resource_len 1005 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 0)); pci_resource_len 1008 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 2)); pci_resource_len 1034 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 0)); pci_resource_len 1037 drivers/media/pci/saa7164/saa7164-core.c pci_resource_len(dev->pci, 2)); pci_resource_len 959 drivers/media/pci/smipcie/smipcie-main.c pci_resource_len(dev->pci_dev, 0)); pci_resource_len 1033 drivers/media/pci/sta2x11/sta2x11_vip.c (unsigned long)pci_resource_len(pdev, 0), pdev->irq); pci_resource_len 337 drivers/media/pci/tw5864/tw5864-core.c pci_resource_len(pci_dev, 0)); pci_resource_len 278 drivers/media/pci/tw68/tw68-core.c pci_resource_len(pci_dev, 0), pci_resource_len 287 drivers/media/pci/tw68/tw68-core.c pci_resource_len(pci_dev, 0)); pci_resource_len 334 drivers/media/pci/tw68/tw68-core.c pci_resource_len(pci_dev, 0)); pci_resource_len 357 drivers/media/pci/tw68/tw68-core.c pci_resource_len(pci_dev, 0)); pci_resource_len 529 drivers/media/platform/marvell-ccic/cafe-driver.c mcam->regs_size = pci_resource_len(pdev, 0); pci_resource_len 153 drivers/media/radio/radio-maxiradio.c pci_resource_len(pdev, 0), v4l2_dev->name)) { pci_resource_len 169 drivers/media/radio/radio-maxiradio.c release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); pci_resource_len 186 drivers/media/radio/radio-maxiradio.c release_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); pci_resource_len 855 drivers/memstick/host/jmb38x_ms.c if (256 != pci_resource_len(pdev, cnt)) pci_resource_len 877 drivers/memstick/host/jmb38x_ms.c pci_resource_len(jm->pdev, cnt)); pci_resource_len 1712 drivers/message/fusion/mptbase.c psize = pci_resource_len(pdev, ii); pci_resource_len 1718 drivers/message/fusion/mptbase.c msize = pci_resource_len(pdev, ii); pci_resource_len 1487 drivers/misc/cardreader/rtsx_pcr.c len = pci_resource_len(pcidev, bar); pci_resource_len 138 drivers/misc/cxl/pci.c return pci_resource_len(dev, 2); pci_resource_len 148 drivers/misc/cxl/pci.c return pci_resource_len(dev, 0); pci_resource_len 190 drivers/misc/cxl/pci.c pci_resource_start(dev, 4), pci_resource_len(dev, 4)); pci_resource_len 1112 drivers/misc/genwqe/card_base.c cd->mmio_len = pci_resource_len(pci_dev, 0); pci_resource_len 480 drivers/misc/habanalabs/goya/goya.c if (pci_resource_len(pdev, SRAM_CFG_BAR_ID) != CFG_BAR_SIZE) { pci_resource_len 484 drivers/misc/habanalabs/goya/goya.c (unsigned long long) pci_resource_len(pdev, pci_resource_len 490 drivers/misc/habanalabs/goya/goya.c if (pci_resource_len(pdev, MSIX_BAR_ID) != MSIX_BAR_SIZE) { pci_resource_len 494 drivers/misc/habanalabs/goya/goya.c (unsigned long long) pci_resource_len(pdev, pci_resource_len 500 drivers/misc/habanalabs/goya/goya.c prop->dram_pci_bar_size = pci_resource_len(pdev, DDR_BAR_ID); pci_resource_len 709 drivers/misc/hpilo.c off = pci_resource_len(pdev, bar) - 0x2000; pci_resource_len 200 drivers/misc/mic/host/mic_main.c mdev->mmio.len = pci_resource_len(pdev, mdev->ops->mmio_bar); pci_resource_len 209 drivers/misc/mic/host/mic_main.c mdev->aper.len = pci_resource_len(pdev, mdev->ops->aper_bar); pci_resource_len 264 drivers/misc/pci_endpoint_test.c size = pci_resource_len(pdev, barno); pci_resource_len 78 drivers/mmc/host/cavium-thunderx.c host->base = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 1906 drivers/mmc/host/sdhci-pci-core.c if (pci_resource_len(pdev, bar) < 0x100) { pci_resource_len 390 drivers/mmc/host/sdricoh_cs.c if (pci_resource_len(pci_dev, SDRICOH_PCI_REGION) != pci_resource_len 1107 drivers/mmc/host/via-sdmmc.c len = pci_resource_len(pcidev, 0); pci_resource_len 126 drivers/mtd/maps/intel_vr_nor.c csr_len = pci_resource_len(p->dev, EXP_CSR_MBAR); pci_resource_len 128 drivers/mtd/maps/intel_vr_nor.c win_len = pci_resource_len(p->dev, EXP_WIN_MBAR); pci_resource_len 98 drivers/mtd/maps/pci.c pci_resource_len(dev, 0)); pci_resource_len 161 drivers/mtd/maps/pci.c len = pci_resource_len(dev, PCI_ROM_RESOURCE); pci_resource_len 168 drivers/mtd/maps/pci.c len = pci_resource_len(dev, 2); pci_resource_len 50 drivers/mtd/nand/raw/denali_pci.c mem_len = pci_resource_len(dev, 1); pci_resource_len 52 drivers/mtd/nand/raw/denali_pci.c csr_len = pci_resource_len(dev, 1); pci_resource_len 55 drivers/mtd/nand/raw/denali_pci.c csr_len = pci_resource_len(dev, 0); pci_resource_len 57 drivers/mtd/nand/raw/denali_pci.c mem_len = pci_resource_len(dev, 1); pci_resource_len 142 drivers/net/can/c_can/c_can_pci.c pci_resource_len(pdev, c_can_pci_data->bar)); pci_resource_len 136 drivers/net/can/sja1000/f81601.c card->addr = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 2311 drivers/net/ethernet/3com/typhoon.c if(pci_resource_len(pdev, 0) < 128) { pci_resource_len 2321 drivers/net/ethernet/3com/typhoon.c if(pci_resource_len(pdev, 1) < 128) { pci_resource_len 668 drivers/net/ethernet/adaptec/starfire.c io_size = pci_resource_len(pdev, 0); pci_resource_len 1795 drivers/net/ethernet/alacritech/slicoss.c pci_resource_len(pdev, 0)); pci_resource_len 3224 drivers/net/ethernet/amazon/ena/ena_netdev.c pci_resource_len(pdev, ENA_MEM_BAR)); pci_resource_len 3473 drivers/net/ethernet/amazon/ena/ena_netdev.c pci_resource_len(pdev, ENA_REG_BAR)); pci_resource_len 1794 drivers/net/ethernet/amd/amd8111e.c reg_len = pci_resource_len(pdev, 0); pci_resource_len 249 drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c reg_sz = pci_resource_len(pdev, bar); pci_resource_len 2587 drivers/net/ethernet/atheros/atl1c/atl1c_main.c adapter->hw.hw_addr = ioremap(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); pci_resource_len 1369 drivers/net/ethernet/atheros/atlx/atl2.c mmio_len = pci_resource_len(pdev, 0x0); pci_resource_len 14050 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c if (doorbell_size > pci_resource_len(pdev, 2)) { pci_resource_len 1077 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c u32 size = pci_resource_len(dev, PCI_IOV_RESOURCES + i); pci_resource_len 1119 drivers/net/ethernet/broadcom/cnic.c uinfo->mem[0].size = pci_resource_len(dev->pcidev, 0); pci_resource_len 3479 drivers/net/ethernet/brocade/bna/bnad.c bnad->mmio_len = pci_resource_len(pdev, 0); pci_resource_len 122 drivers/net/ethernet/cavium/liquidio/octeon_main.h oct->mmio[baridx].len = pci_resource_len(oct->pci_dev, baridx * 2); pci_resource_len 1024 drivers/net/ethernet/chelsio/cxgb/cxgb2.c mmio_len = pci_resource_len(pdev, 0); pci_resource_len 3253 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c mmio_len = pci_resource_len(pdev, 0); pci_resource_len 285 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c rdma->udbell_len = pci_resource_len(pdev, 2); pci_resource_len 3313 drivers/net/ethernet/chelsio/cxgb3/sge.c unsigned int ctrl, ups = ffs(pci_resource_len(adap->pdev, 2) >> 12); pci_resource_len 5830 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c pci_resource_len(pdev, 2)); pci_resource_len 312 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h (pci_resource_len((pdev), 2) - roundup_pow_of_two((vres)->ocq.size)) pci_resource_len 3041 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c pci_resource_len(pdev, 2)); pci_resource_len 2767 drivers/net/ethernet/cisco/enic/enic_main.c enic->bar[i].len = pci_resource_len(pdev, i); pci_resource_len 2033 drivers/net/ethernet/dec/tulip/de2104x.c if (pci_resource_len(pdev, 1) < DE_REGS_SIZE) { pci_resource_len 2036 drivers/net/ethernet/dec/tulip/de2104x.c (unsigned long long)pci_resource_len(pdev, 1), pci_resource_len 2046 drivers/net/ethernet/dec/tulip/de2104x.c (unsigned long long)pci_resource_len(pdev, 1), pci_resource_len 409 drivers/net/ethernet/dec/tulip/dmfe.c if (pci_resource_len(pdev, 0) < (CHK_IO_SIZE(pdev)) ) { pci_resource_len 1417 drivers/net/ethernet/dec/tulip/tulip_core.c if (pci_resource_len (pdev, 0) < tulip_tbl[chip_idx].io_size) { pci_resource_len 1420 drivers/net/ethernet/dec/tulip/tulip_core.c (unsigned long long)pci_resource_len (pdev, 0), pci_resource_len 311 drivers/net/ethernet/dec/tulip/uli526x.c if (pci_resource_len(pdev, 0) < (ULI526X_IO_SIZE) ) { pci_resource_len 5690 drivers/net/ethernet/emulex/benet/be_main.c adapter->roce_db.total_size = pci_resource_len(adapter->pdev, pci_resource_len 46 drivers/net/ethernet/emulex/benet/be_roce.c dev_info.dpp_unmapped_len = pci_resource_len(pdev, 2); pci_resource_len 514 drivers/net/ethernet/fealnx.c len = pci_resource_len(pdev, bar); pci_resource_len 1776 drivers/net/ethernet/freescale/enetc/enetc.c len = pci_resource_len(pdev, ENETC_BAR_REGS); pci_resource_len 72 drivers/net/ethernet/freescale/enetc/enetc_ptp.c len = pci_resource_len(pdev, ENETC_BAR_REGS); pci_resource_len 981 drivers/net/ethernet/intel/e1000/e1000_main.c if (pci_resource_len(pdev, i) == 0) pci_resource_len 1030 drivers/net/ethernet/intel/e1000/e1000_main.c pci_resource_len(pdev, BAR_1)); pci_resource_len 7134 drivers/net/ethernet/intel/e1000e/netdev.c mmio_len = pci_resource_len(pdev, 0); pci_resource_len 7145 drivers/net/ethernet/intel/e1000e/netdev.c flash_len = pci_resource_len(pdev, 1); pci_resource_len 14789 drivers/net/ethernet/intel/i40e/i40e_main.c pf->ioremap_len = min_t(int, pci_resource_len(pdev, 0), pci_resource_len 3708 drivers/net/ethernet/intel/iavf/iavf_main.c pci_resource_len(pdev, 0)); pci_resource_len 2770 drivers/net/ethernet/intel/igbvf/netdev.c pci_resource_len(pdev, 0)); pci_resource_len 4183 drivers/net/ethernet/intel/igc/igc_main.c pci_resource_len(pdev, 0)); pci_resource_len 416 drivers/net/ethernet/intel/ixgb/ixgb_main.c if (pci_resource_len(pdev, i) == 0) pci_resource_len 10809 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c pci_resource_len(pdev, 0)); pci_resource_len 4591 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c pci_resource_len(pdev, 0)); pci_resource_len 3019 drivers/net/ethernet/jme.c pci_resource_len(pdev, 0)); pci_resource_len 94 drivers/net/ethernet/mellanox/mlx4/crdump.c cr_res_size = pci_resource_len(pdev, 0); pci_resource_len 174 drivers/net/ethernet/mellanox/mlx4/crdump.c cr_res_size = pci_resource_len(pdev, 0); pci_resource_len 210 drivers/net/ethernet/mellanox/mlx4/crdump.c pci_resource_len(pdev, 0)); pci_resource_len 480 drivers/net/ethernet/mellanox/mlx4/main.c if (dev_cap->uar_size > pci_resource_len(dev->persist->pdev, 2)) { pci_resource_len 484 drivers/net/ethernet/mellanox/mlx4/main.c pci_resource_len(dev->persist->pdev, 2)); pci_resource_len 1030 drivers/net/ethernet/mellanox/mlx4/main.c pci_resource_len(dev->persist->pdev, pci_resource_len 1035 drivers/net/ethernet/mellanox/mlx4/main.c pci_resource_len(dev->persist->pdev, 2)); pci_resource_len 1891 drivers/net/ethernet/mellanox/mlx4/main.c bf_len = pci_resource_len(dev->persist->pdev, 2) - pci_resource_len 154 drivers/net/ethernet/mellanox/mlx4/pd.c offset = uar->index % ((int)pci_resource_len(dev->persist->pdev, pci_resource_len 1795 drivers/net/ethernet/mellanox/mlxsw/pci.c if (pci_resource_len(pdev, 0) < MLXSW_PCI_BAR0_SIZE) { pci_resource_len 1802 drivers/net/ethernet/mellanox/mlxsw/pci.c pci_resource_len(pdev, 0)); pci_resource_len 6943 drivers/net/ethernet/micrel/ksz884x.c reg_len = pci_resource_len(pdev, 0); pci_resource_len 7145 drivers/net/ethernet/micrel/ksz884x.c pci_resource_len(pdev, 0)); pci_resource_len 102 drivers/net/ethernet/microchip/lan743x_main.c bar_length = pci_resource_len(adapter->pdev, 0); pci_resource_len 3833 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->board_span = pci_resource_len(pdev, 0); pci_resource_len 838 drivers/net/ethernet/natsemi/natsemi.c iosize = pci_resource_len(pdev, pcibar); pci_resource_len 156 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c if (tx_bar_sz > pci_resource_len(pdev, tx_bar_no)) { pci_resource_len 159 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c tx_bar_sz = pci_resource_len(pdev, tx_bar_no); pci_resource_len 162 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c if (rx_bar_sz > pci_resource_len(pdev, rx_bar_no)) { pci_resource_len 165 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c rx_bar_sz = pci_resource_len(pdev, rx_bar_no); pci_resource_len 183 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c return pci_resource_len(bar->nfp->pdev, (bar->index / 8) * 2) / 8; pci_resource_len 5730 drivers/net/ethernet/nvidia/forcedeth.c pci_resource_len(pci_dev, i) >= np->register_size) { pci_resource_len 56 drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c bars[j].len = pci_resource_len(pdev, i); pci_resource_len 732 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c mem_len = pci_resource_len(pdev, 0); pci_resource_len 791 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c db_len = pci_resource_len(pdev, 4); pci_resource_len 217 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->db_size = pci_resource_len(cdev->pdev, 2); pci_resource_len 1178 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c mem_len = pci_resource_len(pdev, 0); pci_resource_len 1052 drivers/net/ethernet/rdc/r6040.c if (pci_resource_len(pdev, bar) < io_size) { pci_resource_len 1939 drivers/net/ethernet/realtek/8139cp.c if (pci_resource_len(pdev, 1) < CP_REGS_SIZE) { pci_resource_len 1942 drivers/net/ethernet/realtek/8139cp.c (unsigned long long)pci_resource_len(pdev, 1)); pci_resource_len 1978 drivers/net/ethernet/realtek/8139cp.c (unsigned long long)pci_resource_len(pdev, 1), pci_resource_len 804 drivers/net/ethernet/realtek/8139too.c io_len = pci_resource_len(pdev, bar); pci_resource_len 7119 drivers/net/ethernet/realtek/r8169_main.c if (pci_resource_len(pdev, region) < R8169_REGS_SIZE) { pci_resource_len 2926 drivers/net/ethernet/rocker/rocker_main.c if (pci_resource_len(pdev, 0) < ROCKER_PCI_BAR0_SIZE) { pci_resource_len 2933 drivers/net/ethernet/rocker/rocker_main.c pci_resource_len(pdev, 0)); pci_resource_len 1223 drivers/net/ethernet/sgi/ioc3-eth.c ioc3_size = pci_resource_len(pdev, 0); pci_resource_len 1486 drivers/net/ethernet/sis/sis190.c if (pci_resource_len(pdev, 0) < SIS190_REGS_SIZE) { pci_resource_len 341 drivers/net/ethernet/smsc/epic100.c if (pci_resource_len(pdev, 0) < EPIC_TOTAL_SIZE) { pci_resource_len 1557 drivers/net/ethernet/smsc/smsc9420.c pci_resource_len(pdev, SMSC_BAR)); pci_resource_len 493 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c if (pci_resource_len(pdev, i) == 0) pci_resource_len 536 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c if (pci_resource_len(pdev, i) == 0) pci_resource_len 5001 drivers/net/ethernet/sun/cassini.c casreg_len = pci_resource_len(pdev, 0); pci_resource_len 2888 drivers/net/ethernet/sun/sungem.c gemreg_len = pci_resource_len(pdev, 0); pci_resource_len 38 drivers/net/ethernet/synopsys/dwc-xlgmac-pci.c if (pci_resource_len(pcidev, i) == 0) pci_resource_len 1941 drivers/net/ethernet/tehuti/tehuti.c regionSize = pci_resource_len(pdev, 0); pci_resource_len 2395 drivers/net/ethernet/toshiba/spider_net.c mmio_len = pci_resource_len(pdev, 0); pci_resource_len 1079 drivers/net/ethernet/via/via-rhine.c if ((pci_resource_len(pdev, 0) < io_size) || pci_resource_len 1080 drivers/net/ethernet/via/via-rhine.c (pci_resource_len(pdev, 1) < io_size)) { pci_resource_len 2676 drivers/net/ethernet/via/via-velocity.c if (pci_resource_len(pdev, 1) < VELOCITY_IO_SIZE) { pci_resource_len 446 drivers/net/fddi/defxx.c bar_len[0] = pci_resource_len(to_pci_dev(bdev), num); pci_resource_len 50 drivers/net/phy/mdio-thunder.c nexus->bar0 = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 2735 drivers/net/vmxnet3/vmxnet3_drv.c mmio_len = pci_resource_len(pdev, 0); pci_resource_len 2744 drivers/net/vmxnet3/vmxnet3_drv.c mmio_len = pci_resource_len(pdev, 1); pci_resource_len 324 drivers/net/wan/pc300too.c if (pci_resource_len(pdev, 0) != PC300_PLX_SIZE || pci_resource_len 325 drivers/net/wan/pc300too.c pci_resource_len(pdev, 2) != PC300_SCA_SIZE || pci_resource_len 326 drivers/net/wan/pc300too.c pci_resource_len(pdev, 3) < 16384) { pci_resource_len 395 drivers/net/wan/pc300too.c pci_resource_len(pdev, 3)); pci_resource_len 309 drivers/net/wan/pci200syn.c if (pci_resource_len(pdev, 0) != PCI200SYN_PLX_SIZE || pci_resource_len 310 drivers/net/wan/pci200syn.c pci_resource_len(pdev, 2) != PCI200SYN_SCA_SIZE || pci_resource_len 311 drivers/net/wan/pci200syn.c pci_resource_len(pdev, 3) < 16384) { pci_resource_len 345 drivers/net/wan/pci200syn.c pci_resource_len(pdev, 3)); pci_resource_len 1798 drivers/net/wireless/admtek/adm8211.c io_len = pci_resource_len(pdev, 0); pci_resource_len 1800 drivers/net/wireless/admtek/adm8211.c mem_len = pci_resource_len(pdev, 1); pci_resource_len 3408 drivers/net/wireless/ath/ath10k/pci.c ar_pci->mem_len = pci_resource_len(pdev, BAR_NUM); pci_resource_len 315 drivers/net/wireless/ath/wil6210/pcie_bus.c u32 bar_size = pci_resource_len(pdev, 0); pci_resource_len 1641 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c bar1_size = pci_resource_len(pdev, 2); pci_resource_len 2443 drivers/net/wireless/cisco/airo.c unsigned long mem_len = pci_resource_len(pci, 1); pci_resource_len 2545 drivers/net/wireless/cisco/airo.c mem_len = pci_resource_len(pci, 1); pci_resource_len 11655 drivers/net/wireless/intel/ipw2x00/ipw2200.c length = pci_resource_len(pdev, 0); pci_resource_len 3650 drivers/net/wireless/intel/iwlegacy/3945-mac.c (unsigned long long)pci_resource_len(pdev, 0)); pci_resource_len 6555 drivers/net/wireless/intel/iwlegacy/4965-mac.c (unsigned long long)pci_resource_len(pdev, 0)); pci_resource_len 311 drivers/net/wireless/intersil/hostap/hostap_pci.c if (!request_mem_region(phymem, pci_resource_len(pdev, 0), "Prism2")) { pci_resource_len 364 drivers/net/wireless/intersil/hostap/hostap_pci.c release_mem_region(phymem, pci_resource_len(pdev, 0)); pci_resource_len 402 drivers/net/wireless/intersil/hostap/hostap_pci.c pci_resource_len(pdev, 0)); pci_resource_len 484 drivers/net/wireless/intersil/hostap/hostap_plx.c pccard_attr_len = pci_resource_len(pdev, 2); pci_resource_len 558 drivers/net/wireless/intersil/p54/p54pci.c mem_len = pci_resource_len(pdev, 0); pci_resource_len 223 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c len = pci_resource_len(pdev, index); pci_resource_len 1746 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c io_len = pci_resource_len(pdev, 0); pci_resource_len 1747 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c mem_len = pci_resource_len(pdev, 1); pci_resource_len 2235 drivers/net/wireless/realtek/rtlwifi/pci.c pmem_len = pci_resource_len(pdev, rtlpriv->cfg->bar_id); pci_resource_len 974 drivers/net/wireless/realtek/rtw88/pci.c len = pci_resource_len(pdev, bar_id); pci_resource_len 114 drivers/ntb/hw/amd/ntb_hw_amd.c *size_max = pci_resource_len(ndev->ntb.pdev, bar); pci_resource_len 136 drivers/ntb/hw/amd/ntb_hw_amd.c mw_size = pci_resource_len(ntb->pdev, bar); pci_resource_len 314 drivers/ntb/hw/amd/ntb_hw_amd.c *size = pci_resource_len(ndev->ntb.pdev, bar); pci_resource_len 820 drivers/ntb/hw/intel/ntb_hw_gen1.c bar_size = pci_resource_len(ndev->ntb.pdev, bar); pci_resource_len 828 drivers/ntb/hw/intel/ntb_hw_gen1.c *addr_align = pci_resource_len(ndev->ntb.pdev, bar); pci_resource_len 859 drivers/ntb/hw/intel/ntb_hw_gen1.c bar_size = pci_resource_len(ndev->ntb.pdev, bar); pci_resource_len 1041 drivers/ntb/hw/intel/ntb_hw_gen1.c *size = pci_resource_len(ndev->ntb.pdev, bar) - pci_resource_len 1313 drivers/ntb/hw/intel/ntb_hw_gen1.c bar_size = pci_resource_len(ndev->ntb.pdev, b2b_bar); pci_resource_len 464 drivers/ntb/hw/intel/ntb_hw_gen3.c bar_size = pci_resource_len(ndev->ntb.pdev, bar); pci_resource_len 373 drivers/ntb/hw/mscc/ntb_hw_switchtec.c *size = pci_resource_len(sndev->ntb.pdev, bar) - offset; pci_resource_len 1031 drivers/ntb/hw/mscc/ntb_hw_switchtec.c size = pci_resource_len(sndev->ntb.pdev, bar) - offset; pci_resource_len 1307 drivers/ntb/hw/mscc/ntb_hw_switchtec.c resource_size_t sz = pci_resource_len(sndev->stdev->pdev, bar); pci_resource_len 1665 drivers/nvme/host/pci.c if (size > pci_resource_len(pdev, 0)) pci_resource_len 1807 drivers/nvme/host/pci.c bar_size = pci_resource_len(pdev, bar); pci_resource_len 80 drivers/pci/hotplug/cpcihp_zt5550.c dbg("pci resource len %llx", (unsigned long long)pci_resource_len(hc_dev, 1)); pci_resource_len 83 drivers/pci/hotplug/cpcihp_zt5550.c pci_resource_len(hc_dev, 1), MY_NAME)) { pci_resource_len 90 drivers/pci/hotplug/cpcihp_zt5550.c ioremap(pci_resource_start(hc_dev, 1), pci_resource_len(hc_dev, 1)); pci_resource_len 93 drivers/pci/hotplug/cpcihp_zt5550.c (unsigned long long)pci_resource_len(hc_dev, 1), pci_resource_len 122 drivers/pci/hotplug/cpcihp_zt5550.c pci_resource_len(hc_dev, 1)); pci_resource_len 135 drivers/pci/hotplug/cpcihp_zt5550.c pci_resource_len(hc_dev, 1)); pci_resource_len 288 drivers/pci/hotplug/cpqphp_core.c pci_resource_len(ctrl->pci_dev, 0)); pci_resource_len 1043 drivers/pci/hotplug/cpqphp_core.c dbg("pci resource len %llx\n", (unsigned long long)pci_resource_len(pdev, 0)); pci_resource_len 1046 drivers/pci/hotplug/cpqphp_core.c pci_resource_len(pdev, 0), MY_NAME)) { pci_resource_len 1053 drivers/pci/hotplug/cpqphp_core.c pci_resource_len(pdev, 0)); pci_resource_len 1056 drivers/pci/hotplug/cpqphp_core.c (unsigned long long)pci_resource_len(pdev, 0), pci_resource_len 1235 drivers/pci/hotplug/cpqphp_core.c release_mem_region(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); pci_resource_len 934 drivers/pci/hotplug/shpchp_hpc.c ctrl->mmio_size = pci_resource_len(pdev, 0); pci_resource_len 50 drivers/pci/mmap.c size = ((pci_resource_len(pdev, bar) - 1) >> PAGE_SHIFT) + 1; pci_resource_len 168 drivers/pci/p2pdma.c if (offset >= pci_resource_len(pdev, bar)) pci_resource_len 172 drivers/pci/p2pdma.c size = pci_resource_len(pdev, bar) - offset; pci_resource_len 174 drivers/pci/p2pdma.c if (size + offset > pci_resource_len(pdev, bar)) pci_resource_len 994 drivers/pci/pci-sysfs.c if (pci_resource_len(pdev, resno) == 0) pci_resource_len 998 drivers/pci/pci-sysfs.c size = ((pci_resource_len(pdev, resno) - 1) >> PAGE_SHIFT) + 1; pci_resource_len 1177 drivers/pci/pci-sysfs.c res_attr->size = pci_resource_len(pdev, num); pci_resource_len 1201 drivers/pci/pci-sysfs.c if (!pci_resource_len(pdev, i)) pci_resource_len 1371 drivers/pci/pci-sysfs.c rom_size = pci_resource_len(pdev, PCI_ROM_RESOURCE); pci_resource_len 193 drivers/pci/pci.c pci_resource_len(pdev, bar)); pci_resource_len 3670 drivers/pci/pci.c if (pci_resource_len(pdev, bar) == 0) pci_resource_len 3674 drivers/pci/pci.c pci_resource_len(pdev, bar)); pci_resource_len 3677 drivers/pci/pci.c pci_resource_len(pdev, bar)); pci_resource_len 3709 drivers/pci/pci.c if (pci_resource_len(pdev, bar) == 0) pci_resource_len 3714 drivers/pci/pci.c pci_resource_len(pdev, bar), res_name)) pci_resource_len 3718 drivers/pci/pci.c pci_resource_len(pdev, bar), res_name, pci_resource_len 548 drivers/pci/quirks.c if (pci_resource_len(dev, 0) != 8) { pci_resource_len 1805 drivers/pci/quirks.c if (pci_resource_start(pdev, 0) && pci_resource_len(pdev, 0)) pci_resource_len 2182 drivers/pci/quirks.c if (pci_resource_len(dev, bar) == 0x80 && pci_resource_len 147 drivers/pci/rom.c *size = pci_resource_len(pdev, PCI_ROM_RESOURCE); pci_resource_len 1359 drivers/pci/switch/switchtec.c res_len = pci_resource_len(pdev, 0); pci_resource_len 482 drivers/pcmcia/vrc4173_cardu.c len = pci_resource_len(dev, 0); pci_resource_len 253 drivers/pnp/quirks.c if (!type || pci_resource_len(pdev, i) == 0) pci_resource_len 596 drivers/ptp/ptp_pch.c chip->mem_size = pci_resource_len(pdev, IO_MEM_BAR); pci_resource_len 2771 drivers/rapidio/devices/tsi721.c pci_resource_len(pdev, BAR_0) < TSI721_REG_SPACE_SIZE) { pci_resource_len 2780 drivers/rapidio/devices/tsi721.c pci_resource_len(pdev, BAR_1) < TSI721_DB_WIN_SIZE) { pci_resource_len 2802 drivers/rapidio/devices/tsi721.c priv->p2r_bar[0].size = pci_resource_len(pdev, BAR_2); pci_resource_len 2812 drivers/rapidio/devices/tsi721.c priv->p2r_bar[1].size = pci_resource_len(pdev, BAR_4); pci_resource_len 2059 drivers/scsi/3w-9xxx.c mem_len = pci_resource_len(pdev, 1); pci_resource_len 2062 drivers/scsi/3w-9xxx.c mem_len = pci_resource_len(pdev, 2); pci_resource_len 10940 drivers/scsi/advansys.c boardp->asc_n_io_port = pci_resource_len(pdev, 1); pci_resource_len 11751 drivers/scsi/advansys.c if (pci_resource_len(pdev, 0) == 0) pci_resource_len 69 drivers/scsi/aic94xx/aic94xx_init.c io_handle->len = pci_resource_len(asd_ha->pcidev, i); pci_resource_len 124 drivers/scsi/aic94xx/aic94xx_init.c io_handle->len = pci_resource_len(asd_ha->pcidev, i); pci_resource_len 431 drivers/scsi/am53c974.c esp->regs = pci_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 466 drivers/scsi/am53c974.c shost->n_io_port = pci_resource_len(pdev, 0); pci_resource_len 248 drivers/scsi/arcmsr/arcmsr_hba.c acb->pmuA = ioremap(pci_resource_start(pdev,0), pci_resource_len(pdev,0)); pci_resource_len 257 drivers/scsi/arcmsr/arcmsr_hba.c mem_base0 = ioremap(pci_resource_start(pdev, 0), pci_resource_len(pdev, 0)); pci_resource_len 262 drivers/scsi/arcmsr/arcmsr_hba.c mem_base1 = ioremap(pci_resource_start(pdev, 2), pci_resource_len(pdev, 2)); pci_resource_len 273 drivers/scsi/arcmsr/arcmsr_hba.c acb->pmuC = ioremap_nocache(pci_resource_start(pdev, 1), pci_resource_len(pdev, 1)); pci_resource_len 289 drivers/scsi/arcmsr/arcmsr_hba.c range = pci_resource_len(pdev, 0); pci_resource_len 302 drivers/scsi/arcmsr/arcmsr_hba.c pci_resource_len(pdev, 1)); pci_resource_len 1536 drivers/scsi/atp870u.c shpnt->n_io_port = pci_resource_len(pdev, 0); pci_resource_len 457 drivers/scsi/be2iscsi/be_main.c pci_resource_len(pcidev, 2)); pci_resource_len 475 drivers/scsi/be2iscsi/be_main.c pci_resource_len(pcidev, pcicfg_reg)); pci_resource_len 747 drivers/scsi/bfa/bfad.c bfad->pci_bar0_kva = pci_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 748 drivers/scsi/bfa/bfad.c bfad->pci_bar2_kva = pci_iomap(pdev, 2, pci_resource_len(pdev, 2)); pci_resource_len 536 drivers/scsi/csiostor/csio_init.c pci_resource_len(pdev, 0)); pci_resource_len 4683 drivers/scsi/dc395x.c io_port_len = pci_resource_len(dev, 0); pci_resource_len 903 drivers/scsi/dpt_i2o.c hba_map0_area_size = pci_resource_len(pDev,0); pci_resource_len 918 drivers/scsi/dpt_i2o.c hba_map1_area_size = pci_resource_len(pDev,1); pci_resource_len 167 drivers/scsi/esas2r/esas2r_init.c pci_resource_len(a->pcid, 2)); pci_resource_len 186 drivers/scsi/esas2r/esas2r_init.c pci_resource_len(a->pcid, 0)); pci_resource_len 22 drivers/scsi/fdomain_pci.c if (pci_resource_len(pdev, 0) == 0) pci_resource_len 637 drivers/scsi/fnic/fnic_main.c fnic->bar0.len = pci_resource_len(pdev, 0); pci_resource_len 600 drivers/scsi/hptiop.c length = pci_resource_len(pcidev, index); pci_resource_len 6875 drivers/scsi/ips.c io_len = pci_resource_len(pci_dev, j); pci_resource_len 6878 drivers/scsi/ips.c mem_len = pci_resource_len(pci_dev, j); pci_resource_len 318 drivers/scsi/isci/init.c resource_size_t scu_bar_size = pci_resource_len(pdev, SCI_SCU_BAR*2); pci_resource_len 319 drivers/scsi/isci/init.c resource_size_t smu_bar_size = pci_resource_len(pdev, SCI_SMU_BAR*2); pci_resource_len 7740 drivers/scsi/lpfc/lpfc_init.c bar0map_len = pci_resource_len(pdev, 0); pci_resource_len 7743 drivers/scsi/lpfc/lpfc_init.c bar2map_len = pci_resource_len(pdev, 2); pci_resource_len 10146 drivers/scsi/lpfc/lpfc_init.c bar0map_len = pci_resource_len(pdev, PCI_64BIT_BAR0); pci_resource_len 10165 drivers/scsi/lpfc/lpfc_init.c bar0map_len = pci_resource_len(pdev, 1); pci_resource_len 10190 drivers/scsi/lpfc/lpfc_init.c bar1map_len = pci_resource_len(pdev, PCI_64BIT_BAR2); pci_resource_len 10217 drivers/scsi/lpfc/lpfc_init.c bar1map_len = pci_resource_len(pdev, PCI_64BIT_BAR2); pci_resource_len 10238 drivers/scsi/lpfc/lpfc_init.c bar2map_len = pci_resource_len(pdev, PCI_64BIT_BAR4); pci_resource_len 10267 drivers/scsi/lpfc/lpfc_init.c bar2map_len = pci_resource_len(pdev, PCI_64BIT_BAR4); pci_resource_len 3270 drivers/scsi/mpt3sas/mpt3sas_base.c pio_sz = pci_resource_len(pdev, i); pci_resource_len 3276 drivers/scsi/mpt3sas/mpt3sas_base.c memap_sz = pci_resource_len(pdev, i); pci_resource_len 305 drivers/scsi/mvsas/mv_init.c res_len = pci_resource_len(pdev, bar_ex); pci_resource_len 319 drivers/scsi/mvsas/mv_init.c res_len = pci_resource_len(pdev, bar); pci_resource_len 3342 drivers/scsi/nsp32.c data->NumAddress = pci_resource_len (pdev, 0); pci_resource_len 3344 drivers/scsi/nsp32.c data->MmioLength = pci_resource_len (pdev, 1); pci_resource_len 419 drivers/scsi/pm8001/pm8001_init.c pci_resource_len(pdev, bar); pci_resource_len 784 drivers/scsi/qla2xxx/qla_mr.c if (pci_resource_len(ha->pdev, 0) < BAR0_LEN_FX00) { pci_resource_len 805 drivers/scsi/qla2xxx/qla_mr.c if (pci_resource_len(ha->pdev, 2) < BAR2_LEN_FX00) { pci_resource_len 1682 drivers/scsi/qla2xxx/qla_nx.c len = pci_resource_len(ha->pdev, 0); pci_resource_len 1953 drivers/scsi/qla2xxx/qla_os.c if (pci_resource_len(ha->pdev, 0) < MIN_IOBASE_LEN) { pci_resource_len 1978 drivers/scsi/qla2xxx/qla_os.c if (pci_resource_len(ha->pdev, 1) < MIN_IOBASE_LEN) { pci_resource_len 2001 drivers/scsi/qla2xxx/qla_os.c pci_resource_len(ha->pdev, 3)); pci_resource_len 2054 drivers/scsi/qla2xxx/qla_os.c if (pci_resource_len(ha->pdev, 0) < MIN_IOBASE_LEN) { pci_resource_len 2075 drivers/scsi/qla2xxx/qla_os.c pci_resource_len(ha->pdev, 4)); pci_resource_len 2084 drivers/scsi/qla2xxx/qla_os.c pci_resource_len(ha->pdev, 2)); pci_resource_len 5512 drivers/scsi/qla4xxx/ql4_os.c mem_len = pci_resource_len(pdev, 0); pci_resource_len 5540 drivers/scsi/qla4xxx/ql4_os.c db_len = pci_resource_len(pdev, 4); pci_resource_len 5560 drivers/scsi/qla4xxx/ql4_os.c pio_len = pci_resource_len(ha->pdev, 0); pci_resource_len 5575 drivers/scsi/qla4xxx/ql4_os.c mmio_len = pci_resource_len(ha->pdev, 1); pci_resource_len 461 drivers/scsi/snic/snic_main.c snic->bar0.len = pci_resource_len(pdev, 0); pci_resource_len 1535 drivers/scsi/sym53c8xx_2/sym_glue.c pci_resource_len(pdev, 1)); pci_resource_len 1539 drivers/scsi/sym53c8xx_2/sym_glue.c pci_resource_len(pdev, 0)); pci_resource_len 1546 drivers/scsi/sym53c8xx_2/sym_glue.c pci_resource_len(pdev, i)); pci_resource_len 1377 drivers/scsi/vmw_pvscsi.c if (pci_resource_len(pdev, i) < PVSCSI_MEM_SPACE_SIZE) pci_resource_len 916 drivers/scsi/wd719x.c if (pci_resource_len(pdev, 0) == 0) pci_resource_len 41 drivers/spi/spi-cavium-thunderx.c p->register_base = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); pci_resource_len 770 drivers/staging/android/vsoc.c reg_size = pci_resource_len(pdev, REGISTER_BAR); pci_resource_len 787 drivers/staging/android/vsoc.c vsoc_dev.shm_size = pci_resource_len(pdev, SHARED_MEMORY_BAR); pci_resource_len 322 drivers/staging/comedi/drivers/amplc_dio200_pci.c if (pci_resource_len(pcidev, 0) < 0x4000) { pci_resource_len 2350 drivers/staging/comedi/drivers/amplc_pci230.c if (pci_resource_len(pci_dev, 3) < 32) pci_resource_len 2420 drivers/staging/comedi/drivers/amplc_pci230.c if (pci_resource_len(pci_dev, 3) >= 32) { pci_resource_len 699 drivers/staging/comedi/drivers/jr3_pci.c if (pci_resource_len(pcidev, 0) < board->n_subdevs * sizeof(*block)) pci_resource_len 802 drivers/staging/comedi/drivers/mite.c length = pci_resource_len(mite->pcidev, 1); pci_resource_len 287 drivers/staging/gasket/gasket_core.c (ulong)pci_resource_len(gasket_dev->pci_dev, bar_num); pci_resource_len 357 drivers/staging/gasket/gasket_core.c bytes = pci_resource_len(dev->pci_dev, bar_num); pci_resource_len 338 drivers/staging/kpc2000/kpc2000/core.c reg_bar_phys_len = pci_resource_len(pcard->pdev, REG_BAR); pci_resource_len 367 drivers/staging/kpc2000/kpc2000/core.c dma_bar_phys_len = pci_resource_len(pcard->pdev, DMA_BAR); pci_resource_len 633 drivers/staging/media/ipu3/ipu3.c phys_len = pci_resource_len(pci_dev, IMGU_PCI_BAR); pci_resource_len 4621 drivers/staging/qlge/qlge_main.c pci_resource_len(pdev, 1)); pci_resource_len 4628 drivers/staging/qlge/qlge_main.c qdev->doorbell_area_size = pci_resource_len(pdev, 3); pci_resource_len 4631 drivers/staging/qlge/qlge_main.c pci_resource_len(pdev, 3)); pci_resource_len 2450 drivers/staging/rtl8192e/rtl8192e/rtl_core.c pmem_len = pci_resource_len(pdev, 1); pci_resource_len 2473 drivers/staging/rtl8192e/rtl8192e/rtl_core.c dev->mem_end = ioaddr + pci_resource_len(pdev, 0); pci_resource_len 2567 drivers/staging/rtl8192e/rtl8192e/rtl_core.c pci_resource_len(pdev, 1)); pci_resource_len 859 drivers/staging/rts5208/rtsx.c (unsigned int)pci_resource_len(pci, 0)); pci_resource_len 861 drivers/staging/rts5208/rtsx.c dev->remap_addr = ioremap_nocache(dev->addr, pci_resource_len(pci, 0)); pci_resource_len 1065 drivers/staging/sm750fb/sm750.c ap->ranges[0].size = pci_resource_len(pdev, 0); pci_resource_len 1254 drivers/tty/nozomi.c size += pci_resource_len(dc->pdev, i); pci_resource_len 568 drivers/tty/serial/8250/8250_exar.c maxnr = pci_resource_len(pcidev, bar) >> (board->reg_shift + 3); pci_resource_len 176 drivers/tty/serial/8250/8250_mid.c chip->length = pci_resource_len(pdev, bar); pci_resource_len 1336 drivers/tty/serial/8250/8250_pci.c maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> pci_resource_len 1387 drivers/tty/serial/8250/8250_pci.c maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> pci_resource_len 1413 drivers/tty/serial/8250/8250_pci.c maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> pci_resource_len 3823 drivers/tty/serial/8250/8250_pci.c board->num_ports = pci_resource_len(dev, first_port) / 8; pci_resource_len 3836 drivers/tty/serial/8250/8250_pci.c pci_resource_len(dev, i) == 8 && pci_resource_len 157 drivers/tty/serial/jsm/jsm_driver.c pci_resource_len(pdev, 4)); pci_resource_len 205 drivers/tty/serial/jsm/jsm_driver.c pci_resource_len(pdev, 0)); pci_resource_len 91 drivers/uio/uio_aec.c info->port[0].size = pci_resource_len(pdev, 0); pci_resource_len 63 drivers/uio/uio_cif.c info->mem[0].size = pci_resource_len(dev, 0); pci_resource_len 66 drivers/uio/uio_cif.c info->mem[1].size = pci_resource_len(dev, 2); pci_resource_len 120 drivers/uio/uio_mf624.c resource_size_t len = pci_resource_len(dev, bar); pci_resource_len 85 drivers/uio/uio_netx.c pci_resource_len(dev, bar)); pci_resource_len 90 drivers/uio/uio_netx.c info->mem[0].size = pci_resource_len(dev, bar); pci_resource_len 112 drivers/uio/uio_sercos3.c pci_resource_len(dev, pci_bar)); pci_resource_len 115 drivers/uio/uio_sercos3.c info->mem[n].size = pci_resource_len(dev, pci_bar); pci_resource_len 218 drivers/usb/core/hcd-pci.c hcd->rsrc_len = pci_resource_len(dev, 0); pci_resource_len 243 drivers/usb/core/hcd-pci.c hcd->rsrc_len = pci_resource_len(dev, region); pci_resource_len 75 drivers/usb/gadget/udc/amd5536udc_pci.c pci_resource_len(pdev, 0)); pci_resource_len 111 drivers/usb/gadget/udc/amd5536udc_pci.c len = pci_resource_len(pdev, 0); pci_resource_len 1727 drivers/usb/gadget/udc/goku_udc.c pci_resource_len (pdev, 0)); pci_resource_len 1777 drivers/usb/gadget/udc/goku_udc.c len = pci_resource_len(pdev, 0); pci_resource_len 2318 drivers/usb/gadget/udc/net2272.c len = pci_resource_len(pdev, i); pci_resource_len 2375 drivers/usb/gadget/udc/net2272.c pci_resource_len(pdev, i)); pci_resource_len 2396 drivers/usb/gadget/udc/net2272.c len = pci_resource_len(pdev, i); pci_resource_len 2433 drivers/usb/gadget/udc/net2272.c pci_resource_len(pdev, i)); pci_resource_len 2499 drivers/usb/gadget/udc/net2272.c pci_resource_len(pdev, i)); pci_resource_len 2519 drivers/usb/gadget/udc/net2272.c pci_resource_len(pdev, i)); pci_resource_len 3601 drivers/usb/gadget/udc/net2280.c pci_resource_len(pdev, 0)); pci_resource_len 3650 drivers/usb/gadget/udc/net2280.c len = pci_resource_len(pdev, 0); pci_resource_len 1148 drivers/usb/host/pci-quirks.c int len = pci_resource_len(pdev, 0); pci_resource_len 41 drivers/usb/isp1760/isp1760-if.c mem_length = pci_resource_len(dev, 3); pci_resource_len 97 drivers/usb/isp1760/isp1760-if.c mem_length = pci_resource_len(dev, 0); pci_resource_len 742 drivers/vfio/pci/vfio_pci.c info.size = pci_resource_len(pdev, info.index); pci_resource_len 770 drivers/vfio/pci/vfio_pci.c info.size = pci_resource_len(pdev, info.index); pci_resource_len 1223 drivers/vfio/pci/vfio_pci.c phys_len = PAGE_ALIGN(pci_resource_len(pdev, index)); pci_resource_len 464 drivers/vfio/pci/vfio_pci_config.c mask = ~(pci_resource_len(pdev, i) - 1); pci_resource_len 484 drivers/vfio/pci/vfio_pci_config.c mask = ~(pci_resource_len(pdev, PCI_ROM_RESOURCE) - 1); pci_resource_len 168 drivers/vfio/pci/vfio_pci_rdwr.c end = pci_resource_len(pdev, bar); pci_resource_len 313 drivers/vfio/pci/vfio_pci_rdwr.c if (pos + count > pci_resource_len(pdev, bar)) pci_resource_len 979 drivers/video/console/sticore.c fb_len = pci_resource_len(pd, 0); pci_resource_len 981 drivers/video/console/sticore.c rom_len = pci_resource_len(pd, PCI_ROM_RESOURCE); pci_resource_len 987 drivers/video/fbdev/arkfb.c info->fix.smem_len = pci_resource_len(dev, 0); pci_resource_len 548 drivers/video/fbdev/asiliantfb.c size = pci_resource_len(dp, 0); pci_resource_len 591 drivers/video/fbdev/asiliantfb.c release_mem_region(pci_resource_start(dp, 0), pci_resource_len(dp, 0)); pci_resource_len 2072 drivers/video/fbdev/aty/aty128fb.c if (!request_mem_region(fb_addr, pci_resource_len(pdev, 0), pci_resource_len 2080 drivers/video/fbdev/aty/aty128fb.c if (!request_mem_region(reg_addr, pci_resource_len(pdev, 2), pci_resource_len 2156 drivers/video/fbdev/aty/aty128fb.c pci_resource_len(pdev, 2)); pci_resource_len 2159 drivers/video/fbdev/aty/aty128fb.c pci_resource_len(pdev, 0)); pci_resource_len 2184 drivers/video/fbdev/aty/aty128fb.c pci_resource_len(pdev, 0)); pci_resource_len 2186 drivers/video/fbdev/aty/aty128fb.c pci_resource_len(pdev, 2)); pci_resource_len 2265 drivers/video/fbdev/aty/radeon_base.c ap->ranges[0].size = pci_resource_len(pdev, 0); pci_resource_len 627 drivers/video/fbdev/carminefb.c carminefb_fix.mmio_len = pci_resource_len(dev, CARMINE_CONFIG_BAR); pci_resource_len 645 drivers/video/fbdev/carminefb.c carminefb_fix.smem_len = pci_resource_len(dev, CARMINE_MEMORY_BAR); pci_resource_len 1791 drivers/video/fbdev/core/fbmem.c ap->ranges[idx].size = pci_resource_len(pdev, bar); pci_resource_len 632 drivers/video/fbdev/gxt4500.c if (!request_mem_region(reg_phys, pci_resource_len(pdev, 0), pci_resource_len 639 drivers/video/fbdev/gxt4500.c if (!request_mem_region(fb_phys, pci_resource_len(pdev, 1), pci_resource_len 665 drivers/video/fbdev/gxt4500.c info->fix.smem_len = pci_resource_len(pdev, 1); pci_resource_len 726 drivers/video/fbdev/gxt4500.c release_mem_region(fb_phys, pci_resource_len(pdev, 1)); pci_resource_len 728 drivers/video/fbdev/gxt4500.c release_mem_region(reg_phys, pci_resource_len(pdev, 0)); pci_resource_len 747 drivers/video/fbdev/gxt4500.c pci_resource_len(pdev, 0)); pci_resource_len 749 drivers/video/fbdev/gxt4500.c pci_resource_len(pdev, 1)); pci_resource_len 692 drivers/video/fbdev/hyperv_fb.c pci_resource_len(pdev, 0) < screen_fb_size) pci_resource_len 721 drivers/video/fbdev/hyperv_fb.c info->apertures->ranges[0].size = pci_resource_len(pdev, 0); pci_resource_len 1064 drivers/video/fbdev/i740fb.c info->fix.mmio_len = pci_resource_len(dev, 1); pci_resource_len 1849 drivers/video/fbdev/i810/i810_main.c if (pci_resource_len(par->dev, 0) > 512 * 1024) { pci_resource_len 1851 drivers/video/fbdev/i810/i810_main.c par->aperture.size = pci_resource_len(par->dev, 0); pci_resource_len 1855 drivers/video/fbdev/i810/i810_main.c par->aperture.size = pci_resource_len(par->dev, 1); pci_resource_len 1486 drivers/video/fbdev/imsttfb.c size = pci_resource_len (pdev, 0); pci_resource_len 1535 drivers/video/fbdev/imsttfb.c int size = pci_resource_len(pdev, 0); pci_resource_len 538 drivers/video/fbdev/intelfb/intelfbdrv.c dinfo->aperture.size = pci_resource_len(pdev, aperture_bar); pci_resource_len 542 drivers/video/fbdev/intelfb/intelfbdrv.c (unsigned long long)pci_resource_len(pdev, aperture_bar), pci_resource_len 544 drivers/video/fbdev/intelfb/intelfbdrv.c (unsigned long long)pci_resource_len(pdev, mmio_bar)); pci_resource_len 681 drivers/video/fbdev/kyro/fbdev.c kyro_fix.smem_len = pci_resource_len(pdev, 0); pci_resource_len 683 drivers/video/fbdev/kyro/fbdev.c kyro_fix.mmio_len = pci_resource_len(pdev, 1); pci_resource_len 1040 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c par->mmio_len = pci_resource_len(par->pdev, 3); pci_resource_len 1733 drivers/video/fbdev/neofb.c pci_resource_len(dev, 0)); pci_resource_len 1319 drivers/video/fbdev/nvidia/nvidia.c nvidiafb_fix.mmio_len = pci_resource_len(pd, 0); pci_resource_len 949 drivers/video/fbdev/pvr2fb.c pvr2_fix.smem_len = pci_resource_len(pdev, 0); pci_resource_len 952 drivers/video/fbdev/pvr2fb.c pvr2_fix.mmio_len = pci_resource_len(pdev, 1); pci_resource_len 1953 drivers/video/fbdev/riva/fbdev.c rivafb_fix.mmio_len = pci_resource_len(pd, 0); pci_resource_len 1954 drivers/video/fbdev/riva/fbdev.c rivafb_fix.smem_len = pci_resource_len(pd, 1); pci_resource_len 1155 drivers/video/fbdev/s3fb.c info->fix.smem_len = pci_resource_len(dev, 0); pci_resource_len 6037 drivers/video/fbdev/sis/sis_main.c ivideo->video_size = pci_resource_len(pdev, 0); pci_resource_len 6039 drivers/video/fbdev/sis/sis_main.c ivideo->mmio_size = pci_resource_len(pdev, 1); pci_resource_len 1412 drivers/video/fbdev/tdfxfb.c info->fix.mmio_len = pci_resource_len(pdev, 0); pci_resource_len 1435 drivers/video/fbdev/tdfxfb.c pci_resource_len(pdev, 1), "tdfx smem")) { pci_resource_len 1451 drivers/video/fbdev/tdfxfb.c pci_resource_len(pdev, 2), "tdfx iobase")) { pci_resource_len 1552 drivers/video/fbdev/tdfxfb.c pci_resource_len(pdev, 2)); pci_resource_len 1556 drivers/video/fbdev/tdfxfb.c release_mem_region(info->fix.smem_start, pci_resource_len(pdev, 1)); pci_resource_len 1619 drivers/video/fbdev/tdfxfb.c pci_resource_len(pdev, 2)); pci_resource_len 1621 drivers/video/fbdev/tdfxfb.c pci_resource_len(pdev, 1)); pci_resource_len 1623 drivers/video/fbdev/tdfxfb.c pci_resource_len(pdev, 0)); pci_resource_len 1429 drivers/video/fbdev/tgafb.c bar0_len = pci_resource_len(to_pci_dev(dev), 0); pci_resource_len 1547 drivers/video/fbdev/tgafb.c bar0_len = pci_resource_len(to_pci_dev(dev), 0); pci_resource_len 1550 drivers/video/fbdev/tridentfb.c tridentfb_fix.mmio_len = pci_resource_len(dev, 1); pci_resource_len 314 drivers/video/fbdev/vermilion/vermilion.c par->vdc_mem_size = pci_resource_len(par->vdc, 0); pci_resource_len 329 drivers/video/fbdev/vermilion/vermilion.c par->gpu_mem_size = pci_resource_len(par->gpu, 0); pci_resource_len 444 drivers/video/fbdev/via/via-core.c vdev->engine_len = pci_resource_len(vdev->pdev, 1); pci_resource_len 696 drivers/video/fbdev/vt8623fb.c info->fix.smem_len = pci_resource_len(dev, 0); pci_resource_len 698 drivers/video/fbdev/vt8623fb.c info->fix.mmio_len = pci_resource_len(dev, 1); pci_resource_len 303 drivers/virt/vboxguest/vboxguest_linux.c io_len = pci_resource_len(pci, 0); pci_resource_len 315 drivers/virt/vboxguest/vboxguest_linux.c mmio_len = pci_resource_len(pci, 1); pci_resource_len 122 drivers/virtio/virtio_pci_modern.c minlen + offset > pci_resource_len(dev, bar)) { pci_resource_len 127 drivers/virtio/virtio_pci_modern.c bar, (unsigned long)pci_resource_len(dev, bar)); pci_resource_len 507 drivers/virtio/virtio_pci_modern.c if (pci_resource_len(dev, bar) && pci_resource_len 111 drivers/xen/platform-pci.c mmio_len = pci_resource_len(pdev, 1); pci_resource_len 404 lib/devres.c len = pci_resource_len(pdev, i); pci_resource_len 34 lib/pci_iomap.c resource_size_t len = pci_resource_len(dev, bar); pci_resource_len 74 lib/pci_iomap.c resource_size_t len = pci_resource_len(dev, bar); pci_resource_len 141 samples/vfio-mdev/mdpy-fb.c info->fix.smem_len = pci_resource_len(pdev, 0); pci_resource_len 377 sound/pci/asihpi/hpioctl.c memlen = pci_resource_len(pci_dev, idx); pci_resource_len 275 sound/pci/aw2/aw2-alsa.c pci_resource_len(pci, 0)); pci_resource_len 1808 sound/pci/ctxfi/cthw20k1.c mem_base = ioremap(io_base, pci_resource_len(pci, 0)); pci_resource_len 2043 sound/pci/ctxfi/cthw20k2.c pci_resource_len(hw->pci, 2)); pci_resource_len 1931 sound/pci/echoaudio/echoaudio.c sz = pci_resource_len(pci, 0); pci_resource_len 2208 sound/pci/korg1212/korg1212.c iomem_size = pci_resource_len(korg1212->pci, 0); pci_resource_len 2209 sound/pci/korg1212/korg1212.c ioport_size = pci_resource_len(korg1212->pci, 1); pci_resource_len 2210 sound/pci/korg1212/korg1212.c iomem2_size = pci_resource_len(korg1212->pci, 2); pci_resource_len 998 sound/pci/lx6464es/lx6464es.c pci_resource_len(pci, 1)); pci_resource_len 624 sound/pci/oxygen/oxygen_lib.c pci_resource_len(pci, 0) < OXYGEN_IO_SIZE) { pci_resource_len 6593 sound/pci/rme9652/hdspm.c io_extent = pci_resource_len(pci, 0); pci_resource_len 59 sound/soc/amd/raven/pci-acp3x.c adata->acp3x_base = ioremap(addr, pci_resource_len(pci, 0)); pci_resource_len 54 sound/soc/intel/atom/sst/sst_pci.c pci_resource_len(pci, 0)); pci_resource_len 65 sound/soc/intel/atom/sst/sst_pci.c ctx->shim = pcim_iomap(pci, 1, pci_resource_len(pci, 1)); pci_resource_len 74 sound/soc/intel/atom/sst/sst_pci.c ctx->mailbox = pcim_iomap(pci, 2, pci_resource_len(pci, 2)); pci_resource_len 84 sound/soc/intel/atom/sst/sst_pci.c ctx->iram = pcim_iomap(pci, 3, pci_resource_len(pci, 3)); pci_resource_len 94 sound/soc/intel/atom/sst/sst_pci.c ctx->dram = pcim_iomap(pci, 4, pci_resource_len(pci, 4)); pci_resource_len 426 sound/soc/sof/intel/byt.c size = pci_resource_len(pci, desc->resindex_imr_base);