Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 26) sorted by relevance

12

/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Drng.c55 int32_t timeout = 0x1000000; in RNG_Open() local
69 if(i++ > timeout) in RNG_Open()
86 if(i++ > timeout) in RNG_Open()
97 if(i++ > timeout) in RNG_Open()
111 if(i++ > timeout) in RNG_Open()
124 if(i++ > timeout) in RNG_Open()
149 int32_t timeout = 0x10000; in RNG_Random() local
162 if(timeout-- < 0) in RNG_Random()
192 int32_t timeout = 0x1000000; in RNG_ECDSA_Init() local
206 if(i++ > timeout) in RNG_ECDSA_Init()
[all …]
Dfvc.c35 int32_t timeout; in FVC_Open() local
45 timeout = 0x100000; in FVC_Open()
48 if(timeout-- < 0) in FVC_Open()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/
Dtest_pal_semphr.c38 uint8_t Test_PalMutexLock(Test_PalMutex *ppMutexId, uint32_t timeout) in Test_PalMutexLock() argument
41 timeout = timeout / portTICK_PERIOD_MS; in Test_PalMutexLock()
43 timeout = portMAX_DELAY; in Test_PalMutexLock()
45 return xSemaphoreTake(*ppMutexId, timeout) ? 0:1; in Test_PalMutexLock()
75 uint32_t timeout) in Test_PalBinarySemaphoreTake() argument
78 timeout = timeout / portTICK_PERIOD_MS; in Test_PalBinarySemaphoreTake()
80 timeout = portMAX_DELAY; in Test_PalBinarySemaphoreTake()
82 return xSemaphoreTake(*ppBinSemphrId, timeout) ? 0:1; in Test_PalBinarySemaphoreTake()
/trusted-firmware-m-3.6.0/platform/ext/target/cypress/psoc64/
Ddriver_dap.c43 uint32_t timeout = 0U; in cy_access_port_control() local
54 (timeout < CY_DAP_SYSCALL_WAIT_MAX_TRIES)) { in cy_access_port_control()
55 ++timeout; in cy_access_port_control()
58 if (timeout < CY_DAP_SYSCALL_WAIT_MAX_TRIES) { in cy_access_port_control()
59 timeout = 0U; in cy_access_port_control()
65 (timeout < CY_DAP_SYSCALL_WAIT_MAX_TRIES)) { in cy_access_port_control()
66 ++timeout; in cy_access_port_control()
69 if (timeout < CY_DAP_SYSCALL_WAIT_MAX_TRIES) { in cy_access_port_control()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/Native_Driver/
Darm_watchdog_drv.c56 void arm_watchdog_init(struct arm_watchdog_dev_t* dev, uint32_t timeout) in arm_watchdog_init() argument
70 if (timeout == 0) in arm_watchdog_init()
71 dev->data->timeout = ARM_WATCHDOG_MAX_VALUE; in arm_watchdog_init()
73 dev->data->timeout = timeout; in arm_watchdog_init()
88 p_wdog->load = dev->data->timeout; in arm_watchdog_feed()
119 p_wdog->load = dev->data->timeout; in arm_watchdog_enable()
Darm_watchdog_drv.h47 uint32_t timeout; /*!< Timeout to reset in cycles */ member
67 void arm_watchdog_init(struct arm_watchdog_dev_t* dev, uint32_t timeout);
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/
Dtest_pal_semphr.c57 uint8_t Test_PalMutexLock(Test_PalMutex *ppMutexId, uint32_t timeout) in Test_PalMutexLock() argument
60 (void)timeout; in Test_PalMutexLock()
106 uint32_t timeout) in Test_PalBinarySemaphoreTake() argument
115 if (timeout == INFINITE) { in Test_PalBinarySemaphoreTake()
119 ts.tv_sec = time(NULL) + timeout / 1000; in Test_PalBinarySemaphoreTake()
120 ts.tv_nsec = tod.tv_usec * 1000 + 1000 * 1000 * (timeout % 1000); in Test_PalBinarySemaphoreTake()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/
Dtest_pal_semphr.c30 uint8_t Test_PalMutexLock(Test_PalMutex *ppMutexId, uint32_t timeout) in Test_PalMutexLock() argument
55 uint32_t timeout) in Test_PalBinarySemaphoreTake() argument
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/include/
Dtest_pal_semphr.h64 uint8_t Test_PalMutexLock(Test_PalMutex *ppMutexId, uint32_t timeout);
120 uint32_t timeout);
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_pwr_ex.c300 uint32_t timeout; in HAL_PWREx_ControlVoltageScaling() local
330 timeout = ((PWR_FLAG_SETTING_DELAY * (SystemCoreClock / 1000U)) / 1000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
331 while (HAL_IS_BIT_CLR(PWR->VOSR, PWR_VOSR_VOSRDY) && (timeout != 0U)) in HAL_PWREx_ControlVoltageScaling()
333 timeout--; in HAL_PWREx_ControlVoltageScaling()
337 if (timeout != 0U) in HAL_PWREx_ControlVoltageScaling()
340 timeout = ((PWR_FLAG_SETTING_DELAY * (SystemCoreClock / 1000U)) / 1000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
341 while ((HAL_IS_BIT_CLR(PWR->SVMSR, PWR_SVMSR_ACTVOSRDY)) && (timeout != 0U)) in HAL_PWREx_ControlVoltageScaling()
343 timeout--; in HAL_PWREx_ControlVoltageScaling()
348 if (timeout == 0U) in HAL_PWREx_ControlVoltageScaling()
376 uint32_t timeout; in HAL_PWREx_ConfigSupply() local
[all …]
Dstm32u5xx_hal_flash.c630 uint32_t timeout = HAL_GetTick() + Timeout; in FLASH_WaitForLastOperation() local
641 if (HAL_GetTick() >= timeout) in FLASH_WaitForLastOperation()
/trusted-firmware-m-3.6.0/secure_fw/spm/core/
Dpsa_api.c59 uint32_t timeout) in tfm_spm_partition_psa_wait() argument
68 timeout &= PSA_TIMEOUT_MASK; in tfm_spm_partition_psa_wait()
88 if (timeout == PSA_BLOCK) { in tfm_spm_partition_psa_wait()
Dpsa_interface_sfn.c167 psa_signal_t psa_wait(psa_signal_t signal_mask, uint32_t timeout) in psa_wait() argument
174 return tfm_spm_partition_psa_wait(signal_mask, timeout); in psa_wait()
Dpsa_interface_svc.c40 __naked psa_signal_t psa_wait_svc(psa_signal_t signal_mask, uint32_t timeout) in psa_wait_svc() argument
Dpsa_interface_thread_fn_call.c64 psa_signal_t psa_wait_thread_fn_call(psa_signal_t signal_mask, uint32_t timeout) in psa_wait_thread_fn_call() argument
/trusted-firmware-m-3.6.0/interface/include/os_wrapper/
Dmutex.h40 uint32_t os_wrapper_mutex_acquire(void *handle, uint32_t timeout);
/trusted-firmware-m-3.6.0/secure_fw/partitions/lib/runtime/
Dpsa_api_ipc.c34 psa_signal_t psa_wait(psa_signal_t signal_mask, uint32_t timeout) in psa_wait() argument
36 return PART_METADATA()->psa_fns->psa_wait(signal_mask, timeout); in psa_wait()
/trusted-firmware-m-3.6.0/platform/ext/target/stm/b_u585i_iot02a/src/
Dstsafea_service_stub.c115 uint32_t timeout = HAL_GetTick() + msDelay*40; in BSP_TimeDelay() local
120 if (HAL_GetTick() >= timeout) in BSP_TimeDelay()
/trusted-firmware-m-3.6.0/interface/include/psa/
Dservice.h113 psa_signal_t psa_wait(psa_signal_t signal_mask, uint32_t timeout);
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/components/uart/
Dfsl_adapter_usart.c37 volatile uint32_t timeout; member
47 volatile uint32_t timeout; member
774 uartDmaHandle->dma_rx.timeout++; in TimeoutTimer_Callbcak()
775 if (uartDmaHandle->dma_rx.timeout >= HAL_UART_DMA_IDLELINE_TIMEOUT) in TimeoutTimer_Callbcak()
789 uartDmaHandle->dma_rx.timeout = 0U; in TimeoutTimer_Callbcak()
974 uartDmaHandle->dma_rx.timeout = 0U; in HAL_UartDMATransferReceive()
1010 uartDmaHandle->dma_tx.timeout = 0U; in HAL_UartDMATransferSend()
/trusted-firmware-m-3.6.0/secure_fw/spm/include/interface/
Druntime_defs.h33 psa_signal_t (*psa_wait)(psa_signal_t signal_mask, uint32_t timeout);
/trusted-firmware-m-3.6.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_flash.c602 uint32_t timeout = HAL_GetTick() + Timeout; in FLASH_WaitForLastOperation() local
610 if(HAL_GetTick() >= timeout) in FLASH_WaitForLastOperation()
/trusted-firmware-m-3.6.0/secure_fw/spm/include/ffm/
Dpsa_api.h264 uint32_t timeout);
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/
Dtfm_hal_platform.c189 conf.timeout = kCDOG_FaultCtrl_EnableInterrupt; in fih_cdog_init()
/trusted-firmware-m-3.6.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dmkromlib.h187 uint32_t timeout; /* Timeout period for connecting to SecureISP Tool */ member

12