Lines Matching refs:count
674 uint32_t count; in HAL_MMC_ReadBlocks() local
767 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks()
870 uint32_t count; in HAL_MMC_WriteBlocks() local
962 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks()
2344 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2393 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD()
2463 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2515 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2526 count--; in HAL_MMC_ConfigWideBusOperation()
2527 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
2530 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigWideBusOperation()
2545 else if (count == 0U) in HAL_MMC_ConfigWideBusOperation()
3047 uint32_t count; in HAL_MMC_Sanitize() local
3075 count = SDMMC_MAX_TRIAL; in HAL_MMC_Sanitize()
3086 count--; in HAL_MMC_Sanitize()
3087 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_Sanitize()
3090 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_Sanitize()
3098 else if (count == 0U) in HAL_MMC_Sanitize()
3159 uint32_t count; in HAL_MMC_ConfigSecRemovalType() local
3182 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigSecRemovalType()
3193 count--; in HAL_MMC_ConfigSecRemovalType()
3194 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigSecRemovalType()
3197 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigSecRemovalType()
3205 else if (count == 0U) in HAL_MMC_ConfigSecRemovalType()
3292 count, in HAL_MMC_SleepDevice() local
3307 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3318 count--; in HAL_MMC_SleepDevice()
3319 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3322 if (count == 0U) in HAL_MMC_SleepDevice()
3366 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3378 count--; in HAL_MMC_SleepDevice()
3379 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3382 if (count == 0U) in HAL_MMC_SleepDevice()
3490 uint32_t count; in HAL_MMC_AwakeDevice() local
3543 count = SDMMC_MAX_TRIAL; in HAL_MMC_AwakeDevice()
3555 count--; in HAL_MMC_AwakeDevice()
3556 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_AwakeDevice()
3559 if (count == 0U) in HAL_MMC_AwakeDevice()
3746 __IO uint32_t count = 0U; in MMC_PowerON() local
3760 if (count++ == SDMMC_MAX_VOLT_TRIAL) in MMC_PowerON()
3846 uint32_t count; in MMC_ReadExtCSD() local
3882 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_ReadExtCSD()
3887 if ((i + count) == ((uint32_t)FieldIndex / 4U)) in MMC_ReadExtCSD()
3958 uint32_t count; in MMC_Read_IT() local
3967 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_Read_IT()
3993 uint32_t count; in MMC_Write_IT() local
4002 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_Write_IT()
4030 uint32_t count; in MMC_HighSpeed() local
4057 count = SDMMC_MAX_TRIAL; in MMC_HighSpeed()
4068 count--; in MMC_HighSpeed()
4069 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_HighSpeed()
4072 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_HighSpeed()
4120 else if (count == 0U) in MMC_HighSpeed()
4143 uint32_t count; in MMC_DDR_Mode() local
4192 count = SDMMC_MAX_TRIAL; in MMC_DDR_Mode()
4203 count--; in MMC_DDR_Mode()
4204 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_DDR_Mode()
4207 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_DDR_Mode()
4227 else if (count == 0U) in MMC_DDR_Mode()
4249 uint32_t count; in MMC_PwrClassUpdate() local
4305 count = SDMMC_MAX_TRIAL; in MMC_PwrClassUpdate()
4316 count--; in MMC_PwrClassUpdate()
4317 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_PwrClassUpdate()
4320 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_PwrClassUpdate()
4328 else if (count == 0U) in MMC_PwrClassUpdate()
4355 uint32_t count; in HAL_MMC_SwitchPartition() local
4384 count = SDMMC_MAX_TRIAL; in HAL_MMC_SwitchPartition()
4395 count--; in HAL_MMC_SwitchPartition()
4396 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SwitchPartition()
4399 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_SwitchPartition()
4407 else if (count == 0U) in HAL_MMC_SwitchPartition()
4460 uint32_t count; in HAL_MMC_RPMB_ProgramAuthenticationKey() local
4532 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ProgramAuthenticationKey()
4633 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ProgramAuthenticationKey()
4738 uint32_t count; in HAL_MMC_RPMB_GetWriteCounter() local
4812 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_GetWriteCounter()
4911 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_GetWriteCounter()
5034 uint32_t count; in HAL_MMC_RPMB_WriteBlocks() local
5118 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5213 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5377 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5486 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5598 uint32_t count; in HAL_MMC_RPMB_ReadBlocks() local
5678 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ReadBlocks()
5773 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ReadBlocks()