Lines Matching refs:count
681 uint32_t count; in HAL_MMC_ReadBlocks() local
774 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks()
877 uint32_t count; in HAL_MMC_WriteBlocks() local
969 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks()
2312 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2363 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD()
2434 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2486 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2497 count--; in HAL_MMC_ConfigWideBusOperation()
2498 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
2501 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigWideBusOperation()
2516 else if (count == 0U) in HAL_MMC_ConfigWideBusOperation()
3018 uint32_t count; in HAL_MMC_Sanitize() local
3046 count = SDMMC_MAX_TRIAL; in HAL_MMC_Sanitize()
3057 count--; in HAL_MMC_Sanitize()
3058 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_Sanitize()
3061 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_Sanitize()
3069 else if (count == 0U) in HAL_MMC_Sanitize()
3130 uint32_t count; in HAL_MMC_ConfigSecRemovalType() local
3153 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigSecRemovalType()
3164 count--; in HAL_MMC_ConfigSecRemovalType()
3165 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigSecRemovalType()
3168 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigSecRemovalType()
3176 else if (count == 0U) in HAL_MMC_ConfigSecRemovalType()
3263 count, in HAL_MMC_SleepDevice() local
3278 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3289 count--; in HAL_MMC_SleepDevice()
3290 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3293 if (count == 0U) in HAL_MMC_SleepDevice()
3337 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3349 count--; in HAL_MMC_SleepDevice()
3350 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3353 if (count == 0U) in HAL_MMC_SleepDevice()
3461 uint32_t count; in HAL_MMC_AwakeDevice() local
3514 count = SDMMC_MAX_TRIAL; in HAL_MMC_AwakeDevice()
3526 count--; in HAL_MMC_AwakeDevice()
3527 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_AwakeDevice()
3530 if (count == 0U) in HAL_MMC_AwakeDevice()
3717 __IO uint32_t count = 0U; in MMC_PowerON() local
3731 if (count++ == SDMMC_MAX_VOLT_TRIAL) in MMC_PowerON()
3817 uint32_t count; in MMC_ReadExtCSD() local
3855 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_ReadExtCSD()
3860 if ((i + count) == ((uint32_t)FieldIndex / 4U)) in MMC_ReadExtCSD()
3932 uint32_t count; in MMC_Read_IT() local
3941 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_Read_IT()
3967 uint32_t count; in MMC_Write_IT() local
3976 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_Write_IT()
4004 uint32_t count; in MMC_HighSpeed() local
4031 count = SDMMC_MAX_TRIAL; in MMC_HighSpeed()
4042 count--; in MMC_HighSpeed()
4043 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_HighSpeed()
4046 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_HighSpeed()
4105 else if (count == 0U) in MMC_HighSpeed()
4128 uint32_t count; in MMC_DDR_Mode() local
4177 count = SDMMC_MAX_TRIAL; in MMC_DDR_Mode()
4188 count--; in MMC_DDR_Mode()
4189 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_DDR_Mode()
4192 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_DDR_Mode()
4212 else if (count == 0U) in MMC_DDR_Mode()
4234 uint32_t count; in MMC_PwrClassUpdate() local
4290 count = SDMMC_MAX_TRIAL; in MMC_PwrClassUpdate()
4301 count--; in MMC_PwrClassUpdate()
4302 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_PwrClassUpdate()
4305 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_PwrClassUpdate()
4313 else if (count == 0U) in MMC_PwrClassUpdate()
4339 uint32_t count; in HAL_MMC_SwitchPartition() local
4368 count = SDMMC_MAX_TRIAL; in HAL_MMC_SwitchPartition()
4379 count--; in HAL_MMC_SwitchPartition()
4380 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SwitchPartition()
4383 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_SwitchPartition()
4391 else if (count == 0U) in HAL_MMC_SwitchPartition()
4444 uint32_t count; in HAL_MMC_RPMB_ProgramAuthenticationKey() local
4516 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ProgramAuthenticationKey()
4617 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ProgramAuthenticationKey()
4722 uint32_t count; in HAL_MMC_RPMB_GetWriteCounter() local
4796 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_GetWriteCounter()
4895 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_GetWriteCounter()
5018 uint32_t count; in HAL_MMC_RPMB_WriteBlocks() local
5102 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5197 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5361 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5470 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5582 uint32_t count; in HAL_MMC_RPMB_ReadBlocks() local
5662 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ReadBlocks()
5757 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ReadBlocks()