Home
last modified time | relevance | path

Searched refs:rgn (Results 1 – 4 of 4) sorted by relevance

/u-boot/lib/
A Dlmb.c86 rgn->region[i].base = rgn->region[i + 1].base; in lmb_remove_region()
87 rgn->region[i].size = rgn->region[i + 1].size; in lmb_remove_region()
89 rgn->cnt--; in lmb_remove_region()
96 rgn->region[r1].size += rgn->region[r2].size; in lmb_coalesce_regions()
194 rgn->region[i + 1].base = rgn->region[i].base; in lmb_add_region()
195 rgn->region[i + 1].size = rgn->region[i].size; in lmb_add_region()
208 rgn->cnt++; in lmb_add_region()
266 rgn->region[i].size = base - rgn->region[i].base; in lmb_free()
317 long i, rgn; in __lmb_alloc_base() local
362 long rgn; in lmb_alloc_addr() local
[all …]
/u-boot/arch/arm/cpu/armv7/
A Dmpu_v7r.c62 void mpu_config(struct mpu_region_config *rgn) in mpu_config() argument
66 attr = get_attr_encoding(rgn->mr_attr); in mpu_config()
69 asm volatile ("mcr p15, 0, %0, c6, c2, 0" : : "r" (rgn->region_no)); in mpu_config()
72 asm volatile ("mcr p15, 0, %0, c6, c1, 0" : : "r" (rgn->start_addr)); in mpu_config()
75 if (rgn->reg_size) in mpu_config()
76 val = (rgn->reg_size << REGION_SIZE_SHIFT) | ENABLE_REGION; in mpu_config()
82 val = rgn->xn << XN_SHIFT | rgn->ap << AP_SHIFT | attr; in mpu_config()
/u-boot/drivers/mtd/onenand/
A Donenand_bbt.c73 int rgn; in create_bbt() local
122 rgn = flexonenand_region(mtd, from); in create_bbt()
123 from += mtd->eraseregions[rgn].erasesize; in create_bbt()
/u-boot/arch/arm/mach-omap2/
A Demif-common.c356 u32 rgn, rgn_start, size, ctrl_reg; in dra7_enable_ecc() local
392 rgn = rgn_start + CONFIG_SYS_SDRAM_BASE; in dra7_enable_ecc()
398 dra7_reset_ddr_data(rgn, size); in dra7_enable_ecc()
403 rgn = rgn_start + CONFIG_SYS_SDRAM_BASE; in dra7_enable_ecc()
409 dra7_reset_ddr_data(rgn, size); in dra7_enable_ecc()

Completed in 10 milliseconds