Lines Matching refs:NumberOfBlocks
678 …AL_SD_ReadBlocks(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, in HAL_SD_ReadBlocks() argument
700 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks()
718 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks()
727 if (NumberOfBlocks > 1U) in HAL_SD_ReadBlocks()
786 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks()
864 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_SD_WriteBlocks() argument
885 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks()
903 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks()
912 if (NumberOfBlocks > 1U) in HAL_SD_WriteBlocks()
972 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks()
1051 uint32_t NumberOfBlocks) in HAL_SD_ReadBlocks_IT() argument
1067 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks_IT()
1079 hsd->RxXferSize = BLOCKSIZE * NumberOfBlocks; in HAL_SD_ReadBlocks_IT()
1088 config.DataLength = BLOCKSIZE * NumberOfBlocks; in HAL_SD_ReadBlocks_IT()
1097 if (NumberOfBlocks > 1U) in HAL_SD_ReadBlocks_IT()
1146 uint32_t NumberOfBlocks) in HAL_SD_WriteBlocks_IT() argument
1162 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks_IT()
1174 hsd->TxXferSize = BLOCKSIZE * NumberOfBlocks; in HAL_SD_WriteBlocks_IT()
1183 config.DataLength = BLOCKSIZE * NumberOfBlocks; in HAL_SD_WriteBlocks_IT()
1193 if (NumberOfBlocks > 1U) in HAL_SD_WriteBlocks_IT()
1243 uint32_t NumberOfBlocks) in HAL_SD_ReadBlocks_DMA() argument
1259 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks_DMA()
1271 hsd->RxXferSize = BLOCKSIZE * NumberOfBlocks; in HAL_SD_ReadBlocks_DMA()
1280 config.DataLength = BLOCKSIZE * NumberOfBlocks; in HAL_SD_ReadBlocks_DMA()
1292 if (NumberOfBlocks > 1U) in HAL_SD_ReadBlocks_DMA()
1342 uint32_t NumberOfBlocks) in HAL_SD_WriteBlocks_DMA() argument
1358 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks_DMA()
1370 hsd->TxXferSize = BLOCKSIZE * NumberOfBlocks; in HAL_SD_WriteBlocks_DMA()
1379 config.DataLength = BLOCKSIZE * NumberOfBlocks; in HAL_SD_WriteBlocks_DMA()
1393 if (NumberOfBlocks > 1U) in HAL_SD_WriteBlocks_DMA()