/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_mmc.c | 597 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_MMC_ReadBlocks() argument 618 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 628 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_ReadBlocks() 655 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 664 if (NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 722 if (__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 793 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_MMC_WriteBlocks() argument 814 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 823 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_WriteBlocks() 850 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() [all …]
|
D | stm32l5xx_hal_sd.c | 665 …AL_SD_ReadBlocks(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, in HAL_SD_ReadBlocks() argument 687 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 705 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 714 if (NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 773 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 850 …L_SD_WriteBlocks(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, in HAL_SD_WriteBlocks() argument 872 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 890 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 899 if (NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 959 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
D | stm32l5xx_hal_mmc_ex.c | 113 uint32_t NumberOfBlocks) in HAL_MMCEx_ReadBlocksDMAMultiBuffer() argument 123 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 132 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 169 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 216 uint32_t NumberOfBlocks) in HAL_MMCEx_WriteBlocksDMAMultiBuffer() argument 226 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_WriteBlocksDMAMultiBuffer() 235 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_WriteBlocksDMAMultiBuffer() 273 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_WriteBlocksDMAMultiBuffer()
|
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_mmc.c | 600 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_ReadBlocks() argument 619 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 637 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 645 if(NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 704 if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 801 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_WriteBlocks() argument 820 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 837 if(NumberOfBlocks > 1U) in HAL_MMC_WriteBlocks() 862 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() 905 if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_WriteBlocks() [all …]
|
D | stm32f2xx_hal_sd.c | 570 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 607 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 615 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 676 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 781 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 800 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 818 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 826 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 887 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_mmc.c | 600 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_ReadBlocks() argument 619 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 637 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 645 if(NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 704 if(__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 801 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_WriteBlocks() argument 820 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 837 if(NumberOfBlocks > 1U) in HAL_MMC_WriteBlocks() 862 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() 905 if(__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_WriteBlocks() [all …]
|
D | stm32f7xx_hal_sd.c | 570 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 607 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 615 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 676 if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 781 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 800 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 818 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 826 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 887 if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_mmc.c | 564 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_ReadBlocks() argument 583 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 601 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 609 if(NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 668 if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 765 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_WriteBlocks() argument 784 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 801 if(NumberOfBlocks > 1U) in HAL_MMC_WriteBlocks() 826 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() 869 if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_WriteBlocks() [all …]
|
D | stm32f1xx_hal_sd.c | 567 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 586 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 604 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 612 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 673 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 778 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 797 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 815 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 823 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 884 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_sd.c | 570 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 607 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 615 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 676 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 785 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 804 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 822 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 830 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 891 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_sd.c | 570 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 607 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 615 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 680 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 785 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 804 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 822 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 830 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 895 if(__HAL_SD_GET_FLAG(hsd, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
D | stm32f4xx_hal_mmc.c | 600 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_ReadBlocks() argument 619 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 637 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 645 if(NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 708 if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 805 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_WriteBlocks() argument 824 if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 841 if(NumberOfBlocks > 1U) in HAL_MMC_WriteBlocks() 866 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() 913 if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_mmc.c | 602 uint32_t NumberOfBlocks, in HAL_MMC_ReadBlocks() argument 624 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 634 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_ReadBlocks() 661 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 670 if (NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 728 if (__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 799 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_MMC_WriteBlocks() argument 820 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 829 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_WriteBlocks() 856 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() [all …]
|
D | stm32u5xx_hal_mmc_ex.c | 222 uint32_t BlockAdd, uint32_t NumberOfBlocks) in HAL_MMCEx_DMALinkedList_ReadBlocks() argument 232 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_DMALinkedList_ReadBlocks() 241 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_DMALinkedList_ReadBlocks() 284 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_DMALinkedList_ReadBlocks() 331 uint32_t BlockAdd, uint32_t NumberOfBlocks) in HAL_MMCEx_DMALinkedList_WriteBlocks() argument 341 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_DMALinkedList_WriteBlocks() 350 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_DMALinkedList_WriteBlocks() 395 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_DMALinkedList_WriteBlocks()
|
D | stm32u5xx_hal_sd.c | 669 …AL_SD_ReadBlocks(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, in HAL_SD_ReadBlocks() argument 691 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 709 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 718 if (NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 777 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 855 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_SD_WriteBlocks() argument 876 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 894 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 903 if (NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 963 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_mmc.c | 604 uint32_t NumberOfBlocks, in HAL_MMC_ReadBlocks() argument 626 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 636 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_ReadBlocks() 663 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 672 if (NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 730 if (__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 801 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_MMC_WriteBlocks() argument 822 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 831 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_WriteBlocks() 858 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() [all …]
|
D | stm32h7xx_hal_mmc_ex.c | 113 uint32_t NumberOfBlocks) in HAL_MMCEx_ReadBlocksDMAMultiBuffer() argument 123 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 132 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 169 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 216 uint32_t NumberOfBlocks) in HAL_MMCEx_WriteBlocksDMAMultiBuffer() argument 226 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_WriteBlocksDMAMultiBuffer() 235 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_WriteBlocksDMAMultiBuffer() 273 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_WriteBlocksDMAMultiBuffer()
|
D | stm32h7xx_hal_sd.c | 672 …AL_SD_ReadBlocks(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, in HAL_SD_ReadBlocks() argument 694 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 712 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 721 if (NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 780 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 858 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_SD_WriteBlocks() argument 879 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 897 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 906 if (NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 966 if (__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_mmc.c | 614 uint32_t NumberOfBlocks, in HAL_MMC_ReadBlocks() argument 636 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 646 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_ReadBlocks() 673 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 682 if (NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 740 if (__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 811 uint32_t NumberOfBlocks, uint32_t Timeout) in HAL_MMC_WriteBlocks() argument 832 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 841 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMC_WriteBlocks() 868 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() [all …]
|
D | stm32h5xx_hal_mmc_ex.c | 222 uint32_t BlockAdd, uint32_t NumberOfBlocks) in HAL_MMCEx_DMALinkedList_ReadBlocks() argument 232 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_DMALinkedList_ReadBlocks() 241 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_DMALinkedList_ReadBlocks() 284 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_DMALinkedList_ReadBlocks() 331 uint32_t BlockAdd, uint32_t NumberOfBlocks) in HAL_MMCEx_DMALinkedList_WriteBlocks() argument 341 if ((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMCEx_DMALinkedList_WriteBlocks() 350 if ((NumberOfBlocks % 8U) != 0U) in HAL_MMCEx_DMALinkedList_WriteBlocks() 395 config.DataLength = MMC_BLOCKSIZE * NumberOfBlocks; in HAL_MMCEx_DMALinkedList_WriteBlocks()
|
D | stm32h5xx_hal_sd.c | 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() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_sd.c | 600 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 619 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 648 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 657 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 712 if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 785 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 804 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 833 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 842 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 897 if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|
D | stm32mp1xx_hal_sd_ex.c | 107 …AL_SDEx_ReadBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint32_t NumberOfBlocks) in HAL_SDEx_ReadBlocksDMAMultiBuffer() argument 116 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer() 145 config.DataLength = BLOCKSIZE * NumberOfBlocks; in HAL_SDEx_ReadBlocksDMAMultiBuffer() 189 …L_SDEx_WriteBlocksDMAMultiBuffer(SD_HandleTypeDef *hsd, uint32_t BlockAdd, uint32_t NumberOfBlocks) in HAL_SDEx_WriteBlocksDMAMultiBuffer() argument 198 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_WriteBlocksDMAMultiBuffer() 226 config.DataLength = BLOCKSIZE * NumberOfBlocks; in HAL_SDEx_WriteBlocksDMAMultiBuffer()
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_mmc.c | 643 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_ReadBlocks() argument 662 if((add + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 680 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_ReadBlocks() 695 if(NumberOfBlocks > 1U) in HAL_MMC_ReadBlocks() 759 if(__HAL_MMC_GET_FLAG(hmmc, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_MMC_ReadBlocks() 863 …MMC_HandleTypeDef *hmmc, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_MMC_WriteBlocks() argument 882 if((add + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 901 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() 911 if(NumberOfBlocks > 1U) in HAL_MMC_WriteBlocks() 938 config.DataLength = NumberOfBlocks * MMC_BLOCKSIZE; in HAL_MMC_WriteBlocks() [all …]
|
D | stm32l4xx_hal_sd.c | 697 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_ReadBlocks() argument 716 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 734 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_ReadBlocks() 749 if(NumberOfBlocks > 1U) in HAL_SD_ReadBlocks() 813 if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_ReadBlocks() 920 …s(SD_HandleTypeDef *hsd, uint8_t *pData, uint32_t BlockAdd, uint32_t NumberOfBlocks, uint32_t Time… in HAL_SD_WriteBlocks() argument 939 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 957 config.DataLength = NumberOfBlocks * BLOCKSIZE; in HAL_SD_WriteBlocks() 972 if(NumberOfBlocks > 1U) in HAL_SD_WriteBlocks() 1036 if(__HAL_SD_GET_FLAG(hsd, SDMMC_FLAG_DATAEND) && (NumberOfBlocks > 1U)) in HAL_SD_WriteBlocks() [all …]
|