/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | upg_check_secure.c | 44 hi_u32 upg_hash_one_content(hi_u32 flash_addr, hi_u32 total_size, hi_u8 *hash, hi_u32 hash_size) in upg_hash_one_content() argument 59 for (offset = 0; offset < total_size;) { in upg_hash_one_content() 60 this_size = ((total_size - offset) > HI_BLOCK_SIZE) ? HI_BLOCK_SIZE : (total_size - offset); in upg_hash_one_content() 95 uintptr_t size = param->total_size[i]; in upg_hash_more_content() 204 param->total_size[0] = sizeof(hi_upg_section_head); in upg_crypto_set_secure_verify_param() 220 param->total_size[1] = para->encrypt_size; in upg_crypto_set_secure_verify_param() 224 param->total_size[TOTAL_SIZE_NUM - 1] = head->section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign) - in upg_crypto_set_secure_verify_param() 230 param->total_size[1] = head->section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign); in upg_crypto_set_secure_verify_param() 242 param->total_size[ in upg_set_secure_verify_param() [all...] |
H A D | upg_check_secure.h | 41 uintptr_t total_size[TOTAL_SIZE_NUM]; member 55 hi_u32 upg_hash_one_content(hi_u32 flash_addr, hi_u32 total_size, hi_u8 *hash, hi_u32 hash_size);
|
H A D | upg_common.c | 895 hi_u32 total_size; in upg_refresh_boot() local 907 total_size = section_head.section0_len; in upg_refresh_boot() 908 if ((total_size == 0) || (total_size > boot_size)) { in upg_refresh_boot() 909 upg_print("[upg refresh boot]total size:0x%x \r\n", total_size); in upg_refresh_boot() 925 for (offset = 0; offset < total_size;) { in upg_refresh_boot() 926 this_size = (total_size - offset > UPG_FLASH_BLOCK_SIZE) ? UPG_FLASH_BLOCK_SIZE : (total_size - offset); in upg_refresh_boot()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/nvm/ |
H A D | hi_nvm.c | 30 hi_u32 total_size; member 146 hi_u16 block_count = (hi_u16)nv_info->total_size / (hi_u16)nv_info->block_size; in nv_init_index() 173 hi_u32 nv_init_common(hi_u32 base_addr, hi_u32 total_size, hi_u32 block_size, hi_nv_type nv_type) in nv_init_common() argument 190 for (hi_u16 i = 0; i < (hi_u16)total_size / (hi_u16)block_size; i++) { in nv_init_common() 221 nv_info.total_size = total_size; in nv_init_common() 393 hi_u32 hi_factory_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size) in hi_factory_nv_init() argument 395 return nv_init_common(addr, total_size, block_size, HI_TYPE_FACTORY_NV); in hi_factory_nv_init()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/common/nvm/ |
H A D | hi_nvm.c | 29 hi_u32 total_size; member 147 hi_u16 block_count = (hi_u16)nv_info->total_size / (hi_u16)nv_info->block_size; in nv_init_index() 174 hi_u32 nv_init_common(hi_u32 base_addr, hi_u32 total_size, hi_u32 block_size, hi_nv_type nv_type) in nv_init_common() argument 191 for (hi_u16 i = 0; i < (hi_u16)total_size / (hi_u16)block_size; i++) { in nv_init_common() 222 nv_info.total_size = total_size; in nv_init_common() 396 hi_u32 hi_factory_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size) in hi_factory_nv_init() argument 398 return nv_init_common(addr, total_size, block_size, HI_TYPE_FACTORY_NV); in hi_factory_nv_init()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
H A D | boot_upg_check_secure.c | 227 param->total_size[0] = sizeof(hi_upg_section_head); in boot_upg_set_secure_verify_param() 231 param->total_size[1] = CRYPTO_KERNEL_LENGTH; in boot_upg_set_secure_verify_param() 235 param->total_size[2] = upg_head->common.section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign) - in boot_upg_set_secure_verify_param() 242 param->total_size[1] = upg_head->common.section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign); in boot_upg_set_secure_verify_param() 306 param.total_size[0] = sizeof(hi_upg_section_head); in boot_upg_unsecure_verify_code() 311 param.total_size[1] = CRYPTO_KERNEL_LENGTH; in boot_upg_unsecure_verify_code() 315 param.total_size[2] = upg_head->common.section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign) - in boot_upg_unsecure_verify_code() 322 param.total_size[1] = upg_head->common.section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign); in boot_upg_unsecure_verify_code() 365 param.total_size[0] = sizeof(hi_upg_common_head) + head->key_len; in boot_upg_secure_verify_head() 387 param.total_size[ in boot_upg_unsecure_verify_head() [all...] |
H A D | boot_upg_tool.c | 125 hi_u32 boot_upg_hash_one_content(hi_u32 flash_addr, hi_u32 total_size, hi_u8 *hash, hi_u32 hash_size) in boot_upg_hash_one_content() argument 136 for (uintptr_t offset = 0; offset < total_size;) { in boot_upg_hash_one_content() 137 uintptr_t this_size = (total_size - offset > HI_BLOCK_SIZE) ? HI_BLOCK_SIZE : (total_size - offset); in boot_upg_hash_one_content() 166 uintptr_t size = param->total_size[i]; in boot_upg_hash_more_content()
|
H A D | boot_upg_tool.h | 25 hi_u32 boot_upg_hash_one_content(hi_u32 flash_addr, hi_u32 total_size, hi_u8 *hash, hi_u32 hash_size);
|
H A D | boot_upg_check_secure.h | 49 uintptr_t total_size[TOTAL_SIZE_NUM]; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_nv.h | 63 * @param total_size [IN] type #hi_u32,total size of normal NV. 74 HI_EAPI hi_u32 hi_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size); 188 * @param total_size [IN] type #hi_u32,total size of factory NV. 198 HI_EAPI hi_u32 hi_factory_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size);
|
H A D | hi_flash_base.h | 42 hi_u32 total_size; /**< Flash totoal size (unit: byte). member
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
H A D | Rockchip_OSAL_ion.h | 345 unsigned long total_size; member 352 unsigned long total_size; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/include/ |
H A D | hi_nvm.h | 143 hi_u32 hi_factory_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/ |
H A D | hi_flashboot.h | 78 * @param total_size [IN] type #hi_u32,total size of factory NV. 89 hi_u32 hi_factory_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size);
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_media_mem.c | 359 int total_size = p->nbytes / 1024; /* 1024 1M = 1024 Bytes */ in dump_mem_statistics() local 360 unsigned int free_size = total_size - used_size; in dump_mem_statistics() 374 total_size / 1024, "MB", used_size / 1024, "MB", /* 1024 1M = 1024 Bytes */ in dump_mem_statistics() 1865 int total_size = p->nbytes / 1024; /* 1024 表示1MB = 1024Bytes */ in mmz_proc_statistics() local 1866 unsigned int free_size = total_size - used_size; in mmz_proc_statistics() 1881 total_size / 1024, "MB", used_size / 1024, "MB", /* 1024 表示1MB = 1024Bytes */ in mmz_proc_statistics()
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | memblock.h | 66 * @total_size: size of all regions 73 phys_addr_t total_size; member
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | wlioctl.h | 13313 * is required (i.e. frag_num = 0, total_size = frag_size). 13317 uint16 total_size; /* total database size */ member
|