Home
last modified time | relevance | path

Searched refs:nv_offset (Results 1 - 7 of 7) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/nvm/
H A Dhi_nvm.c264 flash_addr = nv_ctrl->current_addr + nv_index->nv_offset; in nv_read_common()
346 cs = (uintptr_t)(nv_file + nv_index->nv_offset) ^ item_len ^ (uintptr_t)data ^ item_len; in nv_common_write()
347 if (memcpy_s(nv_file + nv_index->nv_offset, item_len, data, item_len, cs) != EOK) { in nv_common_write()
350 cs = (uintptr_t)(nv_file + nv_index->nv_offset + item_len) ^ sizeof(crc) ^ ((uintptr_t)&crc) ^ sizeof(crc); in nv_common_write()
351 if (memcpy_s(nv_file + nv_index->nv_offset + item_len, sizeof(crc), &crc, sizeof(crc), cs) != EOK) { in nv_common_write()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/common/nvm/
H A Dhi_nvm.c266 flash_addr = nv_ctrl->current_addr + nv_index->nv_offset; in nv_read_common()
349 cs = (uintptr_t)(nv_file + nv_index->nv_offset) ^ item_len ^ (uintptr_t)data ^ item_len; in nv_common_write()
350 if (memcpy_s(nv_file + nv_index->nv_offset, item_len, data, item_len, cs) != EOK) { in nv_common_write()
353 cs = (uintptr_t)(nv_file + nv_index->nv_offset + item_len) ^ sizeof(crc) ^ ((uintptr_t)&crc) ^ sizeof(crc); in nv_common_write()
354 if (memcpy_s(nv_file + nv_index->nv_offset + item_len, sizeof(crc), &crc, sizeof(crc), cs) != EOK) { in nv_common_write()
H A Dhi_nvm.h56 hi_u16 nv_offset; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/tools/nvtool/
H A Dbuild_nv.py70 ("nv_offset", HI_U16),
94 nv_offset = 0
117 nv_offset = sizeof(NV_FILE_STRU)+nv_total_num*4#NV相对本区的偏移初始化在索引区之后
141 nv_item_index_st.nv_offset = nv_offset
143 nv_offset = nv_offset+nv_len+NV_ITEM_CRC_LEN
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/nvtool/
H A Dbuild_nv.py70 ("nv_offset", HI_U16),
94 nv_offset = 0
117 nv_offset = sizeof(NV_FILE_STRU)+nv_total_num*4#NV相对本区的偏移初始化在索引区之后
141 nv_item_index_st.nv_offset = nv_offset
143 nv_offset = nv_offset+nv_len+NV_ITEM_CRC_LEN
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/include/
H A Dhi_nvm.h48 hi_u16 nv_offset; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/
H A Dhi_nvm.h55 hi_u16 nv_offset; member

Completed in 5 milliseconds