Searched refs:nv_offset (Results 1 - 7 of 7) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/nvm/ |
H A D | hi_nvm.c | 264 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 D | hi_nvm.c | 266 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 D | hi_nvm.h | 56 hi_u16 nv_offset; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/tools/nvtool/ |
H A D | build_nv.py | 70 ("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 D | build_nv.py | 70 ("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 D | hi_nvm.h | 48 hi_u16 nv_offset; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/ |
H A D | hi_nvm.h | 55 hi_u16 nv_offset; member
|
Completed in 5 milliseconds