Home
last modified time | relevance | path

Searched refs:env_t (Results 1 – 18 of 18) sorted by relevance

/u-boot/env/
A Dsf.c73 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 Dremote.c16 static env_t *env_ptr = &environment;
18 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR;
A Deeprom.c80 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 Dcommon.c116 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 Dubi.c35 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 Dflash.c50 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 Dext4.c62 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 Dnand.c41 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 Dnvram.c42 static env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR;
73 env_t env_new; in env_nvram_save()
A Dembedded.c72 env_t redundand_environment __UBOOT_ENV_SECTION__(redundand_environment) = {
89 unsigned long env_size __UBOOT_ENV_SECTION__(env_size) = sizeof(env_t);
A Dfat.c53 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 Dmmc.c191 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 Donenand.c68 env_t env_new; in env_onenand_save()
A Dsata.c48 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_sata_save()
/u-boot/include/
A Denv_internal.h108 } env_t; typedef
111 extern env_t embedded_environment;
A Denv_default.h14 env_t embedded_environment __UBOOT_ENV_SECTION__(environment) = {
/u-boot/cmd/
A Dnvedit.c962 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 Denvcrc.c59 extern env_t embedded_environment;

Completed in 15 milliseconds