regions 1288 arch/arm/mm/mmu.c end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; regions 190 arch/arm/mm/pmsa-v7.c unsigned int limit, struct region *regions) regions 198 arch/arm/mm/pmsa-v7.c if (try_split_region(base, size, ®ions[count])) { regions 247 arch/arm/mm/pmsa-v8.c add_range(mem, ARRAY_SIZE(mem), 0, memblock.memory.regions[0].base, regions 248 arch/arm/mm/pmsa-v8.c memblock.memory.regions[0].base + memblock.memory.regions[0].size); regions 241 arch/microblaze/mm/init.c memblock.memory.regions[0].size = memory_size; regions 284 arch/microblaze/mm/init.c if ((u32) memblock.memory.regions[0].size < 0x400000) { regions 289 arch/microblaze/mm/init.c if ((u32) memblock.memory.regions[0].size < kernel_tlb) { regions 295 arch/microblaze/mm/init.c memory_start = (u32) memblock.memory.regions[0].base; regions 296 arch/microblaze/mm/init.c lowmem_size = memory_size = (u32) memblock.memory.regions[0].size; regions 44 arch/mips/generic/yamon-dt.c const struct yamon_mem_region *regions, regions 53 arch/mips/generic/yamon-dt.c for (mr = regions; mr->size && memsize; ++mr) { regions 76 arch/mips/generic/yamon-dt.c const struct yamon_mem_region *regions) regions 136 arch/mips/generic/yamon-dt.c mem_entries = gen_fdt_mem_array(regions, mem_array, regions 145 arch/mips/generic/yamon-dt.c mem_entries = gen_fdt_mem_array(regions, mem_array, regions 46 arch/mips/include/asm/yamon-dt.h const struct yamon_mem_region *regions); regions 77 arch/parisc/include/asm/grfioctl.h gaddr_t regions[6]; /* region bases */ regions 42 arch/powerpc/include/asm/ps3stor.h struct ps3_storage_region regions[]; /* Must be last */ regions 131 arch/powerpc/mm/init_32.c memblock_enforce_memory_limit(memblock.memory.regions[0].size); regions 59 arch/powerpc/platforms/embedded6xx/wii.c struct memblock_region *p = memblock.memory.regions; regions 345 arch/powerpc/platforms/ps3/device-init.c p = kzalloc(struct_size(p, regions, num_regions), GFP_KERNEL); regions 387 arch/powerpc/platforms/ps3/device-init.c p->regions[i].id = id; regions 388 arch/powerpc/platforms/ps3/device-init.c p->regions[i].start = start; regions 389 arch/powerpc/platforms/ps3/device-init.c p->regions[i].size = size; regions 34 arch/s390/kernel/crash_dump.c .regions = &oldmem_region, regions 685 arch/s390/kernel/setup.c if (memblock.memory.regions[0].size < crash_size) { regions 101 arch/um/drivers/vhost_user.h struct vhost_user_mem_region regions[2]; /* Currently supporting 2 */ regions 559 arch/um/drivers/virtio_uml.c &msg.payload.mem_regions.regions[0]); regions 566 arch/um/drivers/virtio_uml.c &fds[1], &msg.payload.mem_regions.regions[1]); regions 312 arch/unicore32/mm/mmu.c end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; regions 117 drivers/block/ps3disk.c unsigned int region_id = dev->regions[dev->region_idx].id; regions 484 drivers/block/ps3disk.c dev->regions[dev->region_idx].size*priv->blocking_factor); regions 614 drivers/bus/fsl-mc/dprc-driver.c region_size = resource_size(mc_dev->regions); regions 617 drivers/bus/fsl-mc/dprc-driver.c mc_dev->regions[0].start, regions 453 drivers/bus/fsl-mc/fsl-mc-bus.c struct resource *regions; regions 472 drivers/bus/fsl-mc/fsl-mc-bus.c regions = kmalloc_array(obj_desc->region_count, regions 473 drivers/bus/fsl-mc/fsl-mc-bus.c sizeof(regions[0]), GFP_KERNEL); regions 474 drivers/bus/fsl-mc/fsl-mc-bus.c if (!regions) regions 496 drivers/bus/fsl-mc/fsl-mc-bus.c regions[i].start = region_desc.base_address + regions 501 drivers/bus/fsl-mc/fsl-mc-bus.c ®ions[i].start); regions 511 drivers/bus/fsl-mc/fsl-mc-bus.c regions[i].end = regions[i].start + region_desc.size - 1; regions 512 drivers/bus/fsl-mc/fsl-mc-bus.c regions[i].name = "fsl-mc object MMIO region"; regions 513 drivers/bus/fsl-mc/fsl-mc-bus.c regions[i].flags = IORESOURCE_IO; regions 515 drivers/bus/fsl-mc/fsl-mc-bus.c regions[i].flags |= IORESOURCE_CACHEABLE; regions 517 drivers/bus/fsl-mc/fsl-mc-bus.c regions[i].flags |= IORESOURCE_MEM; regions 520 drivers/bus/fsl-mc/fsl-mc-bus.c mc_dev->regions = regions; regions 524 drivers/bus/fsl-mc/fsl-mc-bus.c kfree(regions); regions 545 drivers/bus/fsl-mc/fsl-mc-bus.c kfree(mc_dev->regions); regions 681 drivers/bus/fsl-mc/fsl-mc-bus.c kfree(mc_dev->regions); regions 202 drivers/bus/fsl-mc/mc-io.c mc_portal_phys_addr = dpmcp_dev->regions[0].start; regions 203 drivers/bus/fsl-mc/mc-io.c mc_portal_size = resource_size(dpmcp_dev->regions); regions 90 drivers/char/ps3flash.c dev->regions[dev->region_idx].size*dev->blk_size); regions 107 drivers/char/ps3flash.c size = dev->regions[dev->region_idx].size*dev->blk_size; regions 176 drivers/char/ps3flash.c size = dev->regions[dev->region_idx].size*dev->blk_size; regions 337 drivers/char/ps3flash.c tmp = dev->regions[dev->region_idx].start*dev->blk_size; regions 344 drivers/char/ps3flash.c tmp = dev->regions[dev->region_idx].size*dev->blk_size; regions 21 drivers/fpga/dfl-afu-region.c INIT_LIST_HEAD(&afu->regions); regions 25 drivers/fpga/dfl-afu-region.c list_for_each_entry((region), &(afu)->regions, node) regions 78 drivers/fpga/dfl-afu-region.c list_add(®ion->node, &afu->regions); regions 100 drivers/fpga/dfl-afu-region.c list_for_each_entry_safe(region, tmp, &afu->regions, node) regions 76 drivers/fpga/dfl-afu.h struct list_head regions; regions 41 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h int regions; regions 112 drivers/gpu/drm/nouveau/nouveau_bo.c for (i = 0; i < fb->tile.regions; i++) { regions 139 drivers/gpu/drm/nouveau/nvkm/core/engine.c for (i = 0; fb && i < fb->tile.regions; i++) regions 140 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c for (i = 0; i < fb->tile.regions; i++) regions 169 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c for (i = 0; i < fb->tile.regions; i++) regions 194 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->tile.regions = fb->func->tile.regions; regions 59 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv10.c .tile.regions = 8, regions 31 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv1a.c .tile.regions = 8, regions 90 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv20.c .tile.regions = 8, regions 48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv25.c .tile.regions = 8, regions 121 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv30.c .tile.regions = 8, regions 50 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv35.c .tile.regions = 8, regions 50 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv36.c .tile.regions = 8, regions 56 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.c .tile.regions = 8, regions 50 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv41.c .tile.regions = 12, regions 60 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv44.c .tile.regions = 12, regions 46 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv46.c .tile.regions = 15, regions 33 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv47.c .tile.regions = 15, regions 33 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv49.c .tile.regions = 15, regions 32 drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv4e.c .tile.regions = 12, regions 20 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h int regions; regions 131 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c } regions; regions 609 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.no_regions = 2; regions 610 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.region_props[0].start_addr = wpr_start >> 8; regions 611 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.region_props[0].end_addr = wpr_end >> 8; regions 612 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.region_props[0].region_id = 1; regions 613 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.region_props[0].read_mask = 0xf; regions 614 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.region_props[0].write_mask = 0xc; regions 615 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c desc->regions.region_props[0].client_mask = 0x2; regions 51 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c } regions; regions 78 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.no_regions = 2; regions 79 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].start_addr = wpr_start >> 8; regions 80 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].end_addr = wpr_end >> 8; regions 81 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].region_id = 1; regions 82 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].read_mask = 0xf; regions 83 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].write_mask = 0xc; regions 84 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].client_mask = 0x2; regions 86 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].shadow_mem_start_addr = regions 89 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r364.c desc->regions.region_props[0].shadow_mem_start_addr = 0; regions 340 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c } regions; regions 367 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.no_regions = 2; regions 368 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].start_addr = wpr_start >> 8; regions 369 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].end_addr = wpr_end >> 8; regions 370 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].region_id = 1; regions 371 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].read_mask = 0xf; regions 372 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].write_mask = 0xc; regions 373 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].client_mask = 0x2; regions 375 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].shadow_mem_start_addr = regions 378 drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r367.c desc->regions.region_props[0].shadow_mem_start_addr = 0; regions 317 drivers/infiniband/hw/hns/hns_roce_alloc.c int hns_roce_alloc_buf_list(struct hns_roce_buf_region *regions, regions 324 drivers/infiniband/hw/hns/hns_roce_alloc.c r = ®ions[i]; regions 669 drivers/infiniband/hw/hns/hns_roce_device.h struct hns_roce_buf_region regions[HNS_ROCE_WQE_REGION_MAX]; regions 1143 drivers/infiniband/hw/hns/hns_roce_device.h dma_addr_t **bufs, struct hns_roce_buf_region *regions, regions 1219 drivers/infiniband/hw/hns/hns_roce_device.h int hns_roce_alloc_buf_list(struct hns_roce_buf_region *regions, regions 1266 drivers/infiniband/hw/hns/hns_roce_hem.c int hns_roce_hem_list_calc_root_ba(const struct hns_roce_buf_region *regions, regions 1275 drivers/infiniband/hw/hns/hns_roce_hem.c r = (struct hns_roce_buf_region *)®ions[i]; regions 1375 drivers/infiniband/hw/hns/hns_roce_hem.c const struct hns_roce_buf_region *regions, regions 1391 drivers/infiniband/hw/hns/hns_roce_hem.c r = ®ions[0]; regions 1399 drivers/infiniband/hw/hns/hns_roce_hem.c r = ®ions[region_cnt - 1]; regions 1414 drivers/infiniband/hw/hns/hns_roce_hem.c r = ®ions[i]; regions 1473 drivers/infiniband/hw/hns/hns_roce_hem.c const struct hns_roce_buf_region *regions, regions 1490 drivers/infiniband/hw/hns/hns_roce_hem.c r = ®ions[i]; regions 1507 drivers/infiniband/hw/hns/hns_roce_hem.c ret = hem_list_alloc_root_bt(hr_dev, hem_list, unit, regions, regions 138 drivers/infiniband/hw/hns/hns_roce_hem.h int hns_roce_hem_list_calc_root_ba(const struct hns_roce_buf_region *regions, regions 142 drivers/infiniband/hw/hns/hns_roce_hem.h const struct hns_roce_buf_region *regions, regions 1613 drivers/infiniband/hw/hns/hns_roce_mr.c dma_addr_t **bufs, struct hns_roce_buf_region *regions, regions 1620 drivers/infiniband/hw/hns/hns_roce_mr.c ret = hns_roce_hem_list_request(hr_dev, &mtr->hem_list, regions, regions 1626 drivers/infiniband/hw/hns/hns_roce_mr.c r = ®ions[i]; regions 438 drivers/infiniband/hw/hns/hns_roce_qp.c struct hns_roce_buf_region *regions, regions 463 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_init_buf_region(®ions[region_cnt], regions 475 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_init_buf_region(®ions[region_cnt], regions 487 drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_init_buf_region(®ions[region_cnt], regions 498 drivers/infiniband/hw/hns/hns_roce_qp.c struct hns_roce_buf_region *regions, regions 510 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_hem_list_calc_root_ba(regions, region_cnt, regions 690 drivers/infiniband/hw/hns/hns_roce_qp.c dma_addr_t *buf_list[ARRAY_SIZE(hr_qp->regions)] = { NULL }; regions 755 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->regions, ARRAY_SIZE(hr_qp->regions), regions 757 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_alloc_buf_list(hr_qp->regions, buf_list, regions 765 drivers/infiniband/hw/hns/hns_roce_qp.c r = &hr_qp->regions[i]; regions 856 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->regions, ARRAY_SIZE(hr_qp->regions), regions 858 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_alloc_buf_list(hr_qp->regions, buf_list, regions 866 drivers/infiniband/hw/hns/hns_roce_qp.c r = &hr_qp->regions[i]; regions 907 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->wqe_bt_pg_shift = calc_wqe_bt_page_shift(hr_dev, hr_qp->regions, regions 912 drivers/infiniband/hw/hns/hns_roce_qp.c hr_qp->regions, hr_qp->region_cnt); regions 293 drivers/iommu/iommu.c struct list_head *regions) regions 304 drivers/iommu/iommu.c list_for_each_entry(iter, regions, list) { regions 312 drivers/iommu/iommu.c list_for_each_entry_safe(iter, tmp, regions, list) { regions 340 drivers/iommu/iommu.c list_splice(&stack, regions); regions 2804 drivers/mtd/chips/cfi_cmdset_0002.c struct mtd_erase_region_info *regions = mtd->eraseregions; regions 2825 drivers/mtd/chips/cfi_cmdset_0002.c max_sectors += regions[i].numblocks; regions 2843 drivers/mtd/chips/cfi_cmdset_0002.c int size = regions[i].erasesize; regions 2862 drivers/mtd/chips/cfi_cmdset_0002.c if (offset == regions[i].offset + size * regions[i].numblocks) regions 900 drivers/mtd/chips/cfi_cmdset_0020.c struct mtd_erase_region_info *regions = mtd->eraseregions; regions 914 drivers/mtd/chips/cfi_cmdset_0020.c while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) regions 924 drivers/mtd/chips/cfi_cmdset_0020.c if (instr->addr & (regions[i].erasesize-1)) regions 934 drivers/mtd/chips/cfi_cmdset_0020.c while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) regions 942 drivers/mtd/chips/cfi_cmdset_0020.c if ((instr->addr + instr->len) & (regions[i].erasesize-1)) regions 957 drivers/mtd/chips/cfi_cmdset_0020.c adr += regions[i].erasesize; regions 958 drivers/mtd/chips/cfi_cmdset_0020.c len -= regions[i].erasesize; regions 960 drivers/mtd/chips/cfi_cmdset_0020.c if (adr % (1<< cfi->chipshift) == (((unsigned long)regions[i].offset + (regions[i].erasesize * regions[i].numblocks)) %( 1<< cfi->chipshift))) regions 366 drivers/mtd/chips/cfi_util.c struct mtd_erase_region_info *regions = mtd->eraseregions; regions 380 drivers/mtd/chips/cfi_util.c while (i < mtd->numeraseregions && ofs >= regions[i].offset) regions 390 drivers/mtd/chips/cfi_util.c if (ofs & (regions[i].erasesize-1)) regions 400 drivers/mtd/chips/cfi_util.c while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) regions 408 drivers/mtd/chips/cfi_util.c if ((ofs + len) & (regions[i].erasesize-1)) regions 417 drivers/mtd/chips/cfi_util.c int size = regions[i].erasesize; regions 428 drivers/mtd/chips/cfi_util.c if (ofs == regions[i].offset + size * regions[i].numblocks) regions 274 drivers/mtd/chips/jedec_probe.c const uint32_t regions[6]; regions 306 drivers/mtd/chips/jedec_probe.c .regions = { regions 318 drivers/mtd/chips/jedec_probe.c .regions = { regions 333 drivers/mtd/chips/jedec_probe.c .regions = { regions 348 drivers/mtd/chips/jedec_probe.c .regions = { regions 363 drivers/mtd/chips/jedec_probe.c .regions = { regions 378 drivers/mtd/chips/jedec_probe.c .regions = { regions 394 drivers/mtd/chips/jedec_probe.c .regions = { regions 411 drivers/mtd/chips/jedec_probe.c .regions = { regions 428 drivers/mtd/chips/jedec_probe.c .regions = { regions 443 drivers/mtd/chips/jedec_probe.c .regions = { regions 458 drivers/mtd/chips/jedec_probe.c .regions = { regions 473 drivers/mtd/chips/jedec_probe.c .regions = { regions 485 drivers/mtd/chips/jedec_probe.c .regions = { regions 497 drivers/mtd/chips/jedec_probe.c .regions = { regions 509 drivers/mtd/chips/jedec_probe.c .regions = { regions 521 drivers/mtd/chips/jedec_probe.c .regions = { regions 533 drivers/mtd/chips/jedec_probe.c .regions = { regions 548 drivers/mtd/chips/jedec_probe.c .regions = { regions 563 drivers/mtd/chips/jedec_probe.c .regions = { regions 578 drivers/mtd/chips/jedec_probe.c .regions = { regions 590 drivers/mtd/chips/jedec_probe.c .regions = { regions 603 drivers/mtd/chips/jedec_probe.c .regions = { regions 616 drivers/mtd/chips/jedec_probe.c .regions = { regions 629 drivers/mtd/chips/jedec_probe.c .regions = { regions 642 drivers/mtd/chips/jedec_probe.c .regions = { regions 655 drivers/mtd/chips/jedec_probe.c .regions = { regions 670 drivers/mtd/chips/jedec_probe.c .regions = { regions 685 drivers/mtd/chips/jedec_probe.c .regions = { regions 700 drivers/mtd/chips/jedec_probe.c .regions = { regions 715 drivers/mtd/chips/jedec_probe.c .regions = { regions 727 drivers/mtd/chips/jedec_probe.c .regions = { regions 742 drivers/mtd/chips/jedec_probe.c .regions = { regions 754 drivers/mtd/chips/jedec_probe.c .regions = { regions 767 drivers/mtd/chips/jedec_probe.c .regions = { regions 780 drivers/mtd/chips/jedec_probe.c .regions = { regions 795 drivers/mtd/chips/jedec_probe.c .regions = { regions 810 drivers/mtd/chips/jedec_probe.c .regions = { regions 825 drivers/mtd/chips/jedec_probe.c .regions = { regions 840 drivers/mtd/chips/jedec_probe.c .regions = { regions 855 drivers/mtd/chips/jedec_probe.c .regions = { regions 870 drivers/mtd/chips/jedec_probe.c .regions = { regions 885 drivers/mtd/chips/jedec_probe.c .regions = { regions 898 drivers/mtd/chips/jedec_probe.c .regions = { regions 911 drivers/mtd/chips/jedec_probe.c .regions = { regions 924 drivers/mtd/chips/jedec_probe.c .regions = { regions 937 drivers/mtd/chips/jedec_probe.c .regions = { regions 950 drivers/mtd/chips/jedec_probe.c .regions = { regions 963 drivers/mtd/chips/jedec_probe.c .regions = { regions 975 drivers/mtd/chips/jedec_probe.c .regions = { regions 987 drivers/mtd/chips/jedec_probe.c .regions = { regions 999 drivers/mtd/chips/jedec_probe.c .regions = { regions 1012 drivers/mtd/chips/jedec_probe.c .regions = { regions 1025 drivers/mtd/chips/jedec_probe.c .regions = { regions 1038 drivers/mtd/chips/jedec_probe.c .regions = { regions 1050 drivers/mtd/chips/jedec_probe.c .regions = { regions 1063 drivers/mtd/chips/jedec_probe.c .regions = { regions 1076 drivers/mtd/chips/jedec_probe.c .regions = { regions 1089 drivers/mtd/chips/jedec_probe.c .regions = { regions 1102 drivers/mtd/chips/jedec_probe.c .regions = { regions 1115 drivers/mtd/chips/jedec_probe.c .regions = { regions 1128 drivers/mtd/chips/jedec_probe.c .regions = { regions 1141 drivers/mtd/chips/jedec_probe.c .regions = { regions 1154 drivers/mtd/chips/jedec_probe.c .regions = { regions 1166 drivers/mtd/chips/jedec_probe.c .regions = { regions 1178 drivers/mtd/chips/jedec_probe.c .regions = { regions 1190 drivers/mtd/chips/jedec_probe.c .regions = { regions 1205 drivers/mtd/chips/jedec_probe.c .regions = { regions 1219 drivers/mtd/chips/jedec_probe.c .regions = { regions 1234 drivers/mtd/chips/jedec_probe.c .regions = { regions 1246 drivers/mtd/chips/jedec_probe.c .regions = { regions 1258 drivers/mtd/chips/jedec_probe.c .regions = { regions 1273 drivers/mtd/chips/jedec_probe.c .regions = { regions 1288 drivers/mtd/chips/jedec_probe.c .regions = { regions 1303 drivers/mtd/chips/jedec_probe.c .regions = { regions 1315 drivers/mtd/chips/jedec_probe.c .regions = { regions 1327 drivers/mtd/chips/jedec_probe.c .regions = { regions 1339 drivers/mtd/chips/jedec_probe.c .regions = { regions 1352 drivers/mtd/chips/jedec_probe.c .regions = { regions 1364 drivers/mtd/chips/jedec_probe.c .regions = { regions 1376 drivers/mtd/chips/jedec_probe.c .regions = {ERASEINFO(0x01000,64), regions 1387 drivers/mtd/chips/jedec_probe.c .regions = {ERASEINFO(0x01000,64), regions 1398 drivers/mtd/chips/jedec_probe.c .regions = { regions 1410 drivers/mtd/chips/jedec_probe.c .regions = { regions 1422 drivers/mtd/chips/jedec_probe.c .regions = { regions 1434 drivers/mtd/chips/jedec_probe.c .regions = { regions 1446 drivers/mtd/chips/jedec_probe.c .regions = { regions 1458 drivers/mtd/chips/jedec_probe.c .regions = { regions 1471 drivers/mtd/chips/jedec_probe.c .regions = { regions 1483 drivers/mtd/chips/jedec_probe.c .regions = { regions 1495 drivers/mtd/chips/jedec_probe.c .regions = { regions 1507 drivers/mtd/chips/jedec_probe.c .regions = { regions 1519 drivers/mtd/chips/jedec_probe.c .regions = { regions 1531 drivers/mtd/chips/jedec_probe.c .regions = { regions 1544 drivers/mtd/chips/jedec_probe.c .regions = { regions 1558 drivers/mtd/chips/jedec_probe.c .regions = { regions 1572 drivers/mtd/chips/jedec_probe.c .regions = { regions 1585 drivers/mtd/chips/jedec_probe.c .regions = { regions 1600 drivers/mtd/chips/jedec_probe.c .regions = { regions 1612 drivers/mtd/chips/jedec_probe.c .regions = { regions 1627 drivers/mtd/chips/jedec_probe.c .regions = { regions 1642 drivers/mtd/chips/jedec_probe.c .regions = { regions 1657 drivers/mtd/chips/jedec_probe.c .regions = { regions 1672 drivers/mtd/chips/jedec_probe.c .regions = { regions 1687 drivers/mtd/chips/jedec_probe.c .regions = { regions 1702 drivers/mtd/chips/jedec_probe.c .regions = { regions 1717 drivers/mtd/chips/jedec_probe.c .regions = { regions 1729 drivers/mtd/chips/jedec_probe.c .regions = { regions 1741 drivers/mtd/chips/jedec_probe.c .regions = { regions 1753 drivers/mtd/chips/jedec_probe.c .regions = { regions 1765 drivers/mtd/chips/jedec_probe.c .regions = { regions 1777 drivers/mtd/chips/jedec_probe.c .regions = { regions 1792 drivers/mtd/chips/jedec_probe.c .regions = { regions 1807 drivers/mtd/chips/jedec_probe.c .regions = { regions 1819 drivers/mtd/chips/jedec_probe.c .regions = { regions 1834 drivers/mtd/chips/jedec_probe.c .regions = { regions 1849 drivers/mtd/chips/jedec_probe.c .regions = { regions 1862 drivers/mtd/chips/jedec_probe.c .regions = { regions 1875 drivers/mtd/chips/jedec_probe.c .regions = { regions 1888 drivers/mtd/chips/jedec_probe.c .regions = { regions 1901 drivers/mtd/chips/jedec_probe.c .regions = { regions 2002 drivers/mtd/chips/jedec_probe.c cfi->cfiq->EraseRegionInfo[i] = jedec_table[index].regions[i]; regions 486 drivers/mtd/mtdpart.c struct mtd_erase_region_info *regions = parent->eraseregions; regions 490 drivers/mtd/mtdpart.c for (i = 0; i < max && regions[i].offset <= slave->offset; i++) regions 497 drivers/mtd/mtdpart.c for (; i < max && regions[i].offset < end; i++) { regions 498 drivers/mtd/mtdpart.c if (slave->mtd.erasesize < regions[i].erasesize) { regions 499 drivers/mtd/mtdpart.c slave->mtd.erasesize = regions[i].erasesize; regions 1059 drivers/mtd/spi-nor/spi-nor.c struct spi_nor_erase_region *region = map->regions; regions 3277 drivers/mtd/spi-nor/spi-nor.c struct spi_nor_erase_region *region = map->regions; regions 3308 drivers/mtd/spi-nor/spi-nor.c map->regions = &map->uniform_region; regions 3744 drivers/mtd/spi-nor/spi-nor.c map->regions = region; regions 959 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw10_mem_regions, regions 967 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw10_mem_regions, regions 975 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw10_mem_regions, regions 983 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw21_mem_regions, regions 991 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw30_mem_regions, regions 999 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw30_mem_regions, regions 1007 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca6174_hw30_mem_regions, regions 1015 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca988x_hw20_mem_regions, regions 1023 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca9984_hw10_mem_regions, regions 1031 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca9984_hw10_mem_regions, regions 1039 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca99x0_hw20_mem_regions, regions 1047 drivers/net/wireless/ath/ath10k/coredump.c .regions = qca4019_hw10_mem_regions, regions 1065 drivers/net/wireless/ath/ath10k/coredump.c mem_region = &hw->region_table.regions[0]; regions 160 drivers/net/wireless/ath/ath10k/coredump.h const struct ath10k_mem_region *regions; regions 1675 drivers/net/wireless/ath/ath10k/pci.c current_region = &mem_layout->region_table.regions[0]; regions 122 drivers/ps3/ps3stor_lib.c dev->region_idx, dev->regions[dev->region_idx].start, regions 123 drivers/ps3/ps3stor_lib.c dev->regions[dev->region_idx].size); regions 267 drivers/ps3/ps3stor_lib.c unsigned int region_id = dev->regions[dev->region_idx].id; regions 169 drivers/scsi/ps3rom.c dev->regions[dev->region_idx].id, start_sector, regions 192 drivers/scsi/ps3rom.c dev->regions[dev->region_idx].id, start_sector, regions 2399 drivers/scsi/qla2xxx/qla_bsg.c struct qla_active_regions regions = { }; regions 2403 drivers/scsi/qla2xxx/qla_bsg.c regions.global_image = active_regions.global; regions 2407 drivers/scsi/qla2xxx/qla_bsg.c regions.board_config = active_regions.aux.board_config; regions 2408 drivers/scsi/qla2xxx/qla_bsg.c regions.vpd_nvram = active_regions.aux.vpd_nvram; regions 2409 drivers/scsi/qla2xxx/qla_bsg.c regions.npiv_config_0_1 = active_regions.aux.npiv_config_0_1; regions 2410 drivers/scsi/qla2xxx/qla_bsg.c regions.npiv_config_2_3 = active_regions.aux.npiv_config_2_3; regions 2415 drivers/scsi/qla2xxx/qla_bsg.c __func__, vha->host_no, regions.global_image, regions 2416 drivers/scsi/qla2xxx/qla_bsg.c regions.board_config, regions.vpd_nvram, regions 2417 drivers/scsi/qla2xxx/qla_bsg.c regions.npiv_config_0_1, regions.npiv_config_2_3); regions 2420 drivers/scsi/qla2xxx/qla_bsg.c bsg_job->reply_payload.sg_cnt, ®ions, sizeof(regions)); regions 2423 drivers/scsi/qla2xxx/qla_bsg.c bsg_reply->reply_payload_rcv_len = sizeof(regions); regions 140 drivers/scsi/scsi_trace.c unsigned int regions = get_unaligned_be16(&cdb[7]); regions 142 drivers/scsi/scsi_trace.c trace_seq_printf(p, "regions=%u", (regions - 8) / 16); regions 52 drivers/soc/aspeed/aspeed-p2a-ctrl.c struct region regions[P2A_REGION_COUNT]; regions 140 drivers/soc/aspeed/aspeed-p2a-ctrl.c const struct region *curr = &ctrl->config->regions[i]; regions 283 drivers/soc/aspeed/aspeed-p2a-ctrl.c bits |= priv->parent->config->regions[i].bit; regions 324 drivers/soc/aspeed/aspeed-p2a-ctrl.c value |= p2a_ctrl->config->regions[i].bit; regions 401 drivers/soc/aspeed/aspeed-p2a-ctrl.c .regions = { regions 412 drivers/soc/aspeed/aspeed-p2a-ctrl.c .regions = { regions 207 drivers/soc/fsl/dpio/dpio-driver.c desc.regs_cena = devm_memremap(dev, dpio_dev->regions[1].start, regions 208 drivers/soc/fsl/dpio/dpio-driver.c resource_size(&dpio_dev->regions[1]), regions 211 drivers/soc/fsl/dpio/dpio-driver.c desc.regs_cena = devm_memremap(dev, dpio_dev->regions[2].start, regions 212 drivers/soc/fsl/dpio/dpio-driver.c resource_size(&dpio_dev->regions[2]), regions 222 drivers/soc/fsl/dpio/dpio-driver.c desc.regs_cinh = devm_ioremap(dev, dpio_dev->regions[1].start, regions 223 drivers/soc/fsl/dpio/dpio-driver.c resource_size(&dpio_dev->regions[1])); regions 274 drivers/soc/qcom/smem.c struct smem_region regions[]; regions 406 drivers/soc/qcom/smem.c header = smem->regions[0].virt_base; regions 491 drivers/soc/qcom/smem.c header = smem->regions[0].virt_base; regions 499 drivers/soc/qcom/smem.c region = &smem->regions[i]; regions 639 drivers/soc/qcom/smem.c header = __smem->regions[0].virt_base; regions 659 drivers/soc/qcom/smem.c struct smem_region *region = &__smem->regions[i]; regions 679 drivers/soc/qcom/smem.c header = smem->regions[0].virt_base; regions 690 drivers/soc/qcom/smem.c ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; regions 731 drivers/soc/qcom/smem.c header = smem->regions[0].virt_base + le32_to_cpu(entry->offset); regions 887 drivers/soc/qcom/smem.c smem->regions[i].virt_base = devm_ioremap_wc(dev, r.start, size); regions 888 drivers/soc/qcom/smem.c if (!smem->regions[i].virt_base) regions 890 drivers/soc/qcom/smem.c smem->regions[i].aux_base = (u32)r.start; regions 891 drivers/soc/qcom/smem.c smem->regions[i].size = size; regions 926 drivers/soc/qcom/smem.c header = smem->regions[0].virt_base; regions 302 drivers/soc/ti/knav_qmss.h struct list_head regions; regions 349 drivers/soc/ti/knav_qmss.h list_for_each_entry(region, &kdev->regions, list) regions 352 drivers/soc/ti/knav_qmss.h list_first_entry_or_null(&kdev->regions, \ regions 1085 drivers/soc/ti/knav_qmss_queue.c struct device_node *regions) regions 1093 drivers/soc/ti/knav_qmss_queue.c for_each_child_of_node(regions, child) { regions 1127 drivers/soc/ti/knav_qmss_queue.c list_add_tail(®ion->list, &kdev->regions); regions 1129 drivers/soc/ti/knav_qmss_queue.c if (list_empty(&kdev->regions)) { regions 1762 drivers/soc/ti/knav_qmss_queue.c struct device_node *qmgrs, *queue_pools, *regions, *pdsps; regions 1788 drivers/soc/ti/knav_qmss_queue.c INIT_LIST_HEAD(&kdev->regions); regions 1861 drivers/soc/ti/knav_qmss_queue.c regions = of_get_child_by_name(node, "descriptor-regions"); regions 1862 drivers/soc/ti/knav_qmss_queue.c if (!regions) { regions 1866 drivers/soc/ti/knav_qmss_queue.c ret = knav_queue_setup_regions(kdev, regions); regions 1867 drivers/soc/ti/knav_qmss_queue.c of_node_put(regions); regions 98 drivers/staging/android/vsoc.c struct vsoc_device_region *regions; regions 208 drivers/staging/android/vsoc.c return &vsoc_dev.regions[iminor(inode)]; regions 278 drivers/staging/android/vsoc.c if (&vsoc_dev.regions[managed_region_p->managed_by] != region_p) regions 838 drivers/staging/android/vsoc.c vsoc_dev.regions = (struct vsoc_device_region __force *) regions 871 drivers/staging/android/vsoc.c const struct vsoc_device_region *region = vsoc_dev.regions + i; regions 901 drivers/staging/android/vsoc.c const struct vsoc_device_region *region = vsoc_dev.regions + i; regions 988 drivers/staging/android/vsoc.c vsoc_dev.regions = NULL; regions 1074 drivers/staging/android/vsoc.c &vsoc_dev.regions[owner_region_p->managed_by]; regions 50 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c struct vfio_platform_region *xgmac_regs = &vdev->regions[0]; regions 51 drivers/vfio/platform/reset/vfio_platform_amdxgbe.c struct vfio_platform_region *xpcs_regs = &vdev->regions[1]; regions 81 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c struct vfio_platform_region *reg = &vdev->regions[0]; regions 51 drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c struct vfio_platform_region *reg = &vdev->regions[0]; regions 145 drivers/vfio/platform/vfio_platform_common.c vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), regions 147 drivers/vfio/platform/vfio_platform_common.c if (!vdev->regions) regions 157 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].addr = res->start; regions 158 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].size = resource_size(res); regions 159 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].flags = 0; regions 163 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_MMIO; regions 164 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_READ; regions 166 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].flags |= regions 173 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[i].addr & ~PAGE_MASK) && regions 174 drivers/vfio/platform/vfio_platform_common.c !(vdev->regions[i].size & ~PAGE_MASK)) regions 175 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].flags |= regions 180 drivers/vfio/platform/vfio_platform_common.c vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_PIO; regions 191 drivers/vfio/platform/vfio_platform_common.c kfree(vdev->regions); regions 200 drivers/vfio/platform/vfio_platform_common.c iounmap(vdev->regions[i].ioaddr); regions 203 drivers/vfio/platform/vfio_platform_common.c kfree(vdev->regions); regions 339 drivers/vfio/platform/vfio_platform_common.c info.size = vdev->regions[info.index].size; regions 340 drivers/vfio/platform/vfio_platform_common.c info.flags = vdev->regions[info.index].flags; regions 469 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_READ)) regions 472 drivers/vfio/platform/vfio_platform_common.c if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_MMIO) regions 473 drivers/vfio/platform/vfio_platform_common.c return vfio_platform_read_mmio(&vdev->regions[index], regions 475 drivers/vfio/platform/vfio_platform_common.c else if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_PIO) regions 545 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE)) regions 548 drivers/vfio/platform/vfio_platform_common.c if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_MMIO) regions 549 drivers/vfio/platform/vfio_platform_common.c return vfio_platform_write_mmio(&vdev->regions[index], regions 551 drivers/vfio/platform/vfio_platform_common.c else if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_PIO) regions 595 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_MMAP)) regions 598 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_READ) regions 602 drivers/vfio/platform/vfio_platform_common.c if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE) regions 608 drivers/vfio/platform/vfio_platform_common.c if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_MMIO) regions 609 drivers/vfio/platform/vfio_platform_common.c return vfio_platform_mmap_mmio(vdev->regions[index], vma); regions 611 drivers/vfio/platform/vfio_platform_common.c else if (vdev->regions[index].type & VFIO_PLATFORM_REGION_TYPE_PIO) regions 45 drivers/vfio/platform/vfio_platform_private.h struct vfio_platform_region *regions; regions 662 drivers/vfio/vfio_iommu_type1.c struct list_head *regions, regions 670 drivers/vfio/vfio_iommu_type1.c list_for_each_entry_safe(entry, next, regions, list) { regions 1424 drivers/vhost/vhost.c unsigned long size = offsetof(struct vhost_memory, regions); regions 1433 drivers/vhost/vhost.c newmem = kvzalloc(struct_size(newmem, regions, mem.nregions), regions 1439 drivers/vhost/vhost.c if (copy_from_user(newmem->regions, m->regions, regions 1440 drivers/vhost/vhost.c mem.nregions * sizeof *m->regions)) { regions 1451 drivers/vhost/vhost.c for (region = newmem->regions; regions 1452 drivers/vhost/vhost.c region < newmem->regions + mem.nregions; regions 461 drivers/video/console/sticore.c REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa); regions 463 drivers/video/console/sticore.c len = sti->regions[i].region_desc.length * 4096; regions 471 drivers/video/console/sticore.c sti->regions[i].region_desc.btlb, regions 472 drivers/video/console/sticore.c sti->regions[i].region_desc.sys_only, regions 473 drivers/video/console/sticore.c sti->regions[i].region_desc.cache, regions 474 drivers/video/console/sticore.c sti->regions[i].region_desc.last)); regions 477 drivers/video/console/sticore.c if (sti->regions[i].region_desc.last) regions 481 drivers/video/console/sticore.c if (++i<8 && sti->regions[i].region) regions 483 drivers/video/console/sticore.c __FILE__, sti->regions[i].region); regions 755 drivers/video/console/sticore.c memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); regions 970 drivers/video/fbdev/nvidia/nv_hw.c int regions = 12; regions 977 drivers/video/fbdev/nvidia/nv_hw.c regions = 15; regions 978 drivers/video/fbdev/nvidia/nv_hw.c for(i = 0; i < regions; i++) { regions 48 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c return &fbdev->regions[mem_idx]; regions 1895 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->region = &fbdev->regions[i]; regions 88 drivers/video/fbdev/omap2/omapfb/omapfb.h struct omapfb2_mem_region regions[10]; regions 360 drivers/video/fbdev/sticore.h region_t regions[STI_REGION_MAX]; regions 835 drivers/video/fbdev/stifb.c pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; regions 1252 drivers/video/fbdev/stifb.c fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; regions 159 include/kvm/arm_vgic.h const struct vgic_register_region *regions; regions 193 include/linux/fsl/mc.h struct resource *regions; regions 45 include/linux/hugetlb.h struct list_head regions; regions 70 include/linux/memblock.h struct memblock_region *regions; regions 525 include/linux/memblock.h for (region = memblock.memblock_type.regions; \ regions 526 include/linux/memblock.h region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \ regions 530 include/linux/memblock.h for (i = 0, rgn = &memblock_type->regions[0]; \ regions 532 include/linux/memblock.h i++, rgn = &memblock_type->regions[i]) regions 330 include/linux/mtd/spi-nor.h struct spi_nor_erase_region *regions; regions 99 include/uapi/linux/vhost_types.h struct vhost_memory_region regions[0]; regions 264 mm/hugetlb.c struct list_head *head = &resv->regions; regions 360 mm/hugetlb.c struct list_head *head = &resv->regions; regions 487 mm/hugetlb.c struct list_head *head = &resv->regions; regions 594 mm/hugetlb.c struct list_head *head = &resv->regions; regions 712 mm/hugetlb.c INIT_LIST_HEAD(&resv_map->regions); regions 115 mm/memblock.c .memory.regions = memblock_memory_init_regions, regions 120 mm/memblock.c .reserved.regions = memblock_reserved_init_regions, regions 126 mm/memblock.c .physmem.regions = memblock_physmem_init_regions, regions 168 mm/memblock.c if (memblock_addrs_overlap(base, size, type->regions[i].base, regions 169 mm/memblock.c type->regions[i].size)) regions 358 mm/memblock.c type->total_size -= type->regions[r].size; regions 359 mm/memblock.c memmove(&type->regions[r], &type->regions[r + 1], regions 360 mm/memblock.c (type->cnt - (r + 1)) * sizeof(type->regions[r])); regions 367 mm/memblock.c type->regions[0].base = 0; regions 368 mm/memblock.c type->regions[0].size = 0; regions 369 mm/memblock.c type->regions[0].flags = 0; regions 370 mm/memblock.c memblock_set_region_node(&type->regions[0], MAX_NUMNODES); regions 382 mm/memblock.c if (memblock.reserved.regions != memblock_reserved_init_regions) { regions 383 mm/memblock.c addr = __pa(memblock.reserved.regions); regions 389 mm/memblock.c if (memblock.memory.regions != memblock_memory_init_regions) { regions 390 mm/memblock.c addr = __pa(memblock.memory.regions); regions 479 mm/memblock.c memcpy(new_array, type->regions, old_size); regions 481 mm/memblock.c old_array = type->regions; regions 482 mm/memblock.c type->regions = new_array; regions 517 mm/memblock.c struct memblock_region *this = &type->regions[i]; regions 518 mm/memblock.c struct memblock_region *next = &type->regions[i + 1]; regions 554 mm/memblock.c struct memblock_region *rgn = &type->regions[idx]; regions 596 mm/memblock.c if (type->regions[0].size == 0) { regions 598 mm/memblock.c type->regions[0].base = base; regions 599 mm/memblock.c type->regions[0].size = size; regions 600 mm/memblock.c type->regions[0].flags = flags; regions 601 mm/memblock.c memblock_set_region_node(&type->regions[0], nid); regions 859 mm/memblock.c struct memblock_region *r = &type->regions[i]; regions 948 mm/memblock.c struct memblock_region *r = &type->regions[*idx]; regions 1029 mm/memblock.c struct memblock_region *m = &type_a->regions[idx_a]; regions 1056 mm/memblock.c r = &type_b->regions[idx_b]; regions 1133 mm/memblock.c struct memblock_region *m = &type_a->regions[idx_a]; regions 1160 mm/memblock.c r = &type_b->regions[idx_b]; regions 1204 mm/memblock.c r = &type->regions[*idx]; regions 1248 mm/memblock.c memblock_set_region_node(&type->regions[i], nid); regions 1617 mm/memblock.c return memblock.memory.regions[0].base; regions 1624 mm/memblock.c return (memblock.memory.regions[idx].base + memblock.memory.regions[idx].size); regions 1683 mm/memblock.c if (!memblock_is_nomap(&memblock.memory.regions[i])) regions 1687 mm/memblock.c if (!memblock_is_nomap(&memblock.memory.regions[i])) regions 1719 mm/memblock.c if (addr < type->regions[mid].base) regions 1721 mm/memblock.c else if (addr >= (type->regions[mid].base + regions 1722 mm/memblock.c type->regions[mid].size)) regions 1746 mm/memblock.c return !memblock_is_nomap(&memblock.memory.regions[i]); regions 1759 mm/memblock.c *start_pfn = PFN_DOWN(type->regions[mid].base); regions 1760 mm/memblock.c *end_pfn = PFN_DOWN(type->regions[mid].base + type->regions[mid].size); regions 1762 mm/memblock.c return type->regions[mid].nid; regions 1783 mm/memblock.c return (memblock.memory.regions[idx].base + regions 1784 mm/memblock.c memblock.memory.regions[idx].size) >= end; regions 1823 mm/memblock.c r - memblock.memory.regions); regions 1996 mm/memblock.c reg = &type->regions[i]; regions 156 sound/drivers/opl4/opl4_local.h const struct opl4_region *regions; regions 485 sound/drivers/opl4/opl4_synth.c const struct opl4_region_ptr *regions; regions 493 sound/drivers/opl4/opl4_synth.c regions = &snd_yrw801_regions[i]; regions 494 sound/drivers/opl4/opl4_synth.c for (i = 0; i < regions->count; i++) { regions 495 sound/drivers/opl4/opl4_synth.c if (note >= regions->regions[i].key_min && regions 496 sound/drivers/opl4/opl4_synth.c note <= regions->regions[i].key_max) { regions 497 sound/drivers/opl4/opl4_synth.c sound[voices] = ®ions->regions[i].sound; regions 926 sound/drivers/opl4/yrw801.c #define REGION(num) { ARRAY_SIZE(regions ## num), regions ## num } regions 440 sound/soc/codecs/wm_adsp.c struct wm_adsp_buffer_region *regions; regions 1812 sound/soc/codecs/wm_adsp.c int regions = 0; regions 1924 sound/soc/codecs/wm_adsp.c file, regions, type, pos, pos); regions 1929 sound/soc/codecs/wm_adsp.c regions, le32_to_cpu(region->len), offset, regions 1936 sound/soc/codecs/wm_adsp.c file, regions, region_name, regions 1964 sound/soc/codecs/wm_adsp.c file, regions, regions 1972 sound/soc/codecs/wm_adsp.c regions++; regions 1983 sound/soc/codecs/wm_adsp.c file, regions, pos - firmware->size); regions 3636 sound/soc/codecs/wm_adsp.c buf->regions = kcalloc(caps->num_regions, sizeof(*buf->regions), regions 3638 sound/soc/codecs/wm_adsp.c if (!buf->regions) regions 3642 sound/soc/codecs/wm_adsp.c region = &buf->regions[i]; regions 3871 sound/soc/codecs/wm_adsp.c kfree(buf->regions); regions 3950 sound/soc/codecs/wm_adsp.c return buf->regions[last_region].cumulative_size; regions 4128 sound/soc/codecs/wm_adsp.c if (buf->read_index < buf->regions[i].cumulative_size) regions 4134 sound/soc/codecs/wm_adsp.c mem_type = buf->regions[i].mem_type; regions 4135 sound/soc/codecs/wm_adsp.c adsp_addr = buf->regions[i].base_addr + regions 4136 sound/soc/codecs/wm_adsp.c (buf->read_index - buf->regions[i].offset); regions 4139 sound/soc/codecs/wm_adsp.c nwords = buf->regions[i].cumulative_size - buf->read_index; regions 307 tools/lib/traceevent/plugins/plugin_scsi.c unsigned int regions = cdb[7] << 8 | cdb[8]; regions 309 tools/lib/traceevent/plugins/plugin_scsi.c trace_seq_printf(p, "regions=%u", (regions - 8) / 16); regions 126 tools/virtio/virtio_test.c dev->mem = malloc(offsetof(struct vhost_memory, regions) + regions 127 tools/virtio/virtio_test.c sizeof dev->mem->regions[0]); regions 129 tools/virtio/virtio_test.c memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + regions 130 tools/virtio/virtio_test.c sizeof dev->mem->regions[0]); regions 132 tools/virtio/virtio_test.c dev->mem->regions[0].guest_phys_addr = (long)dev->buf; regions 133 tools/virtio/virtio_test.c dev->mem->regions[0].userspace_addr = (long)dev->buf; regions 134 tools/virtio/virtio_test.c dev->mem->regions[0].memory_size = dev->buf_size; regions 1809 virt/kvm/arm/vgic/vgic-its.c iodev->regions = its_registers; regions 474 virt/kvm/arm/vgic/vgic-mmio-v2.c dev->regions = vgic_v2_dist_registers; regions 500 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.regions = vgic_v2_dist_registers; regions 505 virt/kvm/arm/vgic/vgic-mmio-v2.c iodev.regions = vgic_v2_cpu_registers; regions 528 virt/kvm/arm/vgic/vgic-mmio-v2.c .regions = vgic_v2_cpu_registers, regions 540 virt/kvm/arm/vgic/vgic-mmio-v2.c .regions = vgic_v2_dist_registers, regions 588 virt/kvm/arm/vgic/vgic-mmio-v3.c dev->regions = vgic_v3_dist_registers; regions 638 virt/kvm/arm/vgic/vgic-mmio-v3.c rd_dev->regions = vgic_v3_rd_registers; regions 803 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.regions = vgic_v3_dist_registers; regions 808 virt/kvm/arm/vgic/vgic-mmio-v3.c iodev.regions = vgic_v3_rd_registers; regions 956 virt/kvm/arm/vgic/vgic-mmio-v3.c .regions = vgic_v3_dist_registers, regions 967 virt/kvm/arm/vgic/vgic-mmio-v3.c .regions = vgic_v3_rd_registers, regions 673 virt/kvm/arm/vgic/vgic-mmio.c vgic_find_mmio_region(const struct vgic_register_region *regions, regions 676 virt/kvm/arm/vgic/vgic-mmio.c return bsearch((void *)(uintptr_t)offset, regions, nr_regions, regions 677 virt/kvm/arm/vgic/vgic-mmio.c sizeof(regions[0]), match_region); regions 792 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, regions 213 virt/kvm/arm/vgic/vgic-mmio.h vgic_find_mmio_region(const struct vgic_register_region *regions,