Searched refs:totalWords (Results 1 – 1 of 1) sorted by relevance
361 uint32_t totalWords; in USDHC_ReadDataPort() local376 totalWords = ((data->blockCount * data->blockSize) / sizeof(uint32_t)); in USDHC_ReadDataPort()379 if (readWatermark >= totalWords) in USDHC_ReadDataPort()381 wordsCanBeRead = totalWords; in USDHC_ReadDataPort()385 else if ((readWatermark < totalWords) && ((totalWords - transferredWords) >= readWatermark)) in USDHC_ReadDataPort()393 wordsCanBeRead = (totalWords - transferredWords); in USDHC_ReadDataPort()408 uint32_t totalWords; in USDHC_ReadByDataPortBlocking() local423 totalWords = ((data->blockCount * data->blockSize) / sizeof(uint32_t)); in USDHC_ReadByDataPortBlocking()425 while ((error == kStatus_Success) && (transferredWords < totalWords)) in USDHC_ReadByDataPortBlocking()475 uint32_t totalWords; in USDHC_WriteDataPort() local[all …]