Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 53) sorted by relevance

123

/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_sec_sha.c106 ctx->total[0] += len; in bflb_sha1_update()
110 ctx->total[1]++; in bflb_sha1_update()
216 ctx->total[1]++; in bflb_sha512_update()
301 high = (ctx->total[0] >> 29) | (ctx->total[1] << 3); in bflb_sha1_finish()
388 high = (ctx->total[0] >> 61) | (ctx->total[1] << 3); in bflb_sha512_finish()
569 ctx->total[0] += len; in bflb_sha1_link_update()
573 ctx->total[1]++; in bflb_sha1_link_update()
671 ctx->total[0] += len; in bflb_sha512_link_update()
674 ctx->total[1]++; in bflb_sha512_link_update()
757 high = (ctx->total[0] >> 29) | (ctx->total[1] << 3); in bflb_sha1_link_finish()
[all …]
/bsp/w60x/drivers/
A Ddrv_crypto.c478 buff_a = tls_mem_alloc(a->total); in _bignum_exptmod()
481 buff_b = tls_mem_alloc(b->total); in _bignum_exptmod()
484 buff_m = tls_mem_alloc(c->total); in _bignum_exptmod()
488 memset(buff_a, 0, a->total); in _bignum_exptmod()
489 memset(buff_b, 0, b->total); in _bignum_exptmod()
490 memset(buff_m, 0, c->total); in _bignum_exptmod()
492 memcpy(buff_a, a->p, a->total); in _bignum_exptmod()
493 memcpy(buff_b, b->p, b->total); in _bignum_exptmod()
494 memcpy(buff_m, c->p, c->total); in _bignum_exptmod()
496 pstm_reverse((unsigned char *)buff_a, a->total); in _bignum_exptmod()
[all …]
A Ddrv_flash.c26 rt_uint32_t total = 0x100000; in wm_flash_total() local
30 total = 0x200000; in wm_flash_total()
33 return total; in wm_flash_total()
/bsp/k210/board/
A Dheap.c6 rt_uint32_t total, used, max; in get_free_heap_size() local
8 rt_memory_info(&total, &used, &max); in get_free_heap_size()
10 return total - used; in get_free_heap_size()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/
A Dbflb_sec_sha.h23 uint32_t total[2]; /*!< Number of bytes processed */ member
30 uint32_t total[2]; /*!< Number of bytes processed */ member
37 uint64_t total[2]; /*!< Number of bytes processed */ member
44 uint32_t total[2]; /*!< Number of bytes processed */ member
51 uint32_t total[2]; /*!< Number of bytes processed */ member
58 uint64_t total[2]; /*!< Number of bytes processed */ member
/bsp/efm32/Libraries/emlib/inc/
A Dem_msc.h250 int32_t total; in MSC_GetCacheMeasurement() local
261 total = MSC->CACHEHITS; in MSC_GetCacheMeasurement()
262 total += MSC->CACHEMISSES; in MSC_GetCacheMeasurement()
265 if (total == 0) in MSC_GetCacheMeasurement()
268 return (MSC->CACHEHITS * 100) / total; in MSC_GetCacheMeasurement()
/bsp/airm2m/air105/libraries/HAL_Driver/Src/
A Dcore_adc.c125 uint32_t total= 0;
142 total += value;
145 return ((total - max) -min)/(SAMPLE_PER_CH-12);
209 uint32_t total= 0; in ADC_GetChannelValue() local
227 total += value; in ADC_GetChannelValue()
230 return ((total - max) -min)/(SAMPLE_PER_CH-12); in ADC_GetChannelValue()
/bsp/ck802/libraries/common/sha/
A Dck_sha.c349 static uint32_t total[2] = {0x0}; variable
372 uint32_t left = total[0] & (block_size - 1); in csi_sha_update()
375 total[0] += len; in csi_sha_update()
376 total[0] &= 0xffffffff; in csi_sha_update()
377 uint32_t word_left = total[0] & 0x3; in csi_sha_update()
469 total_length = total[0] << 3; in csi_sha_finish()
470 uint32_t last = total[0] & (block_size - 1); in csi_sha_finish()
473 uint32_t left = total[0] & 0x3; in csi_sha_finish()
520 total[0] = 0; in csi_sha_finish()
/bsp/nxp/imx/imx6ull-smart/drivers/
A Dbsp_clock.c207 rt_uint64_t total = 0; in rt_hw_us_delay() local
217 total += (new_cnt - old_cnt); in rt_hw_us_delay()
219 total += (new_cnt + _K_GPT_LOAD_VALUE - old_cnt); in rt_hw_us_delay()
223 if (total >= us) in rt_hw_us_delay()
/bsp/allwinner/libraries/sunxi-hal/hal/test/ccmu/
A Dtest_ng_ccmu.c48 rt_uint32_t total, used, max_used; in esMEMS_FreeMemSize() local
51 rt_memory_info(&total, &used, &max_used); in esMEMS_FreeMemSize()
52 aval = total - used; in esMEMS_FreeMemSize()
/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/
A Dde_bws.c322 int coeff, diff_hist, total, k; in auto_bws_model() local
335 total = 0; in auto_bws_model()
338 total += hist[k]; in auto_bws_model()
340 coeff = (100 * diff_hist) / total; in auto_bws_model()
350 total = 0; in auto_bws_model()
352 total += hist[k]; in auto_bws_model()
357 validcnt = total; in auto_bws_model()
A Dde_fce.c706 int total, k; in auto_bws_model() local
719 total = 0; in auto_bws_model()
722 total += hist[k]; in auto_bws_model()
724 if (total == 0) { in auto_bws_model()
730 coeff = (100 * diff_hist) / total; in auto_bws_model()
748 validcnt = total; in auto_bws_model()
/bsp/samd21/sam_d2x_asflib/common/utils/membag/
A Dmembag.c157 size_t total = 0; in membag_get_total() local
160 total += membag_list[i].num_blocks * membag_list[i].block_size; in membag_get_total()
163 return total; in membag_get_total()
/bsp/xuantie/libraries/xuantie_libraries/chip_riscv_dummy/src/drivers/
A Dsha.c288 context->total[0] += size; in csi_sha_update()
376 uint32_t size = context->total[0]; in csi_sha_finish()
431 memset((uint8_t *)context->total, 0, sizeof(context->total)); in csi_sha_finish()
/bsp/xuantie/virt64/c906/
A DREADME_cn.md186 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 9 KB (used), 23 KB (free)
187 Firmware Scratch Size : 4096 B (total), 328 B (used), 3768 B (free)
227 [I/utest] total utest testcase num: (1)
285 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 9 KB (used), 23 KB (free)
286 Firmware Scratch Size : 4096 B (total), 328 B (used), 3768 B (free)
324 [I/utest] total utest testcase num: (1)
A DREADME.md184 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 9 KB (used), 23 KB (free)
185 Firmware Scratch Size : 4096 B (total), 328 B (used), 3768 B (free)
225 [I/utest] total utest testcase num: (1)
283 Firmware Heap Size : 35 KB (total), 2 KB (reserved), 9 KB (used), 23 KB (free)
284 Firmware Scratch Size : 4096 B (total), 328 B (used), 3768 B (free)
322 [I/utest] total utest testcase num: (1)
/bsp/xuantie/libraries/xuantie_libraries/csi/csi2/include/drv/
A Dhmac.h45 uint32_t total[2]; /* Number of bytes processed */ member
A Dsha.h58 uint32_t total[2]; /* Number of bytes processed */ member
/bsp/microchip/samd51-adafruit-metro-m4/bsp/documentation/
A Dusb_protocol_core.rst17 * Getting the total length of an USB configuration descriptor.
/bsp/microchip/samd51-seeed-wio-terminal/bsp/documentation/
A Dusb_protocol_core.rst17 * Getting the total length of an USB configuration descriptor.
/bsp/ultrarisc/ur_dp1000_evb/
A DREADME.md119 Firmware Heap Size : 67 KB (total), 4 KB (reserved), 11 KB (used), 51 KB (free)
120 Firmware Scratch Size : 4096 B (total), 400 B (used), 3696 B (free)
/bsp/raspberry-pi/raspi4-64/
A DREADME.md76 [I/utest] total utest testcase num: (0)
/bsp/qemu-virt64-riscv/
A DREADME_cn.md214 [I/utest] total utest testcase num: (0)
274 [I/utest] total utest testcase num: (0)
350 [I/utest] total utest testcase num: (0)
/bsp/smartfusion2/CMSIS/startup_arm/
A Dsmartfusion2_mddr_debug.sct28 ; Extern RAM 64M in total
/bsp/sam7x/drivers/
A Dsam7x_emac.c511 void sam7xether_read_frame(rt_uint8_t* ptr, rt_uint32_t section_length, rt_uint32_t total) in sam7xether_read_frame() argument
560 if((buf_offset >= ETH_RX_BUF_SIZE) || (frame_read >= total)) in sam7xether_read_frame()

Completed in 31 milliseconds

123