Lines Matching refs:count
648 uint32_t count, data, dataremaining; in HAL_MMC_ReadBlocks() local
726 for(count = 0U; count < 8U; count++) in HAL_MMC_ReadBlocks()
868 uint32_t count, data, dataremaining; in HAL_MMC_WriteBlocks() local
953 for(count = 0U; count < 8U; count++) in HAL_MMC_WriteBlocks()
2445 uint32_t count; in HAL_MMC_GetCardExtCSD() local
2499 for(count = 0U; count < 8U; count++) in HAL_MMC_GetCardExtCSD()
2571 uint32_t count; in HAL_MMC_ConfigWideBusOperation() local
2627 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigWideBusOperation()
2638 count--; in HAL_MMC_ConfigWideBusOperation()
2639 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigWideBusOperation()
2642 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigWideBusOperation()
2657 else if (count == 0U) in HAL_MMC_ConfigWideBusOperation()
3148 uint32_t errorstate, response = 0U, count; in HAL_MMC_Sanitize() local
3176 count = SDMMC_MAX_TRIAL; in HAL_MMC_Sanitize()
3187 count--; in HAL_MMC_Sanitize()
3188 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_Sanitize()
3191 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_Sanitize()
3199 else if (count == 0U) in HAL_MMC_Sanitize()
3255 uint32_t srt, errorstate, response = 0U, count; in HAL_MMC_ConfigSecRemovalType() local
3278 count = SDMMC_MAX_TRIAL; in HAL_MMC_ConfigSecRemovalType()
3289 count--; in HAL_MMC_ConfigSecRemovalType()
3290 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_ConfigSecRemovalType()
3293 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in HAL_MMC_ConfigSecRemovalType()
3301 else if (count == 0U) in HAL_MMC_ConfigSecRemovalType()
3383 uint32_t errorstate, sleep_timeout, timeout, count, response = 0U; in HAL_MMC_SleepDevice() local
3397 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3408 count--; in HAL_MMC_SleepDevice()
3409 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3412 if (count == 0U) in HAL_MMC_SleepDevice()
3451 count = SDMMC_MAX_TRIAL; in HAL_MMC_SleepDevice()
3462 count--; in HAL_MMC_SleepDevice()
3463 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_SleepDevice()
3466 if (count == 0U) in HAL_MMC_SleepDevice()
3565 uint32_t errorstate, sleep_timeout, timeout, count, response = 0U; in HAL_MMC_AwakeDevice() local
3612 count = SDMMC_MAX_TRIAL; in HAL_MMC_AwakeDevice()
3623 count--; in HAL_MMC_AwakeDevice()
3624 }while(((response & 0x100U) == 0U) && (count != 0U)); in HAL_MMC_AwakeDevice()
3627 if (count == 0U) in HAL_MMC_AwakeDevice()
4005 __IO uint32_t count = 0U; in MMC_PowerON() local
4018 if(count++ == SDMMC_MAX_VOLT_TRIAL) in MMC_PowerON()
4103 uint32_t count; in MMC_ReadExtCSD() local
4138 for(count = 0U; count < 8U; count++) in MMC_ReadExtCSD()
4143 if ((i + count) == ((uint32_t)FieldIndex/4U)) in MMC_ReadExtCSD()
4214 uint32_t count, data, dataremaining; in MMC_Read_IT() local
4223 for(count = 0U; count < 8U; count++) in MMC_Read_IT()
4253 uint32_t count, data, dataremaining; in MMC_Write_IT() local
4262 for(count = 0U; count < 8U; count++) in MMC_Write_IT()
4294 uint32_t response = 0U, count; in MMC_HighSpeed() local
4321 count = SDMMC_MAX_TRIAL; in MMC_HighSpeed()
4332 count--; in MMC_HighSpeed()
4333 }while(((response & 0x100U) == 0U) && (count != 0U)); in MMC_HighSpeed()
4336 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_HighSpeed()
4383 else if (count == 0U) in MMC_HighSpeed()
4405 uint32_t response = 0U, count; in MMC_DDR_Mode() local
4454 count = SDMMC_MAX_TRIAL; in MMC_DDR_Mode()
4465 count--; in MMC_DDR_Mode()
4466 }while(((response & 0x100U) == 0U) && (count != 0U)); in MMC_DDR_Mode()
4469 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_DDR_Mode()
4479 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_DDR_Mode()
4492 else if (count == 0U) in MMC_DDR_Mode()
4515 uint32_t count; in MMC_PwrClassUpdate() local
4571 count = SDMMC_MAX_TRIAL; in MMC_PwrClassUpdate()
4582 count--; in MMC_PwrClassUpdate()
4583 }while(((response & 0x100U) == 0U) && (count != 0U)); in MMC_PwrClassUpdate()
4586 if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) in MMC_PwrClassUpdate()
4594 else if (count == 0U) in MMC_PwrClassUpdate()