/u-boot/lib/ |
A D | lmb.c | 86 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() 96 rgn->region[r1].size += rgn->region[r2].size; in lmb_coalesce_regions() 150 rgn->region[0].base = base; in lmb_add_region() 151 rgn->region[0].size = size; in lmb_add_region() 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() 204 rgn->region[0].base = base; in lmb_add_region() 205 rgn->region[0].size = size; in lmb_add_region() 252 rgn->region[i].size -= size; in lmb_free() [all …]
|
/u-boot/drivers/pci/ |
A D | pci_auto_common.c | 73 static void pciauto_show_region(const char *name, struct pci_region *region) in pciauto_show_region() argument 75 pciauto_region_init(region); in pciauto_show_region() 78 (unsigned long long)region->bus_start, in pciauto_show_region() 79 (unsigned long long)(region->bus_start + region->size - 1), in pciauto_show_region() 80 (unsigned long long)region->phys_start, in pciauto_show_region() 81 (unsigned long long)(region->phys_start + region->size - 1)); in pciauto_show_region()
|
/u-boot/lib/rsa/ |
A D | rsa-checksum.c | 19 const struct image_region region[], in hash_calculate() argument 37 ret = algo->hash_update(algo, ctx, region[i].data, in hash_calculate() 38 region[i].size, 0); in hash_calculate() 43 ret = algo->hash_update(algo, ctx, region[i].data, region[i].size, 1); in hash_calculate()
|
A D | rsa-verify.c | 124 struct image_region region[2]; in mask_generation_function1() local 132 region[0].data = seed; in mask_generation_function1() 133 region[0].size = seed_len; in mask_generation_function1() 135 region[1].size = 4; in mask_generation_function1() 148 region, region_count, in mask_generation_function1() 180 region[0].data = pad; in compute_hash_prime() 181 region[0].size = pad_len; in compute_hash_prime() 182 region[1].data = hash; in compute_hash_prime() 183 region[1].size = hash_len; in compute_hash_prime() 184 region[2].data = salt; in compute_hash_prime() [all …]
|
/u-boot/include/ |
A D | fdt_region.h | 74 struct fdt_region *region; /* Contains list of regions found */ member 139 struct fdt_region region[], int max_regions, 259 void *priv, struct fdt_region *region, 275 void *priv, struct fdt_region *region, 300 int fdt_add_alias_regions(const void *fdt, struct fdt_region *region, int count,
|
/u-boot/drivers/mtd/nand/spi/ |
A D | winbond.c | 39 struct mtd_oob_region *region) in w25m02gv_ooblayout_ecc() argument 44 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc() 45 region->length = 8; in w25m02gv_ooblayout_ecc() 51 struct mtd_oob_region *region) in w25m02gv_ooblayout_free() argument 56 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free() 57 region->length = 6; in w25m02gv_ooblayout_free()
|
A D | gigadevice.c | 52 struct mtd_oob_region *region) in gd5fxgqxxexxg_ooblayout_ecc() argument 57 region->offset = 64; in gd5fxgqxxexxg_ooblayout_ecc() 58 region->length = 64; in gd5fxgqxxexxg_ooblayout_ecc() 64 struct mtd_oob_region *region) in gd5fxgqxxexxg_ooblayout_free() argument 70 region->offset = 1; in gd5fxgqxxexxg_ooblayout_free() 71 region->length = 63; in gd5fxgqxxexxg_ooblayout_free()
|
A D | micron.c | 52 struct mtd_oob_region *region) in micron_8_ooblayout_ecc() argument 57 region->offset = mtd->oobsize / 2; in micron_8_ooblayout_ecc() 58 region->length = mtd->oobsize / 2; in micron_8_ooblayout_ecc() 64 struct mtd_oob_region *region) in micron_8_ooblayout_free() argument 70 region->offset = 2; in micron_8_ooblayout_free() 71 region->length = (mtd->oobsize / 2) - 2; in micron_8_ooblayout_free()
|
A D | macronix.c | 33 struct mtd_oob_region *region) in mx35lfxge4ab_ooblayout_ecc() argument 39 struct mtd_oob_region *region) in mx35lfxge4ab_ooblayout_free() argument 44 region->offset = 2; in mx35lfxge4ab_ooblayout_free() 45 region->length = mtd->oobsize - 2; in mx35lfxge4ab_ooblayout_free()
|
A D | toshiba.c | 45 struct mtd_oob_region *region) in tx58cxgxsxraix_ooblayout_ecc() argument 50 region->offset = mtd->oobsize / 2; in tx58cxgxsxraix_ooblayout_ecc() 51 region->length = mtd->oobsize / 2; in tx58cxgxsxraix_ooblayout_ecc() 57 struct mtd_oob_region *region) in tx58cxgxsxraix_ooblayout_free() argument 63 region->offset = 2; in tx58cxgxsxraix_ooblayout_free() 64 region->length = (mtd->oobsize / 2) - 2; in tx58cxgxsxraix_ooblayout_free()
|
/u-boot/common/ |
A D | image-fit-sig.c | 41 struct image_region *region) in fit_region_make_list() argument 53 if (!region) in fit_region_make_list() 54 region = calloc(sizeof(*region), count); in fit_region_make_list() 56 if (!region) in fit_region_make_list() 61 region[i].data = fit + fdt_regions[i].offset; in fit_region_make_list() 62 region[i].size = fdt_regions[i].size; in fit_region_make_list() 65 return region; in fit_region_make_list() 113 struct image_region region; in fit_image_check_sig() local 128 region.data = data; in fit_image_check_sig() 129 region.size = size; in fit_image_check_sig() [all …]
|
A D | fdt_region.c | 132 offset == region[count - 1].offset + in fdt_find_regions() 133 region[count - 1].size - base) in fdt_find_regions() 134 start = region[--count].offset - base; in fdt_find_regions() 141 region[count].offset = base + start; in fdt_find_regions() 142 region[count].size = stop_at - start; in fdt_find_regions() 154 region[count].offset = base + start; in fdt_find_regions() 155 region[count].size = nextoffset - start; in fdt_find_regions() 178 reg = info->region ? &info->region[info->count - 1] : NULL; in fdt_add_region() 259 info->region = region; in fdt_add_alias_regions() 357 void *priv, struct fdt_region *region, in fdt_first_region() argument [all …]
|
/u-boot/tools/ |
A D | ifdtool.c | 78 struct region_t *region) in get_region() argument 87 region->size = region->limit - region->base + 1; in get_region() 124 struct region_t region; in dump_region() local 127 ret = get_region(frba, num, ®ion); in dump_region() 132 num, region_name(num), region.base, region.limit, in dump_region() 451 struct region_t region; in write_regions() local 458 if (region.size <= 0) in write_regions() 463 if (write(region_fd, image + region.base, region.size) != in write_regions() 464 region.size) { in write_regions() 630 struct region_t region; in inject_region() local [all …]
|
A D | fdtgrep.c | 236 struct fdt_region *reg = region, *reg_end = region + count; in display_fdt_by_regions() 454 size += region[i].size; in dump_fdt_regions() 458 struct_start += region[0].size; in dump_fdt_regions() 459 size -= region[0].size; in dump_fdt_regions() 780 struct fdt_region *region = NULL; in do_fdtgrep() local 809 region = realloc(region, count * sizeof(struct fdt_region)); in do_fdtgrep() 810 if (!region) { in do_fdtgrep() 822 free(region); in do_fdtgrep() 829 free(region); in do_fdtgrep() 836 show_region_list(region, count); in do_fdtgrep() [all …]
|
/u-boot/doc/device-tree-bindings/reserved-memory/ |
A D | reserved-memory.txt | 9 Parameters for each memory region can be encoded into the device tree 57 of the region as part of its standard mapping of system memory, 59 than under the control of the device driver using the region. 61 - The operating system can use the memory in this region with the 69 region for the default pool of the contiguous memory allocator. 72 region for the default pool of the consistent DMA allocator. 77 nodes by adding a memory-region property to the device node. 101 /* global autoconfigured region for contiguous allocations */ 123 memory-region = <&display_reserved>; 128 memory-region = <&multimedia_reserved>; [all …]
|
/u-boot/cmd/ |
A D | cros_ec.c | 60 int region; in do_read_write() local 63 region = cros_ec_decode_region(argc - 2, argv + 2); in do_read_write() 64 if (region == -1) in do_read_write() 346 int region; in do_cros_ec() local 352 region = cros_ec_decode_region(argc - 2, argv + 2); in do_cros_ec() 353 if (region == EC_FLASH_REGION_RO) in do_cros_ec() 355 else if (region == EC_FLASH_REGION_ACTIVE) in do_cros_ec() 389 int region = cros_ec_decode_region(argc - 2, argv + 2); in do_cros_ec() local 392 if (region == -1) in do_cros_ec() 408 if (region == -1) in do_cros_ec() [all …]
|
/u-boot/arch/arm/mach-mvebu/armada3700/ |
A D | cpu.c | 113 int win, region; in build_mem_map() local 115 region = 1; in build_mem_map() 132 mvebu_mem_map[region].phys = base; in build_mem_map() 133 mvebu_mem_map[region].virt = base; in build_mem_map() 134 mvebu_mem_map[region].size = size; in build_mem_map() 135 mvebu_mem_map[region].attrs = attrs; in build_mem_map() 136 ++region; in build_mem_map() 140 mvebu_mem_map[region].size = 0; in build_mem_map() 141 mvebu_mem_map[region].attrs = 0; in build_mem_map()
|
/u-boot/arch/arm/mach-k3/ |
A D | common.c | 415 struct ti_sci_msg_fwl_region region; in remove_fwl_configs() local 424 region.fwl_id = fwl_data[i].fwl_id; in remove_fwl_configs() 425 region.region = j; in remove_fwl_configs() 426 region.n_permission_regs = 3; in remove_fwl_configs() 428 fwl_ops->get_fwl_region(ti_sci, ®ion); in remove_fwl_configs() 430 if (region.control != 0) { in remove_fwl_configs() 432 region.fwl_id, fwl_data[i].name); in remove_fwl_configs() 433 region.control = 0; in remove_fwl_configs() 435 if (fwl_ops->set_fwl_region(ti_sci, ®ion)) in remove_fwl_configs() 437 region.fwl_id, fwl_data[i].name); in remove_fwl_configs()
|
/u-boot/include/u-boot/ |
A D | rsa.h | 53 const struct image_region region[], 71 const struct image_region region[], int region_count, in rsa_sign() argument 112 const struct image_region region[], int region_count, 136 const struct image_region region[], int region_count, in rsa_verify() argument
|
/u-boot/board/kontron/sl28/ |
A D | spl_atf.c | 24 struct region_info region[CONFIG_NR_DRAM_BANKS]; member 39 dram_regions_info.region[i].addr = gd->bd->bi_dram[i].start; in bl2_plat_get_bl31_params_v2() 40 dram_regions_info.region[i].size = gd->bd->bi_dram[i].size; in bl2_plat_get_bl31_params_v2()
|
/u-boot/test/lib/ |
A D | lmb.c | 24 ut_asserteq(lmb->memory.region[0].base, ram_base); in check_lmb() 25 ut_asserteq(lmb->memory.region[0].size, ram_size); in check_lmb() 30 ut_asserteq(lmb->reserved.region[0].base, base1); in check_lmb() 31 ut_asserteq(lmb->reserved.region[0].size, size1); in check_lmb() 34 ut_asserteq(lmb->reserved.region[1].base, base2); in check_lmb() 35 ut_asserteq(lmb->reserved.region[1].size, size2); in check_lmb() 85 ut_asserteq(lmb.memory.region[0].base, ram0); in test_multi_alloc() 87 ut_asserteq(lmb.memory.region[1].base, ram); in test_multi_alloc() 91 ut_asserteq(lmb.memory.region[0].base, ram); in test_multi_alloc() 165 ut_asserteq(lmb.memory.region[1].base, ram); in test_multi_alloc() [all …]
|
/u-boot/arch/arm/mach-omap2/ |
A D | Kconfig | 145 hex "Reserved EMIF region start address" 149 Reserved EMIF region start address. Set to "0" to auto-select 150 to be at the end of the external memory region. 153 hex "Reserved EMIF region size" 157 Total reserved EMIF region size. Default is 0, which means no reserved EMIF 158 region on secure devices. 161 hex "Size of protected region within reserved EMIF region" 166 reserved EMIF region set aside for secure OS needs that will be protected
|
/u-boot/doc/device-tree-bindings/mailbox/ |
A D | k3-secure-proxy.txt | 13 - reg-names data - Map the data region 14 scfg - Map the secure configuration region 15 rt - Map the Realtime region.
|
/u-boot/arch/arm/dts/ |
A D | k3-j721e-som-p0.dtsi | 317 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 323 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 329 memory-region = <&main_r5fss0_core0_dma_memory_region>, 335 memory-region = <&main_r5fss0_core1_dma_memory_region>, 341 memory-region = <&main_r5fss1_core0_dma_memory_region>, 347 memory-region = <&main_r5fss1_core1_dma_memory_region>, 353 memory-region = <&c66_0_dma_memory_region>, 359 memory-region = <&c66_1_dma_memory_region>, 365 memory-region = <&c71_0_dma_memory_region>,
|
/u-boot/doc/device-tree-bindings/net/ |
A D | altera_tse.txt | 9 "control_port": MAC configuration space region 10 "tx_csr": xDMA Tx dispatcher control and status space region 11 "tx_desc": MSGDMA Tx dispatcher descriptor space region 12 "rx_csr" : xDMA Rx dispatcher control and status space region 13 "rx_desc": MSGDMA Rx dispatcher descriptor space region 14 "rx_resp": MSGDMA Rx dispatcher response space region
|