Lines Matching refs:count

1763   uint32_t count;  in HAL_CRYP_Encrypt_DMA()  local
1850 count = CRYP_TIMEOUT_KEYPREPARATION; in HAL_CRYP_Encrypt_DMA()
1853 count--; in HAL_CRYP_Encrypt_DMA()
1854 if (count == 0U) in HAL_CRYP_Encrypt_DMA()
2323 uint32_t count; in CRYP_AES_Encrypt_IT() local
2370 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Encrypt_IT()
2373 count--; in CRYP_AES_Encrypt_IT()
2374 if (count == 0U) in CRYP_AES_Encrypt_IT()
2690 uint32_t count; in CRYP_AES_Decrypt_IT() local
2729 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
2732 count--; in CRYP_AES_Decrypt_IT()
2733 if (count == 0U) in CRYP_AES_Decrypt_IT()
2786 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
2789 count--; in CRYP_AES_Decrypt_IT()
2790 if (count == 0U) in CRYP_AES_Decrypt_IT()
2845 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_IT()
2848 count--; in CRYP_AES_Decrypt_IT()
2849 if (count == 0U) in CRYP_AES_Decrypt_IT()
2928 uint32_t count; in CRYP_AES_Decrypt_DMA() local
2967 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_DMA()
2970 count--; in CRYP_AES_Decrypt_DMA()
2971 if (count == 0U) in CRYP_AES_Decrypt_DMA()
3025 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_DMA()
3028 count--; in CRYP_AES_Decrypt_DMA()
3029 if (count == 0U) in CRYP_AES_Decrypt_DMA()
3084 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AES_Decrypt_DMA()
3087 count--; in CRYP_AES_Decrypt_DMA()
3088 if (count == 0U) in CRYP_AES_Decrypt_DMA()
3267 uint32_t count; in CRYP_DMAOutCplt() local
3312 for (count = 0U; count < lastwordsize; count++) in CRYP_DMAOutCplt()
3317 while (count < 4U) in CRYP_DMAOutCplt()
3321 count++; in CRYP_DMAOutCplt()
3336 for (count = 0U; count < 4U; count++) in CRYP_DMAOutCplt()
3340 temp[count] = hcryp->Instance->DOUTR; in CRYP_DMAOutCplt()
3343 count = 0U; in CRYP_DMAOutCplt()
3344 while ((hcryp->CrypOutCount < ((hcryp->Size + 3U) / 4U)) && (count < 4U)) in CRYP_DMAOutCplt()
3346 *(uint32_t *)(hcryp->pCrypOutBuffPtr + hcryp->CrypOutCount) = temp[count]; in CRYP_DMAOutCplt()
3348 count++; in CRYP_DMAOutCplt()
4043 uint32_t count; in CRYP_AESGCM_Process_IT() local
4132 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AESGCM_Process_IT()
4135 count--; in CRYP_AESGCM_Process_IT()
4136 if (count == 0U) in CRYP_AESGCM_Process_IT()
4158 count = CRYP_TIMEOUT_GCMCCMINITPHASE; in CRYP_AESGCM_Process_IT()
4161 count--; in CRYP_AESGCM_Process_IT()
4162 if (count == 0U) in CRYP_AESGCM_Process_IT()
4445 uint32_t count; in CRYP_AESGCM_Process_DMA() local
4506 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AESGCM_Process_DMA()
4509 count--; in CRYP_AESGCM_Process_DMA()
4510 if (count == 0U) in CRYP_AESGCM_Process_DMA()
4532 count = CRYP_TIMEOUT_GCMCCMINITPHASE; in CRYP_AESGCM_Process_DMA()
4535 count--; in CRYP_AESGCM_Process_DMA()
4536 if (count == 0U) in CRYP_AESGCM_Process_DMA()
4813 uint32_t count; in CRYP_AESCCM_Process_IT() local
4892 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AESCCM_Process_IT()
4895 count--; in CRYP_AESCCM_Process_IT()
4896 if (count == 0U) in CRYP_AESCCM_Process_IT()
4921 count = CRYP_TIMEOUT_GCMCCMINITPHASE; in CRYP_AESCCM_Process_IT()
4924 count--; in CRYP_AESCCM_Process_IT()
4925 if (count == 0U) in CRYP_AESCCM_Process_IT()
5208 uint32_t count; in CRYP_AESCCM_Process_DMA() local
5270 count = CRYP_TIMEOUT_KEYPREPARATION; in CRYP_AESCCM_Process_DMA()
5273 count--; in CRYP_AESCCM_Process_DMA()
5274 if (count == 0U) in CRYP_AESCCM_Process_DMA()
5299 count = CRYP_TIMEOUT_GCMCCMINITPHASE; in CRYP_AESCCM_Process_DMA()
5302 count--; in CRYP_AESCCM_Process_DMA()
5303 if (count == 0U) in CRYP_AESCCM_Process_DMA()
5494 uint32_t count; in CRYP_GCMCCM_SetPayloadPhase_DMA() local
5558 count = CRYP_TIMEOUT_GCMCCMHEADERPHASE; in CRYP_GCMCCM_SetPayloadPhase_DMA()
5561 count-- ; in CRYP_GCMCCM_SetPayloadPhase_DMA()
5562 if (count == 0U) in CRYP_GCMCCM_SetPayloadPhase_DMA()
6103 uint32_t count = Timeout; in CRYP_ClearCCFlagWhenHigh() local
6107 count-- ; in CRYP_ClearCCFlagWhenHigh()
6108 if (count == 0U) in CRYP_ClearCCFlagWhenHigh()
6193 uint32_t count = 0U; in CRYP_Read_SuspendRegisters() local
6201 count = 0xFFF; in CRYP_Read_SuspendRegisters()
6204 count--; in CRYP_Read_SuspendRegisters()
6205 if (count == 0U) in CRYP_Read_SuspendRegisters()