Home
last modified time | relevance | path

Searched refs:swap_count (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/common/template/
Dflash_otp_nv_counters_backend.c169 uint32_t swap_count; in init_otp_nv_counters_flash() local
187 err = read_otp_nv_counters_flash(offsetof(struct flash_otp_nv_counters_region_t, swap_count), in init_otp_nv_counters_flash()
188 &swap_count, sizeof(swap_count)); in init_otp_nv_counters_flash()
195 (swap_count == 0 || swap_count == UINT32_MAX)) { in init_otp_nv_counters_flash()
201 err = read_otp_nv_counters_flash(offsetof(struct flash_otp_nv_counters_region_t, swap_count) in init_otp_nv_counters_flash()
209 backup_swap_count < swap_count || in init_otp_nv_counters_flash()
210 (backup_swap_count == UINT32_MAX - 1 && swap_count == 1)) { in init_otp_nv_counters_flash()
345 uint32_t swap_count; in write_otp_nv_counters_flash() local
346 uint32_t swap_count_buf_size = TFM_HAL_ITS_PROGRAM_UNIT > sizeof(swap_count) ? in write_otp_nv_counters_flash()
347 TFM_HAL_ITS_PROGRAM_UNIT : sizeof(swap_count); in write_otp_nv_counters_flash()
[all …]
Dflash_otp_nv_counters_backend.h82 uint32_t swap_count; variable
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/
Dps_object_table.c65 uint8_t swap_count; /*!< Swap counter to distinguish 2 different member
545 obj_table->swap_count++; in ps_object_table_save_table()
547 if (obj_table->swap_count == PS_FLASH_DEFAULT_VAL) { in ps_object_table_save_table()
554 obj_table->swap_count = 0; in ps_object_table_save_table()
637 init_ctx->p_table[PS_OBJ_TABLE_IDX_0]->swap_count; in ps_set_active_object_table()
639 init_ctx->p_table[PS_OBJ_TABLE_IDX_1]->swap_count; in ps_set_active_object_table()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/provision/
Dotp_provision.c169 .swap_count = 1
/trusted-firmware-m-3.4.0/docs/technical_references/design_docs/
Dtfm_its_512_flash.rst59 metadata header field (``swap_count``), as the last written byte. When the
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/flash_fs/
Dits_flash_fs_mblock.c655 uint8_t swap_count) in its_mblock_validate_swap_count() argument
669 return (swap_count == fs_ctx->cfg->erase_val) in its_mblock_validate_swap_count()