region 89 arch/arc/kernel/setup.c unsigned long region; region 97 arch/arc/kernel/setup.c region = read_aux_reg(ARC_REG_AUX_ICCM); region 98 arch/arc/kernel/setup.c cpu->iccm.base_addr = region & 0xF0000000; region 107 arch/arc/kernel/setup.c region = read_aux_reg(ARC_REG_AUX_DCCM); region 108 arch/arc/kernel/setup.c cpu->dccm.base_addr = region & 0xF0000000; region 1407 arch/arm/kernel/perf_event_v7.c static u32 krait_get_pmresrn_event(unsigned int region) region 1412 arch/arm/kernel/perf_event_v7.c return pmresrn_table[region]; region 1420 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(config_base); region 1433 arch/arm/kernel/perf_event_v7.c val = krait_get_pmresrn_event(region); region 1448 arch/arm/kernel/perf_event_v7.c val = krait_read_pmresrn(region); region 1452 arch/arm/kernel/perf_event_v7.c krait_write_pmresrn(region, val); region 1476 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(config_base); region 1487 arch/arm/kernel/perf_event_v7.c val = krait_read_pmresrn(region); region 1489 arch/arm/kernel/perf_event_v7.c krait_write_pmresrn(region, val); region 1580 arch/arm/kernel/perf_event_v7.c static int krait_event_to_bit(struct perf_event *event, unsigned int region, region 1590 arch/arm/kernel/perf_event_v7.c bit = krait_get_pmresrn_event(region); region 1612 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(hwc->config_base); region 1620 arch/arm/kernel/perf_event_v7.c if (group > 3 || region > 2) region 1625 arch/arm/kernel/perf_event_v7.c bit = krait_event_to_bit(event, region, group); region 1642 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(hwc->config_base); region 1649 arch/arm/kernel/perf_event_v7.c bit = krait_event_to_bit(event, region, group); region 1753 arch/arm/kernel/perf_event_v7.c static u32 scorpion_get_pmresrn_event(unsigned int region) region 1759 arch/arm/kernel/perf_event_v7.c return pmresrn_table[region]; region 1767 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(config_base); region 1780 arch/arm/kernel/perf_event_v7.c val = scorpion_get_pmresrn_event(region); region 1797 arch/arm/kernel/perf_event_v7.c val = scorpion_read_pmresrn(region); region 1801 arch/arm/kernel/perf_event_v7.c scorpion_write_pmresrn(region, val); region 1809 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(config_base); region 1820 arch/arm/kernel/perf_event_v7.c val = scorpion_read_pmresrn(region); region 1822 arch/arm/kernel/perf_event_v7.c scorpion_write_pmresrn(region, val); region 1913 arch/arm/kernel/perf_event_v7.c static int scorpion_event_to_bit(struct perf_event *event, unsigned int region, region 1923 arch/arm/kernel/perf_event_v7.c bit = scorpion_get_pmresrn_event(region); region 1945 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(hwc->config_base); region 1952 arch/arm/kernel/perf_event_v7.c if (group > 3 || region > 3) region 1955 arch/arm/kernel/perf_event_v7.c bit = scorpion_event_to_bit(event, region, group); region 1972 arch/arm/kernel/perf_event_v7.c unsigned int region = EVENT_REGION(hwc->config_base); region 1979 arch/arm/kernel/perf_event_v7.c bit = scorpion_event_to_bit(event, region, group); region 846 arch/arm/kernel/setup.c struct memblock_region *region; region 854 arch/arm/kernel/setup.c for_each_memblock(memory, region) { region 855 arch/arm/kernel/setup.c phys_addr_t start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); region 856 arch/arm/kernel/setup.c phys_addr_t end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; region 243 arch/arm/mach-ixp4xx/common.c int region; region 248 arch/arm/mach-ixp4xx/common.c for (region = 0; region < 7; region++) { region 249 arch/arm/mach-ixp4xx/common.c if((*(IXP4XX_EXP_REG(0x4 * region)) & 0x200)) { region 41 arch/arm/mach-ixp4xx/include/mach/platform.h #define IXP4XX_EXP_BUS_BASE(region)\ region 42 arch/arm/mach-ixp4xx/include/mach/platform.h (IXP4XX_EXP_BUS_BASE_PHYS + ((region) * ixp4xx_exp_bus_size)) region 44 arch/arm/mach-ixp4xx/include/mach/platform.h #define IXP4XX_EXP_BUS_END(region)\ region 45 arch/arm/mach-ixp4xx/include/mach/platform.h (IXP4XX_EXP_BUS_BASE(region) + ixp4xx_exp_bus_size - 1) region 25 arch/arm/mm/pmsa-v7.c static struct region __initdata mem[MPU_MAX_REGIONS]; region 27 arch/arm/mm/pmsa-v7.c static struct region __initdata xip[MPU_MAX_REGIONS]; region 146 arch/arm/mm/pmsa-v7.c static bool __init try_split_region(phys_addr_t base, phys_addr_t size, struct region *region) region 177 arch/arm/mm/pmsa-v7.c _set_bit(i, ®ion->subreg); region 180 arch/arm/mm/pmsa-v7.c _set_bit(PMSAv7_NR_SUBREGS - i, ®ion->subreg); region 183 arch/arm/mm/pmsa-v7.c region->base = abase; region 184 arch/arm/mm/pmsa-v7.c region->size = p2size; region 190 arch/arm/mm/pmsa-v7.c unsigned int limit, struct region *regions) region 421 arch/arm/mm/pmsa-v7.c int i, region = 0, err = 0; region 426 arch/arm/mm/pmsa-v7.c err |= mpu_setup_region(region++, 0, 32, region 440 arch/arm/mm/pmsa-v7.c bool need_flush = region == PMSAv7_RAM_REGION; region 445 arch/arm/mm/pmsa-v7.c err |= mpu_setup_region(region++, xip[i].base, ilog2(xip[i].size), region 456 arch/arm/mm/pmsa-v7.c err |= mpu_setup_region(region++, mem[i].base, ilog2(mem[i].size), region 463 arch/arm/mm/pmsa-v7.c err |= mpu_setup_region(region++, vectors_base, ilog2(2 * PAGE_SIZE), region 241 arch/arm/mm/pmsa-v8.c int region = PMSAv8_KERNEL_REGION; region 279 arch/arm/mm/pmsa-v8.c err |= pmsav8_setup_fixed(region++, __pa(KERNEL_START), __pa(KERNEL_END)); region 287 arch/arm/mm/pmsa-v8.c err |= pmsav8_setup_io(region++, io[i].start, io[i].end); region 295 arch/arm/mm/pmsa-v8.c err |= pmsav8_setup_ram(region++, mem[i].start, mem[i].end); region 300 arch/arm/mm/pmsa-v8.c err |= pmsav8_setup_vector(region++, vectors_base, vectors_base + 2 * PAGE_SIZE); region 151 arch/arm64/kernel/alternative.c struct alt_region *region = alt_region; region 155 arch/arm64/kernel/alternative.c for (alt = region->begin; alt < region->end; alt++) { region 213 arch/arm64/kernel/alternative.c struct alt_region region = { region 230 arch/arm64/kernel/alternative.c __apply_alternatives(®ion, false, remaining_capabilities); region 251 arch/arm64/kernel/alternative.c struct alt_region region = { region 259 arch/arm64/kernel/alternative.c __apply_alternatives(®ion, false, &boot_capabilities[0]); region 265 arch/arm64/kernel/alternative.c struct alt_region region = { region 273 arch/arm64/kernel/alternative.c __apply_alternatives(®ion, true, &all_capabilities[0]); region 204 arch/arm64/kernel/setup.c struct memblock_region *region; region 220 arch/arm64/kernel/setup.c for_each_memblock(memory, region) { region 222 arch/arm64/kernel/setup.c if (memblock_is_nomap(region)) { region 229 arch/arm64/kernel/setup.c res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); region 230 arch/arm64/kernel/setup.c res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; region 325 arch/arm64/kvm/guest.c static int sve_reg_to_region(struct sve_state_reg_region *region, region 385 arch/arm64/kvm/guest.c region->koffset = array_index_nospec(reqoffset, sve_state_size); region 386 arch/arm64/kvm/guest.c region->klen = min(maxlen, reqlen); region 387 arch/arm64/kvm/guest.c region->upad = reqlen - region->klen; region 395 arch/arm64/kvm/guest.c struct sve_state_reg_region region; region 403 arch/arm64/kvm/guest.c ret = sve_reg_to_region(®ion, vcpu, reg); region 410 arch/arm64/kvm/guest.c if (copy_to_user(uptr, vcpu->arch.sve_state + region.koffset, region 411 arch/arm64/kvm/guest.c region.klen) || region 412 arch/arm64/kvm/guest.c clear_user(uptr + region.klen, region.upad)) region 421 arch/arm64/kvm/guest.c struct sve_state_reg_region region; region 429 arch/arm64/kvm/guest.c ret = sve_reg_to_region(®ion, vcpu, reg); region 436 arch/arm64/kvm/guest.c if (copy_from_user(vcpu->arch.sve_state + region.koffset, uptr, region 437 arch/arm64/kvm/guest.c region.klen)) region 73 arch/h8300/kernel/setup.c struct memblock_region *region; region 78 arch/h8300/kernel/setup.c for_each_memblock(memory, region) { region 79 arch/h8300/kernel/setup.c memory_start = region->base; region 80 arch/h8300/kernel/setup.c memory_end = region->base + region->size; region 364 arch/ia64/include/asm/pgtable.h unsigned long region = address >> 61; region 367 arch/ia64/include/asm/pgtable.h return (region << (PAGE_SHIFT - 6)) | l1index; region 392 arch/ia64/kernel/setup.c struct rsvd_region *region = &rsvd_region[n]; region 393 arch/ia64/kernel/setup.c phys_addr_t addr = __pa(region->start); region 394 arch/ia64/kernel/setup.c phys_addr_t size = region->end - region->start; region 363 arch/microblaze/pci/pci-common.c struct pci_bus_region region; region 366 arch/microblaze/pci/pci-common.c pcibios_resource_to_bus(dev->bus, ®ion, region 368 arch/microblaze/pci/pci-common.c *start = region.start; region 369 arch/microblaze/pci/pci-common.c *end = region.end; region 21 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # addresses, and need to have the appropriate memory region set region 449 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MEMORY_CONFIG_DIR_TYPE_GET(region) (\ region 450 arch/mips/include/asm/sn/sn0/hubmd.h (REMOTE_HUB_L(region, MD_MEMORY_CONFIG) & MMC_DIR_PREMIUM_MASK) >> \ region 459 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_DIFF_THRESH_GET(region) ( \ region 460 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) & \ region 463 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_DIFF_THRESH_SET(region, value) ( \ region 464 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \ region 467 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_DIFF_THRESH_DISABLE(region) ( \ region 468 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \ region 469 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) \ region 472 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_DIFF_THRESH_ENABLE(region) ( \ region 473 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \ region 474 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) \ region 477 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_DIFF_THRESH_IS_ENABLED(region) ( \ region 478 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) & \ region 481 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_VALUE_THRESH_GET(region) ( \ region 482 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_VALUE_THRESH) & \ region 485 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_VALUE_THRESH_SET(region, value) ( \ region 486 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_S((region), MD_MIG_VALUE_THRESH, \ region 489 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_VALUE_THRESH_DISABLE(region) ( \ region 490 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_S((region), MD_MIG_VALUE_THRESH, \ region 491 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L(region, MD_MIG_VALUE_THRESH) \ region 494 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_VALUE_THRESH_ENABLE(region) ( \ region 495 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_S((region), MD_MIG_VALUE_THRESH, \ region 496 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_VALUE_THRESH) \ region 499 arch/mips/include/asm/sn/sn0/hubmd.h #define MD_MIG_VALUE_THRESH_IS_ENABLED(region) ( \ region 500 arch/mips/include/asm/sn/sn0/hubmd.h REMOTE_HUB_L((region), MD_MIG_VALUE_THRESH) & \ region 674 arch/mips/kernel/setup.c struct memblock_region *region; region 686 arch/mips/kernel/setup.c for_each_memblock(memory, region) { region 687 arch/mips/kernel/setup.c phys_addr_t start = PFN_PHYS(memblock_region_memory_base_pfn(region)); region 688 arch/mips/kernel/setup.c phys_addr_t end = PFN_PHYS(memblock_region_memory_end_pfn(region)) - 1; region 17 arch/nds32/kernel/module.c void module_free(struct module *module, void *region) region 19 arch/nds32/kernel/module.c vfree(region); region 247 arch/nds32/kernel/setup.c struct memblock_region *region; region 252 arch/nds32/kernel/setup.c for_each_memblock(memory, region) { region 253 arch/nds32/kernel/setup.c memory_start = region->base; region 254 arch/nds32/kernel/setup.c memory_end = region->base + region->size; region 52 arch/openrisc/kernel/setup.c struct memblock_region *region; region 57 arch/openrisc/kernel/setup.c for_each_memblock(memory, region) { region 58 arch/openrisc/kernel/setup.c memory_start = region->base; region 59 arch/openrisc/kernel/setup.c memory_end = region->base + region->size; region 80 arch/openrisc/mm/init.c struct memblock_region *region; region 84 arch/openrisc/mm/init.c for_each_memblock(memory, region) { region 85 arch/openrisc/mm/init.c p = (u32) region->base & PAGE_MASK; region 86 arch/openrisc/mm/init.c e = p + (u32) region->size; region 125 arch/openrisc/mm/init.c region->base, region->base + region->size); region 1178 arch/powerpc/include/asm/opal-api.h struct opal_mpipl_region region[]; region 623 arch/powerpc/kernel/pci-common.c struct pci_bus_region region; region 626 arch/powerpc/kernel/pci-common.c pcibios_resource_to_bus(dev->bus, ®ion, region 628 arch/powerpc/kernel/pci-common.c *start = region.start; region 629 arch/powerpc/kernel/pci-common.c *end = region.end; region 851 arch/powerpc/kernel/pci-common.c struct pci_bus_region region; region 861 arch/powerpc/kernel/pci-common.c pcibios_resource_to_bus(dev->bus, ®ion, res); region 864 arch/powerpc/kernel/pci-common.c if (region.start != 0) region 121 arch/powerpc/kernel/pci_of_scan.c struct pci_bus_region region; region 163 arch/powerpc/kernel/pci_of_scan.c region.start = base; region 164 arch/powerpc/kernel/pci_of_scan.c region.end = base + size - 1; region 165 arch/powerpc/kernel/pci_of_scan.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 257 arch/powerpc/kernel/pci_of_scan.c struct pci_bus_region region; region 326 arch/powerpc/kernel/pci_of_scan.c region.start = of_read_number(&ranges[1], 2); region 327 arch/powerpc/kernel/pci_of_scan.c region.end = region.start + size - 1; region 328 arch/powerpc/kernel/pci_of_scan.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 1192 arch/powerpc/platforms/powermac/pci.c struct resource *region = NULL; region 1210 arch/powerpc/platforms/powermac/pci.c if (!region || resource_size(r) > resource_size(region)) region 1211 arch/powerpc/platforms/powermac/pci.c region = r; region 1214 arch/powerpc/platforms/powermac/pci.c if (!region) region 1218 arch/powerpc/platforms/powermac/pci.c printk(KERN_INFO "PCI: Fixup U4 PCIe bridge range: %pR\n", region); region 1224 arch/powerpc/platforms/powermac/pci.c reg = ((region->start >> 16) & 0xfff0) | (region->end & 0xfff00000); region 517 arch/powerpc/platforms/powernv/opal-core.c be64_to_cpu(opalc_metadata->region[i].dest); region 519 arch/powerpc/platforms/powernv/opal-core.c be64_to_cpu(opalc_metadata->region[i].size); region 537 arch/powerpc/platforms/powernv/opal-core.c addr = be64_to_cpu(opalc_cpu_metadata->region[0].dest); region 545 arch/powerpc/platforms/powernv/opal-core.c be64_to_cpu(opalc_cpu_metadata->region[0].size); region 374 arch/powerpc/platforms/powernv/opal-fadump.c (u64)__va(be64_to_cpu(opal_cpu_metadata->region[0].dest)); region 376 arch/powerpc/platforms/powernv/opal-fadump.c be64_to_cpu(opal_cpu_metadata->region[0].size); region 3007 arch/powerpc/platforms/powernv/pci-ioda.c struct pci_bus_region region; region 3015 arch/powerpc/platforms/powernv/pci-ioda.c region.start = res->start - phb->ioda.io_pci_base; region 3016 arch/powerpc/platforms/powernv/pci-ioda.c region.end = res->end - phb->ioda.io_pci_base; region 3017 arch/powerpc/platforms/powernv/pci-ioda.c index = region.start / phb->ioda.io_segsize; region 3020 arch/powerpc/platforms/powernv/pci-ioda.c region.start <= region.end) { region 3030 arch/powerpc/platforms/powernv/pci-ioda.c region.start += phb->ioda.io_segsize; region 3035 arch/powerpc/platforms/powernv/pci-ioda.c region.start = res->start - region 3038 arch/powerpc/platforms/powernv/pci-ioda.c region.end = res->end - region 3041 arch/powerpc/platforms/powernv/pci-ioda.c index = region.start / phb->ioda.m32_segsize; region 3044 arch/powerpc/platforms/powernv/pci-ioda.c region.start <= region.end) { region 3054 arch/powerpc/platforms/powernv/pci-ioda.c region.start += phb->ioda.m32_segsize; region 370 arch/powerpc/platforms/ps3/mm.c struct ps3_dma_region *region; region 383 arch/powerpc/platforms/ps3/mm.c c->region->dev->bus_id, c->region->dev->dev_id); region 384 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.bus_addr %lxh\n", func, line, c->region->bus_addr); region 385 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size); region 386 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.len %lxh\n", func, line, c->region->len); region 387 arch/powerpc/platforms/ps3/mm.c DBG("%s:%d: r.offset %lxh\n", func, line, c->region->offset); region 458 arch/powerpc/platforms/ps3/mm.c result = lv1_unmap_device_dma_region(c->region->dev->bus_id, region 459 arch/powerpc/platforms/ps3/mm.c c->region->dev->dev_id, c->bus_addr, c->len); region 472 arch/powerpc/platforms/ps3/mm.c struct ps3_dma_region *r = c->region; region 521 arch/powerpc/platforms/ps3/mm.c c->region = r; region 527 arch/powerpc/platforms/ps3/mm.c result = lv1_map_device_dma_region(c->region->dev->bus_id, region 528 arch/powerpc/platforms/ps3/mm.c c->region->dev->dev_id, c->lpar_addr, region 566 arch/powerpc/platforms/ps3/mm.c c->region = r; region 40 arch/powerpc/platforms/pseries/papr_scm.c struct nd_region *region; region 384 arch/powerpc/platforms/pseries/papr_scm.c p->region = nvdimm_volatile_region_create(p->bus, &ndr_desc); region 386 arch/powerpc/platforms/pseries/papr_scm.c p->region = nvdimm_pmem_region_create(p->bus, &ndr_desc); region 387 arch/powerpc/platforms/pseries/papr_scm.c if (!p->region) { region 32 arch/sh/drivers/pci/fixups-dreamcast.c struct pci_bus_region region; region 62 arch/sh/drivers/pci/fixups-dreamcast.c pcibios_resource_to_bus(dev->bus, ®ion, &res); region 65 arch/sh/drivers/pci/fixups-dreamcast.c region.start, region 388 arch/sparc/kernel/pci.c struct pci_bus_region region; region 397 arch/sparc/kernel/pci.c region.start = (first << 21); region 398 arch/sparc/kernel/pci.c region.end = (last << 21) + ((1 << 21) - 1); region 399 arch/sparc/kernel/pci.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 405 arch/sparc/kernel/pci.c region.start = (first << 29); region 406 arch/sparc/kernel/pci.c region.end = (last << 29) + ((1 << 29) - 1); region 407 arch/sparc/kernel/pci.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 423 arch/sparc/kernel/pci.c struct pci_bus_region region; region 524 arch/sparc/kernel/pci.c region.start = start = GET_64BIT(ranges, 1); region 525 arch/sparc/kernel/pci.c region.end = region.start + size - 1; region 531 arch/sparc/kernel/pci.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 624 arch/sparc/kernel/pci.c struct pci_bus_region region; region 637 arch/sparc/kernel/pci.c region.start = 0xa0000UL; region 638 arch/sparc/kernel/pci.c region.end = region.start + 0x1ffffUL; region 639 arch/sparc/kernel/pci.c pcibios_bus_to_resource(dev->bus, p, ®ion); region 994 arch/sparc/kernel/pci.c struct pci_bus_region region; region 1003 arch/sparc/kernel/pci.c pcibios_resource_to_bus(pdev->bus, ®ion, (struct resource *) rp); region 1004 arch/sparc/kernel/pci.c *start = region.start; region 1005 arch/sparc/kernel/pci.c *end = region.end; region 127 arch/um/kernel/physmem.c struct iomem_region *region = iomem_regions; region 129 arch/um/kernel/physmem.c while (region != NULL) { region 130 arch/um/kernel/physmem.c if ((phys >= region->phys) && region 131 arch/um/kernel/physmem.c (phys < region->phys + region->size)) { region 132 arch/um/kernel/physmem.c fd = region->fd; region 133 arch/um/kernel/physmem.c *offset_out = phys - region->phys; region 136 arch/um/kernel/physmem.c region = region->next; region 183 arch/um/kernel/physmem.c struct iomem_region *region = iomem_regions; region 185 arch/um/kernel/physmem.c while (region != NULL) { region 186 arch/um/kernel/physmem.c if (!strcmp(region->driver, driver)) { region 187 arch/um/kernel/physmem.c *len_out = region->size; region 188 arch/um/kernel/physmem.c return region->virt; region 191 arch/um/kernel/physmem.c region = region->next; region 200 arch/um/kernel/physmem.c struct iomem_region *region = iomem_regions; region 204 arch/um/kernel/physmem.c while (region != NULL) { region 205 arch/um/kernel/physmem.c err = os_map_memory((void *) iomem_start, region->fd, 0, region 206 arch/um/kernel/physmem.c region->size, 1, 1, 0); region 209 arch/um/kernel/physmem.c "failed, errno = %d\n", region->driver, -err); region 211 arch/um/kernel/physmem.c region->virt = iomem_start; region 212 arch/um/kernel/physmem.c region->phys = __pa(region->virt); region 215 arch/um/kernel/physmem.c iomem_start += region->size + PAGE_SIZE; region 216 arch/um/kernel/physmem.c region = region->next; region 481 arch/x86/boot/compressed/kaslr.c static void store_slot_info(struct mem_vector *region, unsigned long image_size) region 488 arch/x86/boot/compressed/kaslr.c slot_area.addr = region->start; region 489 arch/x86/boot/compressed/kaslr.c slot_area.num = (region->size - image_size) / region 503 arch/x86/boot/compressed/kaslr.c process_gb_huge_pages(struct mem_vector *region, unsigned long image_size) region 510 arch/x86/boot/compressed/kaslr.c store_slot_info(region, image_size); region 514 arch/x86/boot/compressed/kaslr.c addr = ALIGN(region->start, PUD_SIZE); region 516 arch/x86/boot/compressed/kaslr.c if (addr < region->start + region->size) region 517 arch/x86/boot/compressed/kaslr.c size = region->size - (addr - region->start); region 528 arch/x86/boot/compressed/kaslr.c store_slot_info(region, image_size); region 538 arch/x86/boot/compressed/kaslr.c if (addr >= region->start + image_size) { region 539 arch/x86/boot/compressed/kaslr.c tmp.start = region->start; region 540 arch/x86/boot/compressed/kaslr.c tmp.size = addr - region->start; region 544 arch/x86/boot/compressed/kaslr.c size = region->size - (addr - region->start) - i * PUD_SIZE; region 580 arch/x86/boot/compressed/kaslr.c struct mem_vector region, overlap; region 599 arch/x86/boot/compressed/kaslr.c region.start = cur_entry.start; region 600 arch/x86/boot/compressed/kaslr.c region.size = cur_entry.size; region 604 arch/x86/boot/compressed/kaslr.c start_orig = region.start; region 607 arch/x86/boot/compressed/kaslr.c if (region.start < minimum) region 608 arch/x86/boot/compressed/kaslr.c region.start = minimum; region 611 arch/x86/boot/compressed/kaslr.c region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); region 614 arch/x86/boot/compressed/kaslr.c if (region.start > cur_entry.start + cur_entry.size) region 618 arch/x86/boot/compressed/kaslr.c region.size -= region.start - start_orig; region 622 arch/x86/boot/compressed/kaslr.c region.start + region.size > KERNEL_IMAGE_SIZE) region 623 arch/x86/boot/compressed/kaslr.c region.size = KERNEL_IMAGE_SIZE - region.start; region 626 arch/x86/boot/compressed/kaslr.c if (region.size < image_size) region 630 arch/x86/boot/compressed/kaslr.c if (!mem_avoid_overlap(®ion, &overlap)) { region 631 arch/x86/boot/compressed/kaslr.c process_gb_huge_pages(®ion, image_size); region 636 arch/x86/boot/compressed/kaslr.c if (overlap.start > region.start + image_size) { region 639 arch/x86/boot/compressed/kaslr.c beginning.start = region.start; region 640 arch/x86/boot/compressed/kaslr.c beginning.size = overlap.start - region.start; region 645 arch/x86/boot/compressed/kaslr.c if (overlap.start + overlap.size >= region.start + region.size) region 649 arch/x86/boot/compressed/kaslr.c region.size -= overlap.start - region.start + overlap.size; region 650 arch/x86/boot/compressed/kaslr.c region.start = overlap.start + overlap.size; region 654 arch/x86/boot/compressed/kaslr.c static bool process_mem_region(struct mem_vector *region, region 664 arch/x86/boot/compressed/kaslr.c __process_mem_region(region, minimum, image_size); region 682 arch/x86/boot/compressed/kaslr.c if (!mem_overlaps(region, &immovable_mem[i])) region 687 arch/x86/boot/compressed/kaslr.c region_end = region->start + region->size; region 689 arch/x86/boot/compressed/kaslr.c entry.start = clamp(region->start, start, end); region 714 arch/x86/boot/compressed/kaslr.c struct mem_vector region; region 767 arch/x86/boot/compressed/kaslr.c region.start = md->phys_addr; region 768 arch/x86/boot/compressed/kaslr.c region.size = md->num_pages << EFI_PAGE_SHIFT; region 769 arch/x86/boot/compressed/kaslr.c if (process_mem_region(®ion, minimum, image_size)) region 786 arch/x86/boot/compressed/kaslr.c struct mem_vector region; region 795 arch/x86/boot/compressed/kaslr.c region.start = entry->addr; region 796 arch/x86/boot/compressed/kaslr.c region.size = entry->size; region 797 arch/x86/boot/compressed/kaslr.c if (process_mem_region(®ion, minimum, image_size)) region 342 arch/x86/include/uapi/asm/kvm.h __u32 region[1024]; region 1908 arch/x86/kvm/svm.c struct enc_region *region) region 1916 arch/x86/kvm/svm.c sev_clflush_pages(region->pages, region->npages); region 1918 arch/x86/kvm/svm.c sev_unpin_memory(kvm, region->pages, region->npages); region 1919 arch/x86/kvm/svm.c list_del(®ion->list); region 1920 arch/x86/kvm/svm.c kfree(region); region 7077 arch/x86/kvm/svm.c struct enc_region *region; region 7086 arch/x86/kvm/svm.c region = kzalloc(sizeof(*region), GFP_KERNEL_ACCOUNT); region 7087 arch/x86/kvm/svm.c if (!region) region 7090 arch/x86/kvm/svm.c region->pages = sev_pin_memory(kvm, range->addr, range->size, ®ion->npages, 1); region 7091 arch/x86/kvm/svm.c if (!region->pages) { region 7102 arch/x86/kvm/svm.c sev_clflush_pages(region->pages, region->npages); region 7104 arch/x86/kvm/svm.c region->uaddr = range->addr; region 7105 arch/x86/kvm/svm.c region->size = range->size; region 7108 arch/x86/kvm/svm.c list_add_tail(®ion->list, &sev->regions_list); region 7114 arch/x86/kvm/svm.c kfree(region); region 7138 arch/x86/kvm/svm.c struct enc_region *region; region 7148 arch/x86/kvm/svm.c region = find_enc_region(kvm, range); region 7149 arch/x86/kvm/svm.c if (!region) { region 7154 arch/x86/kvm/svm.c __unregister_enc_region_locked(kvm, region); region 4039 arch/x86/kvm/x86.c fill_xsave((u8 *) guest_xsave->region, vcpu); region 4041 arch/x86/kvm/x86.c memcpy(guest_xsave->region, region 4044 arch/x86/kvm/x86.c *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)] = region 4055 arch/x86/kvm/x86.c *(u64 *)&guest_xsave->region[XSAVE_HDR_OFFSET / sizeof(u32)]; region 4056 arch/x86/kvm/x86.c u32 mxcsr = *(u32 *)&guest_xsave->region[XSAVE_MXCSR_OFFSET / sizeof(u32)]; region 4067 arch/x86/kvm/x86.c load_xsave(vcpu, (u8 *)guest_xsave->region); region 4073 arch/x86/kvm/x86.c guest_xsave->region, sizeof(struct fxregs_state)); region 5155 arch/x86/kvm/x86.c struct kvm_enc_region region; region 5158 arch/x86/kvm/x86.c if (copy_from_user(®ion, argp, sizeof(region))) region 5163 arch/x86/kvm/x86.c r = kvm_x86_ops->mem_enc_reg_region(kvm, ®ion); region 5167 arch/x86/kvm/x86.c struct kvm_enc_region region; region 5170 arch/x86/kvm/x86.c if (copy_from_user(®ion, argp, sizeof(region))) region 5175 arch/x86/kvm/x86.c r = kvm_x86_ops->mem_enc_unreg_region(kvm, ®ion); region 59 arch/x86/mm/kaslr.c static inline unsigned long get_padding(struct kaslr_memory_region *region) region 61 arch/x86/mm/kaslr.c return (region->size_tb << TB_SHIFT); region 91 arch/x86/platform/uv/bios_uv.c long *region, long *ssn) region 109 arch/x86/platform/uv/bios_uv.c if (region) region 110 arch/x86/platform/uv/bios_uv.c *region = part.region_size; region 375 drivers/acpi/acpica/acobject.h struct acpi_object_region region; region 169 drivers/acpi/acpica/dbstats.c acpi_db_enumerate_object(obj_desc->region.handler); region 747 drivers/acpi/acpica/dbtest.c switch (region_obj->region.space_id) { region 776 drivers/acpi/acpica/dbtest.c acpi_ut_get_region_name(region_obj->region. region 784 drivers/acpi/acpica/dbtest.c acpi_ut_get_region_name(region_obj->region.space_id), region 785 drivers/acpi/acpica/dbtest.c region_obj->region.node->name.ascii); region 223 drivers/acpi/acpica/dsargs.c status = acpi_ut_add_address_range(obj_desc->region.space_id, region 224 drivers/acpi/acpica/dsargs.c obj_desc->region.address, region 225 drivers/acpi/acpica/dsargs.c obj_desc->region.length, node); region 340 drivers/acpi/acpica/dsargs.c if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { region 351 drivers/acpi/acpica/dsargs.c node = obj_desc->region.node; region 370 drivers/acpi/acpica/dsargs.c status = acpi_ut_add_address_range(obj_desc->region.space_id, region 371 drivers/acpi/acpica/dsargs.c obj_desc->region.address, region 372 drivers/acpi/acpica/dsargs.c obj_desc->region.length, node); region 94 drivers/acpi/acpica/dsfield.c obj_desc->region.node = *node; region 521 drivers/acpi/acpica/dsfield.c if (info.region_node->object->region.space_id == region 524 drivers/acpi/acpica/dsfield.c ACPI_ALLOCATE_ZEROED(info.region_node->object->region. region 405 drivers/acpi/acpica/dsopcode.c obj_desc->region.length = (u32) operand_desc->integer.value; region 410 drivers/acpi/acpica/dsopcode.c if (!obj_desc->region.length region 423 drivers/acpi/acpica/dsopcode.c obj_desc->region.address = (acpi_physical_address) region 429 drivers/acpi/acpica/dsopcode.c ACPI_FORMAT_UINT64(obj_desc->region.address), region 430 drivers/acpi/acpica/dsopcode.c obj_desc->region.length)); region 432 drivers/acpi/acpica/dsopcode.c status = acpi_ut_add_address_range(obj_desc->region.space_id, region 433 drivers/acpi/acpica/dsopcode.c obj_desc->region.address, region 434 drivers/acpi/acpica/dsopcode.c obj_desc->region.length, node); region 438 drivers/acpi/acpica/dsopcode.c obj_desc->region.flags |= AOPOBJ_DATA_VALID; region 530 drivers/acpi/acpica/dsopcode.c obj_desc->region.address = ACPI_PTR_TO_PHYSADDR(table); region 531 drivers/acpi/acpica/dsopcode.c obj_desc->region.length = table->length; region 535 drivers/acpi/acpica/dsopcode.c ACPI_FORMAT_UINT64(obj_desc->region.address), region 536 drivers/acpi/acpica/dsopcode.c obj_desc->region.length)); region 540 drivers/acpi/acpica/dsopcode.c obj_desc->region.flags |= AOPOBJ_DATA_VALID; region 252 drivers/acpi/acpica/evhandler.c if (obj_desc->region.space_id != handler_obj->address_space.space_id) { region 125 drivers/acpi/acpica/evregion.c handler_desc = region_obj->region.handler; region 129 drivers/acpi/acpica/evregion.c acpi_ut_get_node_name(region_obj->region.node), region 131 drivers/acpi/acpica/evregion.c acpi_ut_get_region_name(region_obj->region. region 143 drivers/acpi/acpica/evregion.c if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) { region 155 drivers/acpi/acpica/evregion.c acpi_ut_get_region_name(region_obj->region. region 180 drivers/acpi/acpica/evregion.c region. region 187 drivers/acpi/acpica/evregion.c if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) { region 188 drivers/acpi/acpica/evregion.c region_obj->region.flags |= AOPOBJ_SETUP_COMPLETE; region 204 drivers/acpi/acpica/evregion.c address = (region_obj->region.address + region_offset); region 220 drivers/acpi/acpica/evregion.c if ((region_obj->region.space_id == ACPI_ADR_SPACE_GSBUS) && region 229 drivers/acpi/acpica/evregion.c if ((region_obj->region.space_id == ACPI_ADR_SPACE_GPIO) && region 243 drivers/acpi/acpica/evregion.c ®ion_obj->region.handler->address_space, handler, region 245 drivers/acpi/acpica/evregion.c acpi_ut_get_region_name(region_obj->region. region 265 drivers/acpi/acpica/evregion.c acpi_ut_get_region_name(region_obj->region. region 272 drivers/acpi/acpica/evregion.c if ((region_obj->region.space_id == ACPI_ADR_SPACE_EC) && region 328 drivers/acpi/acpica/evregion.c handler_obj = region_obj->region.handler; region 353 drivers/acpi/acpica/evregion.c *last_obj_ptr = obj_desc->region.next; region 354 drivers/acpi/acpica/evregion.c obj_desc->region.next = NULL; /* Must clear field */ region 373 drivers/acpi/acpica/evregion.c (region_obj->region.space_id))); region 388 drivers/acpi/acpica/evregion.c if (region_obj->region.flags & AOPOBJ_SETUP_COMPLETE) { region 410 drivers/acpi/acpica/evregion.c (region_obj->region. region 414 drivers/acpi/acpica/evregion.c region_obj->region.flags &= region 427 drivers/acpi/acpica/evregion.c region_obj->region.handler = NULL; region 435 drivers/acpi/acpica/evregion.c last_obj_ptr = &obj_desc->region.next; region 436 drivers/acpi/acpica/evregion.c obj_desc = obj_desc->region.next; region 482 drivers/acpi/acpica/evregion.c if (region_obj->region.handler) { region 488 drivers/acpi/acpica/evregion.c acpi_ut_get_node_name(region_obj->region.node), region 490 drivers/acpi/acpica/evregion.c acpi_ut_get_region_name(region_obj->region. region 495 drivers/acpi/acpica/evregion.c region_obj->region.next = handler_obj->address_space.region_list; region 497 drivers/acpi/acpica/evregion.c region_obj->region.handler = handler_obj; region 531 drivers/acpi/acpica/evregion.c region_obj->region.handler == NULL) { region 545 drivers/acpi/acpica/evregion.c node = region_obj->region.node->parent; region 593 drivers/acpi/acpica/evregion.c acpi_ut_create_integer_object((u64)region_obj->region.space_id); region 749 drivers/acpi/acpica/evregion.c if (obj_desc->region.space_id != info->space_id) { region 823 drivers/acpi/acpica/evregion.c (next_node->object->region.space_id == ACPI_ADR_SPACE_EC)) { region 73 drivers/acpi/acpica/evrgnini.c local_region_context->length = region_desc->region.length; region 74 drivers/acpi/acpica/evrgnini.c local_region_context->address = region_desc->region.address; region 145 drivers/acpi/acpica/evrgnini.c handler_obj = region_obj->region.handler; region 165 drivers/acpi/acpica/evrgnini.c parent_node = region_obj->region.node->parent; region 225 drivers/acpi/acpica/evrgnini.c if (region_obj->region.flags & AOPOBJ_SETUP_COMPLETE) { region 243 drivers/acpi/acpica/evrgnini.c pci_device_node = region_obj->region.node; region 289 drivers/acpi/acpica/evrgnini.c region_obj->region.node); region 494 drivers/acpi/acpica/evrgnini.c node = region_obj->region.node->parent; region 495 drivers/acpi/acpica/evrgnini.c space_id = region_obj->region.space_id; region 291 drivers/acpi/acpica/exconfig.c if (obj_desc->region.space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) { region 279 drivers/acpi/acpica/excreate.c obj_desc->region.space_id = space_id; region 280 drivers/acpi/acpica/excreate.c obj_desc->region.address = 0; region 281 drivers/acpi/acpica/excreate.c obj_desc->region.length = 0; region 282 drivers/acpi/acpica/excreate.c obj_desc->region.node = node; region 283 drivers/acpi/acpica/excreate.c obj_desc->region.handler = NULL; region 116 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(region.space_id), "Space Id"}, region 117 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT8, ACPI_EXD_OFFSET(region.flags), "Flags"}, region 118 drivers/acpi/acpica/exdump.c {ACPI_EXD_NODE, ACPI_EXD_OFFSET(region.node), "Parent Node"}, region 119 drivers/acpi/acpica/exdump.c {ACPI_EXD_ADDRESS, ACPI_EXD_OFFSET(region.address), "Address"}, region 120 drivers/acpi/acpica/exdump.c {ACPI_EXD_UINT32, ACPI_EXD_OFFSET(region.length), "Length"}, region 121 drivers/acpi/acpica/exdump.c {ACPI_EXD_HDLR_LIST, ACPI_EXD_OFFSET(region.handler), "Handler"}, region 122 drivers/acpi/acpica/exdump.c {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(region.next), "Next"} region 520 drivers/acpi/acpica/exdump.c while (next->region.next) { region 526 drivers/acpi/acpica/exdump.c next = next->region.next; region 739 drivers/acpi/acpica/exdump.c acpi_ut_get_region_name(obj_desc->region. region 741 drivers/acpi/acpica/exdump.c obj_desc->region.space_id); region 747 drivers/acpi/acpica/exdump.c if (!(obj_desc->region.flags & AOPOBJ_DATA_VALID)) { region 751 drivers/acpi/acpica/exdump.c ACPI_FORMAT_UINT64(obj_desc->region. region 753 drivers/acpi/acpica/exdump.c obj_desc->region.length); region 136 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == region 138 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == region 140 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == region 184 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == region 192 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == region 285 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == region 293 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == region 295 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == region 297 drivers/acpi/acpica/exfield.c || obj_desc->field.region_obj->region.space_id == region 307 drivers/acpi/acpica/exfield.c (obj_desc->field.region_obj->region.space_id == region 323 drivers/acpi/acpica/exfield.c if ((obj_desc->field.region_obj->region.address == region 70 drivers/acpi/acpica/exfldio.c space_id = rgn_desc->region.space_id; region 121 drivers/acpi/acpica/exfldio.c if (rgn_desc->region.length < region 130 drivers/acpi/acpica/exfldio.c if (ACPI_ROUND_UP(rgn_desc->region.length, region 141 drivers/acpi/acpica/exfldio.c if (rgn_desc->region.length < region 154 drivers/acpi/acpica/exfldio.c acpi_ut_get_node_name(rgn_desc->region. region 156 drivers/acpi/acpica/exfldio.c rgn_desc->region.length)); region 170 drivers/acpi/acpica/exfldio.c acpi_ut_get_node_name(rgn_desc->region.node), region 171 drivers/acpi/acpica/exfldio.c rgn_desc->region.length)); region 235 drivers/acpi/acpica/exfldio.c acpi_ut_get_region_name(rgn_desc->region. region 237 drivers/acpi/acpica/exfldio.c rgn_desc->region.space_id, region 241 drivers/acpi/acpica/exfldio.c ACPI_FORMAT_UINT64(rgn_desc->region.address + region 257 drivers/acpi/acpica/exfldio.c acpi_ut_get_region_name(rgn_desc->region. region 259 drivers/acpi/acpica/exfldio.c rgn_desc->region.space_id)); region 263 drivers/acpi/acpica/exfldio.c acpi_ut_get_region_name(rgn_desc->region. region 265 drivers/acpi/acpica/exfldio.c rgn_desc->region.space_id)); region 462 drivers/acpi/acpica/exprep.c if ((obj_desc->field.region_obj->region.space_id == region 158 drivers/acpi/acpica/exserial.c switch (obj_desc->field.region_obj->region.space_id) { region 281 drivers/acpi/acpica/exserial.c switch (obj_desc->field.region_obj->region.space_id) { region 315 drivers/acpi/acpica/nsdump.c acpi_ut_get_region_name(obj_desc->region. region 317 drivers/acpi/acpica/nsdump.c if (obj_desc->region.flags & AOPOBJ_DATA_VALID) { region 320 drivers/acpi/acpica/nsdump.c region. region 322 drivers/acpi/acpica/nsdump.c obj_desc->region.length); region 353 drivers/acpi/acpica/nsdump.c region_obj->region. region 362 drivers/acpi/acpica/nsdump.c region_obj->region. region 190 drivers/acpi/acpica/nsobject.c acpi_ut_remove_address_range(obj_desc->region.space_id, node); region 741 drivers/acpi/acpica/utcopy.c if (dest_desc->region.handler) { region 742 drivers/acpi/acpica/utcopy.c acpi_ut_add_reference(dest_desc->region.handler); region 191 drivers/acpi/acpica/utdelete.c if (!(object->region.node->flags & ANOBJ_TEMPORARY)) { region 192 drivers/acpi/acpica/utdelete.c acpi_ut_remove_address_range(object->region.space_id, region 193 drivers/acpi/acpica/utdelete.c object->region.node); region 203 drivers/acpi/acpica/utdelete.c handler_desc = object->region.handler; region 216 drivers/acpi/acpica/utdelete.c next_desc->region.next; region 222 drivers/acpi/acpica/utdelete.c last_obj_ptr = &next_desc->region.next; region 223 drivers/acpi/acpica/utdelete.c next_desc = next_desc->region.next; region 35 drivers/acpi/apei/bert.c static void __init bert_print_all(struct acpi_bert_region *region, region 39 drivers/acpi/apei/bert.c (struct acpi_hest_generic_status *)region; region 835 drivers/acpi/arm64/iort.c struct iommu_resv_region *region; region 837 drivers/acpi/arm64/iort.c region = iommu_alloc_resv_region(base + SZ_64K, SZ_64K, region 839 drivers/acpi/arm64/iort.c if (region) { region 840 drivers/acpi/arm64/iort.c list_add_tail(®ion->list, head); region 38 drivers/acpi/nvs.c struct nvs_region *region; region 40 drivers/acpi/nvs.c region = kmalloc(sizeof(*region), GFP_KERNEL); region 41 drivers/acpi/nvs.c if (!region) region 43 drivers/acpi/nvs.c region->phys_start = start; region 44 drivers/acpi/nvs.c region->size = size; region 45 drivers/acpi/nvs.c list_add_tail(®ion->node, &nvs_region_list); region 54 drivers/acpi/nvs.c struct nvs_region *region; region 56 drivers/acpi/nvs.c list_for_each_entry(region, &nvs_region_list, node) { region 57 drivers/acpi/nvs.c rc = func(region->phys_start, region->size, data); region 1521 drivers/acpi/osl.c handler_obj = region_obj->region.handler; region 1525 drivers/acpi/osl.c if (region_obj->region.space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) region 1528 drivers/acpi/osl.c if (!(region_obj->region.flags & AOPOBJ_SETUP_COMPLETE)) region 1545 drivers/acpi/osl.c region_obj->region.flags &= ~(AOPOBJ_SETUP_COMPLETE); region 100 drivers/char/agp/compat_ioctl.h int agp_create_segment(struct agp_client *client, struct agp_region *region); region 163 drivers/char/agp/frontend.c int agp_create_segment(struct agp_client *client, struct agp_region *region) region 170 drivers/char/agp/frontend.c seg = kzalloc((sizeof(struct agp_segment_priv) * region->seg_count), GFP_KERNEL); region 172 drivers/char/agp/frontend.c kfree(region->seg_list); region 173 drivers/char/agp/frontend.c region->seg_list = NULL; region 176 drivers/char/agp/frontend.c user_seg = region->seg_list; region 178 drivers/char/agp/frontend.c for (i = 0; i < region->seg_count; i++) { region 183 drivers/char/agp/frontend.c kfree(region->seg_list); region 184 drivers/char/agp/frontend.c region->seg_list = NULL; region 192 drivers/char/agp/frontend.c agp_add_seg_to_client(client, ret_seg, region->seg_count); region 145 drivers/crypto/qat/qat_common/icp_qat_uclo.h struct icp_qat_uclo_region *region; region 155 drivers/crypto/qat/qat_common/icp_qat_uclo.h struct icp_qat_uclo_region *region; region 288 drivers/crypto/qat/qat_common/icp_qat_uclo.h char region; region 82 drivers/crypto/qat/qat_common/qat_uclo.c ae_slice->region = kzalloc(sizeof(*ae_slice->region), GFP_KERNEL); region 83 drivers/crypto/qat/qat_common/qat_uclo.c if (!ae_slice->region) region 90 drivers/crypto/qat/qat_common/qat_uclo.c ae_slice->page->region = ae_slice->region; region 94 drivers/crypto/qat/qat_common/qat_uclo.c kfree(ae_slice->region); region 95 drivers/crypto/qat/qat_common/qat_uclo.c ae_slice->region = NULL; region 109 drivers/crypto/qat/qat_common/qat_uclo.c kfree(ae_data->ae_slices[i].region); region 110 drivers/crypto/qat/qat_common/qat_uclo.c ae_data->ae_slices[i].region = NULL; region 387 drivers/crypto/qat/qat_common/qat_uclo.c switch (init_mem->region) { region 398 drivers/crypto/qat/qat_common/qat_uclo.c init_mem->region); region 219 drivers/dax/bus.c static void dax_region_unregister(void *region) region 221 drivers/dax/bus.c struct dax_region *dax_region = region; region 276 drivers/dax/bus.c unsigned long long size = resource_size(&dev_dax->region->res); region 284 drivers/dax/bus.c struct dax_region *dax_region = dev_dax->region; region 300 drivers/dax/bus.c struct dax_region *dax_region = dev_dax->region; region 368 drivers/dax/bus.c struct dax_region *dax_region = dev_dax->region; region 422 drivers/dax/bus.c dev_dax->region = dax_region; region 49 drivers/dax/dax-private.h struct dax_region *region; region 20 drivers/dax/device.c struct dax_region *dax_region = dev_dax->region; region 66 drivers/dax/device.c struct resource *res = &dev_dax->region->res; region 89 drivers/dax/device.c dax_region = dev_dax->region; region 123 drivers/dax/device.c dax_region = dev_dax->region; region 173 drivers/dax/device.c dax_region = dev_dax->region; region 283 drivers/dax/device.c struct dax_region *dax_region = dev_dax->region; region 294 drivers/dax/device.c struct dax_region *dax_region = dev_dax->region; region 340 drivers/dax/device.c dax_region = dev_dax->region; region 418 drivers/dax/device.c struct resource *res = &dev_dax->region->res; region 20 drivers/dax/kmem.c struct resource *res = &dev_dax->region->res; region 759 drivers/dma/altera-msgdma.c struct resource *region; region 768 drivers/dma/altera-msgdma.c region = devm_request_mem_region(device, (*res)->start, region 770 drivers/dma/altera-msgdma.c if (region == NULL) { region 775 drivers/dma/altera-msgdma.c *ptr = devm_ioremap_nocache(device, region->start, region 776 drivers/dma/altera-msgdma.c resource_size(region)); region 3463 drivers/dma/ppc4xx/adma.c int region = test_bit(PPC440SPE_DESC_RXOR12, region 3466 drivers/dma/ppc4xx/adma.c if (index < region) { region 3479 drivers/dma/ppc4xx/adma.c index - region + region 90 drivers/edac/pnd2_edac.c void (*mk_region)(char *name, struct region *rp, void *asym); region 339 drivers/edac/pnd2_edac.c static void mk_region(char *name, struct region *rp, u64 base, u64 limit) region 347 drivers/edac/pnd2_edac.c static void mk_region_mask(char *name, struct region *rp, u64 base, u64 mask) region 367 drivers/edac/pnd2_edac.c static bool in_region(struct region *rp, u64 addr) region 446 drivers/edac/pnd2_edac.c static void apl_mk_region(char *name, struct region *rp, void *asym) region 456 drivers/edac/pnd2_edac.c static void dnv_mk_region(char *name, struct region *rp, void *asym) region 765 drivers/firewire/core-cdev.c struct fw_address_region region; region 772 drivers/firewire/core-cdev.c region.start = a->offset; region 774 drivers/firewire/core-cdev.c region.end = a->offset + a->length; region 776 drivers/firewire/core-cdev.c region.end = a->region_end; region 784 drivers/firewire/core-cdev.c ret = fw_core_add_address_handler(&r->handler, ®ion); region 563 drivers/firewire/core-transaction.c const struct fw_address_region *region) region 568 drivers/firewire/core-transaction.c if (region->start & 0xffff000000000003ULL || region 569 drivers/firewire/core-transaction.c region->start >= region->end || region 570 drivers/firewire/core-transaction.c region->end > 0x0001000000000000ULL || region 577 drivers/firewire/core-transaction.c handler->offset = region->start; region 578 drivers/firewire/core-transaction.c while (handler->offset + handler->length <= region->end) { region 44 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region) region 46 drivers/fpga/dfl-afu-dma-region.c int npages = region->length >> PAGE_SHIFT; region 54 drivers/fpga/dfl-afu-dma-region.c region->pages = kcalloc(npages, sizeof(struct page *), GFP_KERNEL); region 55 drivers/fpga/dfl-afu-dma-region.c if (!region->pages) { region 60 drivers/fpga/dfl-afu-dma-region.c pinned = get_user_pages_fast(region->user_addr, npages, FOLL_WRITE, region 61 drivers/fpga/dfl-afu-dma-region.c region->pages); region 75 drivers/fpga/dfl-afu-dma-region.c put_all_pages(region->pages, pinned); region 77 drivers/fpga/dfl-afu-dma-region.c kfree(region->pages); region 92 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region) region 94 drivers/fpga/dfl-afu-dma-region.c long npages = region->length >> PAGE_SHIFT; region 97 drivers/fpga/dfl-afu-dma-region.c put_all_pages(region->pages, npages); region 98 drivers/fpga/dfl-afu-dma-region.c kfree(region->pages); region 111 drivers/fpga/dfl-afu-dma-region.c static bool afu_dma_check_continuous_pages(struct dfl_afu_dma_region *region) region 113 drivers/fpga/dfl-afu-dma-region.c int npages = region->length >> PAGE_SHIFT; region 117 drivers/fpga/dfl-afu-dma-region.c if (page_to_pfn(region->pages[i]) + 1 != region 118 drivers/fpga/dfl-afu-dma-region.c page_to_pfn(region->pages[i + 1])) region 133 drivers/fpga/dfl-afu-dma-region.c static bool dma_region_check_iova(struct dfl_afu_dma_region *region, region 136 drivers/fpga/dfl-afu-dma-region.c if (!size && region->iova != iova) region 139 drivers/fpga/dfl-afu-dma-region.c return (region->iova <= iova) && region 140 drivers/fpga/dfl-afu-dma-region.c (region->length + region->iova >= iova + size); region 153 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region) region 159 drivers/fpga/dfl-afu-dma-region.c (unsigned long long)region->iova); region 170 drivers/fpga/dfl-afu-dma-region.c if (dma_region_check_iova(this, region->iova, region->length)) region 173 drivers/fpga/dfl-afu-dma-region.c if (region->iova < this->iova) region 175 drivers/fpga/dfl-afu-dma-region.c else if (region->iova > this->iova) region 181 drivers/fpga/dfl-afu-dma-region.c rb_link_node(®ion->node, parent, new); region 182 drivers/fpga/dfl-afu-dma-region.c rb_insert_color(®ion->node, &afu->dma_regions); region 195 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region) region 200 drivers/fpga/dfl-afu-dma-region.c (unsigned long long)region->iova); region 203 drivers/fpga/dfl-afu-dma-region.c rb_erase(®ion->node, &afu->dma_regions); region 216 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region; region 219 drivers/fpga/dfl-afu-dma-region.c region = container_of(node, struct dfl_afu_dma_region, node); region 222 drivers/fpga/dfl-afu-dma-region.c (unsigned long long)region->iova); region 226 drivers/fpga/dfl-afu-dma-region.c if (region->iova) region 228 drivers/fpga/dfl-afu-dma-region.c region->iova, region->length, region 231 drivers/fpga/dfl-afu-dma-region.c if (region->pages) region 232 drivers/fpga/dfl-afu-dma-region.c afu_dma_unpin_pages(pdata, region); region 235 drivers/fpga/dfl-afu-dma-region.c kfree(region); region 261 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region; region 263 drivers/fpga/dfl-afu-dma-region.c region = container_of(node, struct dfl_afu_dma_region, node); region 265 drivers/fpga/dfl-afu-dma-region.c if (dma_region_check_iova(region, iova, size)) { region 267 drivers/fpga/dfl-afu-dma-region.c (unsigned long long)region->iova); region 268 drivers/fpga/dfl-afu-dma-region.c return region; region 271 drivers/fpga/dfl-afu-dma-region.c if (iova < region->iova) region 273 drivers/fpga/dfl-afu-dma-region.c else if (iova > region->iova) region 313 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region; region 331 drivers/fpga/dfl-afu-dma-region.c region = kzalloc(sizeof(*region), GFP_KERNEL); region 332 drivers/fpga/dfl-afu-dma-region.c if (!region) region 335 drivers/fpga/dfl-afu-dma-region.c region->user_addr = user_addr; region 336 drivers/fpga/dfl-afu-dma-region.c region->length = length; region 339 drivers/fpga/dfl-afu-dma-region.c ret = afu_dma_pin_pages(pdata, region); region 346 drivers/fpga/dfl-afu-dma-region.c if (!afu_dma_check_continuous_pages(region)) { region 353 drivers/fpga/dfl-afu-dma-region.c region->iova = dma_map_page(dfl_fpga_pdata_to_parent(pdata), region 354 drivers/fpga/dfl-afu-dma-region.c region->pages[0], 0, region 355 drivers/fpga/dfl-afu-dma-region.c region->length, region 357 drivers/fpga/dfl-afu-dma-region.c if (dma_mapping_error(dfl_fpga_pdata_to_parent(pdata), region->iova)) { region 363 drivers/fpga/dfl-afu-dma-region.c *iova = region->iova; region 366 drivers/fpga/dfl-afu-dma-region.c ret = afu_dma_region_add(pdata, region); region 377 drivers/fpga/dfl-afu-dma-region.c region->iova, region->length, DMA_BIDIRECTIONAL); region 379 drivers/fpga/dfl-afu-dma-region.c afu_dma_unpin_pages(pdata, region); region 381 drivers/fpga/dfl-afu-dma-region.c kfree(region); region 395 drivers/fpga/dfl-afu-dma-region.c struct dfl_afu_dma_region *region; region 398 drivers/fpga/dfl-afu-dma-region.c region = afu_dma_region_find_iova(pdata, iova); region 399 drivers/fpga/dfl-afu-dma-region.c if (!region) { region 404 drivers/fpga/dfl-afu-dma-region.c if (region->in_use) { region 409 drivers/fpga/dfl-afu-dma-region.c afu_dma_region_remove(pdata, region); region 413 drivers/fpga/dfl-afu-dma-region.c region->iova, region->length, DMA_BIDIRECTIONAL); region 414 drivers/fpga/dfl-afu-dma-region.c afu_dma_unpin_pages(pdata, region); region 415 drivers/fpga/dfl-afu-dma-region.c kfree(region); region 632 drivers/fpga/dfl-afu-main.c struct dfl_afu_mmio_region region; region 644 drivers/fpga/dfl-afu-main.c ret = afu_mmio_region_get_by_index(pdata, rinfo.index, ®ion); region 648 drivers/fpga/dfl-afu-main.c rinfo.flags = region.flags; region 649 drivers/fpga/dfl-afu-main.c rinfo.size = region.size; region 650 drivers/fpga/dfl-afu-main.c rinfo.offset = region.offset; region 754 drivers/fpga/dfl-afu-main.c struct dfl_afu_mmio_region region; region 764 drivers/fpga/dfl-afu-main.c ret = afu_mmio_region_get_by_offset(pdata, offset, size, ®ion); region 768 drivers/fpga/dfl-afu-main.c if (!(region.flags & DFL_PORT_REGION_MMAP)) region 771 drivers/fpga/dfl-afu-main.c if ((vma->vm_flags & VM_READ) && !(region.flags & DFL_PORT_REGION_READ)) region 775 drivers/fpga/dfl-afu-main.c !(region.flags & DFL_PORT_REGION_WRITE)) region 781 drivers/fpga/dfl-afu-main.c (region.phys + (offset - region.offset)) >> PAGE_SHIFT, region 24 drivers/fpga/dfl-afu-region.c #define for_each_region(region, afu) \ region 25 drivers/fpga/dfl-afu-region.c list_for_each_entry((region), &(afu)->regions, node) region 30 drivers/fpga/dfl-afu-region.c struct dfl_afu_mmio_region *region; region 32 drivers/fpga/dfl-afu-region.c for_each_region(region, afu) region 33 drivers/fpga/dfl-afu-region.c if (region->index == region_index) region 34 drivers/fpga/dfl-afu-region.c return region; region 52 drivers/fpga/dfl-afu-region.c struct dfl_afu_mmio_region *region; region 56 drivers/fpga/dfl-afu-region.c region = devm_kzalloc(&pdata->dev->dev, sizeof(*region), GFP_KERNEL); region 57 drivers/fpga/dfl-afu-region.c if (!region) region 60 drivers/fpga/dfl-afu-region.c region->index = region_index; region 61 drivers/fpga/dfl-afu-region.c region->size = region_size; region 62 drivers/fpga/dfl-afu-region.c region->phys = phys; region 63 drivers/fpga/dfl-afu-region.c region->flags = flags; region 77 drivers/fpga/dfl-afu-region.c region->offset = afu->region_cur_offset; region 78 drivers/fpga/dfl-afu-region.c list_add(®ion->node, &afu->regions); region 87 drivers/fpga/dfl-afu-region.c devm_kfree(&pdata->dev->dev, region); region 98 drivers/fpga/dfl-afu-region.c struct dfl_afu_mmio_region *tmp, *region; region 100 drivers/fpga/dfl-afu-region.c list_for_each_entry_safe(region, tmp, &afu->regions, node) region 101 drivers/fpga/dfl-afu-region.c devm_kfree(&pdata->dev->dev, region); region 116 drivers/fpga/dfl-afu-region.c struct dfl_afu_mmio_region *region; region 122 drivers/fpga/dfl-afu-region.c region = get_region_by_index(afu, region_index); region 123 drivers/fpga/dfl-afu-region.c if (!region) { region 127 drivers/fpga/dfl-afu-region.c *pregion = *region; region 150 drivers/fpga/dfl-afu-region.c struct dfl_afu_mmio_region *region; region 156 drivers/fpga/dfl-afu-region.c for_each_region(region, afu) region 157 drivers/fpga/dfl-afu-region.c if (region->offset <= offset && region 158 drivers/fpga/dfl-afu-region.c region->offset + region->size >= offset + size) { region 159 drivers/fpga/dfl-afu-region.c *pregion = *region; region 52 drivers/fpga/dfl-fme-pr.c struct fpga_region *region; region 58 drivers/fpga/dfl-fme-pr.c region = fpga_region_class_find(NULL, &fme_region->region->dev, region 60 drivers/fpga/dfl-fme-pr.c if (!region) region 63 drivers/fpga/dfl-fme-pr.c return region; region 72 drivers/fpga/dfl-fme-pr.c struct fpga_region *region; region 138 drivers/fpga/dfl-fme-pr.c region = dfl_fme_region_find(fme, port_pr.port_id); region 139 drivers/fpga/dfl-fme-pr.c if (!region) { region 144 drivers/fpga/dfl-fme-pr.c fpga_image_info_free(region->info); region 149 drivers/fpga/dfl-fme-pr.c region->info = info; region 151 drivers/fpga/dfl-fme-pr.c ret = fpga_region_program_fpga(region); region 158 drivers/fpga/dfl-fme-pr.c if (region->get_bridges) region 159 drivers/fpga/dfl-fme-pr.c fpga_bridges_put(®ion->bridge_list); region 161 drivers/fpga/dfl-fme-pr.c put_device(®ion->dev); region 325 drivers/fpga/dfl-fme-pr.c fme_region->region = platform_device_alloc(DFL_FPGA_FME_REGION, br->id); region 326 drivers/fpga/dfl-fme-pr.c if (!fme_region->region) region 329 drivers/fpga/dfl-fme-pr.c fme_region->region->dev.parent = dev; region 331 drivers/fpga/dfl-fme-pr.c ret = platform_device_add_data(fme_region->region, ®ion_pdata, region 336 drivers/fpga/dfl-fme-pr.c ret = platform_device_add(fme_region->region); region 345 drivers/fpga/dfl-fme-pr.c platform_device_put(fme_region->region); region 355 drivers/fpga/dfl-fme-pr.c platform_device_unregister(fme_region->region); region 31 drivers/fpga/dfl-fme-pr.h struct platform_device *region; region 22 drivers/fpga/dfl-fme-region.c static int fme_region_get_bridges(struct fpga_region *region) region 24 drivers/fpga/dfl-fme-region.c struct dfl_fme_region_pdata *pdata = region->priv; region 27 drivers/fpga/dfl-fme-region.c return fpga_bridge_get_to_list(dev, region->info, ®ion->bridge_list); region 34 drivers/fpga/dfl-fme-region.c struct fpga_region *region; region 42 drivers/fpga/dfl-fme-region.c region = devm_fpga_region_create(dev, mgr, fme_region_get_bridges); region 43 drivers/fpga/dfl-fme-region.c if (!region) { region 48 drivers/fpga/dfl-fme-region.c region->priv = pdata; region 49 drivers/fpga/dfl-fme-region.c region->compat_id = mgr->compat_id; region 50 drivers/fpga/dfl-fme-region.c platform_set_drvdata(pdev, region); region 52 drivers/fpga/dfl-fme-region.c ret = fpga_region_register(region); region 67 drivers/fpga/dfl-fme-region.c struct fpga_region *region = platform_get_drvdata(pdev); region 68 drivers/fpga/dfl-fme-region.c struct fpga_manager *mgr = region->mgr; region 70 drivers/fpga/dfl-fme-region.c fpga_region_unregister(region); region 587 drivers/fpga/dfl.c fdev->dev.parent = &binfo->cdev->region->dev; region 910 drivers/fpga/dfl.c device_for_each_child(&cdev->region->dev, NULL, remove_feature_dev); region 938 drivers/fpga/dfl.c cdev->region = devm_fpga_region_create(info->dev, NULL, NULL); region 939 drivers/fpga/dfl.c if (!cdev->region) { region 948 drivers/fpga/dfl.c ret = fpga_region_register(cdev->region); region 980 drivers/fpga/dfl.c fpga_region_unregister(cdev->region); region 1019 drivers/fpga/dfl.c fpga_region_unregister(cdev->region); region 413 drivers/fpga/dfl.h struct fpga_region *region; region 45 drivers/fpga/fpga-region.c static struct fpga_region *fpga_region_get(struct fpga_region *region) region 47 drivers/fpga/fpga-region.c struct device *dev = ®ion->dev; region 49 drivers/fpga/fpga-region.c if (!mutex_trylock(®ion->mutex)) { region 57 drivers/fpga/fpga-region.c mutex_unlock(®ion->mutex); region 63 drivers/fpga/fpga-region.c return region; region 71 drivers/fpga/fpga-region.c static void fpga_region_put(struct fpga_region *region) region 73 drivers/fpga/fpga-region.c struct device *dev = ®ion->dev; region 79 drivers/fpga/fpga-region.c mutex_unlock(®ion->mutex); region 96 drivers/fpga/fpga-region.c int fpga_region_program_fpga(struct fpga_region *region) region 98 drivers/fpga/fpga-region.c struct device *dev = ®ion->dev; region 99 drivers/fpga/fpga-region.c struct fpga_image_info *info = region->info; region 102 drivers/fpga/fpga-region.c region = fpga_region_get(region); region 103 drivers/fpga/fpga-region.c if (IS_ERR(region)) { region 105 drivers/fpga/fpga-region.c return PTR_ERR(region); region 108 drivers/fpga/fpga-region.c ret = fpga_mgr_lock(region->mgr); region 118 drivers/fpga/fpga-region.c if (region->get_bridges) { region 119 drivers/fpga/fpga-region.c ret = region->get_bridges(region); region 126 drivers/fpga/fpga-region.c ret = fpga_bridges_disable(®ion->bridge_list); region 132 drivers/fpga/fpga-region.c ret = fpga_mgr_load(region->mgr, info); region 138 drivers/fpga/fpga-region.c ret = fpga_bridges_enable(®ion->bridge_list); region 144 drivers/fpga/fpga-region.c fpga_mgr_unlock(region->mgr); region 145 drivers/fpga/fpga-region.c fpga_region_put(region); region 150 drivers/fpga/fpga-region.c if (region->get_bridges) region 151 drivers/fpga/fpga-region.c fpga_bridges_put(®ion->bridge_list); region 153 drivers/fpga/fpga-region.c fpga_mgr_unlock(region->mgr); region 155 drivers/fpga/fpga-region.c fpga_region_put(region); region 164 drivers/fpga/fpga-region.c struct fpga_region *region = to_fpga_region(dev); region 166 drivers/fpga/fpga-region.c if (!region->compat_id) region 170 drivers/fpga/fpga-region.c (unsigned long long)region->compat_id->id_h, region 171 drivers/fpga/fpga-region.c (unsigned long long)region->compat_id->id_l); region 199 drivers/fpga/fpga-region.c struct fpga_region *region; region 202 drivers/fpga/fpga-region.c region = kzalloc(sizeof(*region), GFP_KERNEL); region 203 drivers/fpga/fpga-region.c if (!region) region 210 drivers/fpga/fpga-region.c region->mgr = mgr; region 211 drivers/fpga/fpga-region.c region->get_bridges = get_bridges; region 212 drivers/fpga/fpga-region.c mutex_init(®ion->mutex); region 213 drivers/fpga/fpga-region.c INIT_LIST_HEAD(®ion->bridge_list); region 215 drivers/fpga/fpga-region.c device_initialize(®ion->dev); region 216 drivers/fpga/fpga-region.c region->dev.class = fpga_region_class; region 217 drivers/fpga/fpga-region.c region->dev.parent = dev; region 218 drivers/fpga/fpga-region.c region->dev.of_node = dev->of_node; region 219 drivers/fpga/fpga-region.c region->dev.id = id; region 221 drivers/fpga/fpga-region.c ret = dev_set_name(®ion->dev, "region%d", id); region 225 drivers/fpga/fpga-region.c return region; region 230 drivers/fpga/fpga-region.c kfree(region); region 240 drivers/fpga/fpga-region.c void fpga_region_free(struct fpga_region *region) region 242 drivers/fpga/fpga-region.c ida_simple_remove(&fpga_region_ida, region->dev.id); region 243 drivers/fpga/fpga-region.c kfree(region); region 249 drivers/fpga/fpga-region.c struct fpga_region *region = *(struct fpga_region **)res; region 251 drivers/fpga/fpga-region.c fpga_region_free(region); region 275 drivers/fpga/fpga-region.c struct fpga_region **ptr, *region; region 281 drivers/fpga/fpga-region.c region = fpga_region_create(dev, mgr, get_bridges); region 282 drivers/fpga/fpga-region.c if (!region) { region 285 drivers/fpga/fpga-region.c *ptr = region; region 289 drivers/fpga/fpga-region.c return region; region 299 drivers/fpga/fpga-region.c int fpga_region_register(struct fpga_region *region) region 301 drivers/fpga/fpga-region.c return device_add(®ion->dev); region 311 drivers/fpga/fpga-region.c void fpga_region_unregister(struct fpga_region *region) region 313 drivers/fpga/fpga-region.c device_unregister(®ion->dev); region 86 drivers/fpga/of-fpga-region.c static int of_fpga_region_get_bridges(struct fpga_region *region) region 88 drivers/fpga/of-fpga-region.c struct device *dev = ®ion->dev; region 90 drivers/fpga/of-fpga-region.c struct fpga_image_info *info = region->info; region 96 drivers/fpga/of-fpga-region.c ®ion->bridge_list); region 128 drivers/fpga/of-fpga-region.c ®ion->bridge_list); region 133 drivers/fpga/of-fpga-region.c fpga_bridges_put(®ion->bridge_list); region 193 drivers/fpga/of-fpga-region.c struct fpga_region *region, region 196 drivers/fpga/of-fpga-region.c struct device *dev = ®ion->dev; region 201 drivers/fpga/of-fpga-region.c if (region->info) { region 284 drivers/fpga/of-fpga-region.c static int of_fpga_region_notify_pre_apply(struct fpga_region *region, region 287 drivers/fpga/of-fpga-region.c struct device *dev = ®ion->dev; region 291 drivers/fpga/of-fpga-region.c info = of_fpga_region_parse_ov(region, nd->overlay); region 299 drivers/fpga/of-fpga-region.c if (region->info) { region 304 drivers/fpga/of-fpga-region.c region->info = info; region 305 drivers/fpga/of-fpga-region.c ret = fpga_region_program_fpga(region); region 309 drivers/fpga/of-fpga-region.c region->info = NULL; region 324 drivers/fpga/of-fpga-region.c static void of_fpga_region_notify_post_remove(struct fpga_region *region, region 327 drivers/fpga/of-fpga-region.c fpga_bridges_disable(®ion->bridge_list); region 328 drivers/fpga/of-fpga-region.c fpga_bridges_put(®ion->bridge_list); region 329 drivers/fpga/of-fpga-region.c fpga_image_info_free(region->info); region 330 drivers/fpga/of-fpga-region.c region->info = NULL; region 348 drivers/fpga/of-fpga-region.c struct fpga_region *region; region 368 drivers/fpga/of-fpga-region.c region = of_fpga_region_find(nd->target); region 369 drivers/fpga/of-fpga-region.c if (!region) region 375 drivers/fpga/of-fpga-region.c ret = of_fpga_region_notify_pre_apply(region, nd); region 379 drivers/fpga/of-fpga-region.c of_fpga_region_notify_post_remove(region, nd); region 383 drivers/fpga/of-fpga-region.c put_device(®ion->dev); region 399 drivers/fpga/of-fpga-region.c struct fpga_region *region; region 408 drivers/fpga/of-fpga-region.c region = devm_fpga_region_create(dev, mgr, of_fpga_region_get_bridges); region 409 drivers/fpga/of-fpga-region.c if (!region) { region 414 drivers/fpga/of-fpga-region.c ret = fpga_region_register(region); region 418 drivers/fpga/of-fpga-region.c of_platform_populate(np, fpga_region_of_match, NULL, ®ion->dev); region 419 drivers/fpga/of-fpga-region.c platform_set_drvdata(pdev, region); region 432 drivers/fpga/of-fpga-region.c struct fpga_region *region = platform_get_drvdata(pdev); region 433 drivers/fpga/of-fpga-region.c struct fpga_manager *mgr = region->mgr; region 435 drivers/fpga/of-fpga-region.c fpga_region_unregister(region); region 290 drivers/gpu/drm/gma500/accel_2d.c const struct fb_copyarea *region) region 296 drivers/gpu/drm/gma500/accel_2d.c if (region->width == 8 || region->height == 8 || region 298 drivers/gpu/drm/gma500/accel_2d.c return drm_fb_helper_cfb_copyarea(info, region); region 300 drivers/gpu/drm/gma500/accel_2d.c psbfb_copyarea_accel(info, region); region 698 drivers/gpu/drm/gma500/psb_drv.h const struct fb_copyarea *region); region 202 drivers/gpu/drm/i915/gvt/gvt.h struct vfio_region *region; region 69 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_region *region); region 414 drivers/gpu/drm/i915/gvt/kvmgt.c void *base = vgpu->vdev.region[i].data; region 417 drivers/gpu/drm/i915/gvt/kvmgt.c if (pos >= vgpu->vdev.region[i].size || iswrite) { region 421 drivers/gpu/drm/i915/gvt/kvmgt.c count = min(count, (size_t)(vgpu->vdev.region[i].size - pos)); region 428 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_region *region) region 438 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_edid_region *region, char *buf, region 441 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_region_gfx_edid *regs = ®ion->vfio_edid_regs; region 456 drivers/gpu/drm/i915/gvt/kvmgt.c (u8 *)region->edid_blob, region 494 drivers/gpu/drm/i915/gvt/kvmgt.c static int handle_edid_blob(struct vfio_edid_region *region, char *buf, region 497 drivers/gpu/drm/i915/gvt/kvmgt.c if (offset + count > region->vfio_edid_regs.edid_size) region 501 drivers/gpu/drm/i915/gvt/kvmgt.c memcpy(region->edid_blob + offset, buf, count); region 503 drivers/gpu/drm/i915/gvt/kvmgt.c memcpy(buf, region->edid_blob + offset, count); region 514 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_edid_region *region = region 515 drivers/gpu/drm/i915/gvt/kvmgt.c (struct vfio_edid_region *)vgpu->vdev.region[i].data; region 518 drivers/gpu/drm/i915/gvt/kvmgt.c if (pos < region->vfio_edid_regs.edid_offset) { region 519 drivers/gpu/drm/i915/gvt/kvmgt.c ret = handle_edid_regs(vgpu, region, buf, count, pos, iswrite); region 522 drivers/gpu/drm/i915/gvt/kvmgt.c ret = handle_edid_blob(region, buf, count, pos, iswrite); region 532 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_region *region) region 534 drivers/gpu/drm/i915/gvt/kvmgt.c kfree(region->data); region 547 drivers/gpu/drm/i915/gvt/kvmgt.c struct vfio_region *region; region 549 drivers/gpu/drm/i915/gvt/kvmgt.c region = krealloc(vgpu->vdev.region, region 550 drivers/gpu/drm/i915/gvt/kvmgt.c (vgpu->vdev.num_regions + 1) * sizeof(*region), region 552 drivers/gpu/drm/i915/gvt/kvmgt.c if (!region) region 555 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region = region; region 556 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[vgpu->vdev.num_regions].type = type; region 557 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[vgpu->vdev.num_regions].subtype = subtype; region 558 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[vgpu->vdev.num_regions].ops = ops; region 559 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[vgpu->vdev.num_regions].size = size; region 560 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[vgpu->vdev.num_regions].flags = flags; region 561 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[vgpu->vdev.num_regions].data = data; region 974 drivers/gpu/drm/i915/gvt/kvmgt.c return vgpu->vdev.region[index].ops->rw(vgpu, buf, count, region 1399 drivers/gpu/drm/i915/gvt/kvmgt.c info.size = vgpu->vdev.region[i].size; region 1400 drivers/gpu/drm/i915/gvt/kvmgt.c info.flags = vgpu->vdev.region[i].flags; region 1402 drivers/gpu/drm/i915/gvt/kvmgt.c cap_type.type = vgpu->vdev.region[i].type; region 1403 drivers/gpu/drm/i915/gvt/kvmgt.c cap_type.subtype = vgpu->vdev.region[i].subtype; region 1826 drivers/gpu/drm/i915/gvt/kvmgt.c if (!vgpu->vdev.region) region 1830 drivers/gpu/drm/i915/gvt/kvmgt.c if (vgpu->vdev.region[i].ops->release) region 1831 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region[i].ops->release(vgpu, region 1832 drivers/gpu/drm/i915/gvt/kvmgt.c &vgpu->vdev.region[i]); region 1834 drivers/gpu/drm/i915/gvt/kvmgt.c kfree(vgpu->vdev.region); region 1835 drivers/gpu/drm/i915/gvt/kvmgt.c vgpu->vdev.region = NULL; region 25 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h void (*tile)(struct nvkm_engine *, int region, struct nvkm_fb_tile *); region 50 drivers/gpu/drm/nouveau/include/nvkm/core/engine.h void nvkm_engine_tile(struct nvkm_engine *, int region); region 40 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h struct nvkm_fb_tile region[16]; region 50 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h void nvkm_fb_tile_init(struct nvkm_fb *, int region, u32 addr, u32 size, region 52 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h void nvkm_fb_tile_fini(struct nvkm_fb *, int region, struct nvkm_fb_tile *); region 53 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h void nvkm_fb_tile_prog(struct nvkm_fb *, int region, struct nvkm_fb_tile *); region 58 drivers/gpu/drm/nouveau/nouveau_bo.c struct nvkm_fb_tile *tile = &fb->tile.region[i]; region 119 drivers/gpu/drm/nouveau/nouveau_bo.c } else if (tile && fb->tile.region[i].pitch) { region 51 drivers/gpu/drm/nouveau/nouveau_fbcon.h int nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); region 57 drivers/gpu/drm/nouveau/nouveau_fbcon.h int nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); region 62 drivers/gpu/drm/nouveau/nouveau_fbcon.h int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); region 30 drivers/gpu/drm/nouveau/nv04_fbcon.c nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 42 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (region->sy << 16) | region->sx); region 43 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (region->dy << 16) | region->dx); region 44 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, (region->height << 16) | region->width); region 66 drivers/gpu/drm/nouveau/nv50_fbcon.c nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 80 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->dx); region 81 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->dy); region 82 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->width); region 83 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->height); region 86 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->sx); region 88 drivers/gpu/drm/nouveau/nv50_fbcon.c OUT_RING(chan, region->sy); region 66 drivers/gpu/drm/nouveau/nvc0_fbcon.c nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 80 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->dx); region 81 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->dy); region 82 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->width); region 83 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->height); region 86 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->sx); region 88 drivers/gpu/drm/nouveau/nvc0_fbcon.c OUT_RING (chan, region->sy); region 70 drivers/gpu/drm/nouveau/nvkm/core/engine.c nvkm_engine_tile(struct nvkm_engine *engine, int region) region 74 drivers/gpu/drm/nouveau/nvkm/core/engine.c engine->func->tile(engine, region, &fb->tile.region[region]); region 65 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c nvkm_gr_tile(struct nvkm_engine *engine, int region, struct nvkm_fb_tile *tile) region 69 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c gr->func->tile(gr, region, tile); region 21 drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h void (*tile)(struct nvkm_gr *, int region, struct nvkm_fb_tile *); region 35 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_tile_fini(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) region 37 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.fini(fb, region, tile); region 41 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_tile_init(struct nvkm_fb *fb, int region, u32 addr, u32 size, region 44 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); region 48 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_fb_tile_prog(struct nvkm_fb *fb, int region, struct nvkm_fb_tile *tile) region 52 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.prog(fb, region, tile); region 54 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_engine_tile(&device->gr->engine, region); region 56 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c nvkm_engine_tile(device->mpeg, region); region 141 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.prog(fb, i, &fb->tile.region[i]); region 170 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c fb->func->tile.fini(fb, i, &fb->tile.region[i]); region 58 drivers/gpu/drm/panfrost/panfrost_mmu.c u64 region = iova & PAGE_MASK; region 74 drivers/gpu/drm/panfrost/panfrost_mmu.c region |= region_width; region 77 drivers/gpu/drm/panfrost/panfrost_mmu.c mmu_write(pfdev, AS_LOCKADDR_LO(as_nr), region & 0xFFFFFFFFUL); region 78 drivers/gpu/drm/panfrost/panfrost_mmu.c mmu_write(pfdev, AS_LOCKADDR_HI(as_nr), (region >> 32) & 0xFFFFFFFFUL); region 375 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c static void vmw_fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 377 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c cfb_copyarea(info, region); region 378 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c vmw_fb_dirty_mark(info->par, region->dx, region->dy, region 379 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c region->width, region->height); region 616 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_clip_rect region; region 620 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c region.x1 = diff.rect.x1; region 621 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c region.x2 = diff.rect.x2; region 622 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c region.y1 = diff.rect.y1; region 623 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c region.y2 = diff.rect.y2; region 624 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ret = vmw_kms_update_proxy(&stdu->display_srf->res, ®ion, region 636 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c region.x1, region.x2, region 637 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c region.y1, region.y2); region 295 drivers/infiniband/hw/hns/hns_roce_alloc.c void hns_roce_init_buf_region(struct hns_roce_buf_region *region, int hopnum, region 299 drivers/infiniband/hw/hns/hns_roce_alloc.c region->hopnum = 0; region 301 drivers/infiniband/hw/hns/hns_roce_alloc.c region->hopnum = hopnum; region 303 drivers/infiniband/hw/hns/hns_roce_alloc.c region->offset = offset; region 304 drivers/infiniband/hw/hns/hns_roce_alloc.c region->count = buf_cnt; region 1217 drivers/infiniband/hw/hns/hns_roce_device.h void hns_roce_init_buf_region(struct hns_roce_buf_region *region, int hopnum, region 1314 drivers/infiniband/hw/i40iw/i40iw_verbs.c struct ib_umem *region = iwmr->region; region 1324 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwpbl->qp_mr.sq_page = sg_page(region->sg_head.sgl); region 1326 drivers/infiniband/hw/i40iw/i40iw_verbs.c rdma_for_each_block(region->sg_head.sgl, &biter, region->nmap, region 1749 drivers/infiniband/hw/i40iw/i40iw_verbs.c struct ib_umem *region; region 1766 drivers/infiniband/hw/i40iw/i40iw_verbs.c region = ib_umem_get(udata, start, length, acc, 0); region 1767 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (IS_ERR(region)) region 1768 drivers/infiniband/hw/i40iw/i40iw_verbs.c return (struct ib_mr *)region; region 1771 drivers/infiniband/hw/i40iw/i40iw_verbs.c ib_umem_release(region); region 1777 drivers/infiniband/hw/i40iw/i40iw_verbs.c ib_umem_release(region); region 1783 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwmr->region = region; region 1789 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwmr->page_size = ib_umem_find_best_pgsz(region, SZ_4K | SZ_2M, region 1792 drivers/infiniband/hw/i40iw/i40iw_verbs.c region_length = region->length + (start & (iwmr->page_size - 1)); region 1796 drivers/infiniband/hw/i40iw/i40iw_verbs.c iwmr->length = region->length; region 1872 drivers/infiniband/hw/i40iw/i40iw_verbs.c ib_umem_release(region); region 1998 drivers/infiniband/hw/i40iw/i40iw_verbs.c ib_umem_release(iwmr->region); region 2002 drivers/infiniband/hw/i40iw/i40iw_verbs.c if (iwmr->region) { region 94 drivers/infiniband/hw/i40iw/i40iw_verbs.h struct ib_umem *region; region 3179 drivers/iommu/amd_iommu.c struct iommu_resv_region *region; region 3204 drivers/iommu/amd_iommu.c region = iommu_alloc_resv_region(entry->address_start, region 3206 drivers/iommu/amd_iommu.c if (!region) { region 3210 drivers/iommu/amd_iommu.c list_add_tail(®ion->list, head); region 3213 drivers/iommu/amd_iommu.c region = iommu_alloc_resv_region(MSI_RANGE_START, region 3216 drivers/iommu/amd_iommu.c if (!region) region 3218 drivers/iommu/amd_iommu.c list_add_tail(®ion->list, head); region 3220 drivers/iommu/amd_iommu.c region = iommu_alloc_resv_region(HT_RANGE_START, region 3223 drivers/iommu/amd_iommu.c if (!region) region 3225 drivers/iommu/amd_iommu.c list_add_tail(®ion->list, head); region 3239 drivers/iommu/amd_iommu.c struct iommu_resv_region *region) region 3244 drivers/iommu/amd_iommu.c start = IOVA_PFN(region->start); region 3245 drivers/iommu/amd_iommu.c end = IOVA_PFN(region->start + region->length - 1); region 2702 drivers/iommu/arm-smmu-v3.c struct iommu_resv_region *region; region 2705 drivers/iommu/arm-smmu-v3.c region = iommu_alloc_resv_region(MSI_IOVA_BASE, MSI_IOVA_LENGTH, region 2707 drivers/iommu/arm-smmu-v3.c if (!region) region 2710 drivers/iommu/arm-smmu-v3.c list_add_tail(®ion->list, head); region 1533 drivers/iommu/arm-smmu.c struct iommu_resv_region *region; region 1536 drivers/iommu/arm-smmu.c region = iommu_alloc_resv_region(MSI_IOVA_BASE, MSI_IOVA_LENGTH, region 1538 drivers/iommu/arm-smmu.c if (!region) region 1541 drivers/iommu/arm-smmu.c list_add_tail(®ion->list, head); region 242 drivers/iommu/dma-iommu.c struct iommu_resv_region *region; region 253 drivers/iommu/dma-iommu.c list_for_each_entry(region, &resv_regions, list) { region 257 drivers/iommu/dma-iommu.c if (region->type == IOMMU_RESV_SW_MSI) region 260 drivers/iommu/dma-iommu.c lo = iova_pfn(iovad, region->start); region 261 drivers/iommu/dma-iommu.c hi = iova_pfn(iovad, region->start + region->length - 1); region 264 drivers/iommu/dma-iommu.c if (region->type == IOMMU_RESV_MSI) region 265 drivers/iommu/dma-iommu.c ret = cookie_init_hw_msi_region(cookie, region->start, region 266 drivers/iommu/dma-iommu.c region->start + region->length); region 5785 drivers/iommu/intel-iommu.c struct iommu_resv_region *region) region 5790 drivers/iommu/intel-iommu.c start = IOVA_PFN(region->start); region 5791 drivers/iommu/intel-iommu.c end = IOVA_PFN(region->start + region->length - 1); region 384 drivers/iommu/iommu.c struct iommu_resv_region *region, *next; region 391 drivers/iommu/iommu.c list_for_each_entry_safe(region, next, &group_resv_regions, list) { region 393 drivers/iommu/iommu.c (long long int)region->start, region 394 drivers/iommu/iommu.c (long long int)(region->start + region 395 drivers/iommu/iommu.c region->length - 1), region 396 drivers/iommu/iommu.c iommu_group_resv_type_string[region->type]); region 397 drivers/iommu/iommu.c kfree(region); region 2176 drivers/iommu/iommu.c struct iommu_resv_region *region; region 2178 drivers/iommu/iommu.c region = kzalloc(sizeof(*region), GFP_KERNEL); region 2179 drivers/iommu/iommu.c if (!region) region 2182 drivers/iommu/iommu.c INIT_LIST_HEAD(®ion->list); region 2183 drivers/iommu/iommu.c region->start = start; region 2184 drivers/iommu/iommu.c region->length = length; region 2185 drivers/iommu/iommu.c region->prot = prot; region 2186 drivers/iommu/iommu.c region->type = type; region 2187 drivers/iommu/iommu.c return region; region 426 drivers/iommu/virtio-iommu.c struct iommu_resv_region *region = NULL; region 446 drivers/iommu/virtio-iommu.c region = iommu_alloc_resv_region(start, size, 0, region 450 drivers/iommu/virtio-iommu.c region = iommu_alloc_resv_region(start, size, prot, region 454 drivers/iommu/virtio-iommu.c if (!region) region 457 drivers/iommu/virtio-iommu.c list_add(®ion->list, &vdev->resv_regions); region 499 drivers/ipack/carriers/tpci200.c dev->region[space].start = region 502 drivers/ipack/carriers/tpci200.c dev->region[space].size = tpci200_space_size[space]; region 271 drivers/ipack/devices/ipoctal.c struct ipack_region *region; region 278 drivers/ipack/devices/ipoctal.c region = &ipoctal->dev->region[IPACK_IO_SPACE]; region 280 drivers/ipack/devices/ipoctal.c region->start, region->size); region 293 drivers/ipack/devices/ipoctal.c region = &ipoctal->dev->region[IPACK_INT_SPACE]; region 296 drivers/ipack/devices/ipoctal.c region->start, region->size); region 304 drivers/ipack/devices/ipoctal.c region = &ipoctal->dev->region[IPACK_MEM8_SPACE]; region 307 drivers/ipack/devices/ipoctal.c region->start, 0x8000); region 354 drivers/ipack/ipack.c idmem = ioremap(dev->region[IPACK_ID_SPACE].start, region 355 drivers/ipack/ipack.c dev->region[IPACK_ID_SPACE].size); region 804 drivers/irqchip/irq-gic-v3.c static int __gic_populate_rdist(struct redist_region *region, void __iomem *ptr) region 821 drivers/irqchip/irq-gic-v3.c u64 offset = ptr - region->redist_base; region 823 drivers/irqchip/irq-gic-v3.c gic_data_rdist()->phys_base = region->phys_base + offset; region 827 drivers/irqchip/irq-gic-v3.c (int)(region - gic_data.redist_regions), region 848 drivers/irqchip/irq-gic-v3.c static int __gic_update_rdist_properties(struct redist_region *region, region 163 drivers/irqchip/qcom-pdc.c struct pdc_pin_region *region; region 166 drivers/irqchip/qcom-pdc.c region = &pdc_region[i]; region 167 drivers/irqchip/qcom-pdc.c if (pin >= region->pin_base && region 168 drivers/irqchip/qcom-pdc.c pin < region->pin_base + region->cnt) region 169 drivers/irqchip/qcom-pdc.c return (region->parent_base + pin - region->pin_base); region 565 drivers/md/dm-bufio.c struct dm_io_region region = { region 579 drivers/md/dm-bufio.c r = dm_io(&io_req, 1, ®ion, NULL); region 91 drivers/md/dm-io.c unsigned region) region 98 drivers/md/dm-io.c bio->bi_private = (void *)((unsigned long)io | region); region 102 drivers/md/dm-io.c unsigned *region) region 107 drivers/md/dm-io.c *region = val & (DM_IO_MAX_REGIONS - 1); region 128 drivers/md/dm-io.c static void dec_count(struct io *io, unsigned int region, blk_status_t error) region 131 drivers/md/dm-io.c set_bit(region, &io->error_bits); region 140 drivers/md/dm-io.c unsigned region; region 149 drivers/md/dm-io.c retrieve_io_and_region_from_bio(bio, &io, ®ion); region 154 drivers/md/dm-io.c dec_count(io, region, error); region 296 drivers/md/dm-io.c static void do_region(int op, int op_flags, unsigned region, region 323 drivers/md/dm-io.c dec_count(io, region, BLK_STS_NOTSUPP); region 353 drivers/md/dm-io.c store_io_and_region_in_bio(bio, io, region); region 24 drivers/md/dm-log-userspace-base.c region_t region; region 407 drivers/md/dm-log-userspace-base.c static int userspace_is_clean(struct dm_dirty_log *log, region_t region) region 410 drivers/md/dm-log-userspace-base.c uint64_t region64 = (uint64_t)region; region 434 drivers/md/dm-log-userspace-base.c static int userspace_in_sync(struct dm_dirty_log *log, region_t region, region 438 drivers/md/dm-log-userspace-base.c uint64_t region64 = region; region 473 drivers/md/dm-log-userspace-base.c (char *)&fe->region, region 474 drivers/md/dm-log-userspace-base.c sizeof(fe->region), region 500 drivers/md/dm-log-userspace-base.c group[count] = fe->region; region 648 drivers/md/dm-log-userspace-base.c static void userspace_mark_region(struct dm_dirty_log *log, region_t region) region 660 drivers/md/dm-log-userspace-base.c fe->region = region; region 677 drivers/md/dm-log-userspace-base.c static void userspace_clear_region(struct dm_dirty_log *log, region_t region) region 697 drivers/md/dm-log-userspace-base.c fe->region = region; region 712 drivers/md/dm-log-userspace-base.c static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) region 729 drivers/md/dm-log-userspace-base.c *region = pkg.r; region 740 drivers/md/dm-log-userspace-base.c region_t region, int in_sync) region 748 drivers/md/dm-log-userspace-base.c pkg.r = region; region 833 drivers/md/dm-log-userspace-base.c region_t region) region 836 drivers/md/dm-log-userspace-base.c uint64_t region64 = region; region 852 drivers/md/dm-log-userspace-base.c if (region < lc->in_sync_hint) region 662 drivers/md/dm-log.c static int core_is_clean(struct dm_dirty_log *log, region_t region) region 665 drivers/md/dm-log.c return log_test_bit(lc->clean_bits, region); region 668 drivers/md/dm-log.c static int core_in_sync(struct dm_dirty_log *log, region_t region, int block) region 671 drivers/md/dm-log.c return log_test_bit(lc->sync_bits, region); region 720 drivers/md/dm-log.c static void core_mark_region(struct dm_dirty_log *log, region_t region) region 723 drivers/md/dm-log.c log_clear_bit(lc, lc->clean_bits, region); region 726 drivers/md/dm-log.c static void core_clear_region(struct dm_dirty_log *log, region_t region) region 730 drivers/md/dm-log.c log_set_bit(lc, lc->clean_bits, region); region 733 drivers/md/dm-log.c static int core_get_resync_work(struct dm_dirty_log *log, region_t *region) region 741 drivers/md/dm-log.c *region = find_next_zero_bit_le(lc->sync_bits, region 744 drivers/md/dm-log.c lc->sync_search = *region + 1; region 746 drivers/md/dm-log.c if (*region >= lc->region_count) region 749 drivers/md/dm-log.c } while (log_test_bit(lc->recovering_bits, *region)); region 751 drivers/md/dm-log.c log_set_bit(lc, lc->recovering_bits, *region); region 755 drivers/md/dm-log.c static void core_set_region_sync(struct dm_dirty_log *log, region_t region, region 760 drivers/md/dm-log.c log_clear_bit(lc, lc->recovering_bits, region); region 762 drivers/md/dm-log.c log_set_bit(lc, lc->sync_bits, region); region 764 drivers/md/dm-log.c } else if (log_test_bit(lc->sync_bits, region)) { region 766 drivers/md/dm-log.c log_clear_bit(lc, lc->sync_bits, region); region 440 drivers/md/dm-raid1.c region_t region = dm_rh_bio_to_region(ms->rh, bio); region 442 drivers/md/dm-raid1.c if (log->type->in_sync(log, region, 0)) region 552 drivers/md/dm-raid1.c static inline int region_in_sync(struct mirror_set *ms, region_t region, region 555 drivers/md/dm-raid1.c int state = dm_rh_get_state(ms->rh, region, may_block); region 561 drivers/md/dm-raid1.c region_t region; region 566 drivers/md/dm-raid1.c region = dm_rh_bio_to_region(ms->rh, bio); region 572 drivers/md/dm-raid1.c if (likely(region_in_sync(ms, region, 1))) region 686 drivers/md/dm-raid1.c region_t region; region 706 drivers/md/dm-raid1.c region = dm_rh_bio_to_region(ms->rh, bio); region 709 drivers/md/dm-raid1.c log->type->is_remote_recovering(log, region)) { region 714 drivers/md/dm-raid1.c state = dm_rh_get_state(ms->rh, region, 1); region 122 drivers/md/dm-region-hash.c sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) region 124 drivers/md/dm-region-hash.c return region << rh->region_shift; region 266 drivers/md/dm-region-hash.c static unsigned rh_hash(struct dm_region_hash *rh, region_t region) region 268 drivers/md/dm-region-hash.c return (unsigned) ((region * rh->prime) >> rh->shift) & rh->mask; region 271 drivers/md/dm-region-hash.c static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) region 274 drivers/md/dm-region-hash.c struct list_head *bucket = rh->buckets + rh_hash(rh, region); region 277 drivers/md/dm-region-hash.c if (reg->key == region) region 288 drivers/md/dm-region-hash.c static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) region 296 drivers/md/dm-region-hash.c nreg->state = rh->log->type->in_sync(rh->log, region, 1) ? region 299 drivers/md/dm-region-hash.c nreg->key = region; region 305 drivers/md/dm-region-hash.c reg = __rh_lookup(rh, region); region 324 drivers/md/dm-region-hash.c static struct dm_region *__rh_find(struct dm_region_hash *rh, region_t region) region 328 drivers/md/dm-region-hash.c reg = __rh_lookup(rh, region); region 331 drivers/md/dm-region-hash.c reg = __rh_alloc(rh, region); region 338 drivers/md/dm-region-hash.c int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block) region 344 drivers/md/dm-region-hash.c reg = __rh_lookup(rh, region); region 354 drivers/md/dm-region-hash.c r = rh->log->type->in_sync(rh->log, region, may_block); region 400 drivers/md/dm-region-hash.c region_t region = dm_rh_bio_to_region(rh, bio); region 412 drivers/md/dm-region-hash.c log->type->set_region_sync(log, region, 0); region 415 drivers/md/dm-region-hash.c reg = __rh_find(rh, region); region 503 drivers/md/dm-region-hash.c static void rh_inc(struct dm_region_hash *rh, region_t region) region 508 drivers/md/dm-region-hash.c reg = __rh_find(rh, region); region 538 drivers/md/dm-region-hash.c void dm_rh_dec(struct dm_region_hash *rh, region_t region) region 545 drivers/md/dm-region-hash.c reg = __rh_lookup(rh, region); region 590 drivers/md/dm-region-hash.c region_t region; region 596 drivers/md/dm-region-hash.c r = rh->log->type->get_resync_work(rh->log, ®ion); region 605 drivers/md/dm-region-hash.c reg = __rh_find(rh, region); region 453 drivers/md/dm-writecache.c struct dm_io_region region; region 470 drivers/md/dm-writecache.c region.bdev = wc->ssd_dev->bdev; region 471 drivers/md/dm-writecache.c region.sector = (sector_t)i * (BITMAP_GRANULARITY >> SECTOR_SHIFT); region 472 drivers/md/dm-writecache.c region.count = (sector_t)(j - i) * (BITMAP_GRANULARITY >> SECTOR_SHIFT); region 474 drivers/md/dm-writecache.c if (unlikely(region.sector >= wc->metadata_sectors)) region 476 drivers/md/dm-writecache.c if (unlikely(region.sector + region.count > wc->metadata_sectors)) region 477 drivers/md/dm-writecache.c region.count = wc->metadata_sectors - region.sector; region 479 drivers/md/dm-writecache.c region.sector += wc->start_sector; region 490 drivers/md/dm-writecache.c (void) dm_io(&req, 1, ®ion, NULL); region 516 drivers/md/dm-writecache.c struct dm_io_region region; region 519 drivers/md/dm-writecache.c region.bdev = dev->bdev; region 520 drivers/md/dm-writecache.c region.sector = 0; region 521 drivers/md/dm-writecache.c region.count = 0; region 529 drivers/md/dm-writecache.c r = dm_io(&req, 1, ®ion, NULL); region 883 drivers/md/dm-writecache.c struct dm_io_region region; region 886 drivers/md/dm-writecache.c region.bdev = wc->ssd_dev->bdev; region 887 drivers/md/dm-writecache.c region.sector = wc->start_sector; region 888 drivers/md/dm-writecache.c region.count = n_sectors; region 896 drivers/md/dm-writecache.c return dm_io(&req, 1, ®ion, NULL); region 59 drivers/media/i2c/adv748x/adv748x-core.c static int adv748x_configure_regmap(struct adv748x_state *state, int region) region 63 drivers/media/i2c/adv748x/adv748x-core.c if (!state->i2c_clients[region]) region 66 drivers/media/i2c/adv748x/adv748x-core.c state->regmap[region] = region 67 drivers/media/i2c/adv748x/adv748x-core.c devm_regmap_init_i2c(state->i2c_clients[region], region 68 drivers/media/i2c/adv748x/adv748x-core.c &adv748x_regmap_cnf[region]); region 70 drivers/media/i2c/adv748x/adv748x-core.c if (IS_ERR(state->regmap[region])) { region 71 drivers/media/i2c/adv748x/adv748x-core.c err = PTR_ERR(state->regmap[region]); region 74 drivers/media/i2c/adv748x/adv748x-core.c region, err); region 3292 drivers/media/i2c/adv7604.c static int configure_regmap(struct adv76xx_state *state, int region) region 3296 drivers/media/i2c/adv7604.c if (!state->i2c_clients[region]) region 3299 drivers/media/i2c/adv7604.c state->regmap[region] = region 3300 drivers/media/i2c/adv7604.c devm_regmap_init_i2c(state->i2c_clients[region], region 3301 drivers/media/i2c/adv7604.c &adv76xx_regmap_cnf[region]); region 3303 drivers/media/i2c/adv7604.c if (IS_ERR(state->regmap[region])) { region 3304 drivers/media/i2c/adv7604.c err = PTR_ERR(state->regmap[region]); region 3305 drivers/media/i2c/adv7604.c v4l_err(state->i2c_clients[region], region 3307 drivers/media/i2c/adv7604.c region, err); region 87 drivers/media/platform/omap3isp/isphist.c reg_hor[c] = (conf->region[c].h_start << region 89 drivers/media/platform/omap3isp/isphist.c | (conf->region[c].h_end << region 91 drivers/media/platform/omap3isp/isphist.c reg_ver[c] = (conf->region[c].v_start << region 93 drivers/media/platform/omap3isp/isphist.c | (conf->region[c].v_end << region 321 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].h_start & ~ISPHIST_REG_START_END_MASK) region 323 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].h_end & ~ISPHIST_REG_START_END_MASK) region 325 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].v_start & ~ISPHIST_REG_START_END_MASK) region 327 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].v_end & ~ISPHIST_REG_START_END_MASK) region 329 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].h_start > user_cfg->region[c].h_end) region 331 drivers/media/platform/omap3isp/isphist.c if (user_cfg->region[c].v_start > user_cfg->region[c].v_end) region 387 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].h_start != user_cfg->region[c].h_start) region 389 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].h_end != user_cfg->region[c].h_end) region 391 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].v_start != user_cfg->region[c].v_start) region 393 drivers/media/platform/omap3isp/isphist.c if (cur_cfg->region[c].v_end != user_cfg->region[c].v_end) region 138 drivers/media/radio/wl128x/fmdrv.h struct region_info region; /* Current selected band */ region 183 drivers/media/radio/wl128x/fmdrv.h u8 region; region 240 drivers/media/radio/wl128x/fmdrv_common.c fmdev->rx.region = region_configs[region_to_set]; region 626 drivers/media/radio/wl128x/fmdrv_common.c u8 reg_idx = fmdev->rx.region.fm_band; region 645 drivers/media/radio/wl128x/fmdrv_common.c freq = fmdev->rx.region.bot_freq + (af * 100); region 907 drivers/media/radio/wl128x/fmdrv_common.c fmdev->rx.region.bot_freq) / FM_FREQ_MUL; region 977 drivers/media/radio/wl128x/fmdrv_common.c curr_freq = fmdev->rx.region.bot_freq + ((u32)read_freq * FM_FREQ_MUL); region 1553 drivers/media/radio/wl128x/fmdrv_common.c fmdev->rx.region = region_configs[default_radio_region]; region 41 drivers/media/radio/wl128x/fmdrv_rx.c if (freq < fmdev->rx.region.bot_freq || freq > fmdev->rx.region.top_freq) { region 62 drivers/media/radio/wl128x/fmdrv_rx.c payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; region 107 drivers/media/radio/wl128x/fmdrv_rx.c curr_frq_in_khz = (fmdev->rx.region.bot_freq + ((u32)curr_frq * FM_FREQ_MUL)); region 151 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.region.chanl_space = spacing * FM_FREQ_MUL; region 180 drivers/media/radio/wl128x/fmdrv_rx.c last_frq = (fmdev->rx.region.top_freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; region 183 drivers/media/radio/wl128x/fmdrv_rx.c space_idx = fmdev->rx.region.chanl_space / FM_FREQ_MUL; region 257 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.region.top_freq : region 258 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.region.bot_freq; region 261 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.region.bot_freq : region 262 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.region.top_freq; region 265 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.region.bot_freq) / FM_FREQ_MUL; region 276 drivers/media/radio/wl128x/fmdrv_rx.c fmdev->rx.freq = (fmdev->rx.region.bot_freq + region 332 drivers/media/radio/wl128x/fmdrv_rx.c *bot_freq = fmdev->rx.region.bot_freq; region 335 drivers/media/radio/wl128x/fmdrv_rx.c *top_freq = fmdev->rx.region.top_freq; region 341 drivers/media/radio/wl128x/fmdrv_rx.c void fm_rx_get_region(struct fmdev *fmdev, u8 *region) region 343 drivers/media/radio/wl128x/fmdrv_rx.c *region = fmdev->rx.region.fm_band; region 359 drivers/media/radio/wl128x/fmdrv_rx.c if (fmdev->rx.region.fm_band == region_to_set) { region 374 drivers/media/radio/wl128x/fmdrv_rx.c if (fmdev->rx.freq < fmdev->rx.region.bot_freq) region 375 drivers/media/radio/wl128x/fmdrv_rx.c new_frq = fmdev->rx.region.bot_freq; region 376 drivers/media/radio/wl128x/fmdrv_rx.c else if (fmdev->rx.freq > fmdev->rx.region.top_freq) region 377 drivers/media/radio/wl128x/fmdrv_rx.c new_frq = fmdev->rx.region.top_freq; region 186 drivers/media/radio/wl128x/fmdrv_tx.c int fm_tx_set_region(struct fmdev *fmdev, u8 region) region 191 drivers/media/radio/wl128x/fmdrv_tx.c if (region != FM_BAND_EUROPE_US && region != FM_BAND_JAPAN) { region 197 drivers/media/radio/wl128x/fmdrv_tx.c payload = (u16)region; region 200 drivers/misc/lkdtm/heap.c static void ctor_double_free(void *region) region 202 drivers/misc/lkdtm/heap.c static void ctor_a(void *region) region 204 drivers/misc/lkdtm/heap.c static void ctor_b(void *region) region 409 drivers/misc/sgi-xp/xpc_partition.c int region; region 454 drivers/misc/sgi-xp/xpc_partition.c for (region = 0; region < max_regions; region++) { region 459 drivers/misc/sgi-xp/xpc_partition.c dev_dbg(xpc_part, "searching region %d\n", region); region 461 drivers/misc/sgi-xp/xpc_partition.c for (nasid = (region * region_size * 2); region 462 drivers/misc/sgi-xp/xpc_partition.c nasid < ((region + 1) * region_size * 2); nasid += 2) { region 2480 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_erase_region_info *region; region 2486 drivers/mtd/chips/cfi_cmdset_0001.c region = &mtd->eraseregions[i]; region 2487 drivers/mtd/chips/cfi_cmdset_0001.c if (!region->lockmap) region 2490 drivers/mtd/chips/cfi_cmdset_0001.c for (block = 0; block < region->numblocks; block++){ region 2491 drivers/mtd/chips/cfi_cmdset_0001.c len = region->erasesize; region 2492 drivers/mtd/chips/cfi_cmdset_0001.c adr = region->offset + block * len; region 2497 drivers/mtd/chips/cfi_cmdset_0001.c set_bit(block, region->lockmap); region 2499 drivers/mtd/chips/cfi_cmdset_0001.c clear_bit(block, region->lockmap); region 2580 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_erase_region_info *region; region 2586 drivers/mtd/chips/cfi_cmdset_0001.c region = &mtd->eraseregions[i]; region 2587 drivers/mtd/chips/cfi_cmdset_0001.c if (!region->lockmap) region 2590 drivers/mtd/chips/cfi_cmdset_0001.c for_each_clear_bit(block, region->lockmap, region->numblocks) { region 2591 drivers/mtd/chips/cfi_cmdset_0001.c len = region->erasesize; region 2592 drivers/mtd/chips/cfi_cmdset_0001.c adr = region->offset + block * len; region 2668 drivers/mtd/chips/cfi_cmdset_0001.c struct mtd_erase_region_info *region; region 2677 drivers/mtd/chips/cfi_cmdset_0001.c region = &mtd->eraseregions[i]; region 2678 drivers/mtd/chips/cfi_cmdset_0001.c kfree(region->lockmap); region 258 drivers/mtd/devices/st_spi_fsm.c struct resource *region; region 89 drivers/mtd/maps/pismo.c struct pismo_mem *region, const char *name, region 94 drivers/mtd/maps/pismo.c phys_addr_t base = region->base; region 101 drivers/mtd/maps/pismo.c res.end = base + region->size - 1; region 131 drivers/mtd/maps/pismo.c struct pismo_mem *region) region 134 drivers/mtd/maps/pismo.c .width = region->width, region 140 drivers/mtd/maps/pismo.c return pismo_add_device(pismo, i, region, "physmap-flash", region 145 drivers/mtd/maps/pismo.c struct pismo_mem *region) region 148 drivers/mtd/maps/pismo.c .bankwidth = region->width, region 151 drivers/mtd/maps/pismo.c return pismo_add_device(pismo, i, region, "mtd-ram", region 159 drivers/mtd/maps/pismo.c struct pismo_mem region; region 161 drivers/mtd/maps/pismo.c region.base = base; region 162 drivers/mtd/maps/pismo.c region.type = cs->type; region 163 drivers/mtd/maps/pismo.c region.width = pismo_width_to_bytes(cs->width); region 164 drivers/mtd/maps/pismo.c region.access = le16_to_cpu(cs->access); region 165 drivers/mtd/maps/pismo.c region.size = le32_to_cpu(cs->size); region 167 drivers/mtd/maps/pismo.c if (region.width == 0) { region 179 drivers/mtd/maps/pismo.c i, cs->device, region.type, region.access, region.size / 1024); region 181 drivers/mtd/maps/pismo.c switch (region.type) { region 189 drivers/mtd/maps/pismo.c pismo_add_nor(pismo, i, ®ion); region 193 drivers/mtd/maps/pismo.c pismo_add_sram(pismo, i, ®ion); region 106 drivers/mtd/maps/scb2_flash.c struct mtd_erase_region_info *region = &mtd->eraseregions[i]; region 107 drivers/mtd/maps/scb2_flash.c region->erasesize /= 2; region 117 drivers/mtd/maps/scb2_flash.c struct mtd_erase_region_info *region = &mtd->eraseregions[i]; region 119 drivers/mtd/maps/scb2_flash.c if (region->numblocks * region->erasesize > mtd->size) { region 120 drivers/mtd/maps/scb2_flash.c region->numblocks = ((unsigned long)mtd->size / region 121 drivers/mtd/maps/scb2_flash.c region->erasesize); region 124 drivers/mtd/maps/scb2_flash.c region->numblocks = 0; region 126 drivers/mtd/maps/scb2_flash.c region->offset = 0; region 2271 drivers/mtd/nand/onenand/onenand_base.c struct mtd_erase_region_info *region, region 2280 drivers/mtd/nand/onenand/onenand_base.c if (region) { region 2282 drivers/mtd/nand/onenand/onenand_base.c region_end = region->offset + region->erasesize * region->numblocks; region 2313 drivers/mtd/nand/onenand/onenand_base.c if (region && addr == region_end) { region 2316 drivers/mtd/nand/onenand/onenand_base.c region++; region 2318 drivers/mtd/nand/onenand/onenand_base.c block_size = region->erasesize; region 2319 drivers/mtd/nand/onenand/onenand_base.c region_end = region->offset + region->erasesize * region->numblocks; region 2346 drivers/mtd/nand/onenand/onenand_base.c struct mtd_erase_region_info *region = NULL; region 2357 drivers/mtd/nand/onenand/onenand_base.c region = &mtd->eraseregions[i]; region 2358 drivers/mtd/nand/onenand/onenand_base.c block_size = region->erasesize; region 2363 drivers/mtd/nand/onenand/onenand_base.c region_offset = region->offset; region 2382 drivers/mtd/nand/onenand/onenand_base.c if (ONENAND_IS_4KB_PAGE(this) || region || region 2386 drivers/mtd/nand/onenand/onenand_base.c region, block_size); region 929 drivers/mtd/nand/spi/core.c struct mtd_oob_region *region) region 935 drivers/mtd/nand/spi/core.c struct mtd_oob_region *region) region 941 drivers/mtd/nand/spi/core.c region->offset = 2; region 942 drivers/mtd/nand/spi/core.c region->length = 62; region 48 drivers/mtd/nand/spi/gigadevice.c struct mtd_oob_region *region) region 53 drivers/mtd/nand/spi/gigadevice.c region->offset = (16 * section) + 8; region 54 drivers/mtd/nand/spi/gigadevice.c region->length = 8; region 60 drivers/mtd/nand/spi/gigadevice.c struct mtd_oob_region *region) region 66 drivers/mtd/nand/spi/gigadevice.c region->offset = 16 * section; region 67 drivers/mtd/nand/spi/gigadevice.c region->length = 8; region 70 drivers/mtd/nand/spi/gigadevice.c region->offset = 1; region 71 drivers/mtd/nand/spi/gigadevice.c region->length = 7; region 106 drivers/mtd/nand/spi/gigadevice.c struct mtd_oob_region *region) region 111 drivers/mtd/nand/spi/gigadevice.c region->offset = 64; region 112 drivers/mtd/nand/spi/gigadevice.c region->length = 64; region 118 drivers/mtd/nand/spi/gigadevice.c struct mtd_oob_region *region) region 124 drivers/mtd/nand/spi/gigadevice.c region->offset = 1; region 125 drivers/mtd/nand/spi/gigadevice.c region->length = 63; region 30 drivers/mtd/nand/spi/macronix.c struct mtd_oob_region *region) region 36 drivers/mtd/nand/spi/macronix.c struct mtd_oob_region *region) region 41 drivers/mtd/nand/spi/macronix.c region->offset = 2; region 42 drivers/mtd/nand/spi/macronix.c region->length = mtd->oobsize - 2; region 38 drivers/mtd/nand/spi/micron.c struct mtd_oob_region *region) region 43 drivers/mtd/nand/spi/micron.c region->offset = 64; region 44 drivers/mtd/nand/spi/micron.c region->length = 64; region 50 drivers/mtd/nand/spi/micron.c struct mtd_oob_region *region) region 56 drivers/mtd/nand/spi/micron.c region->offset = 2; region 57 drivers/mtd/nand/spi/micron.c region->length = 62; region 42 drivers/mtd/nand/spi/paragon.c struct mtd_oob_region *region) region 47 drivers/mtd/nand/spi/paragon.c region->offset = 6 + (15 * section); /* 4 BBM + 2 user bytes */ region 48 drivers/mtd/nand/spi/paragon.c region->length = 13; region 54 drivers/mtd/nand/spi/paragon.c struct mtd_oob_region *region) region 60 drivers/mtd/nand/spi/paragon.c region->offset = 64; region 61 drivers/mtd/nand/spi/paragon.c region->length = 64; region 63 drivers/mtd/nand/spi/paragon.c region->offset = 4 + (15 * section); region 64 drivers/mtd/nand/spi/paragon.c region->length = 2; region 29 drivers/mtd/nand/spi/toshiba.c struct mtd_oob_region *region) region 34 drivers/mtd/nand/spi/toshiba.c region->offset = mtd->oobsize / 2; region 35 drivers/mtd/nand/spi/toshiba.c region->length = mtd->oobsize / 2; region 41 drivers/mtd/nand/spi/toshiba.c struct mtd_oob_region *region) region 47 drivers/mtd/nand/spi/toshiba.c region->offset = 2; region 48 drivers/mtd/nand/spi/toshiba.c region->length = (mtd->oobsize / 2) - 2; region 35 drivers/mtd/nand/spi/winbond.c struct mtd_oob_region *region) region 40 drivers/mtd/nand/spi/winbond.c region->offset = (16 * section) + 8; region 41 drivers/mtd/nand/spi/winbond.c region->length = 8; region 47 drivers/mtd/nand/spi/winbond.c struct mtd_oob_region *region) region 52 drivers/mtd/nand/spi/winbond.c region->offset = (16 * section) + 2; region 53 drivers/mtd/nand/spi/winbond.c region->length = 6; region 222 drivers/mtd/spi-nor/intel-spi.c u32 region, base, limit; region 224 drivers/mtd/spi-nor/intel-spi.c region = readl(ispi->base + FREG(i)); region 225 drivers/mtd/spi-nor/intel-spi.c base = region & FREG_BASE_MASK; region 226 drivers/mtd/spi-nor/intel-spi.c limit = (region & FREG_LIMIT_MASK) >> FREG_LIMIT_SHIFT; region 845 drivers/mtd/spi-nor/intel-spi.c u32 region, base, limit; region 847 drivers/mtd/spi-nor/intel-spi.c region = readl(ispi->base + FREG(i)); region 848 drivers/mtd/spi-nor/intel-spi.c base = region & FREG_BASE_MASK; region 849 drivers/mtd/spi-nor/intel-spi.c limit = (region & FREG_LIMIT_MASK) >> FREG_LIMIT_SHIFT; region 995 drivers/mtd/spi-nor/spi-nor.c const struct spi_nor_erase_region *region, region 1001 drivers/mtd/spi-nor/spi-nor.c u8 erase_mask = region->offset & SNOR_ERASE_TYPE_MASK; region 1019 drivers/mtd/spi-nor/spi-nor.c if (region->offset & SNOR_OVERLAID_REGION) region 1039 drivers/mtd/spi-nor/spi-nor.c spi_nor_region_next(struct spi_nor_erase_region *region) region 1041 drivers/mtd/spi-nor/spi-nor.c if (spi_nor_region_is_last(region)) region 1043 drivers/mtd/spi-nor/spi-nor.c region++; region 1044 drivers/mtd/spi-nor/spi-nor.c return region; region 1059 drivers/mtd/spi-nor/spi-nor.c struct spi_nor_erase_region *region = map->regions; region 1060 drivers/mtd/spi-nor/spi-nor.c u64 region_start = region->offset & ~SNOR_ERASE_FLAGS_MASK; region 1061 drivers/mtd/spi-nor/spi-nor.c u64 region_end = region_start + region->size; region 1064 drivers/mtd/spi-nor/spi-nor.c region = spi_nor_region_next(region); region 1065 drivers/mtd/spi-nor/spi-nor.c if (!region) region 1068 drivers/mtd/spi-nor/spi-nor.c region_start = region->offset & ~SNOR_ERASE_FLAGS_MASK; region 1069 drivers/mtd/spi-nor/spi-nor.c region_end = region_start + region->size; region 1072 drivers/mtd/spi-nor/spi-nor.c return region; region 1084 drivers/mtd/spi-nor/spi-nor.c spi_nor_init_erase_cmd(const struct spi_nor_erase_region *region, region 1097 drivers/mtd/spi-nor/spi-nor.c if (region->offset & SNOR_OVERLAID_REGION) region 1098 drivers/mtd/spi-nor/spi-nor.c cmd->size = region->size; region 1138 drivers/mtd/spi-nor/spi-nor.c struct spi_nor_erase_region *region; region 1143 drivers/mtd/spi-nor/spi-nor.c region = spi_nor_find_erase_region(map, addr); region 1144 drivers/mtd/spi-nor/spi-nor.c if (IS_ERR(region)) region 1145 drivers/mtd/spi-nor/spi-nor.c return PTR_ERR(region); region 1147 drivers/mtd/spi-nor/spi-nor.c region_end = spi_nor_region_end(region); region 1150 drivers/mtd/spi-nor/spi-nor.c erase = spi_nor_find_best_erase_type(map, region, addr, len); region 1155 drivers/mtd/spi-nor/spi-nor.c region->offset & SNOR_OVERLAID_REGION) { region 1156 drivers/mtd/spi-nor/spi-nor.c cmd = spi_nor_init_erase_cmd(region, erase); region 1171 drivers/mtd/spi-nor/spi-nor.c region = spi_nor_region_next(region); region 1172 drivers/mtd/spi-nor/spi-nor.c if (!region) region 1174 drivers/mtd/spi-nor/spi-nor.c region_end = spi_nor_region_end(region); region 3277 drivers/mtd/spi-nor/spi-nor.c struct spi_nor_erase_region *region = map->regions; region 3280 drivers/mtd/spi-nor/spi-nor.c while (region) { region 3281 drivers/mtd/spi-nor/spi-nor.c region_erase_mask = region->offset & SNOR_ERASE_TYPE_MASK; region 3287 drivers/mtd/spi-nor/spi-nor.c region->offset = (region->offset & ~SNOR_ERASE_TYPE_MASK) | region 3290 drivers/mtd/spi-nor/spi-nor.c region = spi_nor_region_next(region); region 3696 drivers/mtd/spi-nor/spi-nor.c spi_nor_region_check_overlay(struct spi_nor_erase_region *region, region 3705 drivers/mtd/spi-nor/spi-nor.c if (region->size & erase[i].size_mask) { region 3706 drivers/mtd/spi-nor/spi-nor.c spi_nor_region_mark_overlay(region); region 3728 drivers/mtd/spi-nor/spi-nor.c struct spi_nor_erase_region *region; region 3740 drivers/mtd/spi-nor/spi-nor.c region = devm_kcalloc(nor->dev, region_count, sizeof(*region), region 3742 drivers/mtd/spi-nor/spi-nor.c if (!region) region 3744 drivers/mtd/spi-nor/spi-nor.c map->regions = region; region 3752 drivers/mtd/spi-nor/spi-nor.c region[i].size = SMPT_MAP_REGION_SIZE(smpt[j]); region 3754 drivers/mtd/spi-nor/spi-nor.c region[i].offset = offset | erase_type; region 3756 drivers/mtd/spi-nor/spi-nor.c spi_nor_region_check_overlay(®ion[i], erase, erase_type); region 3770 drivers/mtd/spi-nor/spi-nor.c offset = (region[i].offset & ~SNOR_ERASE_FLAGS_MASK) + region 3771 drivers/mtd/spi-nor/spi-nor.c region[i].size; region 3796 drivers/mtd/spi-nor/spi-nor.c spi_nor_region_mark_end(®ion[i - 1]); region 1319 drivers/net/ethernet/altera/altera_tse_main.c struct resource *region; region 1328 drivers/net/ethernet/altera/altera_tse_main.c region = devm_request_mem_region(device, (*res)->start, region 1330 drivers/net/ethernet/altera/altera_tse_main.c if (region == NULL) { region 1335 drivers/net/ethernet/altera/altera_tse_main.c *ptr = devm_ioremap_nocache(device, region->start, region 1336 drivers/net/ethernet/altera/altera_tse_main.c resource_size(region)); region 2106 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c if (flash->region == ETHTOOL_FLASH_ALL_REGIONS || region 2107 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c flash->region > 0xffff) region 2109 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c flash->region); region 2111 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c return bnxt_flash_firmware_from_file(dev, flash->region, flash->data); region 424 drivers/net/ethernet/intel/i40e/i40e_ddp.c if (flash->region != I40_DDP_FLASH_REGION) { region 1692 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c if (flash->region != ETHTOOL_FLASH_ALL_REGIONS) region 780 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_sp_acl_tcam_region *region, region 784 drivers/net/ethernet/mellanox/mlxsw/spectrum.h struct mlxsw_sp_acl_tcam_region *region); region 14 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region; region 62 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region) region 67 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, region 68 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c ®ion->catchall.cchunk, region 81 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c err = mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, region 82 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c ®ion->catchall.cchunk, region 83 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c ®ion->catchall.centry, region 87 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c region->catchall.rulei = rulei; region 95 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_chunk_fini(®ion->catchall.cchunk); region 101 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region) region 103 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp_acl_rule_info *rulei = region->catchall.rulei; region 105 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, region 106 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c ®ion->catchall.cchunk, region 107 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c ®ion->catchall.centry); region 109 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_chunk_fini(®ion->catchall.cchunk); region 118 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region = region_priv; region 121 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c err = mlxsw_sp_acl_ctcam_region_init(mlxsw_sp, ®ion->cregion, region 126 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c err = mlxsw_sp1_acl_ctcam_region_catchall_add(mlxsw_sp, region); region 129 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c region->region = _region; region 133 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); region 140 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region = region_priv; region 142 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp1_acl_ctcam_region_catchall_del(mlxsw_sp, region); region 143 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_region_fini(®ion->cregion); region 148 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 156 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region = region_priv; region 159 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_chunk_init(®ion->cregion, &chunk->cchunk, region 175 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region = region_priv; region 179 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c return mlxsw_sp_acl_ctcam_entry_add(mlxsw_sp, ®ion->cregion, region 188 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region = region_priv; region 192 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c mlxsw_sp_acl_ctcam_entry_del(mlxsw_sp, ®ion->cregion, region 227 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c struct mlxsw_sp1_acl_tcam_region *region = region_priv; region 233 drivers/net/ethernet/mellanox/mlxsw/spectrum1_acl_tcam.c region->region, region 297 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c struct mlxsw_sp1_mr_tcam_region *region = &mr_tcam->tcam_regions[0]; region 306 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c ®ion[MLXSW_SP_L3_PROTO_IPV4], region 313 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c ®ion[MLXSW_SP_L3_PROTO_IPV6], region 321 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_sp1_mr_tcam_region_fini(®ion[MLXSW_SP_L3_PROTO_IPV4]); region 328 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c struct mlxsw_sp1_mr_tcam_region *region = &mr_tcam->tcam_regions[0]; region 330 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_sp1_mr_tcam_region_fini(®ion[MLXSW_SP_L3_PROTO_IPV6]); region 331 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mlxsw_sp1_mr_tcam_region_fini(®ion[MLXSW_SP_L3_PROTO_IPV4]); region 18 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region; region 145 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 148 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c region->region = _region; region 151 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c ®ion->aregion, region 159 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 161 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_sp_acl_atcam_region_fini(®ion->aregion); region 166 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 168 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c return mlxsw_sp_acl_atcam_region_associate(mlxsw_sp, region->id); region 173 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 175 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c return mlxsw_sp_acl_atcam_rehash_hints_get(®ion->aregion); region 186 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 189 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_sp_acl_atcam_chunk_init(®ion->aregion, &chunk->achunk, region 205 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 210 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c return mlxsw_sp_acl_atcam_entry_add(mlxsw_sp, ®ion->aregion, region 219 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 223 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c mlxsw_sp_acl_atcam_entry_del(mlxsw_sp, ®ion->aregion, &chunk->achunk, region 232 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c struct mlxsw_sp2_acl_tcam_region *region = region_priv; region 237 drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c ®ion->aregion, region 120 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; region 227 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region = aregion->region; region 229 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; region 295 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region = aregion->region; region 302 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); region 320 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region, region 326 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c aregion->region = region; region 342 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c region, ops); region 385 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region = aregion->region; region 403 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c priority, region->tcam_region_info, region 427 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region = aregion->region; region 432 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c region->tcam_region_info, region 451 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region = aregion->region; region 461 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c priority, region->tcam_region_info, region 477 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c struct mlxsw_sp_acl_tcam_region *region = aregion->region; region 484 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c mlxsw_afk_encode(afk, region->key_info, &rulei->values, region 123 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c struct mlxsw_afk_key_info *key_info = aregion->region->key_info; region 131 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_bloom_filter.c (aregion->region->id << 4)); region 15 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region, region 21 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c region->key_type, new_size, region->id, region 22 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c region->tcam_region_info); region 28 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region, region 34 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c region->tcam_region_info, src_offset, region 35 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c region->tcam_region_info, dst_offset, size); region 46 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region = cregion->region; region 61 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c region->tcam_region_info, region 65 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c mlxsw_afk_encode(afk, region->key_info, &rulei->values, key, mask); region 94 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->region->tcam_region_info, region 111 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->region->tcam_region_info, region 125 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region = cregion->region; region 126 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; region 132 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c return mlxsw_sp_acl_ctcam_region_resize(mlxsw_sp, region, new_count); region 141 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region = cregion->region; region 142 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; region 144 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c mlxsw_sp_acl_ctcam_region_move(mlxsw_sp, region, region 159 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c struct mlxsw_sp_acl_tcam_region *region, region 162 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c cregion->region = region; region 183 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; region 184 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp *mlxsw_sp = region->mlxsw_sp; region 188 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_percr_pack(percr_pl, region->id); region 425 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; region 429 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_pack(pererp_pl, region->id, ctcam_le, true, 0, region 440 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; region 450 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_pack(pererp_pl, region->id, false, false, 0, 0, region 532 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c err = mlxsw_sp_acl_bf_entry_add(aregion->region->mlxsw_sp, region 544 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_bf_entry_del(aregion->region->mlxsw_sp, region 559 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_bf_entry_del(aregion->region->mlxsw_sp, region 647 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; region 652 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_pack(pererp_pl, region->id, ctcam_le, true, 0, region 664 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp_acl_tcam_region *region = erp_table->aregion->region; region 669 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_pack(pererp_pl, region->id, ctcam_le, true, 0, region 1359 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; region 1362 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_percr_pack(percr_pl, aregion->region->id); region 1369 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; region 1372 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_reg_pererp_pack(pererp_pl, aregion->region->id, false, false, 0, region 1420 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c struct mlxsw_sp *mlxsw_sp = aregion->region->mlxsw_sp; region 206 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region; region 226 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region; region 267 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region; region 272 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c list_for_each_entry(region, &group->region_list, list) { region 276 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (region->list.next != &group->region_list && region 277 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c list_next_entry(region, list)->vregion == region->vregion) region 280 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->id, multi); region 422 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region, region 450 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c list_add_tail(®ion->list, pos); region 451 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->group = group; region 462 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c list_del(®ion->list); region 470 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 472 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_group *group = region->group; region 475 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c list_del(®ion->list); region 500 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->region, region 520 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_group_region_detach(mlxsw_sp, vregion->region); region 608 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 610 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_afk_key_info *key_info = region->key_info; region 617 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->key_type, region 619 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->id, region->tcam_region_info); region 630 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_reg_ptar_unpack(ptar_pl, region->tcam_region_info); region 636 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 641 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->key_type, 0, region->id, region 642 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->tcam_region_info); region 648 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 652 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_reg_pacl_pack(pacl_pl, region->id, true, region 653 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->tcam_region_info); region 659 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 663 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_reg_pacl_pack(pacl_pl, region->id, false, region 664 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->tcam_region_info); region 675 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region; region 678 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region = kzalloc(sizeof(*region) + ops->region_priv_size, GFP_KERNEL); region 679 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (!region) region 681 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->mlxsw_sp = mlxsw_sp; region 682 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->vregion = vregion; region 683 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->key_info = vregion->key_info; region 685 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = mlxsw_sp_acl_tcam_region_id_get(tcam, ®ion->id); region 689 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = ops->region_associate(mlxsw_sp, region); region 693 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->key_type = ops->key_type; region 694 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = mlxsw_sp_acl_tcam_region_alloc(mlxsw_sp, region); region 698 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = mlxsw_sp_acl_tcam_region_enable(mlxsw_sp, region); region 702 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = ops->region_init(mlxsw_sp, region->priv, tcam->priv, region 703 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region, hints_priv); region 707 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c return region; region 710 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_disable(mlxsw_sp, region); region 712 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_free(mlxsw_sp, region); region 715 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_id_put(tcam, region->id); region 717 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c kfree(region); region 723 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 727 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c ops->region_fini(mlxsw_sp, region->priv); region 728 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_disable(mlxsw_sp, region); region 729 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_free(mlxsw_sp, region); region 730 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_id_put(region->group->tcam, region 731 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region->id); region 732 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c kfree(region); region 821 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->region = mlxsw_sp_acl_tcam_region_create(mlxsw_sp, tcam, region 823 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (IS_ERR(vregion->region)) { region 824 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = PTR_ERR(vregion->region); region 846 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_destroy(mlxsw_sp, vregion->region); region 871 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c mlxsw_sp_acl_tcam_region_destroy(mlxsw_sp, vregion->region); region 958 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region) region 967 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c chunk->region = region; region 969 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c ops->chunk_init(region->priv, chunk->priv, vchunk->priority); region 1021 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vchunk->vregion->region); region 1116 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c err = ops->entry_add(mlxsw_sp, chunk->region->priv, chunk->priv, region 1133 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c ops->entry_del(mlxsw_sp, entry->chunk->region->priv, region 1140 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region, region 1146 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c return ops->entry_action_replace(mlxsw_sp, region->priv, region 1157 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c return ops->entry_activity_get(mlxsw_sp, entry->chunk->region->priv, region 1221 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vchunk->vregion->region, region 1260 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region, region 1265 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c new_chunk = mlxsw_sp_acl_tcam_chunk_create(mlxsw_sp, vchunk, region); region 1289 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c struct mlxsw_sp_acl_tcam_region *region, region 1296 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c if (vchunk->chunk->region != region) { region 1298 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c region, ctx); region 1379 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->region, region 1404 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c swap(vregion->region, vregion->region2); region 1440 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c hints_priv = ops->region_rehash_hints_get(vregion->region->priv); region 1454 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->region2 = vregion->region; region 1455 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->region = new_region; region 1469 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c vregion->region = vregion->region2; region 96 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_tcam_region *region; region 118 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_tcam_region *region, region 165 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_tcam_region *region; region 218 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.h struct mlxsw_sp_acl_tcam_region *region, region 54 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c } region; region 99 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c res->cpp_id = NFP_CPP_ID(entry.region.cpp_target, region 100 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c entry.region.cpp_action, region 101 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c entry.region.cpp_token); region 102 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c res->addr = (u64)entry.region.page_offset << 8; region 103 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c res->size = (u64)entry.region.page_size << 8; region 1363 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c static u8 qed_calc_cdu_validation_byte(u8 conn_type, u8 region, u32 cid) region 1385 drivers/net/ethernet/qlogic/qed/qed_init_fw_funcs.c validation_string |= ((region & 0xF) << 4); region 252 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h u8 region; region 645 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c static int qlcnic_get_flt_entry(struct qlcnic_adapter *adapter, u8 region, region 678 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c if (flt_entry[i].region == region) region 684 drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c "region=%x not found in %d regions\n", region, i); region 242 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c } region; region 390 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __crb *crb = &entry->region.crb; region 407 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __ctrl *ctr = &entry->region.ctrl; region 506 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __mux *mux = &entry->region.mux; region 524 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __queue *que = &entry->region.que; region 548 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __ocm *ocm = &entry->region.ocm; region 564 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __mem *rom = &entry->region.mem; region 594 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __cache *l1 = &entry->region.cache; region 620 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __cache *l2 = &entry->region.cache; region 860 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __mem *mem = &entry->region.mem; region 911 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __pollrdmwr *poll = &entry->region.pollrdmwr; region 955 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __pollrd *pollrd = &entry->region.pollrd; region 990 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __mux2 *mux2 = &entry->region.mux2; region 1022 drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c struct __mem *rom = &entry->region.mem; region 7073 drivers/net/ethernet/realtek/r8169_main.c int chipset, region; region 7112 drivers/net/ethernet/realtek/r8169_main.c region = ffs(pci_select_bars(pdev, IORESOURCE_MEM)) - 1; region 7113 drivers/net/ethernet/realtek/r8169_main.c if (region < 0) { region 7119 drivers/net/ethernet/realtek/r8169_main.c if (pci_resource_len(pdev, region) < R8169_REGS_SIZE) { region 7124 drivers/net/ethernet/realtek/r8169_main.c rc = pcim_iomap_regions(pdev, BIT(region), MODULENAME); region 7130 drivers/net/ethernet/realtek/r8169_main.c tp->mmio_addr = pcim_iomap_table(pdev)[region]; region 1786 drivers/net/ethernet/sfc/falcon/falcon.c void *region; region 1798 drivers/net/ethernet/sfc/falcon/falcon.c region = kmalloc(FALCON_NVCONFIG_END, GFP_KERNEL); region 1799 drivers/net/ethernet/sfc/falcon/falcon.c if (!region) region 1801 drivers/net/ethernet/sfc/falcon/falcon.c nvconfig = region + FALCON_NVCONFIG_OFFSET; region 1804 drivers/net/ethernet/sfc/falcon/falcon.c rc = falcon_spi_read(efx, spi, 0, FALCON_NVCONFIG_END, NULL, region); region 1831 drivers/net/ethernet/sfc/falcon/falcon.c word = region; region 1832 drivers/net/ethernet/sfc/falcon/falcon.c limit = region + FALCON_NVCONFIG_END; region 1848 drivers/net/ethernet/sfc/falcon/falcon.c kfree(region); region 539 drivers/net/fddi/defxx.c struct resource *region; region 583 drivers/net/fddi/defxx.c region = request_mem_region(bar_start[0], bar_len[0], region 586 drivers/net/fddi/defxx.c region = request_region(bar_start[0], bar_len[0], print_name); region 587 drivers/net/fddi/defxx.c if (!region) { region 595 drivers/net/fddi/defxx.c region = request_region(bar_start[1], bar_len[1], print_name); region 596 drivers/net/fddi/defxx.c if (!region) { region 605 drivers/net/fddi/defxx.c region = request_region(bar_start[2], bar_len[2], print_name); region 606 drivers/net/fddi/defxx.c if (!region) { region 82 drivers/net/wireless/ath/ath.h enum nl80211_dfs_regions region; region 694 drivers/net/wireless/ath/ath10k/ahb.c u32 val = 0, region = addr & 0xfffff; region 698 drivers/net/wireless/ath/ath10k/ahb.c if (region >= QCA4019_SRAM_ADDR && region <= region 703 drivers/net/wireless/ath/ath10k/ahb.c val |= region; region 705 drivers/net/wireless/ath/ath10k/ahb.c val |= 0x100000 | region; region 3211 drivers/net/wireless/ath/ath10k/mac.c nl_dfs_reg = ar->dfs_detector->region; region 854 drivers/net/wireless/ath/ath10k/pci.c u32 val = 0, region = addr & 0xfffff; region 858 drivers/net/wireless/ath/ath10k/pci.c val |= 0x100000 | region; region 869 drivers/net/wireless/ath/ath10k/pci.c u32 val = 0, region = addr & 0xfffff; region 873 drivers/net/wireless/ath/ath10k/pci.c val |= ((addr >= 0x100000) ? 0x100000 : 0) | region; region 879 drivers/net/wireless/ath/ath10k/pci.c u32 val = 0, region = addr & 0xfffff; region 882 drivers/net/wireless/ath/ath10k/pci.c val |= 0x100000 | region; region 1583 drivers/net/wireless/ath/ath10k/pci.c const struct ath10k_mem_region *region, region 1590 drivers/net/wireless/ath/ath10k/pci.c base_addr += region->start; region 1592 drivers/net/wireless/ath/ath10k/pci.c for (i = 0; i < region->len; i += 4) { region 1597 drivers/net/wireless/ath/ath10k/pci.c return region->len; region 1602 drivers/net/wireless/ath/ath10k/pci.c const struct ath10k_mem_region *region, region 1616 drivers/net/wireless/ath/ath10k/pci.c for (i = 0; i < region->len; i += 4) region 1617 drivers/net/wireless/ath/ath10k/pci.c *(u32 *)(buf + i) = ioread32(ar_pci->mem + region->start + i); region 1619 drivers/net/wireless/ath/ath10k/pci.c ret = region->len; region 4033 drivers/net/wireless/ath/ath10k/wmi.c ar->dfs_detector->region == NL80211_DFS_FCC) { region 73 drivers/net/wireless/ath/ath9k/dfs_debug.c sc->dfs_detector->region); region 31 drivers/net/wireless/ath/dfs_pattern_detector.c enum nl80211_dfs_regions region; region 66 drivers/net/wireless/ath/dfs_pattern_detector.c .region = NL80211_DFS_ETSI, region 98 drivers/net/wireless/ath/dfs_pattern_detector.c .region = NL80211_DFS_FCC, region 123 drivers/net/wireless/ath/dfs_pattern_detector.c .region = NL80211_DFS_JP, region 140 drivers/net/wireless/ath/dfs_pattern_detector.c get_dfs_domain_radar_types(enum nl80211_dfs_regions region) region 144 drivers/net/wireless/ath/dfs_pattern_detector.c if (dfs_domains[i]->region == region) region 281 drivers/net/wireless/ath/dfs_pattern_detector.c if (dpd->region == NL80211_DFS_UNSET) region 319 drivers/net/wireless/ath/dfs_pattern_detector.c enum nl80211_dfs_regions region) region 324 drivers/net/wireless/ath/dfs_pattern_detector.c if (dpd->region == region) region 327 drivers/net/wireless/ath/dfs_pattern_detector.c dpd->region = NL80211_DFS_UNSET; region 329 drivers/net/wireless/ath/dfs_pattern_detector.c rt = get_dfs_domain_radar_types(region); region 340 drivers/net/wireless/ath/dfs_pattern_detector.c dpd->region = region; region 349 drivers/net/wireless/ath/dfs_pattern_detector.c .region = NL80211_DFS_UNSET, region 354 drivers/net/wireless/ath/dfs_pattern_detector.c enum nl80211_dfs_regions region) region 369 drivers/net/wireless/ath/dfs_pattern_detector.c if (dpd->set_dfs_domain(dpd, region)) region 372 drivers/net/wireless/ath/dfs_pattern_detector.c ath_dbg(common, DFS,"Could not set DFS domain to %d", region); region 98 drivers/net/wireless/ath/dfs_pattern_detector.h enum nl80211_dfs_regions region); region 104 drivers/net/wireless/ath/dfs_pattern_detector.h enum nl80211_dfs_regions region; region 121 drivers/net/wireless/ath/dfs_pattern_detector.h enum nl80211_dfs_regions region); region 524 drivers/net/wireless/ath/regd.c reg->region = request->dfs_region; region 790 drivers/net/wireless/ath/regd.c switch (reg->region) { region 486 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h struct chan_freq_power *lbtf_get_region_cfp_table(u8 region, region 165 drivers/net/wireless/marvell/mwifiex/cfp.c u8 region[IEEE80211_COUNTRY_STRING_LEN]; region 187 drivers/net/wireless/marvell/mwifiex/cfp.c return region_code_mapping_t[i].region; region 483 drivers/net/wireless/mediatek/mt76/mt76.h enum nl80211_dfs_regions region; region 52 drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c dev->mt76.region == NL80211_DFS_ETSI; region 447 drivers/net/wireless/mediatek/mt76/mt7603/init.c dev->mt76.region = request->dfs_region; region 449 drivers/net/wireless/mediatek/mt76/mt7603/init.c dev->mt76.region == NL80211_DFS_ETSI; region 230 drivers/net/wireless/mediatek/mt76/mt7615/init.c if (request->dfs_region == dev->mt76.region) region 233 drivers/net/wireless/mediatek/mt76/mt7615/init.c dev->mt76.region = request->dfs_region; region 1344 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (dev->mt76.region == NL80211_DFS_UNSET) region 112 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c enum nl80211_dfs_regions region = dev->mt76.region; region 118 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c region == NL80211_DFS_ETSI; region 275 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c switch (dev->mt76.region) { region 449 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c switch (dev->mt76.region) { region 677 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c switch (dev->mt76.region) { region 717 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c switch (dev->mt76.region) { region 828 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dev->mt76.region != NL80211_DFS_UNSET) { region 861 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dev->mt76.region = NL80211_DFS_UNSET; region 869 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c enum nl80211_dfs_regions region) region 874 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c if (dev->mt76.region != region) { region 878 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c region == NL80211_DFS_ETSI; region 881 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dev->mt76.region = region; region 2466 drivers/nvdimm/namespace_devs.c static void deactivate_labels(void *region) region 2468 drivers/nvdimm/namespace_devs.c struct nd_region *nd_region = region; region 62 drivers/nvdimm/of_pmem.c struct nd_region *region; region 77 drivers/nvdimm/of_pmem.c region = nvdimm_volatile_region_create(bus, &ndr_desc); region 79 drivers/nvdimm/of_pmem.c region = nvdimm_pmem_region_create(bus, &ndr_desc); region 81 drivers/nvdimm/of_pmem.c if (!region) region 138 drivers/pci/bus.c struct pci_bus_region *region) region 143 drivers/pci/bus.c if (r.start < region->start) region 144 drivers/pci/bus.c r.start = region->start; region 145 drivers/pci/bus.c if (r.end > region->end) region 146 drivers/pci/bus.c r.end = region->end; region 162 drivers/pci/bus.c struct pci_bus_region *region) region 187 drivers/pci/bus.c pci_clip_resource_to_region(bus, &avail, region); region 429 drivers/pci/controller/dwc/pcie-designware.c int region; region 433 drivers/pci/controller/dwc/pcie-designware.c region = PCIE_ATU_REGION_INBOUND; region 436 drivers/pci/controller/dwc/pcie-designware.c region = PCIE_ATU_REGION_OUTBOUND; region 442 drivers/pci/controller/dwc/pcie-designware.c dw_pcie_writel_dbi(pci, PCIE_ATU_VIEWPORT, region | index); region 119 drivers/pci/controller/dwc/pcie-designware.h #define PCIE_GET_ATU_OUTB_UNR_REG_OFFSET(region) \ region 120 drivers/pci/controller/dwc/pcie-designware.h ((region) << 9) region 122 drivers/pci/controller/dwc/pcie-designware.h #define PCIE_GET_ATU_INB_UNR_REG_OFFSET(region) \ region 123 drivers/pci/controller/dwc/pcie-designware.h (((region) << 9) | BIT(8)) region 500 drivers/pci/controller/pci-xgene.c int region; region 502 drivers/pci/controller/pci-xgene.c region = xgene_pcie_select_ib_reg(ib_reg_mask, range->size); region 503 drivers/pci/controller/pci-xgene.c if (region < 0) { region 512 drivers/pci/controller/pci-xgene.c switch (region) { region 53 drivers/pci/controller/pcie-rockchip-ep.c u32 region) region 56 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_OB_REGION_PCI_ADDR0(region)); region 58 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_OB_REGION_PCI_ADDR1(region)); region 60 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_OB_REGION_DESC0(region)); region 62 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_OB_REGION_DESC1(region)); region 64 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_OB_REGION_CPU_ADDR0(region)); region 66 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_OB_REGION_CPU_ADDR1(region)); region 50 drivers/pci/host-bridge.c void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, region 64 drivers/pci/host-bridge.c region->start = res->start - offset; region 65 drivers/pci/host-bridge.c region->end = res->end - offset; region 76 drivers/pci/host-bridge.c struct pci_bus_region *region) region 91 drivers/pci/host-bridge.c if (region_contains(&bus_region, region)) { region 97 drivers/pci/host-bridge.c res->start = region->start + offset; region 98 drivers/pci/host-bridge.c res->end = region->end + offset; region 794 drivers/pci/iov.c struct pci_bus_region region; region 828 drivers/pci/iov.c pcibios_resource_to_bus(dev->bus, ®ion, res); region 829 drivers/pci/iov.c new = region.start; region 835 drivers/pci/iov.c new = region.start >> 16 >> 16; region 181 drivers/pci/probe.c struct pci_bus_region region, inverted_region; region 283 drivers/pci/probe.c region.start = l64; region 284 drivers/pci/probe.c region.end = l64 + sz64 - 1; region 286 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 300 drivers/pci/probe.c if (inverted_region.start != region.start) { region 303 drivers/pci/probe.c res->end = region.end - region.start; region 305 drivers/pci/probe.c pos, (unsigned long long)region.start); region 402 drivers/pci/probe.c struct pci_bus_region region; region 430 drivers/pci/probe.c region.start = base; region 431 drivers/pci/probe.c region.end = limit + io_granularity - 1; region 432 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 442 drivers/pci/probe.c struct pci_bus_region region; region 452 drivers/pci/probe.c region.start = base; region 453 drivers/pci/probe.c region.end = limit + 0xfffff; region 454 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 465 drivers/pci/probe.c struct pci_bus_region region; region 505 drivers/pci/probe.c region.start = base; region 506 drivers/pci/probe.c region.end = limit + 0xfffff; region 507 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 1727 drivers/pci/probe.c struct pci_bus_region region; region 1811 drivers/pci/probe.c region.start = 0x1F0; region 1812 drivers/pci/probe.c region.end = 0x1F7; region 1815 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 1818 drivers/pci/probe.c region.start = 0x3F6; region 1819 drivers/pci/probe.c region.end = 0x3F6; region 1822 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 1827 drivers/pci/probe.c region.start = 0x170; region 1828 drivers/pci/probe.c region.end = 0x177; region 1831 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 1834 drivers/pci/probe.c region.start = 0x376; region 1835 drivers/pci/probe.c region.end = 0x376; region 1838 drivers/pci/probe.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 511 drivers/pci/quirks.c u32 region; region 515 drivers/pci/quirks.c pci_read_config_dword(dev, PCI_BASE_ADDRESS_0 + (pos << 2), ®ion); region 517 drivers/pci/quirks.c if (!region) region 521 drivers/pci/quirks.c res->flags = region & ~PCI_BASE_ADDRESS_IO_MASK; region 524 drivers/pci/quirks.c region &= ~(size - 1); region 527 drivers/pci/quirks.c bus_region.start = region; region 528 drivers/pci/quirks.c bus_region.end = region + size - 1; region 561 drivers/pci/quirks.c u16 region; region 565 drivers/pci/quirks.c pci_read_config_word(dev, port, ®ion); region 566 drivers/pci/quirks.c region &= ~(size - 1); region 568 drivers/pci/quirks.c if (!region) region 575 drivers/pci/quirks.c bus_region.start = region; region 576 drivers/pci/quirks.c bus_region.end = region + size - 1; region 27 drivers/pci/rom.c struct pci_bus_region region; region 42 drivers/pci/rom.c pcibios_resource_to_bus(pdev->bus, ®ion, res); region 45 drivers/pci/rom.c rom_addr |= region.start | PCI_ROM_ADDRESS_ENABLE; region 508 drivers/pci/setup-bus.c struct pci_bus_region region; region 514 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 522 drivers/pci/setup-bus.c region.start); region 524 drivers/pci/setup-bus.c region.end); region 528 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 532 drivers/pci/setup-bus.c region.start); region 534 drivers/pci/setup-bus.c region.end); region 538 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 542 drivers/pci/setup-bus.c region.start); region 544 drivers/pci/setup-bus.c region.end); region 548 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 552 drivers/pci/setup-bus.c region.start); region 554 drivers/pci/setup-bus.c region.end); region 575 drivers/pci/setup-bus.c struct pci_bus_region region; region 587 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 590 drivers/pci/setup-bus.c io_base_lo = (region.start >> 8) & io_mask; region 591 drivers/pci/setup-bus.c io_limit_lo = (region.end >> 8) & io_mask; region 594 drivers/pci/setup-bus.c io_upper16 = (region.end & 0xffff0000) | (region.start >> 16); region 612 drivers/pci/setup-bus.c struct pci_bus_region region; region 617 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 619 drivers/pci/setup-bus.c l = (region.start >> 16) & 0xfff0; region 620 drivers/pci/setup-bus.c l |= region.end & 0xfff00000; region 631 drivers/pci/setup-bus.c struct pci_bus_region region; region 644 drivers/pci/setup-bus.c pcibios_resource_to_bus(bridge->bus, ®ion, res); region 646 drivers/pci/setup-bus.c l = (region.start >> 16) & 0xfff0; region 647 drivers/pci/setup-bus.c l |= region.end & 0xfff00000; region 649 drivers/pci/setup-bus.c bu = upper_32_bits(region.start); region 650 drivers/pci/setup-bus.c lu = upper_32_bits(region.end); region 1667 drivers/pci/setup-bus.c struct pci_bus_region region; region 1673 drivers/pci/setup-bus.c pcibios_resource_to_bus(dev->bus, ®ion, r); region 1674 drivers/pci/setup-bus.c if (!region.start) { region 27 drivers/pci/setup-res.c struct pci_bus_region region; region 56 drivers/pci/setup-res.c pcibios_resource_to_bus(dev->bus, ®ion, res); region 57 drivers/pci/setup-res.c new = region.start; region 107 drivers/pci/setup-res.c new = region.start >> 16 >> 16; region 606 drivers/pcmcia/i82092.c struct pci_bus_region region; region 612 drivers/pcmcia/i82092.c pcibios_resource_to_bus(sock_info->dev->bus, ®ion, mem->res); region 621 drivers/pcmcia/i82092.c if ( (mem->card_start > 0x3ffffff) || (region.start > region.end) || region 627 drivers/pcmcia/i82092.c (unsigned long long)region.start, region 628 drivers/pcmcia/i82092.c (unsigned long long)region.end, region 642 drivers/pcmcia/i82092.c i = (region.start >> 12) & 0x0fff; region 651 drivers/pcmcia/i82092.c i= (region.end >> 12) & 0x0fff; region 670 drivers/pcmcia/i82092.c i = ((mem->card_start - region.start) >> 12) & 0x3fff; region 444 drivers/pcmcia/yenta_socket.c struct pci_bus_region region; region 450 drivers/pcmcia/yenta_socket.c pcibios_resource_to_bus(socket->dev->bus, ®ion, mem->res); region 453 drivers/pcmcia/yenta_socket.c start = region.start; region 454 drivers/pcmcia/yenta_socket.c stop = region.end; region 695 drivers/pcmcia/yenta_socket.c struct pci_bus_region region; region 711 drivers/pcmcia/yenta_socket.c region.start = config_readl(socket, addr_start) & mask; region 712 drivers/pcmcia/yenta_socket.c region.end = config_readl(socket, addr_end) | ~mask; region 713 drivers/pcmcia/yenta_socket.c if (region.start && region.end > region.start && !override_bios) { region 714 drivers/pcmcia/yenta_socket.c pcibios_bus_to_resource(dev->bus, res, ®ion); region 1034 drivers/pcmcia/yenta_socket.c struct pci_bus_region region; region 1036 drivers/pcmcia/yenta_socket.c pcibios_resource_to_bus(socket->dev->bus, ®ion, &dev->resource[0]); region 1039 drivers/pcmcia/yenta_socket.c config_writel(socket, PCI_BASE_ADDRESS_0, region.start); region 1343 drivers/perf/arm-ccn.c int (*callback)(struct arm_ccn *ccn, int region, region 1346 drivers/perf/arm-ccn.c int region; region 1348 drivers/perf/arm-ccn.c for (region = 0; region < CCN_NUM_REGIONS; region++) { region 1354 drivers/perf/arm-ccn.c 4 * (region / 32)); region 1355 drivers/perf/arm-ccn.c if (!(val & (1 << (region % 32)))) region 1358 drivers/perf/arm-ccn.c base = ccn->base + region * CCN_REGION_SIZE; region 1365 drivers/perf/arm-ccn.c err = callback(ccn, region, base, type, id); region 1373 drivers/perf/arm-ccn.c static int arm_ccn_get_nodes_num(struct arm_ccn *ccn, int region, region 1385 drivers/perf/arm-ccn.c static int arm_ccn_init_nodes(struct arm_ccn *ccn, int region, region 1390 drivers/perf/arm-ccn.c dev_dbg(ccn->dev, "Region %d: id=%u, type=0x%02x\n", region, id, type); region 744 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c struct uniphier_pinctrl_reg_region *region; region 752 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c region = devm_kzalloc(dev, struct_size(region, vals, nregs), region 754 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c if (!region) region 757 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c region->base = base; region 758 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c region->nregs = nregs; region 760 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c list_add_tail(®ion->node, &priv->reg_regions); region 368 drivers/pnp/quirks.c struct pci_bus_region region; region 391 drivers/pnp/quirks.c region.start = addr_lo & ~0x7fff; region 393 drivers/pnp/quirks.c region.start |= (u64) addr_hi << 32; region 394 drivers/pnp/quirks.c region.end = region.start + 32*1024 - 1; region 398 drivers/pnp/quirks.c pcibios_bus_to_resource(host->bus, &mch, ®ion); region 38 drivers/ps3/ps3av.c int region; region 648 drivers/ps3/ps3av.c if (ps3av->region & PS3AV_REGION_60) region 781 drivers/ps3/ps3av.c if (ps3av->region & PS3AV_REGION_60) region 785 drivers/ps3/ps3av.c if (ps3av->region & PS3AV_REGION_RGB) region 949 drivers/ps3/ps3av.c ps3av->region = PS3AV_REGION_60; region 953 drivers/ps3/ps3av.c ps3av->region = PS3AV_REGION_50; region 956 drivers/ps3/ps3av.c ps3av->region = PS3AV_REGION_50 | PS3AV_REGION_RGB; region 959 drivers/ps3/ps3av.c ps3av->region = PS3AV_REGION_60; region 21 drivers/s390/cio/vfio_ccw_async.c struct ccw_cmd_region *region; region 24 drivers/s390/cio/vfio_ccw_async.c if (pos + count > sizeof(*region)) region 28 drivers/s390/cio/vfio_ccw_async.c region = private->region[i].data; region 29 drivers/s390/cio/vfio_ccw_async.c if (copy_to_user(buf, (void *)region + pos, count)) region 43 drivers/s390/cio/vfio_ccw_async.c struct ccw_cmd_region *region; region 46 drivers/s390/cio/vfio_ccw_async.c if (pos + count > sizeof(*region)) region 52 drivers/s390/cio/vfio_ccw_async.c region = private->region[i].data; region 53 drivers/s390/cio/vfio_ccw_async.c if (copy_from_user((void *)region + pos, buf, count)) { region 60 drivers/s390/cio/vfio_ccw_async.c ret = region->ret_code ? region->ret_code : count; region 68 drivers/s390/cio/vfio_ccw_async.c struct vfio_ccw_region *region) region 198 drivers/s390/cio/vfio_ccw_ops.c private->region[i].ops->release(private, &private->region[i]); region 201 drivers/s390/cio/vfio_ccw_ops.c kfree(private->region); region 202 drivers/s390/cio/vfio_ccw_ops.c private->region = NULL; region 210 drivers/s390/cio/vfio_ccw_ops.c struct ccw_io_region *region; region 213 drivers/s390/cio/vfio_ccw_ops.c if (pos + count > sizeof(*region)) region 217 drivers/s390/cio/vfio_ccw_ops.c region = private->io_region; region 218 drivers/s390/cio/vfio_ccw_ops.c if (copy_to_user(buf, (void *)region + pos, count)) region 244 drivers/s390/cio/vfio_ccw_ops.c return private->region[index].ops->read(private, buf, count, region 256 drivers/s390/cio/vfio_ccw_ops.c struct ccw_io_region *region; region 259 drivers/s390/cio/vfio_ccw_ops.c if (pos + count > sizeof(*region)) region 265 drivers/s390/cio/vfio_ccw_ops.c region = private->io_region; region 266 drivers/s390/cio/vfio_ccw_ops.c if (copy_from_user((void *)region + pos, buf, count)) { region 272 drivers/s390/cio/vfio_ccw_ops.c if (region->ret_code != 0) region 274 drivers/s390/cio/vfio_ccw_ops.c ret = (region->ret_code != 0) ? region->ret_code : count; region 299 drivers/s390/cio/vfio_ccw_ops.c return private->region[index].ops->write(private, buf, count, region 353 drivers/s390/cio/vfio_ccw_ops.c info->size = private->region[i].size; region 354 drivers/s390/cio/vfio_ccw_ops.c info->flags = private->region[i].flags; region 356 drivers/s390/cio/vfio_ccw_ops.c cap_type.type = private->region[i].type; region 357 drivers/s390/cio/vfio_ccw_ops.c cap_type.subtype = private->region[i].subtype; region 464 drivers/s390/cio/vfio_ccw_ops.c struct vfio_ccw_region *region; region 466 drivers/s390/cio/vfio_ccw_ops.c region = krealloc(private->region, region 467 drivers/s390/cio/vfio_ccw_ops.c (private->num_regions + 1) * sizeof(*region), region 469 drivers/s390/cio/vfio_ccw_ops.c if (!region) region 472 drivers/s390/cio/vfio_ccw_ops.c private->region = region; region 473 drivers/s390/cio/vfio_ccw_ops.c private->region[private->num_regions].type = VFIO_REGION_TYPE_CCW; region 474 drivers/s390/cio/vfio_ccw_ops.c private->region[private->num_regions].subtype = subtype; region 475 drivers/s390/cio/vfio_ccw_ops.c private->region[private->num_regions].ops = ops; region 476 drivers/s390/cio/vfio_ccw_ops.c private->region[private->num_regions].size = size; region 477 drivers/s390/cio/vfio_ccw_ops.c private->region[private->num_regions].flags = flags; region 478 drivers/s390/cio/vfio_ccw_ops.c private->region[private->num_regions].data = data; region 40 drivers/s390/cio/vfio_ccw_private.h struct vfio_ccw_region *region); region 87 drivers/s390/cio/vfio_ccw_private.h struct vfio_ccw_region *region; region 43 drivers/scsi/be2iscsi/be_mgmt.c unsigned short region, sector_size, sector, offset; region 47 drivers/scsi/be2iscsi/be_mgmt.c region = bsg_req->rqst_data.h_vendor.vendor_cmd[1]; region 51 drivers/scsi/be2iscsi/be_mgmt.c req->region = region; region 134 drivers/scsi/be2iscsi/be_mgmt.h unsigned short region; region 342 drivers/scsi/pm8001/pm8001_ctl.c (*(u32 *)((u8*)pm8001_ha->memoryMap.region[AAP1].virt_ptr + (r) * 32 \ region 380 drivers/scsi/pm8001/pm8001_ctl.c memoryMap.region[IB].virt_ptr + \ region 413 drivers/scsi/pm8001/pm8001_ctl.c memoryMap.region[OB].virt_ptr + \ region 501 drivers/scsi/pm8001/pm8001_ctl.c u32 *temp = (u32 *)pm8001_ha->memoryMap.region[IOP].virt_ptr; region 208 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[AAP1].phys_addr_hi; region 210 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[AAP1].phys_addr_lo; region 215 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[IOP].phys_addr_hi; region 217 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[IOP].phys_addr_lo; region 226 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[IB + i].phys_addr_hi; region 228 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[IB + i].phys_addr_lo; region 230 drivers/scsi/pm8001/pm8001_hwi.c (u8 *)pm8001_ha->memoryMap.region[IB + i].virt_ptr; region 232 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[IB + i].total_len; region 234 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[CI + i].phys_addr_hi; region 236 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[CI + i].phys_addr_lo; region 238 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[CI + i].virt_ptr; region 252 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[OB + i].phys_addr_hi; region 254 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[OB + i].phys_addr_lo; region 256 drivers/scsi/pm8001/pm8001_hwi.c (u8 *)pm8001_ha->memoryMap.region[OB + i].virt_ptr; region 258 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[OB + i].total_len; region 260 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[PI + i].phys_addr_hi; region 262 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[PI + i].phys_addr_lo; region 266 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[PI + i].virt_ptr; region 3150 drivers/scsi/pm8001/pm8001_hwi.c void *virt_addr = pm8001_ha->memoryMap.region[NVMD].virt_ptr; region 3196 drivers/scsi/pm8001/pm8001_hwi.c pm8001_ha->memoryMap.region[NVMD].virt_ptr, region 4777 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4779 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4786 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4788 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4795 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4797 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4804 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4806 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4814 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4816 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4848 drivers/scsi/pm8001/pm8001_hwi.c memcpy(pm8001_ha->memoryMap.region[NVMD].virt_ptr, region 4871 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4873 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4881 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4883 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4890 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4892 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4899 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi); region 4901 drivers/scsi/pm8001/pm8001_hwi.c cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo); region 4955 drivers/scsi/pm8001/pm8001_hwi.c void *buffer = pm8001_ha->memoryMap.region[FW_FLASH].virt_ptr; region 4956 drivers/scsi/pm8001/pm8001_hwi.c dma_addr_t phys_addr = pm8001_ha->memoryMap.region[FW_FLASH].phys_addr; region 153 drivers/scsi/pm8001/pm8001_init.c if (pm8001_ha->memoryMap.region[i].virt_ptr != NULL) { region 155 drivers/scsi/pm8001/pm8001_init.c (pm8001_ha->memoryMap.region[i].total_len + region 156 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].alignment), region 157 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].virt_ptr, region 158 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].phys_addr); region 264 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[AAP1].num_elements = 1; region 265 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[AAP1].element_size = PM8001_EVENT_LOG_SIZE; region 266 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[AAP1].total_len = PM8001_EVENT_LOG_SIZE; region 267 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[AAP1].alignment = 32; region 270 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IOP].num_elements = 1; region 271 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IOP].element_size = PM8001_EVENT_LOG_SIZE; region 272 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IOP].total_len = PM8001_EVENT_LOG_SIZE; region 273 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IOP].alignment = 32; region 277 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CI+i].num_elements = 1; region 278 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CI+i].element_size = 4; region 279 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CI+i].total_len = 4; region 280 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CI+i].alignment = 4; region 284 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].num_elements = region 286 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].element_size = 128; region 287 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].total_len = region 289 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].alignment = 128; region 291 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].num_elements = region 293 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].element_size = 64; region 294 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].total_len = region 296 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].alignment = 64; region 302 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[PI+i].num_elements = 1; region 303 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[PI+i].element_size = 4; region 304 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[PI+i].total_len = 4; region 305 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[PI+i].alignment = 4; region 309 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].num_elements = region 311 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].element_size = 128; region 312 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].total_len = region 314 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].alignment = 128; region 317 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].num_elements = region 319 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].element_size = 64; region 320 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].total_len = region 322 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].alignment = 64; region 327 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[NVMD].num_elements = 1; region 328 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[NVMD].element_size = 4096; region 329 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[NVMD].total_len = 4096; region 331 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[DEV_MEM].num_elements = 1; region 332 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[DEV_MEM].element_size = PM8001_MAX_DEVICES * region 334 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[DEV_MEM].total_len = PM8001_MAX_DEVICES * region 338 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CCB_MEM].num_elements = 1; region 339 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CCB_MEM].element_size = PM8001_MAX_CCB * region 341 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CCB_MEM].total_len = PM8001_MAX_CCB * region 345 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[FW_FLASH].total_len = 4096; region 347 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[FORENSIC_MEM].num_elements = 1; region 348 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[FORENSIC_MEM].total_len = 0x10000; region 349 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[FORENSIC_MEM].element_size = 0x10000; region 350 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[FORENSIC_MEM].alignment = 0x10000; region 353 drivers/scsi/pm8001/pm8001_init.c &pm8001_ha->memoryMap.region[i].virt_ptr, region 354 drivers/scsi/pm8001/pm8001_init.c &pm8001_ha->memoryMap.region[i].phys_addr, region 355 drivers/scsi/pm8001/pm8001_init.c &pm8001_ha->memoryMap.region[i].phys_addr_hi, region 356 drivers/scsi/pm8001/pm8001_init.c &pm8001_ha->memoryMap.region[i].phys_addr_lo, region 357 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].total_len, region 358 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].alignment) != 0) { region 366 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->devices = pm8001_ha->memoryMap.region[DEV_MEM].virt_ptr; region 373 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->ccb_info = pm8001_ha->memoryMap.region[CCB_MEM].virt_ptr; region 376 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CCB_MEM].phys_addr + region 324 drivers/scsi/pm8001/pm8001_sas.h struct mpi_mem region[USI_MAX_MEMCNT]; region 144 drivers/scsi/pm8001/pm80xx_hwi.c temp = (u32 *)pm8001_ha->memoryMap.region[FORENSIC_MEM].virt_ptr; region 150 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[FORENSIC_MEM].virt_ptr, region 481 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[AAP1].phys_addr_hi; region 483 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[AAP1].phys_addr_lo; region 488 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[IOP].phys_addr_hi; region 490 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[IOP].phys_addr_lo; region 503 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[IB + i].phys_addr_hi; region 505 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[IB + i].phys_addr_lo; region 507 drivers/scsi/pm8001/pm80xx_hwi.c (u8 *)pm8001_ha->memoryMap.region[IB + i].virt_ptr; region 509 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[IB + i].total_len; region 511 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[CI + i].phys_addr_hi; region 513 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[CI + i].phys_addr_lo; region 515 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[CI + i].virt_ptr; region 529 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[OB + i].phys_addr_hi; region 531 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[OB + i].phys_addr_lo; region 533 drivers/scsi/pm8001/pm80xx_hwi.c (u8 *)pm8001_ha->memoryMap.region[OB + i].virt_ptr; region 535 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[OB + i].total_len; region 537 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[PI + i].phys_addr_hi; region 539 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[PI + i].phys_addr_lo; region 543 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_ha->memoryMap.region[PI + i].virt_ptr; region 6594 drivers/scsi/qla2xxx/qla_mbx.c uint16_t region, uint32_t len, dma_addr_t sfub_dma_addr, region 6603 drivers/scsi/qla2xxx/qla_mbx.c mcp->mb[2] = region; region 1646 drivers/scsi/qla2xxx/qla_nx.c int qla82xx_pci_region_offset(struct pci_dev *pdev, int region) region 1651 drivers/scsi/qla2xxx/qla_nx.c switch (region) { region 673 drivers/scsi/qla2xxx/qla_sup.c struct qla_flt_region *region = (void *)&flt[1]; region 709 drivers/scsi/qla2xxx/qla_sup.c cnt = le16_to_cpu(flt->length) / sizeof(*region); region 710 drivers/scsi/qla2xxx/qla_sup.c for ( ; cnt; cnt--, region++) { region 712 drivers/scsi/qla2xxx/qla_sup.c start = le32_to_cpu(region->start) >> 2; region 715 drivers/scsi/qla2xxx/qla_sup.c le16_to_cpu(region->code), start, region 716 drivers/scsi/qla2xxx/qla_sup.c le32_to_cpu(region->end) >> 2, region 717 drivers/scsi/qla2xxx/qla_sup.c le32_to_cpu(region->size) >> 2); region 718 drivers/scsi/qla2xxx/qla_sup.c if (region->attribute) region 720 drivers/scsi/qla2xxx/qla_sup.c "Region %x is secure\n", region->code); region 722 drivers/scsi/qla2xxx/qla_sup.c switch (le16_to_cpu(region->code)) { region 2652 drivers/scsi/qla2xxx/qla_sup.c struct qla_flt_region *region) region 2669 drivers/scsi/qla2xxx/qla_sup.c memcpy((uint8_t *)region, flt_reg, region 2694 drivers/scsi/qla2xxx/qla_sup.c struct qla_flt_region region; region 2700 drivers/scsi/qla2xxx/qla_sup.c rval = qla28xx_get_flash_region(vha, offset, ®ion); region 2723 drivers/scsi/qla2xxx/qla_sup.c if (ha->flags.secure_adapter && region.attribute) { region 2726 drivers/scsi/qla2xxx/qla_sup.c "Region %x is secure\n", region.code); region 2728 drivers/scsi/qla2xxx/qla_sup.c switch (region.code) { region 2780 drivers/scsi/qla2xxx/qla_sup.c region.code); region 2895 drivers/scsi/qla2xxx/qla_sup.c if (region.attribute && buf_size_without_sfub) { region 2898 drivers/scsi/qla2xxx/qla_sup.c rval = qla28xx_secure_flash_update(vha, 0, region.code, region 347 drivers/scsi/qla4xxx/ql4_bsg.c uint32_t region = 0; region 366 drivers/scsi/qla4xxx/ql4_bsg.c region = bsg_req->rqst_data.h_vendor.vendor_cmd[1]; region 370 drivers/scsi/qla4xxx/ql4_bsg.c rval = qla4xxx_restore_factory_defaults(ha, region, field0, field1); region 176 drivers/scsi/qla4xxx/ql4_glbl.h uint32_t region, uint32_t field0, region 2244 drivers/scsi/qla4xxx/ql4_mbx.c uint32_t region, uint32_t field0, region 2255 drivers/scsi/qla4xxx/ql4_mbx.c mbox_cmd[3] = region; region 3727 drivers/scsi/qla4xxx/ql4_nx.c struct qla_flt_region *region; region 3733 drivers/scsi/qla4xxx/ql4_nx.c region = (struct qla_flt_region *)&flt[1]; region 3769 drivers/scsi/qla4xxx/ql4_nx.c for ( ; cnt; cnt--, region++) { region 3771 drivers/scsi/qla4xxx/ql4_nx.c start = le32_to_cpu(region->start) >> 2; region 3774 drivers/scsi/qla4xxx/ql4_nx.c "end=0x%x size=0x%x.\n", le32_to_cpu(region->code), start, region 3775 drivers/scsi/qla4xxx/ql4_nx.c le32_to_cpu(region->end) >> 2, le32_to_cpu(region->size))); region 3777 drivers/scsi/qla4xxx/ql4_nx.c switch (le32_to_cpu(region->code) & 0xff) { region 3796 drivers/scsi/qla4xxx/ql4_nx.c hw->flt_chap_size = le32_to_cpu(region->size); region 3800 drivers/scsi/qla4xxx/ql4_nx.c hw->flt_ddb_size = le32_to_cpu(region->size); region 52 drivers/soc/aspeed/aspeed-p2a-ctrl.c struct region regions[P2A_REGION_COUNT]; region 140 drivers/soc/aspeed/aspeed-p2a-ctrl.c const struct region *curr = &ctrl->config->regions[i]; region 486 drivers/soc/qcom/smem.c struct smem_region *region; region 499 drivers/soc/qcom/smem.c region = &smem->regions[i]; region 501 drivers/soc/qcom/smem.c if (region->aux_base == aux_base || !aux_base) { region 504 drivers/soc/qcom/smem.c return region->virt_base + le32_to_cpu(entry->offset); region 659 drivers/soc/qcom/smem.c struct smem_region *region = &__smem->regions[i]; region 661 drivers/soc/qcom/smem.c if (p < region->virt_base) region 663 drivers/soc/qcom/smem.c if (p < region->virt_base + region->size) { region 664 drivers/soc/qcom/smem.c u64 offset = p - region->virt_base; region 666 drivers/soc/qcom/smem.c return (phys_addr_t)region->aux_base + offset; region 222 drivers/soc/ti/knav_qmss.h struct knav_region *region; region 348 drivers/soc/ti/knav_qmss.h #define for_each_region(kdev, region) \ region 349 drivers/soc/ti/knav_qmss.h list_for_each_entry(region, &kdev->regions, list) region 695 drivers/soc/ti/knav_qmss_queue.c struct knav_region *region; region 698 drivers/soc/ti/knav_qmss_queue.c region = pool->region; region 699 drivers/soc/ti/knav_qmss_queue.c pool->desc_size = region->desc_size; region 704 drivers/soc/ti/knav_qmss_queue.c dma_addr = region->dma_start + (region->desc_size * index); region 743 drivers/soc/ti/knav_qmss_queue.c return pool->region->dma_start + (virt - pool->region->virt_start); region 750 drivers/soc/ti/knav_qmss_queue.c return pool->region->virt_start + (dma - pool->region->dma_start); region 767 drivers/soc/ti/knav_qmss_queue.c struct knav_region *reg_itr, *region = NULL; region 789 drivers/soc/ti/knav_qmss_queue.c region = reg_itr; region 793 drivers/soc/ti/knav_qmss_queue.c if (!region) { region 814 drivers/soc/ti/knav_qmss_queue.c if (num_desc > (region->num_desc - region->used_desc)) { region 827 drivers/soc/ti/knav_qmss_queue.c node = ®ion->pools; region 828 drivers/soc/ti/knav_qmss_queue.c list_for_each_entry(pi, ®ion->pools, region_inst) { region 838 drivers/soc/ti/knav_qmss_queue.c pool->region = region; region 841 drivers/soc/ti/knav_qmss_queue.c region->used_desc += num_desc; region 875 drivers/soc/ti/knav_qmss_queue.c if (!pool->region) region 881 drivers/soc/ti/knav_qmss_queue.c pool->region->used_desc -= pool->num_desc; region 922 drivers/soc/ti/knav_qmss_queue.c knav_queue_push(pool->queue, dma, pool->region->desc_size, 0); region 941 drivers/soc/ti/knav_qmss_queue.c size = min(size, pool->region->desc_size); region 968 drivers/soc/ti/knav_qmss_queue.c desc_sz = min(dma_sz, pool->region->desc_size); region 989 drivers/soc/ti/knav_qmss_queue.c struct knav_region *region) region 995 drivers/soc/ti/knav_qmss_queue.c int id = region->id; region 999 drivers/soc/ti/knav_qmss_queue.c if (!region->num_desc) { region 1000 drivers/soc/ti/knav_qmss_queue.c dev_warn(kdev->dev, "unused region %s\n", region->name); region 1005 drivers/soc/ti/knav_qmss_queue.c hw_num_desc = ilog2(region->num_desc - 1) + 1; region 1008 drivers/soc/ti/knav_qmss_queue.c if (region->num_desc < 32) { region 1009 drivers/soc/ti/knav_qmss_queue.c region->num_desc = 0; region 1011 drivers/soc/ti/knav_qmss_queue.c region->name); region 1015 drivers/soc/ti/knav_qmss_queue.c size = region->num_desc * region->desc_size; region 1016 drivers/soc/ti/knav_qmss_queue.c region->virt_start = alloc_pages_exact(size, GFP_KERNEL | GFP_DMA | region 1018 drivers/soc/ti/knav_qmss_queue.c if (!region->virt_start) { region 1019 drivers/soc/ti/knav_qmss_queue.c region->num_desc = 0; region 1021 drivers/soc/ti/knav_qmss_queue.c region->name); region 1024 drivers/soc/ti/knav_qmss_queue.c region->virt_end = region->virt_start + size; region 1025 drivers/soc/ti/knav_qmss_queue.c page = virt_to_page(region->virt_start); region 1027 drivers/soc/ti/knav_qmss_queue.c region->dma_start = dma_map_page(kdev->dev, page, 0, size, region 1029 drivers/soc/ti/knav_qmss_queue.c if (dma_mapping_error(kdev->dev, region->dma_start)) { region 1031 drivers/soc/ti/knav_qmss_queue.c region->name); region 1034 drivers/soc/ti/knav_qmss_queue.c region->dma_end = region->dma_start + size; region 1042 drivers/soc/ti/knav_qmss_queue.c pool->region_offset = region->num_desc; region 1043 drivers/soc/ti/knav_qmss_queue.c list_add(&pool->region_inst, ®ion->pools); region 1047 drivers/soc/ti/knav_qmss_queue.c region->name, id, region->desc_size, region->num_desc, region 1048 drivers/soc/ti/knav_qmss_queue.c region->link_index, ®ion->dma_start, ®ion->dma_end, region 1049 drivers/soc/ti/knav_qmss_queue.c region->virt_start, region->virt_end); region 1051 drivers/soc/ti/knav_qmss_queue.c hw_desc_size = (region->desc_size / 16) - 1; region 1056 drivers/soc/ti/knav_qmss_queue.c writel_relaxed((u32)region->dma_start, ®s->base); region 1057 drivers/soc/ti/knav_qmss_queue.c writel_relaxed(region->link_index, ®s->start_index); region 1064 drivers/soc/ti/knav_qmss_queue.c if (region->dma_start) region 1065 drivers/soc/ti/knav_qmss_queue.c dma_unmap_page(kdev->dev, region->dma_start, size, region 1067 drivers/soc/ti/knav_qmss_queue.c if (region->virt_start) region 1068 drivers/soc/ti/knav_qmss_queue.c free_pages_exact(region->virt_start, size); region 1069 drivers/soc/ti/knav_qmss_queue.c region->num_desc = 0; region 1088 drivers/soc/ti/knav_qmss_queue.c struct knav_region *region; region 1094 drivers/soc/ti/knav_qmss_queue.c region = devm_kzalloc(dev, sizeof(*region), GFP_KERNEL); region 1095 drivers/soc/ti/knav_qmss_queue.c if (!region) { region 1100 drivers/soc/ti/knav_qmss_queue.c region->name = knav_queue_find_name(child); region 1101 drivers/soc/ti/knav_qmss_queue.c of_property_read_u32(child, "id", ®ion->id); region 1104 drivers/soc/ti/knav_qmss_queue.c region->num_desc = temp[0]; region 1105 drivers/soc/ti/knav_qmss_queue.c region->desc_size = temp[1]; region 1107 drivers/soc/ti/knav_qmss_queue.c dev_err(dev, "invalid region info %s\n", region->name); region 1108 drivers/soc/ti/knav_qmss_queue.c devm_kfree(dev, region); region 1113 drivers/soc/ti/knav_qmss_queue.c dev_err(dev, "No link info for %s\n", region->name); region 1114 drivers/soc/ti/knav_qmss_queue.c devm_kfree(dev, region); region 1118 drivers/soc/ti/knav_qmss_queue.c ®ion->link_index); region 1121 drivers/soc/ti/knav_qmss_queue.c region->name); region 1122 drivers/soc/ti/knav_qmss_queue.c devm_kfree(dev, region); region 1126 drivers/soc/ti/knav_qmss_queue.c INIT_LIST_HEAD(®ion->pools); region 1127 drivers/soc/ti/knav_qmss_queue.c list_add_tail(®ion->list, &kdev->regions); region 1135 drivers/soc/ti/knav_qmss_queue.c for_each_region(kdev, region) region 1136 drivers/soc/ti/knav_qmss_queue.c knav_queue_setup_region(kdev, region); region 1357 drivers/soc/ti/knav_qmss_queue.c struct knav_region *region; region 1362 drivers/soc/ti/knav_qmss_queue.c region = first_region(kdev); region 1363 drivers/soc/ti/knav_qmss_queue.c if (!region) region 1365 drivers/soc/ti/knav_qmss_queue.c list_for_each_entry_safe(pool, tmp, ®ion->pools, region_inst) region 1368 drivers/soc/ti/knav_qmss_queue.c size = region->virt_end - region->virt_start; region 1370 drivers/soc/ti/knav_qmss_queue.c free_pages_exact(region->virt_start, size); region 1371 drivers/soc/ti/knav_qmss_queue.c list_del(®ion->list); region 1372 drivers/soc/ti/knav_qmss_queue.c devm_kfree(kdev->dev, region); region 871 drivers/staging/android/vsoc.c const struct vsoc_device_region *region = vsoc_dev.regions + i; region 873 drivers/staging/android/vsoc.c if (!PAGE_ALIGNED(region->region_begin_offset) || region 874 drivers/staging/android/vsoc.c !PAGE_ALIGNED(region->region_end_offset)) { region 877 drivers/staging/android/vsoc.c region->region_begin_offset, region 878 drivers/staging/android/vsoc.c region->region_end_offset); region 882 drivers/staging/android/vsoc.c if (region->region_begin_offset >= region->region_end_offset || region 883 drivers/staging/android/vsoc.c region->region_end_offset > vsoc_dev.shm_size) { region 886 drivers/staging/android/vsoc.c i, region->region_begin_offset, region 887 drivers/staging/android/vsoc.c region->region_end_offset, vsoc_dev.shm_size); region 891 drivers/staging/android/vsoc.c if (region->managed_by >= vsoc_dev.layout->region_count) { region 894 drivers/staging/android/vsoc.c i, region->managed_by); region 901 drivers/staging/android/vsoc.c const struct vsoc_device_region *region = vsoc_dev.regions + i; region 904 drivers/staging/android/vsoc.c ®ion->host_to_guest_signal_table; region 906 drivers/staging/android/vsoc.c ®ion->guest_to_host_signal_table; region 909 drivers/staging/android/vsoc.c memcpy(vsoc_dev.regions_data[i].name, region->device_name, region 917 drivers/staging/android/vsoc.c shm_off_to_virtual_addr(region->region_begin_offset) + region 920 drivers/staging/android/vsoc.c shm_off_to_virtual_addr(region->region_begin_offset) + region 769 drivers/staging/gasket/gasket_core.c gasket_mm_get_mapping_addrs(const struct gasket_mappable_region *region, region 774 drivers/staging/gasket/gasket_core.c ulong range_start = region->start; region 775 drivers/staging/gasket/gasket_core.c ulong range_length = region->length_bytes; region 2185 drivers/staging/ks7010/ks_hostif.c hostif_mib_set_request_int(priv, LOCAL_REGION, priv->region); region 506 drivers/staging/ks7010/ks_wlan.h u8 region; region 161 drivers/staging/sm750fb/sm750.c const struct fb_fillrect *region) region 182 drivers/staging/sm750fb/sm750.c color = (Bpp == 1) ? region->color : region 183 drivers/staging/sm750fb/sm750.c ((u32 *)info->pseudo_palette)[region->color]; region 184 drivers/staging/sm750fb/sm750.c rop = (region->rop != ROP_COPY) ? HW_ROP2_XOR : HW_ROP2_COPY; region 196 drivers/staging/sm750fb/sm750.c region->dx, region->dy, region 197 drivers/staging/sm750fb/sm750.c region->width, region->height, region 203 drivers/staging/sm750fb/sm750.c const struct fb_copyarea *region) region 229 drivers/staging/sm750fb/sm750.c base, pitch, region->sx, region->sy, region 230 drivers/staging/sm750fb/sm750.c base, pitch, Bpp, region->dx, region->dy, region 231 drivers/staging/sm750fb/sm750.c region->width, region->height, region 710 drivers/tty/serial/8250/8250_pci.c struct pci_bus_region region; region 728 drivers/tty/serial/8250/8250_pci.c pcibios_resource_to_bus(dev->bus, ®ion, &dev->resource[bar]); region 729 drivers/tty/serial/8250/8250_pci.c device_window = ((region.start + MITE_IOWBSR1_WIN_OFFSET) & 0xffffff00) region 235 drivers/usb/core/hcd-pci.c int region; region 237 drivers/usb/core/hcd-pci.c for (region = 0; region < PCI_ROM_RESOURCE; region++) { region 238 drivers/usb/core/hcd-pci.c if (!(pci_resource_flags(dev, region) & region 242 drivers/usb/core/hcd-pci.c hcd->rsrc_start = pci_resource_start(dev, region); region 243 drivers/usb/core/hcd-pci.c hcd->rsrc_len = pci_resource_len(dev, region); region 248 drivers/usb/core/hcd-pci.c if (region == PCI_ROM_RESOURCE) { region 3599 drivers/usb/gadget/udc/net2280.c if (dev->region) region 3656 drivers/usb/gadget/udc/net2280.c dev->region = 1; region 158 drivers/usb/gadget/udc/net2280.h region:1, region 394 drivers/vfio/pci/vfio_pci.c vdev->region[i].ops->release(vdev, &vdev->region[i]); region 397 drivers/vfio/pci/vfio_pci.c kfree(vdev->region); region 398 drivers/vfio/pci/vfio_pci.c vdev->region = NULL; /* don't krealloc a freed pointer */ region 670 drivers/vfio/pci/vfio_pci.c struct vfio_pci_region *region; region 672 drivers/vfio/pci/vfio_pci.c region = krealloc(vdev->region, region 673 drivers/vfio/pci/vfio_pci.c (vdev->num_regions + 1) * sizeof(*region), region 675 drivers/vfio/pci/vfio_pci.c if (!region) region 678 drivers/vfio/pci/vfio_pci.c vdev->region = region; region 679 drivers/vfio/pci/vfio_pci.c vdev->region[vdev->num_regions].type = type; region 680 drivers/vfio/pci/vfio_pci.c vdev->region[vdev->num_regions].subtype = subtype; region 681 drivers/vfio/pci/vfio_pci.c vdev->region[vdev->num_regions].ops = ops; region 682 drivers/vfio/pci/vfio_pci.c vdev->region[vdev->num_regions].size = size; region 683 drivers/vfio/pci/vfio_pci.c vdev->region[vdev->num_regions].flags = flags; region 684 drivers/vfio/pci/vfio_pci.c vdev->region[vdev->num_regions].data = data; region 825 drivers/vfio/pci/vfio_pci.c info.size = vdev->region[i].size; region 826 drivers/vfio/pci/vfio_pci.c info.flags = vdev->region[i].flags; region 828 drivers/vfio/pci/vfio_pci.c cap_type.type = vdev->region[i].type; region 829 drivers/vfio/pci/vfio_pci.c cap_type.subtype = vdev->region[i].subtype; region 836 drivers/vfio/pci/vfio_pci.c if (vdev->region[i].ops->add_capability) { region 837 drivers/vfio/pci/vfio_pci.c ret = vdev->region[i].ops->add_capability(vdev, region 838 drivers/vfio/pci/vfio_pci.c &vdev->region[i], &caps); region 1170 drivers/vfio/pci/vfio_pci.c return vdev->region[index].ops->rw(vdev, buf, region 1211 drivers/vfio/pci/vfio_pci.c struct vfio_pci_region *region = vdev->region + regnum; region 1213 drivers/vfio/pci/vfio_pci.c if (region && region->ops && region->ops->mmap && region 1214 drivers/vfio/pci/vfio_pci.c (region->flags & VFIO_REGION_INFO_FLAG_MMAP)) region 1215 drivers/vfio/pci/vfio_pci.c return region->ops->mmap(vdev, region, vma); region 1382 drivers/vfio/pci/vfio_pci.c kfree(vdev->region); region 28 drivers/vfio/pci/vfio_pci_igd.c void *base = vdev->region[i].data; region 31 drivers/vfio/pci/vfio_pci_igd.c if (pos >= vdev->region[i].size || iswrite) region 34 drivers/vfio/pci/vfio_pci_igd.c count = min(count, (size_t)(vdev->region[i].size - pos)); region 45 drivers/vfio/pci/vfio_pci_igd.c struct vfio_pci_region *region) region 47 drivers/vfio/pci/vfio_pci_igd.c memunmap(region->data); region 115 drivers/vfio/pci/vfio_pci_igd.c struct pci_dev *pdev = vdev->region[i].data; region 120 drivers/vfio/pci/vfio_pci_igd.c if (pos >= vdev->region[i].size || iswrite) region 123 drivers/vfio/pci/vfio_pci_igd.c size = count = min(count, (size_t)(vdev->region[i].size - pos)); region 204 drivers/vfio/pci/vfio_pci_igd.c struct vfio_pci_region *region) region 206 drivers/vfio/pci/vfio_pci_igd.c struct pci_dev *pdev = region->data; region 46 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_nvgpu_data *data = vdev->region[i].data; region 52 drivers/vfio/pci/vfio_pci_nvlink2.c if (pos >= vdev->region[i].size) region 55 drivers/vfio/pci/vfio_pci_nvlink2.c count = min(count, (size_t)(vdev->region[i].size - pos)); region 93 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region) region 95 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_nvgpu_data *data = region->data; region 120 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region = vma->vm_private_data; region 121 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_nvgpu_data *data = region->data; region 140 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region, struct vm_area_struct *vma) region 143 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_nvgpu_data *data = region->data; region 151 drivers/vfio/pci/vfio_pci_nvlink2.c vma->vm_private_data = region; region 175 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region, struct vfio_info_cap *caps) region 177 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_nvgpu_data *data = region->data; region 311 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_npu2_data *data = vdev->region[i].data; region 314 drivers/vfio/pci/vfio_pci_nvlink2.c if (pos >= vdev->region[i].size) region 317 drivers/vfio/pci/vfio_pci_nvlink2.c count = min(count, (size_t)(vdev->region[i].size - pos)); region 332 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region, struct vm_area_struct *vma) region 335 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_npu2_data *data = region->data; region 353 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region) region 355 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_npu2_data *data = region->data; region 362 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_region *region, struct vfio_info_cap *caps) region 364 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_npu2_data *data = region->data; region 58 drivers/vfio/pci/vfio_pci_private.h struct vfio_pci_region *region); region 60 drivers/vfio/pci/vfio_pci_private.h struct vfio_pci_region *region, region 63 drivers/vfio/pci/vfio_pci_private.h struct vfio_pci_region *region, region 100 drivers/vfio/pci/vfio_pci_private.h struct vfio_pci_region *region; region 557 drivers/vfio/platform/vfio_platform_common.c static int vfio_platform_mmap_mmio(struct vfio_platform_region region, region 567 drivers/vfio/platform/vfio_platform_common.c if (region.size < PAGE_SIZE || req_start + req_len > region.size) region 571 drivers/vfio/platform/vfio_platform_common.c vma->vm_pgoff = (region.addr >> PAGE_SHIFT) + pgoff; region 1311 drivers/vfio/vfio_iommu_type1.c struct iommu_resv_region *region; region 1314 drivers/vfio/vfio_iommu_type1.c list_for_each_entry(region, group_resv_regions, list) { region 1320 drivers/vfio/vfio_iommu_type1.c if (region->type == IOMMU_RESV_MSI) { region 1325 drivers/vfio/vfio_iommu_type1.c if (region->type == IOMMU_RESV_SW_MSI) { region 1326 drivers/vfio/vfio_iommu_type1.c *base = region->start; region 1442 drivers/vfio/vfio_iommu_type1.c struct vfio_iova *region; region 1444 drivers/vfio/vfio_iommu_type1.c region = kmalloc(sizeof(*region), GFP_KERNEL); region 1445 drivers/vfio/vfio_iommu_type1.c if (!region) region 1448 drivers/vfio/vfio_iommu_type1.c INIT_LIST_HEAD(®ion->list); region 1449 drivers/vfio/vfio_iommu_type1.c region->start = start; region 1450 drivers/vfio/vfio_iommu_type1.c region->end = end; region 1452 drivers/vfio/vfio_iommu_type1.c list_add_tail(®ion->list, head); region 1537 drivers/vfio/vfio_iommu_type1.c struct iommu_resv_region *region; region 1540 drivers/vfio/vfio_iommu_type1.c list_for_each_entry(region, resv_regions, list) { region 1541 drivers/vfio/vfio_iommu_type1.c if (region->type == IOMMU_RESV_DIRECT_RELAXABLE) region 1544 drivers/vfio/vfio_iommu_type1.c if (vfio_find_dma(iommu, region->start, region->length)) region 1422 drivers/vhost/vhost.c struct vhost_memory_region *region; region 1451 drivers/vhost/vhost.c for (region = newmem->regions; region 1452 drivers/vhost/vhost.c region < newmem->regions + mem.nregions; region 1453 drivers/vhost/vhost.c region++) { region 1455 drivers/vhost/vhost.c region->guest_phys_addr, region 1456 drivers/vhost/vhost.c region->memory_size, region 1457 drivers/vhost/vhost.c region->guest_phys_addr + region 1458 drivers/vhost/vhost.c region->memory_size - 1, region 1459 drivers/vhost/vhost.c region->userspace_addr, region 481 drivers/video/console/sticore.c if (++i<8 && sti->regions[i].region) region 483 drivers/video/console/sticore.c __FILE__, sti->regions[i].region); region 44 drivers/video/fbdev/aty/radeon_accel.c const struct fb_fillrect *region) region 53 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DP_BRUSH_FRGD_CLR, rinfo->pseudo_palette[region->color]); region 55 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DP_BRUSH_FRGD_CLR, region->color); region 64 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DST_Y_X, (region->dy << 16) | region->dx); region 65 drivers/video/fbdev/aty/radeon_accel.c OUTREG(DST_WIDTH_HEIGHT, (region->width << 16) | region->height); region 68 drivers/video/fbdev/aty/radeon_accel.c void radeonfb_fillrect(struct fb_info *info, const struct fb_fillrect *region) region 77 drivers/video/fbdev/aty/radeon_accel.c cfb_fillrect(info, region); region 86 drivers/video/fbdev/aty/radeon_accel.c memcpy(&modded, region, sizeof(struct fb_fillrect)); region 500 drivers/video/fbdev/aty/radeonfb.h extern void radeonfb_fillrect(struct fb_info *info, const struct fb_fillrect *region); region 1731 drivers/video/fbdev/cirrusfb.c const struct fb_fillrect *region) region 1738 drivers/video/fbdev/cirrusfb.c cinfo->pseudo_palette[region->color] : region->color; region 1743 drivers/video/fbdev/cirrusfb.c cfb_fillrect(info, region); region 1750 drivers/video/fbdev/cirrusfb.c memcpy(&modded, region, sizeof(struct fb_fillrect)); region 1763 drivers/video/fbdev/cirrusfb.c (region->dx * m) / 8, region->dy, region 1764 drivers/video/fbdev/cirrusfb.c (region->width * m) / 8, region->height, region 65 drivers/video/fbdev/core/bitblit.c struct fb_fillrect region; region 67 drivers/video/fbdev/core/bitblit.c region.color = attr_bgcol_ec(bgshift, vc, info); region 68 drivers/video/fbdev/core/bitblit.c region.dx = sx * vc->vc_font.width; region 69 drivers/video/fbdev/core/bitblit.c region.dy = sy * vc->vc_font.height; region 70 drivers/video/fbdev/core/bitblit.c region.width = width * vc->vc_font.width; region 71 drivers/video/fbdev/core/bitblit.c region.height = height * vc->vc_font.height; region 72 drivers/video/fbdev/core/bitblit.c region.rop = ROP_COPY; region 74 drivers/video/fbdev/core/bitblit.c info->fbops->fb_fillrect(info, ®ion); region 214 drivers/video/fbdev/core/bitblit.c struct fb_fillrect region; region 216 drivers/video/fbdev/core/bitblit.c region.color = color; region 217 drivers/video/fbdev/core/bitblit.c region.rop = ROP_COPY; region 220 drivers/video/fbdev/core/bitblit.c region.dx = info->var.xoffset + rs; region 221 drivers/video/fbdev/core/bitblit.c region.dy = 0; region 222 drivers/video/fbdev/core/bitblit.c region.width = rw; region 223 drivers/video/fbdev/core/bitblit.c region.height = info->var.yres_virtual; region 224 drivers/video/fbdev/core/bitblit.c info->fbops->fb_fillrect(info, ®ion); region 228 drivers/video/fbdev/core/bitblit.c region.dx = info->var.xoffset; region 229 drivers/video/fbdev/core/bitblit.c region.dy = info->var.yoffset + bs; region 230 drivers/video/fbdev/core/bitblit.c region.width = rs; region 231 drivers/video/fbdev/core/bitblit.c region.height = bh; region 232 drivers/video/fbdev/core/bitblit.c info->fbops->fb_fillrect(info, ®ion); region 84 drivers/video/fbdev/core/fbcon_ccw.c struct fb_fillrect region; region 88 drivers/video/fbdev/core/fbcon_ccw.c region.color = attr_bgcol_ec(bgshift,vc,info); region 89 drivers/video/fbdev/core/fbcon_ccw.c region.dx = sy * vc->vc_font.height; region 90 drivers/video/fbdev/core/fbcon_ccw.c region.dy = vyres - ((sx + width) * vc->vc_font.width); region 91 drivers/video/fbdev/core/fbcon_ccw.c region.height = width * vc->vc_font.width; region 92 drivers/video/fbdev/core/fbcon_ccw.c region.width = height * vc->vc_font.height; region 93 drivers/video/fbdev/core/fbcon_ccw.c region.rop = ROP_COPY; region 95 drivers/video/fbdev/core/fbcon_ccw.c info->fbops->fb_fillrect(info, ®ion); region 199 drivers/video/fbdev/core/fbcon_ccw.c struct fb_fillrect region; region 201 drivers/video/fbdev/core/fbcon_ccw.c region.color = color; region 202 drivers/video/fbdev/core/fbcon_ccw.c region.rop = ROP_COPY; region 205 drivers/video/fbdev/core/fbcon_ccw.c region.dx = 0; region 206 drivers/video/fbdev/core/fbcon_ccw.c region.dy = info->var.yoffset; region 207 drivers/video/fbdev/core/fbcon_ccw.c region.height = rw; region 208 drivers/video/fbdev/core/fbcon_ccw.c region.width = info->var.xres_virtual; region 209 drivers/video/fbdev/core/fbcon_ccw.c info->fbops->fb_fillrect(info, ®ion); region 213 drivers/video/fbdev/core/fbcon_ccw.c region.dx = info->var.xoffset + bs; region 214 drivers/video/fbdev/core/fbcon_ccw.c region.dy = 0; region 215 drivers/video/fbdev/core/fbcon_ccw.c region.height = info->var.yres_virtual; region 216 drivers/video/fbdev/core/fbcon_ccw.c region.width = bh; region 217 drivers/video/fbdev/core/fbcon_ccw.c info->fbops->fb_fillrect(info, ®ion); region 69 drivers/video/fbdev/core/fbcon_cw.c struct fb_fillrect region; region 73 drivers/video/fbdev/core/fbcon_cw.c region.color = attr_bgcol_ec(bgshift,vc,info); region 74 drivers/video/fbdev/core/fbcon_cw.c region.dx = vxres - ((sy + height) * vc->vc_font.height); region 75 drivers/video/fbdev/core/fbcon_cw.c region.dy = sx * vc->vc_font.width; region 76 drivers/video/fbdev/core/fbcon_cw.c region.height = width * vc->vc_font.width; region 77 drivers/video/fbdev/core/fbcon_cw.c region.width = height * vc->vc_font.height; region 78 drivers/video/fbdev/core/fbcon_cw.c region.rop = ROP_COPY; region 80 drivers/video/fbdev/core/fbcon_cw.c info->fbops->fb_fillrect(info, ®ion); region 182 drivers/video/fbdev/core/fbcon_cw.c struct fb_fillrect region; region 184 drivers/video/fbdev/core/fbcon_cw.c region.color = color; region 185 drivers/video/fbdev/core/fbcon_cw.c region.rop = ROP_COPY; region 188 drivers/video/fbdev/core/fbcon_cw.c region.dx = 0; region 189 drivers/video/fbdev/core/fbcon_cw.c region.dy = info->var.yoffset + rs; region 190 drivers/video/fbdev/core/fbcon_cw.c region.height = rw; region 191 drivers/video/fbdev/core/fbcon_cw.c region.width = info->var.xres_virtual; region 192 drivers/video/fbdev/core/fbcon_cw.c info->fbops->fb_fillrect(info, ®ion); region 196 drivers/video/fbdev/core/fbcon_cw.c region.dx = info->var.xoffset; region 197 drivers/video/fbdev/core/fbcon_cw.c region.dy = info->var.yoffset; region 198 drivers/video/fbdev/core/fbcon_cw.c region.height = info->var.yres; region 199 drivers/video/fbdev/core/fbcon_cw.c region.width = bh; region 200 drivers/video/fbdev/core/fbcon_cw.c info->fbops->fb_fillrect(info, ®ion); region 70 drivers/video/fbdev/core/fbcon_ud.c struct fb_fillrect region; region 75 drivers/video/fbdev/core/fbcon_ud.c region.color = attr_bgcol_ec(bgshift,vc,info); region 76 drivers/video/fbdev/core/fbcon_ud.c region.dy = vyres - ((sy + height) * vc->vc_font.height); region 77 drivers/video/fbdev/core/fbcon_ud.c region.dx = vxres - ((sx + width) * vc->vc_font.width); region 78 drivers/video/fbdev/core/fbcon_ud.c region.width = width * vc->vc_font.width; region 79 drivers/video/fbdev/core/fbcon_ud.c region.height = height * vc->vc_font.height; region 80 drivers/video/fbdev/core/fbcon_ud.c region.rop = ROP_COPY; region 82 drivers/video/fbdev/core/fbcon_ud.c info->fbops->fb_fillrect(info, ®ion); region 229 drivers/video/fbdev/core/fbcon_ud.c struct fb_fillrect region; region 231 drivers/video/fbdev/core/fbcon_ud.c region.color = color; region 232 drivers/video/fbdev/core/fbcon_ud.c region.rop = ROP_COPY; region 235 drivers/video/fbdev/core/fbcon_ud.c region.dy = 0; region 236 drivers/video/fbdev/core/fbcon_ud.c region.dx = info->var.xoffset; region 237 drivers/video/fbdev/core/fbcon_ud.c region.width = rw; region 238 drivers/video/fbdev/core/fbcon_ud.c region.height = info->var.yres_virtual; region 239 drivers/video/fbdev/core/fbcon_ud.c info->fbops->fb_fillrect(info, ®ion); region 243 drivers/video/fbdev/core/fbcon_ud.c region.dy = info->var.yoffset; region 244 drivers/video/fbdev/core/fbcon_ud.c region.dx = info->var.xoffset; region 245 drivers/video/fbdev/core/fbcon_ud.c region.height = bh; region 246 drivers/video/fbdev/core/fbcon_ud.c region.width = info->var.xres; region 247 drivers/video/fbdev/core/fbcon_ud.c info->fbops->fb_fillrect(info, ®ion); region 61 drivers/video/fbdev/cyber2000fb.c unsigned char __iomem *region; region 188 drivers/video/fbdev/cyber2000fb.c cyber2000fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 195 drivers/video/fbdev/cyber2000fb.c cfb_copyarea(info, region); region 200 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writew(region->width - 1, CO_REG_PIXWIDTH, cfb); region 201 drivers/video/fbdev/cyber2000fb.c cyber2000fb_writew(region->height - 1, CO_REG_PIXHEIGHT, cfb); region 203 drivers/video/fbdev/cyber2000fb.c src = region->sx + region->sy * cfb->fb.var.xres_virtual; region 204 drivers/video/fbdev/cyber2000fb.c dst = region->dx + region->dy * cfb->fb.var.xres_virtual; region 206 drivers/video/fbdev/cyber2000fb.c if (region->sx < region->dx) { region 207 drivers/video/fbdev/cyber2000fb.c src += region->width - 1; region 208 drivers/video/fbdev/cyber2000fb.c dst += region->width - 1; region 212 drivers/video/fbdev/cyber2000fb.c if (region->sy < region->dy) { region 213 drivers/video/fbdev/cyber2000fb.c src += (region->height - 1) * cfb->fb.var.xres_virtual; region 214 drivers/video/fbdev/cyber2000fb.c dst += (region->height - 1) * cfb->fb.var.xres_virtual; region 1558 drivers/video/fbdev/cyber2000fb.c cfb->fb.screen_base = cfb->region; region 1736 drivers/video/fbdev/cyber2000fb.c cfb->region = pci_ioremap_bar(dev, 0); region 1737 drivers/video/fbdev/cyber2000fb.c if (!cfb->region) { region 1742 drivers/video/fbdev/cyber2000fb.c cfb->regs = cfb->region + MMIO_OFFSET; region 1787 drivers/video/fbdev/cyber2000fb.c iounmap(cfb->region); region 1802 drivers/video/fbdev/cyber2000fb.c iounmap(cfb->region); region 116 drivers/video/fbdev/fb-puv3.c const struct fb_fillrect *region) region 118 drivers/video/fbdev/fb-puv3.c int awidth = region->width; region 119 drivers/video/fbdev/fb-puv3.c int aheight = region->height; region 125 drivers/video/fbdev/fb-puv3.c int dst_x0 = region->dx; region 127 drivers/video/fbdev/fb-puv3.c int dst_y0 = region->dy; region 157 drivers/video/fbdev/fb-puv3.c fg_color = region->color; region 176 drivers/video/fbdev/fb-puv3.c const struct fb_fillrect *region) region 182 drivers/video/fbdev/fb-puv3.c sys_fillrect(info, region); region 189 drivers/video/fbdev/fb-puv3.c memcpy(&modded, region, sizeof(struct fb_fillrect)); region 151 drivers/video/fbdev/hpfb.c static void hpfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) region 155 drivers/video/fbdev/hpfb.c clr = region->color & 0xff; region 162 drivers/video/fbdev/hpfb.c out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_SET : RR_INVERT)); region 166 drivers/video/fbdev/hpfb.c out_8(fb_regs + WMRR, (region->rop == ROP_COPY ? RR_CLEAR : RR_NOOP)); region 168 drivers/video/fbdev/hpfb.c topcat_blit(region->dx, region->dy, region->dx, region->dy, region->width, region->height, -1); region 326 drivers/video/fbdev/i810/i810_accel.c void i810fb_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 333 drivers/video/fbdev/i810/i810_accel.c cfb_copyarea(info, region); region 337 drivers/video/fbdev/i810/i810_accel.c dx = region->dx * par->depth; region 338 drivers/video/fbdev/i810/i810_accel.c sx = region->sx * par->depth; region 339 drivers/video/fbdev/i810/i810_accel.c width = region->width * par->depth; region 340 drivers/video/fbdev/i810/i810_accel.c sy = region->sy; region 341 drivers/video/fbdev/i810/i810_accel.c dy = region->dy; region 342 drivers/video/fbdev/i810/i810_accel.c height = region->height; region 30 drivers/video/fbdev/i810/i810_main.h const struct fb_copyarea *region); region 150 drivers/video/fbdev/intelfb/intelfbdrv.c const struct fb_copyarea *region); region 1489 drivers/video/fbdev/intelfb/intelfbdrv.c const struct fb_copyarea *region) region 1498 drivers/video/fbdev/intelfb/intelfbdrv.c cfb_copyarea(info, region); region 1502 drivers/video/fbdev/intelfb/intelfbdrv.c intelfbhw_do_bitblt(dinfo, region->sx, region->sy, region->dx, region 1503 drivers/video/fbdev/intelfb/intelfbdrv.c region->dy, region->width, region->height, region 298 drivers/video/fbdev/nvidia/nv_accel.c void nvidiafb_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 306 drivers/video/fbdev/nvidia/nv_accel.c cfb_copyarea(info, region); region 311 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (region->sy << 16) | region->sx); region 312 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (region->dy << 16) | region->dx); region 313 drivers/video/fbdev/nvidia/nv_accel.c NVDmaNext(par, (region->height << 16) | region->width); region 52 drivers/video/fbdev/nvidia/nv_proto.h const struct fb_copyarea *region); region 619 drivers/video/fbdev/omap/lcdc.c static int alloc_fbmem(struct omapfb_mem_region *region) region 629 drivers/video/fbdev/omap/lcdc.c if (region->size > frame_size) region 630 drivers/video/fbdev/omap/lcdc.c frame_size = region->size; region 638 drivers/video/fbdev/omap/lcdc.c region->size = frame_size; region 639 drivers/video/fbdev/omap/lcdc.c region->paddr = lcdc.vram_phys; region 640 drivers/video/fbdev/omap/lcdc.c region->vaddr = lcdc.vram_virt; region 641 drivers/video/fbdev/omap/lcdc.c region->alloc = 1; region 666 drivers/video/fbdev/omap/lcdc.c return alloc_fbmem(&req_md->region[0]); region 55 drivers/video/fbdev/omap/omapfb.h struct omapfb_mem_region region[OMAPFB_PLANE_NUM]; region 137 drivers/video/fbdev/omap/omapfb_main.c fbdev->mem_desc.region[i].size = region 152 drivers/video/fbdev/omap/omapfb_main.c fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); region 165 drivers/video/fbdev/omap/omapfb_main.c fbdev->mem_desc.region[i].paddr, region 166 drivers/video/fbdev/omap/omapfb_main.c fbdev->mem_desc.region[i].vaddr, region 167 drivers/video/fbdev/omap/omapfb_main.c fbdev->mem_desc.region[i].size); region 378 drivers/video/fbdev/omap/omapfb_main.c rg = &plane->fbdev->mem_desc.region[plane->idx]; region 525 drivers/video/fbdev/omap/omapfb_main.c max_frame_size = fbdev->mem_desc.region[plane->idx].size; region 777 drivers/video/fbdev/omap/omapfb_main.c if (pi->enabled && !fbdev->mem_desc.region[plane->idx].size) { region 816 drivers/video/fbdev/omap/omapfb_main.c struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; region 894 drivers/video/fbdev/omap/omapfb_main.c rg = &fbdev->mem_desc.region[plane->idx]; region 1031 drivers/video/fbdev/omap/omapfb_main.c *(u16 *)fbdev->mem_desc.region[0].vaddr = pixval; region 1733 drivers/video/fbdev/omap/omapfb_main.c vram += fbdev->mem_desc.region[i].size; region 29 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi->id == ofbi->region->id) region 32 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c return OMAPFB_MEM_IDX_ENABLED | ofbi->region->id; region 70 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c old_rg = ofbi->region; region 99 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c ofbi->region = new_rg; region 155 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c ofbi->region = old_rg; region 219 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c rg = ofbi->region; region 236 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi2->region != rg) region 267 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c rg = omapfb_get_mem_region(ofbi->region); region 152 drivers/video/fbdev/omap2/omapfb/omapfb-main.c const struct vrfb *vrfb = &ofbi->region->vrfb; region 181 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[rot] region 184 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->paddr; region 191 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[0]; region 193 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->paddr; region 199 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.vaddr[0]; region 201 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vaddr; region 446 drivers/video/fbdev/omap2/omapfb/omapfb-main.c unsigned long max_frame_size = ofbi->region->size; region 493 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_mem_region *rg = ofbi->region; region 554 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fbi->screen_base = ofbi->region->vrfb.vaddr[0]; region 556 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fix->smem_start = ofbi->region->vrfb.paddr[0]; region 595 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_mem_region *rg = ofbi->region; region 664 drivers/video/fbdev/omap2/omapfb/omapfb-main.c WARN_ON(!atomic_read(&ofbi->region->lock_count)); region 686 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size != 0 && check_fb_size(ofbi, var)) region 847 drivers/video/fbdev/omap2/omapfb/omapfb-main.c WARN_ON(!atomic_read(&ofbi->region->lock_count)); region 868 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size) region 941 drivers/video/fbdev/omap2/omapfb/omapfb-main.c WARN_ON(!atomic_read(&ofbi->region->lock_count)); region 948 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size == 0) { region 1005 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); region 1009 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); region 1022 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); region 1033 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); region 1057 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); region 1061 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); region 1098 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = omapfb_get_mem_region(ofbi->region); region 1122 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); region 1307 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = ofbi->region; region 1367 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = ofbi->region; region 1558 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = ofbi->region; region 1588 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_mem_region *rg = ofbi->region; region 1742 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size == 0) { region 1895 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->region = &fbdev->regions[i]; region 1896 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->region->id = i; region 1897 drivers/video/fbdev/omap2/omapfb/omapfb-main.c init_rwsem(&ofbi->region->lock); region 1931 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); region 1933 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); region 1945 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size == 0) region 1968 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); region 1970 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); region 58 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c rg = omapfb_get_mem_region(ofbi->region); region 107 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); region 123 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); region 261 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); region 268 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); region 302 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); region 306 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); region 393 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); region 397 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); region 418 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%lu\n", ofbi->region->size); region 444 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c rg = ofbi->region; region 458 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (ofbi2->region != rg) region 471 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (size != ofbi->region->size) { region 472 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c r = omapfb_realloc_fbmem(fbi, size, ofbi->region->type); region 495 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%0x\n", ofbi->region->paddr); region 504 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%p\n", ofbi->region->vaddr); region 60 drivers/video/fbdev/omap2/omapfb/omapfb.h struct omapfb2_mem_region *region; region 1046 drivers/video/fbdev/pm2fb.c const struct fb_fillrect *region) region 1052 drivers/video/fbdev/pm2fb.c ((u32 *)info->pseudo_palette)[region->color] : region->color; region 1057 drivers/video/fbdev/pm2fb.c region->rop != ROP_COPY ) { region 1058 drivers/video/fbdev/pm2fb.c cfb_fillrect(info, region); region 1065 drivers/video/fbdev/pm2fb.c memcpy(&modded, region, sizeof(struct fb_fillrect)); region 376 drivers/video/fbdev/pm3fb.c const struct fb_fillrect *region) region 383 drivers/video/fbdev/pm3fb.c ((u32 *)info->pseudo_palette)[region->color] : region->color; region 388 drivers/video/fbdev/pm3fb.c cfb_fillrect(info, region); region 391 drivers/video/fbdev/pm3fb.c if (region->rop == ROP_COPY ) region 400 drivers/video/fbdev/pm3fb.c memcpy(&modded, region, sizeof(struct fb_fillrect)); region 1446 drivers/video/fbdev/riva/fbdev.c static void rivafb_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 1451 drivers/video/fbdev/riva/fbdev.c cfb_copyarea(info, region); region 1457 drivers/video/fbdev/riva/fbdev.c (region->sy << 16) | region->sx); region 1459 drivers/video/fbdev/riva/fbdev.c (region->dy << 16) | region->dx); region 1462 drivers/video/fbdev/riva/fbdev.c (region->height << 16) | region->width); region 400 drivers/video/fbdev/savage/savagefb.h const struct fb_copyarea *region); region 31 drivers/video/fbdev/savage/savagefb_accel.c void savagefb_copyarea(struct fb_info *info, const struct fb_copyarea *region) region 34 drivers/video/fbdev/savage/savagefb_accel.c int sx = region->sx, dx = region->dx; region 35 drivers/video/fbdev/savage/savagefb_accel.c int sy = region->sy, dy = region->dy; region 38 drivers/video/fbdev/savage/savagefb_accel.c if (!region->width || !region->height) region 47 drivers/video/fbdev/savage/savagefb_accel.c sx += region->width - 1; region 48 drivers/video/fbdev/savage/savagefb_accel.c dx += region->width - 1; region 54 drivers/video/fbdev/savage/savagefb_accel.c sy += region->height - 1; region 55 drivers/video/fbdev/savage/savagefb_accel.c dy += region->height - 1; region 62 drivers/video/fbdev/savage/savagefb_accel.c BCI_SEND(BCI_W_H(region->width, region->height)); region 493 drivers/video/fbdev/skeletonfb.c void xxxfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) region 74 drivers/video/fbdev/sticore.h u32 region; /* complete region value */ region 820 drivers/vme/bridges/vme_tsi148.c struct pci_bus_region region; region 863 drivers/vme/bridges/vme_tsi148.c pcibios_resource_to_bus(pdev->bus, ®ion, region 865 drivers/vme/bridges/vme_tsi148.c pci_base = region.start; region 33 fs/proc/nommu.c static int nommu_region_show(struct seq_file *m, struct vm_region *region) region 40 fs/proc/nommu.c flags = region->vm_flags; region 41 fs/proc/nommu.c file = region->vm_file; region 44 fs/proc/nommu.c struct inode *inode = file_inode(region->vm_file); region 52 fs/proc/nommu.c region->vm_start, region 53 fs/proc/nommu.c region->vm_end, region 58 fs/proc/nommu.c ((loff_t)region->vm_pgoff) << PAGE_SHIFT, region 24 fs/proc/task_nommu.c struct vm_region *region; region 34 fs/proc/task_nommu.c region = vma->vm_region; region 35 fs/proc/task_nommu.c if (region) { region 36 fs/proc/task_nommu.c size = kobjsize(region); region 37 fs/proc/task_nommu.c size += region->vm_end - region->vm_start; region 47 fs/proc/task_nommu.c if (region) region 48 fs/proc/task_nommu.c slack = region->vm_end - vma->vm_end; region 103 fs/proc/task_nommu.c struct vm_region *region; region 111 fs/proc/task_nommu.c region = vma->vm_region; region 112 fs/proc/task_nommu.c if (region) { region 113 fs/proc/task_nommu.c size += kobjsize(region); region 114 fs/proc/task_nommu.c size += region->vm_end - region->vm_start; region 57 include/linux/dm-dirty-log.h int (*is_clean)(struct dm_dirty_log *log, region_t region); region 70 include/linux/dm-dirty-log.h int (*in_sync)(struct dm_dirty_log *log, region_t region, region 85 include/linux/dm-dirty-log.h void (*mark_region)(struct dm_dirty_log *log, region_t region); region 86 include/linux/dm-dirty-log.h void (*clear_region)(struct dm_dirty_log *log, region_t region); region 100 include/linux/dm-dirty-log.h int (*get_resync_work)(struct dm_dirty_log *log, region_t *region); region 108 include/linux/dm-dirty-log.h region_t region, int in_sync); region 129 include/linux/dm-dirty-log.h int (*is_remote_recovering)(struct dm_dirty_log *log, region_t region); region 82 include/linux/dm-io.h struct dm_io_region *region, unsigned long *sync_error_bits); region 51 include/linux/dm-region-hash.h sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region); region 64 include/linux/dm-region-hash.h int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block); region 65 include/linux/dm-region-hash.h void dm_rh_set_state(struct dm_region_hash *rh, region_t region, region 76 include/linux/dm-region-hash.h void dm_rh_dec(struct dm_region_hash *rh, region_t region); region 265 include/linux/fb.h void (*fb_copyarea) (struct fb_info *info, const struct fb_copyarea *region); region 350 include/linux/firewire.h const struct fw_address_region *region); region 29 include/linux/fpga/fpga-region.h int (*get_bridges)(struct fpga_region *region); region 38 include/linux/fpga/fpga-region.h int fpga_region_program_fpga(struct fpga_region *region); region 43 include/linux/fpga/fpga-region.h void fpga_region_free(struct fpga_region *region); region 44 include/linux/fpga/fpga-region.h int fpga_region_register(struct fpga_region *region); region 45 include/linux/fpga/fpga-region.h void fpga_region_unregister(struct fpga_region *region); region 280 include/linux/iommu.h struct iommu_resv_region *region); region 235 include/linux/ioport.h #define rename_region(region, newname) do { (region)->name = (newname); } while (0) region 99 include/linux/ipack.h struct ipack_region region[IPACK_SPACE_COUNT]; region 524 include/linux/memblock.h #define for_each_memblock(memblock_type, region) \ region 525 include/linux/memblock.h for (region = memblock.memblock_type.regions; \ region 526 include/linux/memblock.h region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \ region 527 include/linux/memblock.h region++) region 609 include/linux/mtd/spi-nor.h spi_nor_region_is_last(const struct spi_nor_erase_region *region) region 611 include/linux/mtd/spi-nor.h return region->offset & SNOR_LAST_REGION; region 615 include/linux/mtd/spi-nor.h spi_nor_region_end(const struct spi_nor_erase_region *region) region 617 include/linux/mtd/spi-nor.h return (region->offset & ~SNOR_ERASE_FLAGS_MASK) + region->size; region 621 include/linux/mtd/spi-nor.h spi_nor_region_mark_end(struct spi_nor_erase_region *region) region 623 include/linux/mtd/spi-nor.h region->offset |= SNOR_LAST_REGION; region 627 include/linux/mtd/spi-nor.h spi_nor_region_mark_overlay(struct spi_nor_erase_region *region) region 629 include/linux/mtd/spi-nor.h region->offset |= SNOR_OVERLAID_REGION; region 979 include/linux/pci.h void pcibios_resource_to_bus(struct pci_bus *bus, struct pci_bus_region *region, region 982 include/linux/pci.h struct pci_bus_region *region); region 1340 include/linux/pci.h struct pci_bus_region region; region 1342 include/linux/pci.h pcibios_resource_to_bus(pdev->bus, ®ion, &pdev->resource[bar]); region 1343 include/linux/pci.h return region.start; region 1623 include/linux/platform_data/cros_ec_commands.h uint32_t region; region 5119 include/linux/platform_data/cros_ec_commands.h uint8_t region; /* enum ec_flash_region */ region 886 include/net/devlink.h void devlink_region_destroy(struct devlink_region *region); region 888 include/net/devlink.h int devlink_region_snapshot_create(struct devlink_region *region, region 643 include/uapi/drm/i915_drm.h int region; region 650 include/uapi/drm/i915_drm.h int region; region 655 include/uapi/drm/i915_drm.h int region; region 664 include/uapi/drm/i915_drm.h int region; region 735 include/uapi/drm/radeon_drm.h int region; region 742 include/uapi/drm/radeon_drm.h int region; region 747 include/uapi/drm/radeon_drm.h int region; region 1132 include/uapi/linux/ethtool.h __u32 region; region 250 include/uapi/linux/omap3isp.h struct omap3isp_hist_region region[OMAP3ISP_HIST_MAX_REGIONS]; region 951 kernel/power/snapshot.c struct nosave_region *region; region 958 kernel/power/snapshot.c region = list_entry(nosave_regions.prev, region 960 kernel/power/snapshot.c if (region->end_pfn == start_pfn) { region 961 kernel/power/snapshot.c region->end_pfn = end_pfn; region 967 kernel/power/snapshot.c region = kmalloc(sizeof(struct nosave_region), GFP_KERNEL); region 968 kernel/power/snapshot.c BUG_ON(!region); region 971 kernel/power/snapshot.c region = memblock_alloc(sizeof(struct nosave_region), region 973 kernel/power/snapshot.c if (!region) region 977 kernel/power/snapshot.c region->start_pfn = start_pfn; region 978 kernel/power/snapshot.c region->end_pfn = end_pfn; region 979 kernel/power/snapshot.c list_add_tail(®ion->list, &nosave_regions); region 1045 kernel/power/snapshot.c struct nosave_region *region; region 1050 kernel/power/snapshot.c list_for_each_entry(region, &nosave_regions, list) { region 1054 kernel/power/snapshot.c (unsigned long long) region->start_pfn << PAGE_SHIFT, region 1055 kernel/power/snapshot.c ((unsigned long long) region->end_pfn << PAGE_SHIFT) region 1058 kernel/power/snapshot.c for (pfn = region->start_pfn; pfn < region->end_pfn; pfn++) region 514 lib/bitmap.c static int bitmap_set_region(const struct region *r, region 528 lib/bitmap.c static int bitmap_check_region(const struct region *r) region 578 lib/bitmap.c static const char *bitmap_parse_region(const char *str, struct region *r) region 644 lib/bitmap.c struct region r; region 458 mm/nommu.c struct vm_region *region, *last; region 470 mm/nommu.c region = rb_entry(p, struct vm_region, vm_rb); region 473 mm/nommu.c BUG_ON(region->vm_end <= region->vm_start); region 474 mm/nommu.c BUG_ON(region->vm_top < region->vm_end); region 475 mm/nommu.c BUG_ON(region->vm_start < last->vm_top); region 489 mm/nommu.c static void add_nommu_region(struct vm_region *region) region 501 mm/nommu.c if (region->vm_start < pregion->vm_start) region 503 mm/nommu.c else if (region->vm_start > pregion->vm_start) region 505 mm/nommu.c else if (pregion == region) region 511 mm/nommu.c rb_link_node(®ion->vm_rb, parent, p); region 512 mm/nommu.c rb_insert_color(®ion->vm_rb, &nommu_region_tree); region 520 mm/nommu.c static void delete_nommu_region(struct vm_region *region) region 525 mm/nommu.c rb_erase(®ion->vm_rb, &nommu_region_tree); region 548 mm/nommu.c static void __put_nommu_region(struct vm_region *region) region 553 mm/nommu.c if (--region->vm_usage == 0) { region 554 mm/nommu.c if (region->vm_top > region->vm_start) region 555 mm/nommu.c delete_nommu_region(region); region 558 mm/nommu.c if (region->vm_file) region 559 mm/nommu.c fput(region->vm_file); region 563 mm/nommu.c if (region->vm_flags & VM_MAPPED_COPY) region 564 mm/nommu.c free_page_series(region->vm_start, region->vm_top); region 565 mm/nommu.c kmem_cache_free(vm_region_jar, region); region 574 mm/nommu.c static void put_nommu_region(struct vm_region *region) region 577 mm/nommu.c __put_nommu_region(region); region 1005 mm/nommu.c struct vm_region *region, region 1052 mm/nommu.c region->vm_flags = vma->vm_flags |= VM_MAPPED_COPY; region 1053 mm/nommu.c region->vm_start = (unsigned long) base; region 1054 mm/nommu.c region->vm_end = region->vm_start + len; region 1055 mm/nommu.c region->vm_top = region->vm_start + (total << PAGE_SHIFT); region 1057 mm/nommu.c vma->vm_start = region->vm_start; region 1058 mm/nommu.c vma->vm_end = region->vm_start + len; region 1082 mm/nommu.c free_page_series(region->vm_start, region->vm_top); region 1083 mm/nommu.c region->vm_start = vma->vm_start = 0; region 1084 mm/nommu.c region->vm_end = vma->vm_end = 0; region 1085 mm/nommu.c region->vm_top = 0; region 1109 mm/nommu.c struct vm_region *region; region 1132 mm/nommu.c region = kmem_cache_zalloc(vm_region_jar, GFP_KERNEL); region 1133 mm/nommu.c if (!region) region 1140 mm/nommu.c region->vm_usage = 1; region 1141 mm/nommu.c region->vm_flags = vm_flags; region 1142 mm/nommu.c region->vm_pgoff = pgoff; region 1148 mm/nommu.c region->vm_file = get_file(file); region 1220 mm/nommu.c fput(region->vm_file); region 1221 mm/nommu.c kmem_cache_free(vm_region_jar, region); region 1222 mm/nommu.c region = pregion; region 1248 mm/nommu.c vma->vm_start = region->vm_start = addr; region 1249 mm/nommu.c vma->vm_end = region->vm_end = addr + len; region 1254 mm/nommu.c vma->vm_region = region; region 1262 mm/nommu.c ret = do_mmap_private(vma, region, len, capabilities); region 1265 mm/nommu.c add_nommu_region(region); region 1271 mm/nommu.c memset((void *)region->vm_start, 0, region 1272 mm/nommu.c region->vm_end - region->vm_start); region 1284 mm/nommu.c if (vma->vm_flags & VM_EXEC && !region->vm_icache_flushed) { region 1285 mm/nommu.c flush_icache_range(region->vm_start, region->vm_end); region 1286 mm/nommu.c region->vm_icache_flushed = true; region 1296 mm/nommu.c if (region->vm_file) region 1297 mm/nommu.c fput(region->vm_file); region 1298 mm/nommu.c kmem_cache_free(vm_region_jar, region); region 1311 mm/nommu.c kmem_cache_free(vm_region_jar, region); region 1387 mm/nommu.c struct vm_region *region; region 1398 mm/nommu.c region = kmem_cache_alloc(vm_region_jar, GFP_KERNEL); region 1399 mm/nommu.c if (!region) region 1404 mm/nommu.c kmem_cache_free(vm_region_jar, region); region 1409 mm/nommu.c *region = *vma->vm_region; region 1410 mm/nommu.c new->vm_region = region; region 1415 mm/nommu.c region->vm_top = region->vm_end = new->vm_end = addr; region 1417 mm/nommu.c region->vm_start = new->vm_start = addr; region 1418 mm/nommu.c region->vm_pgoff = new->vm_pgoff += npages; region 1450 mm/nommu.c struct vm_region *region; region 1462 mm/nommu.c region = vma->vm_region; region 1463 mm/nommu.c BUG_ON(region->vm_usage != 1); region 1466 mm/nommu.c delete_nommu_region(region); region 1467 mm/nommu.c if (from > region->vm_start) { region 1468 mm/nommu.c to = region->vm_top; region 1469 mm/nommu.c region->vm_top = region->vm_end = from; region 1471 mm/nommu.c region->vm_start = to; region 1473 mm/nommu.c add_nommu_region(region); region 1795 mm/nommu.c struct vm_region *region; region 1826 mm/nommu.c region = vma->vm_region; region 1827 mm/nommu.c r_size = region->vm_top - region->vm_start; region 1828 mm/nommu.c r_top = (region->vm_pgoff << PAGE_SHIFT) + r_size; region 1831 mm/nommu.c region->vm_top -= r_top - newsize; region 1832 mm/nommu.c if (region->vm_end > region->vm_top) region 1833 mm/nommu.c region->vm_end = region->vm_top; region 347 net/core/devlink.c struct devlink_region *region; region 356 net/core/devlink.c struct devlink_region *region; region 358 net/core/devlink.c list_for_each_entry(region, &devlink->region_list, list) region 359 net/core/devlink.c if (!strcmp(region->name, region_name)) region 360 net/core/devlink.c return region; region 366 net/core/devlink.c devlink_region_snapshot_get_by_id(struct devlink_region *region, u32 id) region 370 net/core/devlink.c list_for_each_entry(snapshot, ®ion->snapshot_list, list) region 3523 net/core/devlink.c struct devlink_region *region) region 3534 net/core/devlink.c list_for_each_entry(snapshot, ®ion->snapshot_list, list) { region 3551 net/core/devlink.c struct devlink_region *region) region 3564 net/core/devlink.c err = nla_put_string(msg, DEVLINK_ATTR_REGION_NAME, region->name); region 3569 net/core/devlink.c region->size, region 3574 net/core/devlink.c err = devlink_nl_region_snapshots_id_put(msg, devlink, region); region 3586 net/core/devlink.c static void devlink_nl_region_notify(struct devlink_region *region, region 3590 net/core/devlink.c struct devlink *devlink = region->devlink; region 3610 net/core/devlink.c region->name); region 3621 net/core/devlink.c region->size, DEVLINK_ATTR_PAD); region 3638 net/core/devlink.c static void devlink_region_snapshot_del(struct devlink_region *region, region 3641 net/core/devlink.c devlink_nl_region_notify(region, snapshot, DEVLINK_CMD_REGION_DEL); region 3642 net/core/devlink.c region->cur_snapshots--; region 3652 net/core/devlink.c struct devlink_region *region; region 3661 net/core/devlink.c region = devlink_region_get_by_name(devlink, region_name); region 3662 net/core/devlink.c if (!region) region 3671 net/core/devlink.c region); region 3683 net/core/devlink.c struct devlink_region *region; region 3695 net/core/devlink.c list_for_each_entry(region, &devlink->region_list, list) { region 3704 net/core/devlink.c NLM_F_MULTI, region); region 3724 net/core/devlink.c struct devlink_region *region; region 3735 net/core/devlink.c region = devlink_region_get_by_name(devlink, region_name); region 3736 net/core/devlink.c if (!region) region 3739 net/core/devlink.c snapshot = devlink_region_snapshot_get_by_id(region, snapshot_id); region 3743 net/core/devlink.c devlink_region_snapshot_del(region, snapshot); region 3780 net/core/devlink.c struct devlink_region *region, region 3795 net/core/devlink.c snapshot = devlink_region_snapshot_get_by_id(region, snapshot_id); region 3799 net/core/devlink.c if (end_offset > region->size || dump) region 3800 net/core/devlink.c end_offset = region->size; region 3829 net/core/devlink.c struct devlink_region *region; region 3867 net/core/devlink.c region = devlink_region_get_by_name(devlink, region_name); region 3868 net/core/devlink.c if (!region) { region 3874 net/core/devlink.c if (start_offset >= region->size) { region 3918 net/core/devlink.c region, attrs, region 7402 net/core/devlink.c struct devlink_region *region; region 7412 net/core/devlink.c region = kzalloc(sizeof(*region), GFP_KERNEL); region 7413 net/core/devlink.c if (!region) { region 7418 net/core/devlink.c region->devlink = devlink; region 7419 net/core/devlink.c region->max_snapshots = region_max_snapshots; region 7420 net/core/devlink.c region->name = region_name; region 7421 net/core/devlink.c region->size = region_size; region 7422 net/core/devlink.c INIT_LIST_HEAD(®ion->snapshot_list); region 7423 net/core/devlink.c list_add_tail(®ion->list, &devlink->region_list); region 7424 net/core/devlink.c devlink_nl_region_notify(region, NULL, DEVLINK_CMD_REGION_NEW); region 7427 net/core/devlink.c return region; region 7440 net/core/devlink.c void devlink_region_destroy(struct devlink_region *region) region 7442 net/core/devlink.c struct devlink *devlink = region->devlink; region 7448 net/core/devlink.c list_for_each_entry_safe(snapshot, ts, ®ion->snapshot_list, list) region 7449 net/core/devlink.c devlink_region_snapshot_del(region, snapshot); region 7451 net/core/devlink.c list_del(®ion->list); region 7453 net/core/devlink.c devlink_nl_region_notify(region, NULL, DEVLINK_CMD_REGION_DEL); region 7455 net/core/devlink.c kfree(region); region 7493 net/core/devlink.c int devlink_region_snapshot_create(struct devlink_region *region, region 7497 net/core/devlink.c struct devlink *devlink = region->devlink; region 7504 net/core/devlink.c if (region->cur_snapshots == region->max_snapshots) { region 7509 net/core/devlink.c if (devlink_region_snapshot_get_by_id(region, snapshot_id)) { region 7521 net/core/devlink.c snapshot->region = region; region 7525 net/core/devlink.c list_add_tail(&snapshot->list, ®ion->snapshot_list); region 7527 net/core/devlink.c region->cur_snapshots++; region 7529 net/core/devlink.c devlink_nl_region_notify(region, snapshot, DEVLINK_CMD_REGION_NEW); region 102 net/netfilter/ipset/ip_set_hash_gen.h u32 region; /* Last gc run position */ region 603 net/netfilter/ipset/ip_set_hash_gen.h r = gc->region++; region 605 net/netfilter/ipset/ip_set_hash_gen.h r = gc->region = 0; region 1724 net/wireless/util.c enum nl80211_dfs_regions region = 0; region 1748 net/wireless/util.c region = regdom->dfs_region; region 1794 net/wireless/util.c !(c->radar_detect_regions & BIT(region))) region 1654 sound/pci/cs46xx/cs46xx.h } region; region 315 sound/pci/cs46xx/cs46xx_lib.c dst = chip->region.idx[bank+1].remap_addr + offset; region 478 sound/pci/cs46xx/cs46xx_lib.c dst = chip->region.idx[bank+1].remap_addr + offset; region 2817 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx_region *region = entry->private_data; region 2819 sound/pci/cs46xx/cs46xx_lib.c if (copy_to_user_fromio(buf, region->remap_addr + pos, count)) region 2834 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx_region *region = &chip->region.idx[idx]; region 2835 sound/pci/cs46xx/cs46xx_lib.c if (! snd_card_proc_new(card, region->name, &entry)) { region 2839 sound/pci/cs46xx/cs46xx_lib.c entry->size = region->size; region 2928 sound/pci/cs46xx/cs46xx_lib.c if (chip->region.idx[0].resource) region 2938 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx_region *region = &chip->region.idx[idx]; region 2940 sound/pci/cs46xx/cs46xx_lib.c iounmap(region->remap_addr); region 2941 sound/pci/cs46xx/cs46xx_lib.c release_and_free_resource(region->resource); region 3870 sound/pci/cs46xx/cs46xx_lib.c struct snd_cs46xx_region *region; region 3906 sound/pci/cs46xx/cs46xx_lib.c region = &chip->region.name.ba0; region 3907 sound/pci/cs46xx/cs46xx_lib.c strcpy(region->name, "CS46xx_BA0"); region 3908 sound/pci/cs46xx/cs46xx_lib.c region->base = chip->ba0_addr; region 3909 sound/pci/cs46xx/cs46xx_lib.c region->size = CS46XX_BA0_SIZE; region 3911 sound/pci/cs46xx/cs46xx_lib.c region = &chip->region.name.data0; region 3912 sound/pci/cs46xx/cs46xx_lib.c strcpy(region->name, "CS46xx_BA1_data0"); region 3913 sound/pci/cs46xx/cs46xx_lib.c region->base = chip->ba1_addr + BA1_SP_DMEM0; region 3914 sound/pci/cs46xx/cs46xx_lib.c region->size = CS46XX_BA1_DATA0_SIZE; region 3916 sound/pci/cs46xx/cs46xx_lib.c region = &chip->region.name.data1; region 3917 sound/pci/cs46xx/cs46xx_lib.c strcpy(region->name, "CS46xx_BA1_data1"); region 3918 sound/pci/cs46xx/cs46xx_lib.c region->base = chip->ba1_addr + BA1_SP_DMEM1; region 3919 sound/pci/cs46xx/cs46xx_lib.c region->size = CS46XX_BA1_DATA1_SIZE; region 3921 sound/pci/cs46xx/cs46xx_lib.c region = &chip->region.name.pmem; region 3922 sound/pci/cs46xx/cs46xx_lib.c strcpy(region->name, "CS46xx_BA1_pmem"); region 3923 sound/pci/cs46xx/cs46xx_lib.c region->base = chip->ba1_addr + BA1_SP_PMEM; region 3924 sound/pci/cs46xx/cs46xx_lib.c region->size = CS46XX_BA1_PRG_SIZE; region 3926 sound/pci/cs46xx/cs46xx_lib.c region = &chip->region.name.reg; region 3927 sound/pci/cs46xx/cs46xx_lib.c strcpy(region->name, "CS46xx_BA1_reg"); region 3928 sound/pci/cs46xx/cs46xx_lib.c region->base = chip->ba1_addr + BA1_SP_REG; region 3929 sound/pci/cs46xx/cs46xx_lib.c region->size = CS46XX_BA1_REG_SIZE; region 3973 sound/pci/cs46xx/cs46xx_lib.c region = &chip->region.idx[idx]; region 3974 sound/pci/cs46xx/cs46xx_lib.c if ((region->resource = request_mem_region(region->base, region->size, region 3975 sound/pci/cs46xx/cs46xx_lib.c region->name)) == NULL) { region 3978 sound/pci/cs46xx/cs46xx_lib.c region->base, region->base + region->size - 1); region 3982 sound/pci/cs46xx/cs46xx_lib.c region->remap_addr = ioremap_nocache(region->base, region->size); region 3983 sound/pci/cs46xx/cs46xx_lib.c if (region->remap_addr == NULL) { region 3985 sound/pci/cs46xx/cs46xx_lib.c "%s ioremap problem\n", region->name); region 55 sound/pci/cs46xx/cs46xx_lib.h writel(val, chip->region.idx[bank+1].remap_addr + offset); region 62 sound/pci/cs46xx/cs46xx_lib.h return readl(chip->region.idx[bank+1].remap_addr + offset); region 67 sound/pci/cs46xx/cs46xx_lib.h writel(val, chip->region.name.ba0.remap_addr + offset); region 72 sound/pci/cs46xx/cs46xx_lib.h return readl(chip->region.name.ba0.remap_addr + offset); region 550 sound/pci/cs46xx/dsp_spos.c void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; region 611 sound/pci/cs46xx/dsp_spos.c void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; region 638 sound/pci/cs46xx/dsp_spos.c void __iomem *dst = chip->region.idx[2].remap_addr; region 870 sound/pci/cs46xx/dsp_spos.c void __iomem *spdst = chip->region.idx[1].remap_addr + region 884 sound/pci/cs46xx/dsp_spos.c void __iomem *spdst = chip->region.idx[1].remap_addr + region 64 sound/pci/cs46xx/dsp_spos_scb_lib.c void __iomem *dst = chip->region.idx[1].remap_addr + DSP_PARAMETER_BYTE_OFFSET; region 151 sound/pci/cs46xx/dsp_spos_scb_lib.c void __iomem *dst = chip->region.idx[2].remap_addr + sample_buffer_addr; region 939 sound/pci/maestro3.c static u16 snd_m3_assp_read(struct snd_m3 *chip, u16 region, u16 index) region 941 sound/pci/maestro3.c snd_m3_outw(chip, region & MEMTYPE_MASK, DSP_PORT_MEMORY_TYPE); region 946 sound/pci/maestro3.c static void snd_m3_assp_write(struct snd_m3 *chip, u16 region, u16 index, u16 data) region 948 sound/pci/maestro3.c snd_m3_outw(chip, region & MEMTYPE_MASK, DSP_PORT_MEMORY_TYPE); region 1671 sound/soc/codecs/wm_adsp.c const struct wmfw_region *region) region 1676 sound/soc/codecs/wm_adsp.c const u8 *data = region->data; region 1806 sound/soc/codecs/wm_adsp.c const struct wmfw_region *region; region 1875 sound/soc/codecs/wm_adsp.c sizeof(*region) < firmware->size - pos) { region 1876 sound/soc/codecs/wm_adsp.c region = (void *)&(firmware->data[pos]); region 1880 sound/soc/codecs/wm_adsp.c offset = le32_to_cpu(region->offset) & 0xffffff; region 1881 sound/soc/codecs/wm_adsp.c type = be32_to_cpu(region->type) & 0xff; region 1886 sound/soc/codecs/wm_adsp.c text = kzalloc(le32_to_cpu(region->len) + 1, region 1891 sound/soc/codecs/wm_adsp.c ret = wm_adsp_parse_coeff(dsp, region); region 1897 sound/soc/codecs/wm_adsp.c text = kzalloc(le32_to_cpu(region->len) + 1, region 1929 sound/soc/codecs/wm_adsp.c regions, le32_to_cpu(region->len), offset, region 1932 sound/soc/codecs/wm_adsp.c if (le32_to_cpu(region->len) > region 1933 sound/soc/codecs/wm_adsp.c firmware->size - pos - sizeof(*region)) { region 1937 sound/soc/codecs/wm_adsp.c le32_to_cpu(region->len), firmware->size); region 1943 sound/soc/codecs/wm_adsp.c memcpy(text, region->data, le32_to_cpu(region->len)); region 1950 sound/soc/codecs/wm_adsp.c buf = wm_adsp_buf_alloc(region->data, region 1951 sound/soc/codecs/wm_adsp.c le32_to_cpu(region->len), region 1960 sound/soc/codecs/wm_adsp.c le32_to_cpu(region->len)); region 1965 sound/soc/codecs/wm_adsp.c le32_to_cpu(region->len), offset, region 1971 sound/soc/codecs/wm_adsp.c pos += le32_to_cpu(region->len) + sizeof(*region); region 3632 sound/soc/codecs/wm_adsp.c struct wm_adsp_buffer_region *region; region 3642 sound/soc/codecs/wm_adsp.c region = &buf->regions[i]; region 3644 sound/soc/codecs/wm_adsp.c region->offset = offset; region 3645 sound/soc/codecs/wm_adsp.c region->mem_type = caps->region_defs[i].mem_type; region 3648 sound/soc/codecs/wm_adsp.c ®ion->base_addr); region 3657 sound/soc/codecs/wm_adsp.c region->cumulative_size = offset; region 3661 sound/soc/codecs/wm_adsp.c i, region->mem_type, region->base_addr, region 3662 sound/soc/codecs/wm_adsp.c region->offset, region->cumulative_size); region 287 sound/soc/intel/baytrail/sst-baytrail-dsp.c const struct sst_adsp_memregion *region; region 296 sound/soc/intel/baytrail/sst-baytrail-dsp.c region = byt_region; region 323 sound/soc/intel/baytrail/sst-baytrail-dsp.c offset = region[i].start; region 324 sound/soc/intel/baytrail/sst-baytrail-dsp.c size = (region[i].end - region[i].start) / region[i].blocks; region 327 sound/soc/intel/baytrail/sst-baytrail-dsp.c for (j = 0; j < region[i].blocks; j++) { region 329 sound/soc/intel/baytrail/sst-baytrail-dsp.c region[i].type, NULL, j, sst); region 613 sound/soc/intel/haswell/sst-haswell-dsp.c const struct sst_adsp_memregion *region; region 622 sound/soc/intel/haswell/sst-haswell-dsp.c region = lp_region; region 630 sound/soc/intel/haswell/sst-haswell-dsp.c region = wpt_region; region 662 sound/soc/intel/haswell/sst-haswell-dsp.c offset = region[i].start; region 663 sound/soc/intel/haswell/sst-haswell-dsp.c size = (region[i].end - region[i].start) / region[i].blocks; region 666 sound/soc/intel/haswell/sst-haswell-dsp.c for (j = 0; j < region[i].blocks; j++) { region 668 sound/soc/intel/haswell/sst-haswell-dsp.c region[i].type, &sst_hsw_ops, j, sst); region 719 sound/soc/sh/siu_dai.c struct resource *res, *region; region 745 sound/soc/sh/siu_dai.c region = devm_request_mem_region(&pdev->dev, res->start, region 747 sound/soc/sh/siu_dai.c if (!region) { region 342 tools/arch/x86/include/uapi/asm/kvm.h __u32 region[1024]; region 643 tools/include/uapi/drm/i915_drm.h int region; region 650 tools/include/uapi/drm/i915_drm.h int region; region 655 tools/include/uapi/drm/i915_drm.h int region; region 664 tools/include/uapi/drm/i915_drm.h int region; region 12 tools/testing/nvdimm/dax-dev.c struct resource *res = &dev_dax->region->res; region 21 tools/testing/nvdimm/dax-dev.c if (dev_dax->region->align > PAGE_SIZE) region 632 tools/testing/nvdimm/test/nfit.c struct nd_region *region; region 653 tools/testing/nvdimm/test/nfit.c ctx->region = nd_region; region 669 tools/testing/nvdimm/test/nfit.c .region = NULL, region 679 tools/testing/nvdimm/test/nfit.c nd_region = ctx.region; region 166 tools/testing/selftests/kvm/include/kvm_util.h allocate_kvm_dirty_log(struct kvm_userspace_memory_region *region); region 257 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 263 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vmp->userspace_mem_region_head; region; region 264 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 265 tools/testing/selftests/kvm/lib/kvm_util.c int ret = ioctl(vmp->fd, KVM_SET_USER_MEMORY_REGION, ®ion->region); region 270 tools/testing/selftests/kvm/lib/kvm_util.c ret, errno, region->region.slot, region 271 tools/testing/selftests/kvm/lib/kvm_util.c region->region.flags, region 272 tools/testing/selftests/kvm/lib/kvm_util.c region->region.guest_phys_addr, region 273 tools/testing/selftests/kvm/lib/kvm_util.c region->region.memory_size); region 322 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 324 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vm->userspace_mem_region_head; region; region 325 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 326 tools/testing/selftests/kvm/lib/kvm_util.c uint64_t existing_start = region->region.guest_phys_addr; region 327 tools/testing/selftests/kvm/lib/kvm_util.c uint64_t existing_end = region->region.guest_phys_addr region 328 tools/testing/selftests/kvm/lib/kvm_util.c + region->region.memory_size - 1; region 330 tools/testing/selftests/kvm/lib/kvm_util.c return region; region 356 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 358 tools/testing/selftests/kvm/lib/kvm_util.c region = userspace_mem_region_find(vm, start, end); region 359 tools/testing/selftests/kvm/lib/kvm_util.c if (!region) region 362 tools/testing/selftests/kvm/lib/kvm_util.c return ®ion->region; region 455 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region region 458 tools/testing/selftests/kvm/lib/kvm_util.c region->region.memory_size = 0; region 460 tools/testing/selftests/kvm/lib/kvm_util.c ®ion->region); region 464 tools/testing/selftests/kvm/lib/kvm_util.c vmp->userspace_mem_region_head = region->next; region 465 tools/testing/selftests/kvm/lib/kvm_util.c sparsebit_free(®ion->unused_phy_pages); region 466 tools/testing/selftests/kvm/lib/kvm_util.c ret = munmap(region->mmap_start, region->mmap_size); region 470 tools/testing/selftests/kvm/lib/kvm_util.c free(region); region 581 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 600 tools/testing/selftests/kvm/lib/kvm_util.c region = (struct userspace_mem_region *) userspace_mem_region_find( region 602 tools/testing/selftests/kvm/lib/kvm_util.c if (region != NULL) region 609 tools/testing/selftests/kvm/lib/kvm_util.c (uint64_t) region->region.guest_phys_addr, region 610 tools/testing/selftests/kvm/lib/kvm_util.c (uint64_t) region->region.memory_size); region 613 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vm->userspace_mem_region_head; region; region 614 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 615 tools/testing/selftests/kvm/lib/kvm_util.c if (region->region.slot == slot) region 618 tools/testing/selftests/kvm/lib/kvm_util.c if (region != NULL) region 624 tools/testing/selftests/kvm/lib/kvm_util.c region->region.slot, region 625 tools/testing/selftests/kvm/lib/kvm_util.c (uint64_t) region->region.guest_phys_addr, region 626 tools/testing/selftests/kvm/lib/kvm_util.c (uint64_t) region->region.memory_size); region 629 tools/testing/selftests/kvm/lib/kvm_util.c region = calloc(1, sizeof(*region)); region 630 tools/testing/selftests/kvm/lib/kvm_util.c TEST_ASSERT(region != NULL, "Insufficient Memory"); region 631 tools/testing/selftests/kvm/lib/kvm_util.c region->mmap_size = npages * vm->page_size; region 645 tools/testing/selftests/kvm/lib/kvm_util.c region->mmap_size += alignment; region 647 tools/testing/selftests/kvm/lib/kvm_util.c region->mmap_start = mmap(NULL, region->mmap_size, region 652 tools/testing/selftests/kvm/lib/kvm_util.c TEST_ASSERT(region->mmap_start != MAP_FAILED, region 654 tools/testing/selftests/kvm/lib/kvm_util.c region->mmap_start, errno); region 657 tools/testing/selftests/kvm/lib/kvm_util.c region->host_mem = align(region->mmap_start, alignment); region 661 tools/testing/selftests/kvm/lib/kvm_util.c ret = madvise(region->host_mem, npages * vm->page_size, region 667 tools/testing/selftests/kvm/lib/kvm_util.c region->host_mem, npages * vm->page_size, src_type); region 670 tools/testing/selftests/kvm/lib/kvm_util.c region->unused_phy_pages = sparsebit_alloc(); region 671 tools/testing/selftests/kvm/lib/kvm_util.c sparsebit_set_num(region->unused_phy_pages, region 673 tools/testing/selftests/kvm/lib/kvm_util.c region->region.slot = slot; region 674 tools/testing/selftests/kvm/lib/kvm_util.c region->region.flags = flags; region 675 tools/testing/selftests/kvm/lib/kvm_util.c region->region.guest_phys_addr = guest_paddr; region 676 tools/testing/selftests/kvm/lib/kvm_util.c region->region.memory_size = npages * vm->page_size; region 677 tools/testing/selftests/kvm/lib/kvm_util.c region->region.userspace_addr = (uintptr_t) region->host_mem; region 678 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vm->fd, KVM_SET_USER_MEMORY_REGION, ®ion->region); region 684 tools/testing/selftests/kvm/lib/kvm_util.c guest_paddr, (uint64_t) region->region.memory_size); region 688 tools/testing/selftests/kvm/lib/kvm_util.c vm->userspace_mem_region_head->prev = region; region 689 tools/testing/selftests/kvm/lib/kvm_util.c region->next = vm->userspace_mem_region_head; region 690 tools/testing/selftests/kvm/lib/kvm_util.c vm->userspace_mem_region_head = region; region 711 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 713 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vm->userspace_mem_region_head; region; region 714 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 715 tools/testing/selftests/kvm/lib/kvm_util.c if (region->region.slot == memslot) region 718 tools/testing/selftests/kvm/lib/kvm_util.c if (region == NULL) { region 726 tools/testing/selftests/kvm/lib/kvm_util.c return region; region 746 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 748 tools/testing/selftests/kvm/lib/kvm_util.c region = memslot2region(vm, slot); region 750 tools/testing/selftests/kvm/lib/kvm_util.c region->region.flags = flags; region 752 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vm->fd, KVM_SET_USER_MEMORY_REGION, ®ion->region); region 1030 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 1031 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vm->userspace_mem_region_head; region; region 1032 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 1033 tools/testing/selftests/kvm/lib/kvm_util.c if ((gpa >= region->region.guest_phys_addr) region 1034 tools/testing/selftests/kvm/lib/kvm_util.c && (gpa <= (region->region.guest_phys_addr region 1035 tools/testing/selftests/kvm/lib/kvm_util.c + region->region.memory_size - 1))) region 1036 tools/testing/selftests/kvm/lib/kvm_util.c return (void *) ((uintptr_t) region->host_mem region 1037 tools/testing/selftests/kvm/lib/kvm_util.c + (gpa - region->region.guest_phys_addr)); region 1063 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 1064 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vm->userspace_mem_region_head; region; region 1065 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 1066 tools/testing/selftests/kvm/lib/kvm_util.c if ((hva >= region->host_mem) region 1067 tools/testing/selftests/kvm/lib/kvm_util.c && (hva <= (region->host_mem region 1068 tools/testing/selftests/kvm/lib/kvm_util.c + region->region.memory_size - 1))) region 1070 tools/testing/selftests/kvm/lib/kvm_util.c region->region.guest_phys_addr region 1071 tools/testing/selftests/kvm/lib/kvm_util.c + (hva - (uintptr_t) region->host_mem)); region 1450 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 1457 tools/testing/selftests/kvm/lib/kvm_util.c for (region = vm->userspace_mem_region_head; region; region 1458 tools/testing/selftests/kvm/lib/kvm_util.c region = region->next) { region 1461 tools/testing/selftests/kvm/lib/kvm_util.c (uint64_t) region->region.guest_phys_addr, region 1462 tools/testing/selftests/kvm/lib/kvm_util.c (uint64_t) region->region.memory_size, region 1463 tools/testing/selftests/kvm/lib/kvm_util.c region->host_mem); region 1465 tools/testing/selftests/kvm/lib/kvm_util.c sparsebit_dump(stream, region->unused_phy_pages, 0); region 1560 tools/testing/selftests/kvm/lib/kvm_util.c struct userspace_mem_region *region; region 1570 tools/testing/selftests/kvm/lib/kvm_util.c region = memslot2region(vm, memslot); region 1575 tools/testing/selftests/kvm/lib/kvm_util.c if (!sparsebit_is_set(region->unused_phy_pages, pg)) { region 1576 tools/testing/selftests/kvm/lib/kvm_util.c base = pg = sparsebit_next_set(region->unused_phy_pages, pg); region 1592 tools/testing/selftests/kvm/lib/kvm_util.c sparsebit_clear(region->unused_phy_pages, pg); region 28 tools/testing/selftests/kvm/lib/kvm_util_internal.h struct kvm_userspace_memory_region region; region 515 tools/testing/selftests/kvm/lib/x86_64/vmx.c struct userspace_mem_region *region = region 518 tools/testing/selftests/kvm/lib/x86_64/vmx.c i = (region->region.guest_phys_addr >> vm->page_shift) - 1; region 519 tools/testing/selftests/kvm/lib/x86_64/vmx.c last = i + (region->region.memory_size >> vm->page_shift); region 521 tools/testing/selftests/kvm/lib/x86_64/vmx.c i = sparsebit_next_clear(region->unused_phy_pages, i); region 1939 virt/kvm/arm/vgic/vgic-its.c const struct vgic_register_region *region; region 1948 virt/kvm/arm/vgic/vgic-its.c region = vgic_find_mmio_region(its_registers, region 1951 virt/kvm/arm/vgic/vgic-its.c if (!region) region 1961 virt/kvm/arm/vgic/vgic-its.c const struct vgic_register_region *region; region 1992 virt/kvm/arm/vgic/vgic-its.c region = vgic_find_mmio_region(its_registers, region 1995 virt/kvm/arm/vgic/vgic-its.c if (!region) { region 2007 virt/kvm/arm/vgic/vgic-its.c len = region->access_flags & VGIC_ACCESS_64bit ? 8 : 4; region 2010 virt/kvm/arm/vgic/vgic-its.c if (region->uaccess_its_write) region 2011 virt/kvm/arm/vgic/vgic-its.c ret = region->uaccess_its_write(dev->kvm, its, addr, region 2014 virt/kvm/arm/vgic/vgic-its.c region->its_write(dev->kvm, its, addr, len, *reg); region 2016 virt/kvm/arm/vgic/vgic-its.c *reg = region->its_read(dev->kvm, its, addr, len); region 484 virt/kvm/arm/vgic/vgic-mmio-v2.c const struct vgic_register_region *region; region 517 virt/kvm/arm/vgic/vgic-mmio-v2.c region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); region 518 virt/kvm/arm/vgic/vgic-mmio-v2.c if (!region) region 787 virt/kvm/arm/vgic/vgic-mmio-v3.c const struct vgic_register_region *region; region 827 virt/kvm/arm/vgic/vgic-mmio-v3.c region = vgic_get_mmio_region(vcpu, &iodev, addr, sizeof(u32)); region 828 virt/kvm/arm/vgic/vgic-mmio-v3.c if (!region) region 661 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region = elt; region 663 virt/kvm/arm/vgic/vgic-mmio.c if (offset < region->reg_offset) region 666 virt/kvm/arm/vgic/vgic-mmio.c if (offset >= region->reg_offset + region->len) region 756 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region, region 775 virt/kvm/arm/vgic/vgic-mmio.c if ((region->access_flags & flags) && IS_ALIGNED(addr, len)) { region 776 virt/kvm/arm/vgic/vgic-mmio.c if (!region->bits_per_irq) region 780 virt/kvm/arm/vgic/vgic-mmio.c return VGIC_ADDR_TO_INTID(addr, region->bits_per_irq) < nr_irqs; region 790 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region; region 792 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_find_mmio_region(iodev->regions, iodev->nr_regions, region 794 virt/kvm/arm/vgic/vgic-mmio.c if (!region || !check_region(vcpu->kvm, region, addr, len)) region 797 virt/kvm/arm/vgic/vgic-mmio.c return region; region 804 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region; region 807 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); region 808 virt/kvm/arm/vgic/vgic-mmio.c if (!region) { region 814 virt/kvm/arm/vgic/vgic-mmio.c if (region->uaccess_read) region 815 virt/kvm/arm/vgic/vgic-mmio.c *val = region->uaccess_read(r_vcpu, addr, sizeof(u32)); region 817 virt/kvm/arm/vgic/vgic-mmio.c *val = region->read(r_vcpu, addr, sizeof(u32)); region 826 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region; region 829 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, sizeof(u32)); region 830 virt/kvm/arm/vgic/vgic-mmio.c if (!region) region 834 virt/kvm/arm/vgic/vgic-mmio.c if (region->uaccess_write) region 835 virt/kvm/arm/vgic/vgic-mmio.c return region->uaccess_write(r_vcpu, addr, sizeof(u32), *val); region 837 virt/kvm/arm/vgic/vgic-mmio.c region->write(r_vcpu, addr, sizeof(u32), *val); region 857 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region; region 860 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, len); region 861 virt/kvm/arm/vgic/vgic-mmio.c if (!region) { region 868 virt/kvm/arm/vgic/vgic-mmio.c data = region->read(vcpu, addr, len); region 871 virt/kvm/arm/vgic/vgic-mmio.c data = region->read(vcpu, addr, len); region 874 virt/kvm/arm/vgic/vgic-mmio.c data = region->read(iodev->redist_vcpu, addr, len); region 877 virt/kvm/arm/vgic/vgic-mmio.c data = region->its_read(vcpu->kvm, iodev->its, addr, len); region 889 virt/kvm/arm/vgic/vgic-mmio.c const struct vgic_register_region *region; region 892 virt/kvm/arm/vgic/vgic-mmio.c region = vgic_get_mmio_region(vcpu, iodev, addr, len); region 893 virt/kvm/arm/vgic/vgic-mmio.c if (!region) region 898 virt/kvm/arm/vgic/vgic-mmio.c region->write(vcpu, addr, len, data); region 901 virt/kvm/arm/vgic/vgic-mmio.c region->write(vcpu, addr, len, data); region 904 virt/kvm/arm/vgic/vgic-mmio.c region->write(iodev->redist_vcpu, addr, len, data); region 907 virt/kvm/arm/vgic/vgic-mmio.c region->its_write(vcpu->kvm, iodev->its, addr, len, data); region 103 virt/kvm/arm/vgic/vgic-mmio.h struct vgic_io_device *region, region 275 virt/kvm/arm/vgic/vgic.h vgic_v3_redist_region_full(struct vgic_redist_region *region) region 277 virt/kvm/arm/vgic/vgic.h if (!region->count) region 280 virt/kvm/arm/vgic/vgic.h return (region->free_index >= region->count);