/external/u-boot/env/ |
D | ubi.c | 34 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_ubi_save() 37 ret = env_export(env_new); in env_ubi_save() 50 (void *)env_new, CONFIG_ENV_SIZE)) { in env_ubi_save() 59 (void *)env_new, CONFIG_ENV_SIZE)) { in env_ubi_save() 76 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_ubi_save() 79 ret = env_export(env_new); in env_ubi_save() 89 if (ubi_volume_write(CONFIG_ENV_UBI_VOLUME, (void *)env_new, in env_ubi_save()
|
D | sf.c | 75 env_t env_new; in env_sf_save() local 84 ret = env_export(&env_new); in env_sf_save() 87 env_new.flags = ENV_REDUND_ACTIVE; in env_sf_save() 123 CONFIG_ENV_SIZE, &env_new); in env_sf_save() 135 sizeof(env_new.flags), &flag); in env_sf_save() 196 env_t env_new; in env_sf_save() local 216 ret = env_export(&env_new); in env_sf_save() 230 CONFIG_ENV_SIZE, &env_new); in env_sf_save()
|
D | nvram.c | 72 env_t env_new; in env_nvram_save() local 75 rcode = env_export(&env_new); in env_nvram_save() 80 nvram_write(CONFIG_ENV_ADDR, &env_new, CONFIG_ENV_SIZE); in env_nvram_save() 82 if (memcpy((char *)CONFIG_ENV_ADDR, &env_new, CONFIG_ENV_SIZE) == NULL) in env_nvram_save()
|
D | flash.c | 120 env_t env_new; in env_flash_save() local 139 rc = env_export(&env_new); in env_flash_save() 142 env_new.flags = new_flag; in env_flash_save() 172 rc = flash_write((char *)&env_new, (ulong)flash_addr_new, in env_flash_save() 173 sizeof(env_new)); in env_flash_save() 240 env_t env_new; in env_flash_save() local 269 rc = env_export(&env_new); in env_flash_save() 278 rc = flash_write((char *)&env_new, (long)flash_addr, CONFIG_ENV_SIZE); in env_flash_save()
|
D | raw_disk.c | 26 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_raw_disk_save() 32 err = env_export(env_new); in env_raw_disk_save() 45 n = blk_dwrite(dev_desc, info.start, blk_cnt, (u_char *)env_new); in env_raw_disk_save()
|
D | nand.c | 160 u_char *env_new) in erase_and_write_env() argument 174 ret = writeenv(location->erase_opts.offset, env_new); in erase_and_write_env() 183 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_nand_save() 208 ret = env_export(env_new); in env_nand_save() 216 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save() 226 ret = erase_and_write_env(&location[env_idx], (u_char *)env_new); in env_nand_save()
|
D | onenand.c | 67 env_t env_new; in env_onenand_save() local 79 ret = env_export(&env_new); in env_onenand_save() 100 (u_char *)&env_new)) { in env_onenand_save()
|
D | fat.c | 37 env_t __aligned(ARCH_DMA_MINALIGN) env_new; in env_fat_save() 44 err = env_export(&env_new); in env_fat_save() 65 err = file_fat_write(CONFIG_ENV_FAT_FILE, (void *)&env_new, 0, sizeof(env_t), in env_fat_save()
|
D | ext4.c | 47 env_t env_new; in env_ext4_save() local 55 err = env_export(&env_new); in env_ext4_save() 73 err = ext4fs_write(CONFIG_ENV_EXT4_FILE, (void *)&env_new, in env_ext4_save()
|
D | sata.c | 48 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_sata_save() 64 ret = env_export(env_new); in env_sata_save() 69 if (write_env(sata, CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, (u_char *)env_new)) { in env_sata_save()
|
D | eeprom.c | 196 env_t env_new; in env_eeprom_save() local 204 rc = env_export(&env_new); in env_eeprom_save() 214 env_new.flags = ENV_REDUND_ACTIVE; in env_eeprom_save() 218 off, (uchar *)&env_new, CONFIG_ENV_SIZE); in env_eeprom_save()
|
D | mmc.c | 193 ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, 1); in env_mmc_save() 206 ret = env_export(env_new); in env_mmc_save() 221 if (write_env(mmc, CONFIG_ENV_SIZE, offset, (u_char *)env_new)) { in env_mmc_save()
|