/u-boot/env/ |
A D | sf.c | 73 env_t env_new; in env_sf_save() 132 ret = spi_flash_write(env_flash, env_offset + offsetof(env_t, flags), in env_sf_save() 154 env_t *tmp_env1, *tmp_env2; in env_sf_load() 156 tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load() 158 tmp_env2 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load() 192 env_t env_new; in env_sf_save() 296 env_t *env_ptr = (env_t *)env_sf_get_env_addr(); in env_sf_init_addr() 321 env_t *tmp_env2 = NULL; in env_sf_init_early() 322 env_t *tmp_env1; in env_sf_init_early() 331 tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_init_early() [all …]
|
A D | remote.c | 16 static env_t *env_ptr = &environment; 18 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR;
|
A D | eeprom.c | 80 off + index + offsetof(env_t, data), &c, 1); in env_eeprom_get_char() 104 off_env[i] + offsetof(env_t, crc), in env_eeprom_load() 108 off_env[i] + offsetof(env_t, flags), in env_eeprom_load() 113 off = off_env[i] + offsetof(env_t, data); in env_eeprom_load() 160 CONFIG_ENV_OFFSET + offsetof(env_t, crc), in env_eeprom_load() 165 off = offsetof(env_t, data); in env_eeprom_load() 197 env_t env_new; in env_eeprom_save() 224 off_red + offsetof(env_t, flags), in env_eeprom_save()
|
A D | common.c | 116 env_t *ep = (env_t *)buf; in env_import() 149 env_t *tmp_env1, *tmp_env2; in env_check_redund() 151 tmp_env1 = (env_t *)buf1; in env_check_redund() 152 tmp_env2 = (env_t *)buf2; in env_check_redund() 203 env_t *ep; in env_import_redund() 221 ep = (env_t *)buf1; in env_import_redund() 223 ep = (env_t *)buf2; in env_import_redund() 232 int env_export(env_t *env_out) in env_export()
|
A D | ubi.c | 35 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_ubi_save() 77 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_ubi_save() 109 env_t *tmp_env1, *tmp_env2; in env_ubi_load() 122 tmp_env1 = (env_t *)env1_buf; in env_ubi_load() 123 tmp_env2 = (env_t *)env2_buf; in env_ubi_load()
|
A D | flash.c | 50 static env_t *env_ptr = &embedded_environment; 53 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; 56 static __maybe_unused env_t *flash_addr = (env_t *)CONFIG_ENV_ADDR; 64 static env_t __maybe_unused *flash_addr_new = (env_t *)CONFIG_ENV_ADDR_REDUND; 123 env_t env_new; in env_flash_save() 198 env_t *etmp = flash_addr; in env_flash_save() 243 env_t env_new; in env_flash_save() 316 env_t *etmp = flash_addr; in env_flash_load()
|
A D | ext4.c | 62 static int env_ext4_save_buffer(env_t *env_new) in env_ext4_save_buffer() 86 sizeof(env_t), FILETYPE_REG); in env_ext4_save_buffer() 100 env_t env_new; in env_ext4_save() 119 env_t env_new; in env_ext4_erase() 122 memset(&env_new, 0, sizeof(env_t)); in env_ext4_erase()
|
A D | nand.c | 41 static env_t *env_ptr = &environment; 43 static env_t *env_ptr = (env_t *)CONFIG_NAND_ENV_DST; 64 env_t *tmp_env1; in env_nand_init() 67 env_t *tmp_env2; in env_nand_init() 69 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 184 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_nand_save() 319 env_t *tmp_env1, *tmp_env2; in env_nand_load() 322 tmp_env1 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 323 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load()
|
A D | nvram.c | 42 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; 73 env_t env_new; in env_nvram_save()
|
A D | embedded.c | 72 env_t redundand_environment __UBOOT_ENV_SECTION__(redundand_environment) = { 89 unsigned long env_size __UBOOT_ENV_SECTION__(env_size) = sizeof(env_t);
|
A D | fat.c | 53 env_t __aligned(ARCH_DMA_MINALIGN) env_new; in env_fat_save() 81 err = file_fat_write(CONFIG_ENV_FAT_FILE, (void *)&env_new, 0, sizeof(env_t), in env_fat_save()
|
A D | mmc.c | 191 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_mmc_save() 310 ALLOC_CACHE_ALIGN_BUFFER(env_t, tmp_env1, 1); in env_mmc_load() 311 ALLOC_CACHE_ALIGN_BUFFER(env_t, tmp_env2, 1); in env_mmc_load() 354 env_t *ep = NULL; in env_mmc_load() 377 ep = (env_t *)buf; in env_mmc_load()
|
A D | onenand.c | 68 env_t env_new; in env_onenand_save()
|
A D | sata.c | 48 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_sata_save()
|
/u-boot/include/ |
A D | env_internal.h | 108 } env_t; typedef 111 extern env_t embedded_environment;
|
A D | env_default.h | 14 env_t embedded_environment __UBOOT_ENV_SECTION__(environment) = {
|
/u-boot/cmd/ |
A D | nvedit.c | 962 env_t *envp; in do_env_export() 1028 envp = (env_t *)ptr; in do_env_export() 1046 size ? size - offsetof(env_t, data) : ENV_SIZE); in do_env_export() 1051 env_set_hex("filesize", len + offsetof(env_t, data)); in do_env_export() 1175 env_t *ep = (env_t *)ptr; in do_env_import() 1177 if (size <= offsetof(env_t, data)) { in do_env_import() 1182 size -= offsetof(env_t, data); in do_env_import()
|
/u-boot/tools/ |
A D | envcrc.c | 59 extern env_t embedded_environment;
|