/arch/um/kernel/ |
D | physmem.c | 130 struct iomem_region *region = iomem_regions; in phys_mapping() local 132 while (region != NULL) { in phys_mapping() 133 if ((phys >= region->phys) && in phys_mapping() 134 (phys < region->phys + region->size)) { in phys_mapping() 135 fd = region->fd; in phys_mapping() 136 *offset_out = phys - region->phys; in phys_mapping() 139 region = region->next; in phys_mapping() 185 struct iomem_region *region = iomem_regions; in find_iomem() local 187 while (region != NULL) { in find_iomem() 188 if (!strcmp(region->driver, driver)) { in find_iomem() [all …]
|
/arch/x86/boot/compressed/ |
D | kaslr.c | 260 static void store_slot_info(struct mem_vector *region, unsigned long image_size) in store_slot_info() argument 267 slot_area.addr = region->start; in store_slot_info() 268 slot_area.num = (region->size - image_size) / in store_slot_info() 305 struct mem_vector region, overlap; in process_e820_entry() local 321 region.start = entry->addr; in process_e820_entry() 322 region.size = entry->size; in process_e820_entry() 326 start_orig = region.start; in process_e820_entry() 329 if (region.start < minimum) in process_e820_entry() 330 region.start = minimum; in process_e820_entry() 333 region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); in process_e820_entry() [all …]
|
/arch/cris/arch-v32/mach-fs/ |
D | arbiter.c | 68 static void crisv32_arbiter_config(int region, int unused_slots) in crisv32_arbiter_config() argument 105 if (!requested_slots[region][client]) { in crisv32_arbiter_config() 111 if (!active_clients[region][client] in crisv32_arbiter_config() 121 NBR_OF_SLOTS / requested_slots[region][client]; in crisv32_arbiter_config() 144 while (!active_clients[region][client]) { in crisv32_arbiter_config() 152 if (region == EXT_REGION) in crisv32_arbiter_config() 155 else if (region == INT_REGION) in crisv32_arbiter_config() 200 int crisv32_arbiter_allocate_bandwidth(int client, int region, in crisv32_arbiter_allocate_bandwidth() argument 211 total_assigned += requested_slots[region][i]; in crisv32_arbiter_allocate_bandwidth() 212 total_clients += active_clients[region][i]; in crisv32_arbiter_allocate_bandwidth() [all …]
|
/arch/mips/include/asm/sn/sn0/ |
D | hubmd.h | 449 #define MD_MEMORY_CONFIG_DIR_TYPE_GET(region) (\ argument 450 (REMOTE_HUB_L(region, MD_MEMORY_CONFIG) & MMC_DIR_PREMIUM_MASK) >> \ 459 #define MD_MIG_DIFF_THRESH_GET(region) ( \ argument 460 REMOTE_HUB_L((region), MD_MIG_DIFF_THRESH) & \ 463 #define MD_MIG_DIFF_THRESH_SET(region, value) ( \ argument 464 REMOTE_HUB_S((region), MD_MIG_DIFF_THRESH, \ 467 #define MD_MIG_DIFF_THRESH_DISABLE(region) ( \ argument 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) ( \ argument [all …]
|
/arch/openrisc/mm/ |
D | init.c | 86 struct memblock_region *region; in map_ram() local 90 for_each_memblock(memory, region) { in map_ram() 91 p = (u32) region->base & PAGE_MASK; in map_ram() 92 e = p + (u32) region->size; in map_ram() 128 region->base, region->base + region->size); in map_ram()
|
/arch/arm64/kernel/ |
D | alternative.c | 111 struct alt_region *region = alt_region; in __apply_alternatives() local 114 for (alt = region->begin; alt < region->end; alt++) { in __apply_alternatives() 146 struct alt_region region = { in __apply_alternatives_multi_stop() local 158 __apply_alternatives(®ion); in __apply_alternatives_multi_stop() 174 struct alt_region region = { in apply_alternatives() local 179 __apply_alternatives(®ion); in apply_alternatives()
|
D | setup.c | 200 struct memblock_region *region; in request_standard_resources() local 208 for_each_memblock(memory, region) { in request_standard_resources() 210 if (memblock_is_nomap(region)) { in request_standard_resources() 217 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources() 218 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
|
/arch/h8300/kernel/ |
D | setup.c | 77 struct memblock_region *region; in bootmem_init() local 82 for_each_memblock(memory, region) { in bootmem_init() 83 memory_start = region->base; in bootmem_init() 84 memory_end = region->base + region->size; in bootmem_init() 114 for_each_memblock(reserved, region) { in bootmem_init() 115 reserve_bootmem(region->base, region->size, BOOTMEM_DEFAULT); in bootmem_init()
|
/arch/cris/arch-v32/mach-a3/ |
D | arbiter.c | 131 static void crisv32_arbiter_config(int arbiter, int region, int unused_slots) in crisv32_arbiter_config() argument 168 if (!arbiters[arbiter].requested_slots[region][client]) { in crisv32_arbiter_config() 174 if (!arbiters[arbiter].active_clients[region][client] || in crisv32_arbiter_config() 184 arbiters[arbiter].requested_slots[region][client]; in crisv32_arbiter_config() 207 while (!arbiters[arbiter].active_clients[region][client]) { in crisv32_arbiter_config() 217 if (region == EXT_REGION) in crisv32_arbiter_config() 220 else if (region == INT_REGION) in crisv32_arbiter_config() 285 int crisv32_arbiter_allocate_bandwidth(int client, int region, in crisv32_arbiter_allocate_bandwidth() argument 302 total_assigned += arbiters[arbiter].requested_slots[region][i]; in crisv32_arbiter_allocate_bandwidth() 303 total_clients += arbiters[arbiter].active_clients[region][i]; in crisv32_arbiter_allocate_bandwidth() [all …]
|
/arch/tile/include/arch/ |
D | mpipe.h | 52 uint_reg_t region : 3; member 63 uint_reg_t region : 3; 129 uint_reg_t region : 3; member 140 uint_reg_t region : 3; 253 uint_reg_t region : 3; member 264 uint_reg_t region : 3;
|
/arch/openrisc/kernel/ |
D | setup.c | 61 struct memblock_region *region; in setup_memory() local 66 for_each_memblock(memory, region) { in setup_memory() 67 memory_start = region->base; in setup_memory() 68 memory_end = region->base + region->size; in setup_memory() 98 for_each_memblock(reserved, region) { in setup_memory() 100 (u32) region->base, (u32) region->size); in setup_memory() 101 reserve_bootmem(region->base, region->size, BOOTMEM_DEFAULT); in setup_memory()
|
/arch/arm/mach-ixp4xx/include/mach/ |
D | platform.h | 40 #define IXP4XX_EXP_BUS_BASE(region)\ argument 41 (IXP4XX_EXP_BUS_BASE_PHYS + ((region) * ixp4xx_exp_bus_size)) 43 #define IXP4XX_EXP_BUS_END(region)\ argument 44 (IXP4XX_EXP_BUS_BASE(region) + ixp4xx_exp_bus_size - 1)
|
/arch/sh/drivers/pci/ |
D | fixups-dreamcast.c | 35 struct pci_bus_region region; in gapspci_fixup_resources() local 65 pcibios_resource_to_bus(dev->bus, ®ion, &res); in gapspci_fixup_resources() 68 region.start, in gapspci_fixup_resources()
|
/arch/arm/kernel/ |
D | head-nommu.S | 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 185 mov \tmp, \rgnr @ Use static region numbers 217 ands r5, r0, #MPUIR_DREGION_SZMASK @ 0 size d region => No MPU 237 mov r0, #0 @ BG region starts at 0x0 239 mov r6, #MPU_RSR_ALL_MEM @ 4GB region, enabled 241 setup_region r0, r5, r6, MPU_DATA_SIDE @ 0x0, BG region, enabled 243 setup_region r0, r5, r6, MPU_INSTR_SIDE @ 0x0, BG region, enabled
|
D | perf_event_v7.c | 1401 static u32 krait_get_pmresrn_event(unsigned int region) in krait_get_pmresrn_event() argument 1406 return pmresrn_table[region]; in krait_get_pmresrn_event() 1414 unsigned int region = EVENT_REGION(config_base); in krait_evt_setup() local 1427 val = krait_get_pmresrn_event(region); in krait_evt_setup() 1442 val = krait_read_pmresrn(region); in krait_evt_setup() 1446 krait_write_pmresrn(region, val); in krait_evt_setup() 1470 unsigned int region = EVENT_REGION(config_base); in krait_clearpmu() local 1481 val = krait_read_pmresrn(region); in krait_clearpmu() 1483 krait_write_pmresrn(region, val); in krait_clearpmu() 1574 static int krait_event_to_bit(struct perf_event *event, unsigned int region, in krait_event_to_bit() argument [all …]
|
/arch/powerpc/kernel/ |
D | pci_of_scan.c | 78 struct pci_bus_region region; in of_pci_parse_addrs() local 112 region.start = base; in of_pci_parse_addrs() 113 region.end = base + size - 1; in of_pci_parse_addrs() 114 pcibios_bus_to_resource(dev->bus, res, ®ion); in of_pci_parse_addrs() 209 struct pci_bus_region region; in of_scan_pci_bridge() local 278 region.start = of_read_number(&ranges[1], 2); in of_scan_pci_bridge() 279 region.end = region.start + size - 1; in of_scan_pci_bridge() 280 pcibios_bus_to_resource(dev->bus, res, ®ion); in of_scan_pci_bridge()
|
/arch/nios2/ |
D | Kconfig | 158 bool "Set custom kernel MMU region base address" 161 This option allows you to set the virtual address of the kernel MMU region. 166 hex "Virtual base address of the kernel MMU region " if NIOS2_KERNEL_MMU_REGION_BASE_BOOL 169 This option allows you to set the virtual base address of the kernel MMU region. 172 bool "Set custom kernel region base address" 175 This option allows you to set the virtual address of the kernel region. 180 hex "Virtual base address of the kernel region " if NIOS2_KERNEL_REGION_BASE_BOOL 184 bool "Set custom I/O region base address" 187 This option allows you to set the virtual address of the I/O region. 192 hex "Virtual base address of the I/O region" if NIOS2_IO_REGION_BASE_BOOL
|
/arch/sparc/kernel/ |
D | pci.c | 391 struct pci_bus_region region; in apb_fake_ranges() local 400 region.start = (first << 21); in apb_fake_ranges() 401 region.end = (last << 21) + ((1 << 21) - 1); in apb_fake_ranges() 402 pcibios_bus_to_resource(dev->bus, res, ®ion); in apb_fake_ranges() 408 region.start = (first << 29); in apb_fake_ranges() 409 region.end = (last << 29) + ((1 << 29) - 1); in apb_fake_ranges() 410 pcibios_bus_to_resource(dev->bus, res, ®ion); in apb_fake_ranges() 426 struct pci_bus_region region; in of_scan_pci_bridge() local 527 region.start = start = GET_64BIT(ranges, 1); in of_scan_pci_bridge() 528 region.end = region.start + size - 1; in of_scan_pci_bridge() [all …]
|
/arch/tile/include/hv/ |
D | drv_trio_intf.h | 121 #define HV_TRIO_PIO_OFFSET(region) \ argument 122 (((unsigned long long)(region) + HV_TRIO_FIRST_PIO_REGION) \
|
/arch/cris/include/arch-v32/mach-fs/mach/ |
D | arbiter.h | 21 int crisv32_arbiter_allocate_bandwidth(int client, int region,
|
/arch/arm/boot/dts/ |
D | keystone-k2hk-netcp.dtsi | 35 "region", "push", "pop"; 47 "region", "push", "pop"; 107 region-12 { 109 region-spec = <8192 128>; /* num_desc desc_size */
|
/arch/x86/platform/uv/ |
D | bios_uv.c | 95 long *region, long *ssn) in uv_bios_get_sn_info() argument 113 if (region) in uv_bios_get_sn_info() 114 *region = part.region_size; in uv_bios_get_sn_info()
|
/arch/cris/include/arch-v32/mach-a3/mach/ |
D | arbiter.h | 27 int crisv32_arbiter_allocate_bandwidth(int client, int region,
|
/arch/arm/mach-ixp4xx/ |
D | common.c | 467 int region; in ixp4xx_sys_init() local 472 for (region = 0; region < 7; region++) { in ixp4xx_sys_init() 473 if((*(IXP4XX_EXP_REG(0x4 * region)) & 0x200)) { in ixp4xx_sys_init()
|
/arch/powerpc/platforms/ps3/ |
D | mm.c | 382 struct ps3_dma_region *region; member 395 c->region->dev->bus_id, c->region->dev->dev_id); in _dma_dump_chunk() 396 DBG("%s:%d: r.bus_addr %lxh\n", func, line, c->region->bus_addr); in _dma_dump_chunk() 397 DBG("%s:%d: r.page_size %u\n", func, line, c->region->page_size); in _dma_dump_chunk() 398 DBG("%s:%d: r.len %lxh\n", func, line, c->region->len); in _dma_dump_chunk() 399 DBG("%s:%d: r.offset %lxh\n", func, line, c->region->offset); in _dma_dump_chunk() 470 result = lv1_unmap_device_dma_region(c->region->dev->bus_id, in dma_sb_free_chunk() 471 c->region->dev->dev_id, c->bus_addr, c->len); in dma_sb_free_chunk() 484 struct ps3_dma_region *r = c->region; in dma_ioc0_free_chunk() 534 c->region = r; in dma_sb_map_pages() [all …]
|