Searched refs:region (Results 1 - 25 of 48) sorted by relevance

12

/arch/um/kernel/
H A Dphysmem.c102 struct iomem_region *region = iomem_regions; local
104 while (region != NULL) {
105 if ((phys >= region->phys) &&
106 (phys < region->phys + region->size)) {
107 fd = region->fd;
108 *offset_out = phys - region->phys;
111 region = region->next;
142 " Configure <file> as an IO memory region name
157 struct iomem_region *region = iomem_regions; local
174 struct iomem_region *region = iomem_regions; local
[all...]
/arch/x86/boot/compressed/
H A Daslr.c115 static bool mem_contains(struct mem_vector *region, struct mem_vector *item) argument
117 /* Item at least partially before region. */
118 if (item->start < region->start)
120 /* Item at least partially after region. */
121 if (item->start + item->size > region->start + region->size)
146 * Avoid the region that is unsafe to overlap during
236 struct mem_vector region, img; local
250 region.start = entry->addr;
251 region
[all...]
/arch/cris/include/arch-v32/mach-fs/mach/
H A Darbiter.h21 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/arch/cris/arch-v32/mach-fs/
H A Darbiter.c61 * Program the memory arbiter slots for "region" according to what's
68 static void crisv32_arbiter_config(int region, int unused_slots) argument
105 if (!requested_slots[region][client]) {
111 if (!active_clients[region][client]
121 NBR_OF_SLOTS / requested_slots[region][client];
144 while (!active_clients[region][client]) {
152 if (region == EXT_REGION)
155 else if (region == INT_REGION)
200 int crisv32_arbiter_allocate_bandwidth(int client, int region, argument
211 total_assigned += requested_slots[region][
249 crisv32_arbiter_deallocate_bandwidth(int client, int region) argument
[all...]
/arch/tile/include/arch/
H A Dmpipe.h49 * This field of the address selects the region (address space) to be
50 * accessed. For the iDMA release region, this field must be 4.
52 uint_reg_t region : 3; member in struct:__anon2822::__anon2823
63 uint_reg_t region : 3;
106 * This MMIO region is used for posting or fetching buffers to/from the
126 * This field of the address selects the region (address space) to be
127 * accessed. For the buffer stack manager region, this field must be 6.
129 uint_reg_t region : 3; member in struct:__anon2826::__anon2827
140 uint_reg_t region : 3;
152 * This MMIO region i
253 uint_reg_t region : 3; member in struct:__anon2830::__anon2831
[all...]
/arch/arm/mach-ixp4xx/include/mach/
H A Dplatform.h33 * 32MB windows and the CS offset for each region changes based on the
40 #define IXP4XX_EXP_BUS_BASE(region)\
41 (IXP4XX_EXP_BUS_BASE_PHYS + ((region) * ixp4xx_exp_bus_size))
43 #define IXP4XX_EXP_BUS_END(region)\
44 (IXP4XX_EXP_BUS_BASE(region) + ixp4xx_exp_bus_size - 1)
47 * other features for each region.
/arch/cris/include/arch-v32/mach-a3/mach/
H A Darbiter.h27 int crisv32_arbiter_allocate_bandwidth(int client, int region,
/arch/sh/drivers/pci/
H A Dfixups-dreamcast.c35 struct pci_bus_region region; local
56 * If this GAPSPCI region were mapped by a BAR, the CPU
65 pcibios_resource_to_bus(dev->bus, &region, &res);
68 region.start,
/arch/openrisc/mm/
H A Dinit.c86 struct memblock_region *region; local
90 for_each_memblock(memory, region) {
91 p = (u32) region->base & PAGE_MASK;
92 e = p + (u32) region->size;
128 region->base, region->base + region->size);
/arch/cris/arch-v32/mach-a3/
H A Darbiter.c124 * Program the memory arbiter slots for "region" according to what's
131 static void crisv32_arbiter_config(int arbiter, int region, int unused_slots) argument
168 if (!arbiters[arbiter].requested_slots[region][client]) {
174 if (!arbiters[arbiter].active_clients[region][client] ||
184 arbiters[arbiter].requested_slots[region][client];
207 while (!arbiters[arbiter].active_clients[region][client]) {
217 if (region == EXT_REGION)
220 else if (region == INT_REGION)
285 int crisv32_arbiter_allocate_bandwidth(int client, int region, argument
302 total_assigned += arbiters[arbiter].requested_slots[region][
344 crisv32_arbiter_deallocate_bandwidth(int client, int region) argument
[all...]
/arch/mips/include/asm/sn/sn0/
H A Dhubmd.h449 #define MD_MEMORY_CONFIG_DIR_TYPE_GET(region) (\
450 (REMOTE_HUB_L(region, MD_MEMORY_CONFIG) & MMC_DIR_PREMIUM_MASK) >> \
459 #define MD_MIG_DIFF_THRESH_GET(region) ( \
460 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) & \
463 #define MD_MIG_DIFF_THRESH_SET(region, value) ( \
464 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \
467 #define MD_MIG_DIFF_THRESH_DISABLE(region) ( \
468 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \
469 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) \
472 #define MD_MIG_DIFF_THRESH_ENABLE(region) ( \
[all...]
/arch/openrisc/kernel/
H A Dsetup.c61 struct memblock_region *region; local
66 for_each_memblock(memory, region) {
67 memory_start = region->base;
68 memory_end = region->base + region->size;
98 for_each_memblock(reserved, region) {
100 (u32) region->base, (u32) region->size);
101 reserve_bootmem(region->base, region
[all...]
/arch/tile/include/hv/
H A Ddrv_trio_intf.h88 /** The mmap file offset (PA) of the TRIO config region. */
93 /** The maximum size of the TRIO config region. */
97 /** Size of the config region mapped into client. We can't use
100 * from the VMALLOC region which has a total range
106 /** The mmap file offset (PA) of a scatter queue region. */
112 /** The maximum size of a scatter queue region. */
117 /** The "hardware MMIO region" of the first PIO region. */
120 /** The mmap file offset (PA) of a PIO region. */
121 #define HV_TRIO_PIO_OFFSET(region) \
[all...]
/arch/arm/kernel/
H A Dhead-nommu.S70 /* Calculate the size of a region covering just the kernel */
73 sub r6, r6, r5 @ Minimum size of region to map
75 rsb r6, r6, #31 @ ...so round up region size
77 orr r6, r6, #(1 << MPU_RSR_EN) @ Set region enabled bit
113 /* Use MPU region info supplied by __cpu_up */
174 /* Set which MPU region should be programmed */
176 mov \tmp, \rgnr @ Use static region numbers
180 /* Setup a single MPU region, either D or I side (D-side for unified) */
190 * Region 1: Background region - covers the whole of RAM as strongly ordered
208 ands r5, r0, #MPUIR_DREGION_SZMASK @ 0 size d region
[all...]
H A Dperf_event_v7.c1092 * R = region register
1098 * A region (R) corresponds to a piece of the CPU (execution unit, instruction
1187 static u32 krait_get_pmresrn_event(unsigned int region) argument
1192 return pmresrn_table[region];
1200 unsigned int region; local
1207 region = (config_base >> 12) & 0xf;
1214 /* Configure evtsel for the region and group */
1218 val = krait_get_pmresrn_event(region);
1235 val = krait_read_pmresrn(region);
1239 krait_write_pmresrn(region, va
1263 unsigned int region; local
1362 krait_event_to_bit(struct perf_event *event, unsigned int region, unsigned int group) argument
1394 unsigned int region; local
1432 unsigned int region; local
[all...]
/arch/powerpc/kernel/
H A Dpci_of_scan.c78 struct pci_bus_region region; local
112 region.start = base;
113 region.end = base + size - 1;
114 pcibios_bus_to_resource(dev->bus, res, &region);
212 struct pci_bus_region region; local
281 region.start = of_read_number(&ranges[1], 2);
282 region.end = region.start + size - 1;
283 pcibios_bus_to_resource(dev->bus, res, &region);
/arch/ia64/include/asm/
H A Dparavirt.h113 int (*reserve_memory)(struct rsvd_region *region);
138 static inline int paravirt_reserve_memory(struct rsvd_region *region) argument
141 return pv_init_ops.reserve_memory(region);
306 #define paravirt_reserve_memory(region) 0
/arch/x86/platform/uv/
H A Dbios_uv.c87 long *region, long *ssn)
105 if (region)
106 *region = part.region_size;
86 uv_bios_get_sn_info(int fc, int *uvtype, long *partid, long *coher, long *region, long *ssn) argument
/arch/arm/
H A DKconfig-nommu42 placed at address 0x00000000. However, this region may be
45 If the region contains read-write memory, say 'n' here.
/arch/arm/mm/
H A Dproc-arm946.S165 * region described by start, end. If you have non-snooping
178 * region described by start, end. If you have non-snooping
203 * - size - region size
292 * - size - size of region
306 * - size - size of region
336 mcr p15, 0, r0, c6, c3, 0 @ disable memory region 3~7
343 mcr p15, 0, r0, c6, c0, 0 @ set region 0, default
351 orr r0, r0, r2, lsl #1 @ the region register value
353 mcr p15, 0, r0, c6, c1, 0 @ set region 1, RAM
361 orr r0, r0, r2, lsl #1 @ the region registe
[all...]
/arch/powerpc/platforms/ps3/
H A Dmm.c77 * struct mem_region - memory region structure
81 * @destroy: flag if region should be destroyed upon shutdown
99 * @rm: real mode (bootmem) region
100 * @r1: highmem region(s)
227 * ps3_mm_region_create - create a memory region in the vas
229 * @size: requested region size
231 * This implementation creates the region with the vas large page size.
272 * ps3_mm_region_destroy - destroy a memory region
281 pr_info("%s:%d: Not destroying high region: %llxh %llxh\n",
300 /* Assume a single highmem region
373 struct ps3_dma_region *region; member in struct:dma_chunk
[all...]
/arch/sparc/kernel/
H A Dpci.c385 struct pci_bus_region region; local
394 region.start = (first << 21);
395 region.end = (last << 21) + ((1 << 21) - 1);
396 pcibios_bus_to_resource(dev->bus, res, &region);
402 region.start = (first << 29);
403 region.end = (last << 29) + ((1 << 29) - 1);
404 pcibios_bus_to_resource(dev->bus, res, &region);
420 struct pci_bus_region region; local
521 region.start = start = GET_64BIT(ranges, 1);
522 region
[all...]
/arch/arm/mach-ixp4xx/
H A Dcommon.c467 int region; local
472 for (region = 0; region < 7; region++) {
473 if((*(IXP4XX_EXP_REG(0x4 * region)) & 0x200)) {
/arch/arm64/kernel/
H A Dsetup.c338 struct memblock_region *region; local
346 for_each_memblock(memory, region) {
349 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region));
350 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1;
/arch/powerpc/platforms/powermac/
H A Dpci.c805 /* Iterate through all bits. We ignore the last bit as this region is
862 * The IO region is hard coded since it is fixed in HW as well.
878 /* NOTE: The decode register setup is a bit weird... region
883 * In a similar vein, region 0xf4000000 is actually the HT IO space but
982 /* This also maps the I/O region and sets isa_io/mem_base */
1311 * Oh and there's another funny bug. The OF properties advertize the region
1313 * actually not true, this region is the memory mapped config space. So we
1319 struct resource *region = NULL; local
1327 /* Find the largest MMIO region */
1337 if (!region || resource_siz
[all...]

Completed in 526 milliseconds

12