Lines Matching refs:count
670 uint32_t count; in HAL_MMC_ReadBlocks() local
763 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_ReadBlocks()
866 uint32_t count; in HAL_MMC_WriteBlocks() local
958 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_WriteBlocks()
2301 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2350 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_GetCardExtCSD()
2420 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2472 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2483 count--; in HAL_MMC_ConfigWideBusOperation()
2484 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
2487 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigWideBusOperation()
2502 else if (count == 0U) in HAL_MMC_ConfigWideBusOperation()
3004 uint32_t count; in HAL_MMC_Sanitize() local
3032 count = SDMMC_MAX_TRIAL; in HAL_MMC_Sanitize()
3043 count--; in HAL_MMC_Sanitize()
3044 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_Sanitize()
3047 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_Sanitize()
3055 else if (count == 0U) in HAL_MMC_Sanitize()
3116 uint32_t count; in HAL_MMC_ConfigSecRemovalType() local
3139 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigSecRemovalType()
3150 count--; in HAL_MMC_ConfigSecRemovalType()
3151 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigSecRemovalType()
3154 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigSecRemovalType()
3162 else if (count == 0U) in HAL_MMC_ConfigSecRemovalType()
3249 count, in HAL_MMC_SleepDevice() local
3264 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3275 count--; in HAL_MMC_SleepDevice()
3276 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3279 if (count == 0U) in HAL_MMC_SleepDevice()
3323 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3335 count--; in HAL_MMC_SleepDevice()
3336 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3339 if (count == 0U) in HAL_MMC_SleepDevice()
3447 uint32_t count; in HAL_MMC_AwakeDevice() local
3500 count = SDMMC_MAX_TRIAL; in HAL_MMC_AwakeDevice()
3512 count--; in HAL_MMC_AwakeDevice()
3513 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_AwakeDevice()
3516 if (count == 0U) in HAL_MMC_AwakeDevice()
3703 __IO uint32_t count = 0U; in MMC_PowerON() local
3717 if (count++ == SDMMC_MAX_VOLT_TRIAL) in MMC_PowerON()
3803 uint32_t count; in MMC_ReadExtCSD() local
3839 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_ReadExtCSD()
3844 if ((i + count) == ((uint32_t)FieldIndex / 4U)) in MMC_ReadExtCSD()
3915 uint32_t count; in MMC_Read_IT() local
3924 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_Read_IT()
3950 uint32_t count; in MMC_Write_IT() local
3959 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in MMC_Write_IT()
3987 uint32_t count; in MMC_HighSpeed() local
4014 count = SDMMC_MAX_TRIAL; in MMC_HighSpeed()
4025 count--; in MMC_HighSpeed()
4026 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_HighSpeed()
4029 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_HighSpeed()
4077 else if (count == 0U) in MMC_HighSpeed()
4100 uint32_t count; in MMC_DDR_Mode() local
4149 count = SDMMC_MAX_TRIAL; in MMC_DDR_Mode()
4160 count--; in MMC_DDR_Mode()
4161 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_DDR_Mode()
4164 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_DDR_Mode()
4184 else if (count == 0U) in MMC_DDR_Mode()
4206 uint32_t count; in MMC_PwrClassUpdate() local
4262 count = SDMMC_MAX_TRIAL; in MMC_PwrClassUpdate()
4273 count--; in MMC_PwrClassUpdate()
4274 } while (((response & 0x100U) == 0U) && (count != 0U)); in MMC_PwrClassUpdate()
4277 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_PwrClassUpdate()
4285 else if (count == 0U) in MMC_PwrClassUpdate()
4311 uint32_t count; in HAL_MMC_SwitchPartition() local
4340 count = SDMMC_MAX_TRIAL; in HAL_MMC_SwitchPartition()
4351 count--; in HAL_MMC_SwitchPartition()
4352 } while (((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SwitchPartition()
4355 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_SwitchPartition()
4363 else if (count == 0U) in HAL_MMC_SwitchPartition()
4416 uint32_t count; in HAL_MMC_RPMB_ProgramAuthenticationKey() local
4488 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ProgramAuthenticationKey()
4589 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ProgramAuthenticationKey()
4694 uint32_t count; in HAL_MMC_RPMB_GetWriteCounter() local
4768 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_GetWriteCounter()
4867 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_GetWriteCounter()
4990 uint32_t count; in HAL_MMC_RPMB_WriteBlocks() local
5074 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5169 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5333 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5442 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_WriteBlocks()
5554 uint32_t count; in HAL_MMC_RPMB_ReadBlocks() local
5634 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ReadBlocks()
5729 for (count = 0U; count < (SDMMC_FIFO_SIZE / 4U); count++) in HAL_MMC_RPMB_ReadBlocks()