/openbmc/u-boot/env/ |
H A D | eeprom.c | 76 off + index + offsetof(env_t, data), &c, 1); in env_eeprom_get_char() 100 off_env[i] + offsetof(env_t, crc), in env_eeprom_load() 104 off_env[i] + offsetof(env_t, flags), in env_eeprom_load() 109 off = off_env[i] + offsetof(env_t, data); in env_eeprom_load() 154 CONFIG_ENV_OFFSET + offsetof(env_t, crc), in env_eeprom_load() 159 off = offsetof(env_t, data); in env_eeprom_load() 191 env_t env_new; in env_eeprom_save() 218 off_red + offsetof(env_t, flags), in env_eeprom_save()
|
H A D | flash.c | 50 static env_t *env_ptr = &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; 121 env_t env_new; in env_flash_save() 196 env_t *etmp = flash_addr; in env_flash_save() 241 env_t env_new; in env_flash_save() 314 env_t *etmp = flash_addr; in env_flash_load()
|
H A D | nand.c | 43 static env_t *env_ptr = &environment; 45 static env_t *env_ptr = (env_t *)CONFIG_NAND_ENV_DST; 66 env_t *tmp_env1; in env_nand_init() 69 env_t *tmp_env2; in env_nand_init() 71 tmp_env2 = (env_t *)((ulong)env_ptr + CONFIG_ENV_SIZE); in env_nand_init() 186 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_nand_save() 321 env_t *tmp_env1, *tmp_env2; in env_nand_load() 324 tmp_env1 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load() 325 tmp_env2 = (env_t *)malloc(CONFIG_ENV_SIZE); in env_nand_load()
|
H A D | ubi.c | 24 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_ubi_save() 66 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_ubi_save() 98 env_t *tmp_env1, *tmp_env2; in env_ubi_load() 111 tmp_env1 = (env_t *)env1_buf; in env_ubi_load() 112 tmp_env2 = (env_t *)env2_buf; in env_ubi_load()
|
H A D | sf.c | 75 env_t env_new; in env_sf_save() 134 ret = spi_flash_write(env_flash, env_offset + offsetof(env_t, flags), in env_sf_save() 157 env_t *tmp_env1, *tmp_env2; in env_sf_load() 159 tmp_env1 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load() 161 tmp_env2 = (env_t *)memalign(ARCH_DMA_MINALIGN, in env_sf_load() 196 env_t env_new; in env_sf_save() 298 env_t *env_ptr = (env_t *)env_sf_get_env_addr(); in env_sf_init()
|
H A D | remote.c | 14 env_t *env_ptr = &environment; 16 env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR;
|
H A D | common.c | 109 env_t *ep = (env_t *)buf; in env_import() 142 env_t *ep, *tmp_env1, *tmp_env2; in env_import_redund() 144 tmp_env1 = (env_t *)buf1; in env_import_redund() 145 tmp_env2 = (env_t *)buf2; in env_import_redund() 202 int env_export(env_t *env_out) in env_export()
|
H A D | nvram.c | 39 env_t *env_ptr = (env_t *)CONFIG_ENV_ADDR; 70 env_t env_new; in env_nvram_save()
|
H 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);
|
H A D | ext4.c | 36 env_t env_new; in env_ext4_save() 63 sizeof(env_t)); in env_ext4_save()
|
H A D | fat.c | 36 env_t __aligned(ARCH_DMA_MINALIGN) env_new; in env_fat_save() 64 err = file_fat_write(CONFIG_ENV_FAT_FILE, (void *)&env_new, 0, sizeof(env_t), in env_fat_save()
|
H A D | mmc.c | 201 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_mmc_save() 272 ALLOC_CACHE_ALIGN_BUFFER(env_t, tmp_env1, 1); in env_mmc_load() 273 ALLOC_CACHE_ALIGN_BUFFER(env_t, tmp_env2, 1); in env_mmc_load()
|
H A D | onenand.c | 67 env_t env_new; in env_onenand_save()
|
H A D | sata.c | 47 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_sata_save()
|
/openbmc/u-boot/include/ |
H A D | environment.h | 153 } env_t; typedef 156 extern env_t environment; 274 int env_export(env_t *env_out);
|
H A D | env_default.h | 13 env_t environment __UBOOT_ENV_SECTION__(environment) = {
|
/openbmc/u-boot/cmd/ |
H A D | nvedit.c | 918 env_t *envp; in do_env_export() 984 envp = (env_t *)ptr; in do_env_export() 1002 size ? size - offsetof(env_t, data) : ENV_SIZE); in do_env_export() 1007 env_set_hex("filesize", len + offsetof(env_t, data)); in do_env_export() 1131 env_t *ep = (env_t *)ptr; in do_env_import() 1133 size -= offsetof(env_t, data); in do_env_import()
|
/openbmc/u-boot/tools/ |
H A D | envcrc.c | 64 extern env_t environment;
|