/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/calibration/ |
D | soc_iq_calibrations.c | 143 int32_t total_size = get_calibration_total_size( iq_ctx, ctx_id, sensor_arg ); in soc_iq_get_calibrations() local 146 … "ctx_id:%d sensor_arg:0x%x Total size for all Luts is %d bytes", ctx_id, sensor_arg, total_size ); in soc_iq_get_calibrations() 148 if ( total_size != 0 ) { in soc_iq_get_calibrations() 151 if ( g_lut_data_size_arr[ctx_id] >= total_size && g_lut_data_ptr_arr[ctx_id] != NULL ) { in soc_iq_get_calibrations() 152 …cated %d bytes. Required %d. Old memory will be reused", g_lut_data_size_arr[ctx_id], total_size ); in soc_iq_get_calibrations() 154 …ed %d bytes. Required %d. new memory will be allocated", g_lut_data_size_arr[ctx_id], total_size ); in soc_iq_get_calibrations() 160 g_lut_data_ptr_arr[ctx_id] = __MALLOC( total_size ); in soc_iq_get_calibrations() 162 g_lut_data_size_arr[ctx_id] = total_size; in soc_iq_get_calibrations() 222 …iled to allocate %d bytes of memory for iq ctx_id %d sensor_arg 0x%x", total_size, ctx_id, sensor_… in soc_iq_get_calibrations() 226 LOG( LOG_CRIT, "Wrong total size %d bytes", total_size ); in soc_iq_get_calibrations()
|
/device/soc/winnermicro/wm800/board/platform/drivers/flash/ |
D | wm_fls.c | 85 if ((addr >= spi_fls->current_drv->total_size) || (len == 0) in tls_spifls_read() 92 ((addr + len) > drv->total_size) ? (drv->total_size - addr) : len; in tls_spifls_read() 115 if ((addr >= spi_fls->current_drv->total_size) || (len == 0) in tls_spifls_fast_read() 126 ((addr + len) > drv->total_size) ? (drv->total_size - addr) : len; in tls_spifls_fast_read() 150 if ((page >= (spi_fls->current_drv->total_size / spi_fls->current_drv->page_size)) in tls_spifls_page_write() 156 write_pages = ((page + page_cnt) > (drv->total_size / drv->page_size)) ? in tls_spifls_page_write() 157 ((drv->total_size / drv->page_size) -page) : page_cnt; in tls_spifls_page_write() 207 if ((addr >= spi_fls->current_drv->total_size) || (len == 0) in tls_spifls_write() 214 ((addr + len) > drv->total_size) ? (drv->total_size - addr) : len; in tls_spifls_write() 299 if (sector >= (spi_fls->current_drv->total_size / spi_fls->current_drv->sector_size)) { in tls_spifls_erase() [all …]
|
D | wm_fls_gd25qxx.c | 241 exspi_fls.total_size = 1 << (id>>16); in tls_spifls_drv_probe() 243 exspi_fls.total_size = FLASH_TOTAL_SIZE; /* 1MByte */ in tls_spifls_drv_probe()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
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(h… 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[0] = sizeof(hi_upg_section_head); in upg_set_secure_verify_param() 245 … param->total_size[1] = head->section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_sign); in upg_set_secure_verify_param() [all …]
|
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);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/upg/ |
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_… 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_… 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_s… in boot_upg_unsecure_verify_code() 322 …param.total_size[1] = upg_head->common.section_len - sizeof(hi_upg_section_head) - sizeof(hi_upg_s… 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[0] = sizeof(hi_upg_common_head) + head->key_len; in boot_upg_unsecure_verify_head()
|
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_siz… 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()
|
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_siz…
|
D | boot_upg_check_secure.h | 49 uintptr_t total_size[TOTAL_SIZE_NUM]; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/nvm/ |
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/ |
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/beken/bk7235/liteos_m/bk_sdk_armino/components/easy_flash/src/ |
D | ef_iap.c | 165 size_t total_size) in ef_write_data_to_bak() argument 170 if (*cur_size + size > total_size) in ef_write_data_to_bak() 171 size = total_size - *cur_size; in ef_write_data_to_bak()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_nv.h | 74 HI_EAPI hi_u32 hi_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size); 198 HI_EAPI hi_u32 hi_factory_nv_init(hi_u32 addr, hi_u32 total_size, hi_u32 block_size);
|
D | hi_flash_base.h | 42 hi_u32 total_size; /**< Flash totoal size (unit: byte). member
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/ |
D | hal_norflash.h | 184 enum HAL_NORFLASH_RET_T hal_norflash_get_size(enum HAL_FLASH_ID_T id, uint32_t *total_size, uint32_… 253 enum HAL_NORFLASH_RET_T hal_norflash_get_size_se0(uint32_t *total_size, 255 enum HAL_NORFLASH_RET_T hal_norflash_get_size_se1(uint32_t *total_size, 257 …line enum HAL_NORFLASH_RET_T hal_norflash_get_size_se(enum HAL_FLASH_ID_T id, uint32_t *total_size, in hal_norflash_get_size_se() argument 261 return hal_norflash_get_size_se0(total_size, block_size, sector_size, page_size); in hal_norflash_get_size_se() 263 return hal_norflash_get_size_se1(total_size, block_size, sector_size, page_size); in hal_norflash_get_size_se()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/ |
D | decoder_bmmu_box.c | 51 int total_size; member 181 box->total_size -= mm->buffer_size; in decoder_bmmu_box_alloc_idx() 187 box->total_size -= mm->buffer_size; in decoder_bmmu_box_alloc_idx() 197 box->total_size += mm->buffer_size; in decoder_bmmu_box_alloc_idx() 221 box->total_size -= mm->buffer_size; in decoder_bmmu_box_free_idx() 502 box->total_size); in decoder_bmmu_box_dump_all()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/ |
D | codec_mm.c | 176 int total_size; member 315 if (aligned_size <= mgt->cma_res_pool.total_size - in codec_mm_alloc_pre_check_in() 324 if (aligned_size <= mgt->tvp_pool.total_size - in codec_mm_alloc_pre_check_in() 482 (mgt->cma_res_pool.total_size > 0)) && /*have res */ in codec_mm_alloc_in() 581 if (mgt->cma_res_pool.total_size > 0 && in codec_mm_alloc_in() 584 mgt->cma_res_pool.total_size) { in codec_mm_alloc_in() 1180 int alloced_size = tvp_pool->total_size; in codec_mm_extpool_pool_alloc() 1278 tvp_pool->total_size = alloced_size; in codec_mm_extpool_pool_alloc() 1324 mgt->tvp_pool.total_size -= slot_mem_size; in codec_mm_extpool_pool_release() 1538 (int)(mgt->tvp_pool.total_size / SZ_1M), in dump_mem_infos() [all …]
|
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/ |
D | codec_mm.c | 176 int total_size; member 316 if (aligned_size <= mgt->cma_res_pool.total_size - mgt->cma_res_pool.alloced_size) { in codec_mm_alloc_pre_check_in() 327 if (aligned_size <= mgt->tvp_pool.total_size - mgt->tvp_pool.alloced_size) { in codec_mm_alloc_pre_check_in() 482 …int can_from_res = (((mgt->res_pool != NULL) || (mgt->cma_res_pool.total_size > 0)) && /* have res… in codec_mm_alloc_in() 567 if (mgt->cma_res_pool.total_size > 0 && in codec_mm_alloc_in() 568 … (mgt->cma_res_pool.alloced_size + mem->buffer_size) < mgt->cma_res_pool.total_size) { in codec_mm_alloc_in() 1096 int alloced_size = tvp_pool->total_size; in codec_mm_extpool_pool_alloc() 1173 tvp_pool->total_size = alloced_size; in codec_mm_extpool_pool_alloc() 1216 mgt->tvp_pool.total_size -= slot_mem_size; in codec_mm_extpool_pool_release() 1399 AMPORTS_MEM_FLAGS_FROM_GET_FROM_TVP, (int)(mgt->tvp_pool.total_size / SZ_1M), in dump_mem_infos() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/halmac/halmac_88xx/ |
D | halmac_bb_rf_88xx.c | 427 u16 total_size; in get_dpk_data_88xx() local 448 total_size = (u16)DPK_DATA_GET_TOTAL_SIZE(buf); in get_dpk_data_88xx() 451 state->data_size = total_size; in get_dpk_data_88xx() 527 u16 total_size; in get_psd_data_88xx() local 545 total_size = (u16)PSD_DATA_GET_TOTAL_SIZE(buf); in get_psd_data_88xx() 548 state->data_size = total_size; in get_psd_data_88xx()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/ |
D | aml_vp9_parser.c | 224 s64 total_size = 0; in vp9_superframe_split_filter() local 232 total_size += frame_size; in vp9_superframe_split_filter() 234 total_size > s->data_size - idx_size) { in vp9_superframe_split_filter() 244 s->size = total_size; in vp9_superframe_split_filter()
|
/device/soc/esp/esp32/components/bt/common/osi/ |
D | config.c | 316 int w_len = 0, total_size = 0; in get_config_size() local 321 total_size += w_len; in get_config_size() 326 total_size += w_len; in get_config_size() 331 total_size ++; //'\n' in get_config_size() 336 total_size ++; //'\0' in get_config_size() 337 return total_size; in get_config_size()
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
D | Rockchip_OSAL_ion.h | 345 unsigned long total_size; member 352 unsigned long total_size; member
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/spi_norflash/ |
D | spi_norflash_drv.h | 30 int32_t spi_norflash_get_size(uint32_t *total_size, uint32_t *block_size, uint32_t *sector_size, ui…
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/norflash/ |
D | norflash_drv.h | 106 uint32_t total_size; member 130 int norflash_get_size(enum HAL_FLASH_ID_T id, uint32_t *total_size, uint32_t *block_size, uint32_t …
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_v2x/ |
D | de_fce.c | 487 u32 total_pixel, total_pixel_r, total_size; in auto_ce_model() local 495 total_size = total_pixel = (width * height) >> 1; in auto_ce_model() 497 total_size = total_pixel = (width * (height - 1) in auto_ce_model() 508 if (total_size > 3 * total_pixel) in auto_ce_model() 509 total_size = 0; in auto_ce_model() 518 || total_size == 0) { in auto_ce_model()
|