/trusted-firmware-m-3.4.0/secure_fw/partitions/lib/runtime/ |
D | tfm_sp_log_raw.c | 41 int count = 0; in _tfm_string_output() local 45 count++; in _tfm_string_output() 48 return count; in _tfm_string_output() 54 int count = 0; in _tfm_dec_num_output() local 61 count++; in _tfm_dec_num_output() 72 count++; in _tfm_dec_num_output() 75 return count; in _tfm_dec_num_output() 81 int count = 0; in _tfm_hex_num_output() local 92 count++; in _tfm_hex_num_output() 95 return count; in _tfm_hex_num_output() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_common_arm.c | 147 __ASM static void DelayLoop(uint32_t count) in DelayLoop() argument 159 static void DelayLoop(uint32_t count) in DelayLoop() argument 161 __ASM volatile(" MOV R0, %0" : : "r"(count)); in DelayLoop() 191 uint64_t count; in SDK_DelayAtLeastUs() local 195 count = USEC_TO_COUNT(delayTime_us, coreClock_Hz); in SDK_DelayAtLeastUs() 197 assert(count <= UINT32_MAX); in SDK_DelayAtLeastUs() 203 count += getCpuCycleCount(); in SDK_DelayAtLeastUs() 205 if (count > UINT32_MAX) in SDK_DelayAtLeastUs() 207 count -= UINT32_MAX; in SDK_DelayAtLeastUs() 209 while (count < getCpuCycleCount()) in SDK_DelayAtLeastUs() [all …]
|
D | fsl_common_arm.h | 291 #define COUNT_TO_USEC(count, clockFreqInHz) (uint64_t)((uint64_t)(count) * 1000000U / (clockFreqInH… argument 296 #define COUNT_TO_MSEC(count, clockFreqInHz) (uint64_t)((uint64_t)(count) * 1000U / (clockFreqInHz)) argument
|
D | fsl_usart.c | 792 status_t USART_TransferGetSendCount(USART_Type *base, usart_handle_t *handle, uint32_t *count) in USART_TransferGetSendCount() argument 795 assert(NULL != count); in USART_TransferGetSendCount() 802 *count = handle->txDataSizeAll - handle->txDataSize - in USART_TransferGetSendCount() 996 status_t USART_TransferGetReceiveCount(USART_Type *base, usart_handle_t *handle, uint32_t *count) in USART_TransferGetReceiveCount() argument 999 assert(NULL != count); in USART_TransferGetReceiveCount() 1006 *count = handle->rxDataSizeAll - handle->rxDataSize; in USART_TransferGetReceiveCount()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/corstone1000/Device/Include/ |
D | mpu_config.h | 48 int32_t count = 0; /* count number of bits till msb */ in get_rbar_size_field() local 59 count++; in get_rbar_size_field() 63 count -= 1; in get_rbar_size_field() 66 count--; /* 2 ^ (SIZE+1) */ in get_rbar_size_field() 67 return count; in get_rbar_size_field()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/utilities/str/ |
D | fsl_str.c | 254 int32_t *count) in PrintOutputdifFobpu() argument 262 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 265 cb(buf, count, '0', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 272 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 275 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 283 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 286 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 290 cb(buf, count, *vstrp--, 1); in PrintOutputdifFobpu() 295 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 307 int32_t *count) in PrintOutputxX() argument [all …]
|
/trusted-firmware-m-3.4.0/bl1/bl1_1/shared_lib/otp/ |
D | otp_default.c | 64 uint32_t *count) in bl1_otp_read_nv_counter() argument 70 sizeof(uint32_t), (uint8_t *)count); in bl1_otp_read_nv_counter() 77 uint32_t count) in bl1_otp_write_nv_counter() argument 82 plat_err = tfm_plat_set_nv_counter(PLAT_NV_COUNTER_BL1_0, count); in bl1_otp_write_nv_counter()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/ |
D | nv_counters.c | 40 uint32_t count; in read_nv_counter_otp() local 55 count = 0; in read_nv_counter_otp() 58 count += 1; in read_nv_counter_otp() 66 memcpy(val, &count, NV_COUNTER_SIZE); in read_nv_counter_otp()
|
/trusted-firmware-m-3.4.0/bl1/bl1_1/shared_lib/interface/ |
D | otp.h | 55 uint32_t *count); 59 uint32_t count);
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/ |
D | stm32u5xx_hal_cryp.c | 1599 uint32_t count; in HAL_CRYP_Encrypt_DMA() local 1682 count = CRYP_TIMEOUT_KEYPREPARATION; in HAL_CRYP_Encrypt_DMA() 1685 count--; in HAL_CRYP_Encrypt_DMA() 1686 if (count == 0U) in HAL_CRYP_Encrypt_DMA() 2124 uint32_t count; in CRYP_AES_Encrypt_IT() local 2167 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Encrypt_IT() 2170 count--; in CRYP_AES_Encrypt_IT() 2171 if (count == 0U) in CRYP_AES_Encrypt_IT() 2385 uint32_t count; in CRYP_AES_Decrypt_IT() local 2433 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT() [all …]
|
D | stm32u5xx_hal_rng.c | 949 __IO uint32_t count = 0U; in RNG_RecoverSeedError() local 966 count = RNG_TIMEOUT_VALUE; in RNG_RecoverSeedError() 969 count-- ; in RNG_RecoverSeedError() 970 if (count == 0U) in RNG_RecoverSeedError() 994 count = RNG_TIMEOUT_VALUE; in RNG_RecoverSeedError() 997 count-- ; in RNG_RecoverSeedError() 998 if (count == 0U) in RNG_RecoverSeedError()
|
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/ |
D | stm32l5xx_hal_rng.c | 963 __IO uint32_t count = 0U; in RNG_RecoverSeedError() local 980 count = RNG_TIMEOUT_VALUE; in RNG_RecoverSeedError() 983 count-- ; in RNG_RecoverSeedError() 984 if (count == 0U) in RNG_RecoverSeedError() 1009 count = RNG_TIMEOUT_VALUE; in RNG_RecoverSeedError() 1012 count-- ; in RNG_RecoverSeedError() 1013 if (count == 0U) in RNG_RecoverSeedError()
|
D | stm32l5xx_hal_cryp.c | 2256 __IO uint32_t count = 0U; in CRYP_AES_Decrypt_IT() local 2293 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT() 2296 count-- ; in CRYP_AES_Decrypt_IT() 2297 if (count == 0U) in CRYP_AES_Decrypt_IT() 2385 __IO uint32_t count = 0U; in CRYP_AES_Decrypt_DMA() local 2422 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_DMA() 2425 count-- ; in CRYP_AES_Decrypt_DMA() 2426 if (count == 0U) in CRYP_AES_Decrypt_DMA() 2611 uint32_t count; in CRYP_DMAOutCplt() local 2654 for (count = 0U; count < lastwordsize; count++) in CRYP_DMAOutCplt() [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/cert_utils/ |
D | hbk_gen_util.py | 86 count = 0 89 count += (intWord & 1) 91 zero_sum += (BITS_WITHIN_WORD - count)
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/x509cert_utils/ |
D | hbk_gen_util.py | 86 count = 0 89 count += (intWord & 1) 91 zero_sum += (BITS_WITHIN_WORD - count)
|
/trusted-firmware-m-3.4.0/platform/ext/common/template/ |
D | nv_counters.c | 61 uint32_t count; in read_nv_counter_otp() local 75 count = 0; in read_nv_counter_otp() 78 count += (counter_value[byte_idx] >> bit_idx) & 1; in read_nv_counter_otp() 82 memcpy(val, &count, NV_COUNTER_SIZE); in read_nv_counter_otp()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | dhm_alt.c | 253 int ret, count = 0; in mbedtls_dhm_make_params() local 281 if( count++ > 10 ) in mbedtls_dhm_make_params() 370 int ret, count = 0; in mbedtls_dhm_make_public() local 390 if( count++ > 10 ) in mbedtls_dhm_make_public() 420 int ret, count; in dhm_update_blinding() local 455 count = 0; in dhm_update_blinding() 463 if( count++ > 10 ) in dhm_update_blinding()
|
/trusted-firmware-m-3.4.0/tools/templates/ |
D | partition_load_info.template | 29 {% set counter.dep_counter = manifest.dependencies|count + manifest.weak_dependencies|count %} 31 {% set counter.service_counter = manifest.services|count %} 33 {% set counter.asset_counter = manifest.mmio_regions|count %} 39 {% set counter.irq_counter = manifest.irqs|count %}
|
/trusted-firmware-m-3.4.0/bl2/ext/mcuboot/include/flash_map/ |
D | flash_map.h | 165 int flash_area_get_sectors(int fa_id, uint32_t *count,
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/ffc_domain/ |
D | cc_ffc_domain.c | 664 uint16_t count = 0; /*loop counter*/ in FfcFips186v4CreateGenerator() local 696 count = 1; in FfcFips186v4CreateGenerator() 698 while(count != 0) { in FfcFips186v4CreateGenerator() 709 pIndex[1] = count & 0xFF; pIndex[2] = (count>>8) & 0xFF; in FfcFips186v4CreateGenerator() 710 hashDataSizeBytes = pDomain->seedSizeBytes + sizeof(ggen) + sizeof(count) + 1/*index*/; in FfcFips186v4CreateGenerator() 767 count++; in FfcFips186v4CreateGenerator()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/components/uart/ |
D | fsl_adapter_uart.h | 423 hal_uart_status_t HAL_UartTransferGetReceiveCount(hal_uart_handle_t handle, uint32_t *count); 436 hal_uart_status_t HAL_UartTransferGetSendCount(hal_uart_handle_t handle, uint32_t *count);
|
D | fsl_adapter_usart.c | 485 hal_uart_status_t HAL_UartTransferGetReceiveCount(hal_uart_handle_t handle, uint32_t *count) in HAL_UartTransferGetReceiveCount() argument 490 assert(count); in HAL_UartTransferGetReceiveCount() 496 …nsferGetReceiveCount(s_UsartAdapterBase[uartHandle->instance], &uartHandle->hardwareHandle, count); in HAL_UartTransferGetReceiveCount() 501 hal_uart_status_t HAL_UartTransferGetSendCount(hal_uart_handle_t handle, uint32_t *count) in HAL_UartTransferGetSendCount() argument 506 assert(count); in HAL_UartTransferGetSendCount() 511 …TransferGetSendCount(s_UsartAdapterBase[uartHandle->instance], &uartHandle->hardwareHandle, count); in HAL_UartTransferGetSendCount()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | crypto.c | 47 static void dump_ecc_reg(char *str, uint32_t volatile regs[], int32_t count); 50 static void Reg2Hex(int32_t count, uint32_t volatile reg[], char output[]); 839 static void dump_ecc_reg(char *str, uint32_t volatile regs[], int32_t count) in dump_ecc_reg() argument 844 for(i = 0; i < count; i++) in dump_ecc_reg() 851 static void dump_ecc_reg(char *str, uint32_t volatile regs[], int32_t count) in dump_ecc_reg() argument 855 (void)count; in dump_ecc_reg() 939 static void Reg2Hex(int32_t count, uint32_t volatile reg[], char output[]) in Reg2Hex() argument 944 output[count] = 0U; in Reg2Hex() 945 idx = count - 1; in Reg2Hex() 963 void CRPT_Reg2Hex(int32_t count, volatile uint32_t reg[], char output[]) in CRPT_Reg2Hex() argument [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/rss/common/libraries/ |
D | dma350_lib.c | 398 uint8_t size, uint32_t count) in dma350_endian_swap() argument 430 remaining = count; in dma350_endian_swap() 439 const uint8_t *ptr_start = &ptr8[(1 + count - remaining) * size - 1]; in dma350_endian_swap()
|
/trusted-firmware-m-3.4.0/platform/ext/target/arm/mps3/corstone310/fvp/libraries/ |
D | dma350_lib.c | 398 uint8_t size, uint32_t count) in dma350_endian_swap() argument 430 remaining = count; in dma350_endian_swap() 439 const uint8_t *ptr_start = &ptr8[(1 + count - remaining) * size - 1]; in dma350_endian_swap()
|