Home
last modified time | relevance | path

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

/trusted-firmware-m-latest/platform/ext/common/template/
Dflash_otp_nv_counters_backend.c26 static struct flash_otp_nv_counters_region_t otp_nv_ram_buf = {0}; variable
30 memcpy(data, ((uint8_t *)&otp_nv_ram_buf) + offset, cnt); in read_otp_nv_counters_flash()
39 if (otp_nv_ram_buf.init_value != OTP_NV_COUNTERS_INITIALIZED) { in init_otp_nv_counters_flash()
52 memset(&otp_nv_ram_buf, 0, sizeof(otp_nv_ram_buf)); in create_or_restore_layout()
53 otp_nv_ram_buf.init_value = OTP_NV_COUNTERS_INITIALIZED; in create_or_restore_layout()
59 memcpy(((uint8_t *)&otp_nv_ram_buf) + offset, data, cnt); in write_otp_nv_counters_flash()