Searched refs:swap_count (Results 1 – 6 of 6) sorted by relevance
169 uint32_t swap_count; in init_otp_nv_counters_flash() local187 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() local346 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 …]
82 uint32_t swap_count; variable
65 uint8_t swap_count; /*!< Swap counter to distinguish 2 different member545 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()
169 .swap_count = 1
59 metadata header field (``swap_count``), as the last written byte. When the
655 uint8_t swap_count) in its_mblock_validate_swap_count() argument669 return (swap_count == fs_ctx->cfg->erase_val) in its_mblock_validate_swap_count()