/hal_stm32-3.6.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_sd.c | 576 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 602 add *= 512U; in HAL_SD_ReadBlocks() 620 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 627 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 787 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 800 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 813 add *= 512U; in HAL_SD_WriteBlocks() 831 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 838 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32f7xx_hal_mmc.c | 606 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks() local 632 add *= 512U; in HAL_MMC_ReadBlocks() 650 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 657 errorstate = SDMMC_CmdReadSingleBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 807 uint32_t add = BlockAdd; in HAL_MMC_WriteBlocks() local 833 add *= 512U; in HAL_MMC_WriteBlocks() 842 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 849 errorstate = SDMMC_CmdWriteSingleBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 980 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks_IT() local 1010 add *= 512U; in HAL_MMC_ReadBlocks_IT() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_sd.c | 576 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 602 add *= 512U; in HAL_SD_ReadBlocks() 620 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 627 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 791 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 804 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 817 add *= 512U; in HAL_SD_WriteBlocks() 835 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 842 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_sd.c | 576 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 602 add *= 512U; in HAL_SD_ReadBlocks() 620 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 627 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 791 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 804 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 817 add *= 512U; in HAL_SD_WriteBlocks() 835 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 842 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32f4xx_hal_mmc.c | 606 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks() local 632 add *= 512U; in HAL_MMC_ReadBlocks() 650 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 657 errorstate = SDMMC_CmdReadSingleBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 811 uint32_t add = BlockAdd; in HAL_MMC_WriteBlocks() local 837 add *= 512U; in HAL_MMC_WriteBlocks() 846 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 853 errorstate = SDMMC_CmdWriteSingleBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 988 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks_IT() local 1022 add *= 512U; in HAL_MMC_ReadBlocks_IT() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_sd.c | 576 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 602 add *= 512U; in HAL_SD_ReadBlocks() 620 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 627 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 787 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 800 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 813 add *= 512U; in HAL_SD_WriteBlocks() 831 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 838 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32f1xx_hal_mmc.c | 606 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks() local 632 add *= 512U; in HAL_MMC_ReadBlocks() 650 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 657 errorstate = SDMMC_CmdReadSingleBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 807 uint32_t add = BlockAdd; in HAL_MMC_WriteBlocks() local 833 add *= 512U; in HAL_MMC_WriteBlocks() 842 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 849 errorstate = SDMMC_CmdWriteSingleBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 980 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks_IT() local 1010 add *= 512U; in HAL_MMC_ReadBlocks_IT() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_sd.c | 576 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 589 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 602 add *= 512U; in HAL_SD_ReadBlocks() 620 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 627 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 787 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 800 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 813 add *= 512U; in HAL_SD_WriteBlocks() 831 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 838 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32f2xx_hal_mmc.c | 606 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks() local 632 add *= 512U; in HAL_MMC_ReadBlocks() 650 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 657 errorstate = SDMMC_CmdReadSingleBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 807 uint32_t add = BlockAdd; in HAL_MMC_WriteBlocks() local 833 add *= 512U; in HAL_MMC_WriteBlocks() 842 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 849 errorstate = SDMMC_CmdWriteSingleBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 980 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks_IT() local 1010 add *= 512U; in HAL_MMC_ReadBlocks_IT() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_sd.c | 606 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 619 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 632 add *= 512U; in HAL_SD_ReadBlocks() 662 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 669 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 791 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 804 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 817 add *= 512U; in HAL_SD_WriteBlocks() 847 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 854 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32mp1xx_hal_sd_ex.c | 112 uint32_t add = BlockAdd; in HAL_SDEx_ReadBlocksDMAMultiBuffer() local 116 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer() 140 add *= 512U; in HAL_SDEx_ReadBlocksDMAMultiBuffer() 164 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SDEx_ReadBlocksDMAMultiBuffer() 194 uint32_t add = BlockAdd; in HAL_SDEx_WriteBlocksDMAMultiBuffer() local 198 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_WriteBlocksDMAMultiBuffer() 221 add *= 512U; in HAL_SDEx_WriteBlocksDMAMultiBuffer() 243 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SDEx_WriteBlocksDMAMultiBuffer()
|
/hal_stm32-3.6.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_sd_ex.c | 115 uint32_t add = BlockAdd; in HAL_SDEx_ReadBlocksDMAMultiBuffer() local 119 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer() 144 add *= 512U; in HAL_SDEx_ReadBlocksDMAMultiBuffer() 166 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SDEx_ReadBlocksDMAMultiBuffer() 201 uint32_t add = BlockAdd; in HAL_SDEx_WriteBlocksDMAMultiBuffer() local 205 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_WriteBlocksDMAMultiBuffer() 228 add *= 512U; in HAL_SDEx_WriteBlocksDMAMultiBuffer() 248 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SDEx_WriteBlocksDMAMultiBuffer()
|
D | stm32h7xx_hal_sd.c | 681 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 694 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 707 add *= 512U; in HAL_SD_ReadBlocks() 726 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 733 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 866 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 879 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 892 add *= 512U; in HAL_SD_WriteBlocks() 911 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 918 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32h7xx_hal_mmc_ex.c | 119 uint32_t add = BlockAdd; in HAL_MMCEx_ReadBlocksDMAMultiBuffer() local 164 add *= 512U; in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 186 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 222 uint32_t add = BlockAdd; in HAL_MMCEx_WriteBlocksDMAMultiBuffer() local 268 add *= 512U; in HAL_MMCEx_WriteBlocksDMAMultiBuffer() 288 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMCEx_WriteBlocksDMAMultiBuffer()
|
/hal_stm32-3.6.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_sd_ex.c | 115 uint32_t add = BlockAdd; in HAL_SDEx_ReadBlocksDMAMultiBuffer() local 119 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer() 144 add *= 512U; in HAL_SDEx_ReadBlocksDMAMultiBuffer() 166 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SDEx_ReadBlocksDMAMultiBuffer() 201 uint32_t add = BlockAdd; in HAL_SDEx_WriteBlocksDMAMultiBuffer() local 205 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_WriteBlocksDMAMultiBuffer() 228 add *= 512U; in HAL_SDEx_WriteBlocksDMAMultiBuffer() 248 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SDEx_WriteBlocksDMAMultiBuffer()
|
D | stm32l5xx_hal_sd.c | 674 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 687 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 700 add *= 512U; in HAL_SD_ReadBlocks() 719 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 726 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 859 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 872 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 885 add *= 512U; in HAL_SD_WriteBlocks() 904 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 911 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
D | stm32l5xx_hal_mmc.c | 605 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks() local 650 add *= 512U; in HAL_MMC_ReadBlocks() 669 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 676 errorstate = SDMMC_CmdReadSingleBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 801 uint32_t add = BlockAdd; in HAL_MMC_WriteBlocks() local 845 add *= 512U; in HAL_MMC_WriteBlocks() 864 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 871 errorstate = SDMMC_CmdWriteSingleBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 993 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks_IT() local 1039 add *= 512U; in HAL_MMC_ReadBlocks_IT() [all …]
|
D | stm32l5xx_hal_mmc_ex.c | 119 uint32_t add = BlockAdd; in HAL_MMCEx_ReadBlocksDMAMultiBuffer() local 164 add *= 512U; in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 186 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMCEx_ReadBlocksDMAMultiBuffer() 222 uint32_t add = BlockAdd; in HAL_MMCEx_WriteBlocksDMAMultiBuffer() local 268 add *= 512U; in HAL_MMCEx_WriteBlocksDMAMultiBuffer() 288 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMCEx_WriteBlocksDMAMultiBuffer()
|
/hal_stm32-3.6.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_sd_ex.c | 160 uint32_t add = BlockAdd; in HAL_SDEx_ReadBlocksDMAMultiBuffer() local 164 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_ReadBlocksDMAMultiBuffer() 188 add *= 512U; in HAL_SDEx_ReadBlocksDMAMultiBuffer() 210 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SDEx_ReadBlocksDMAMultiBuffer() 242 uint32_t add = BlockAdd; in HAL_SDEx_WriteBlocksDMAMultiBuffer() local 246 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_WriteBlocksDMAMultiBuffer() 269 add *= 512U; in HAL_SDEx_WriteBlocksDMAMultiBuffer() 289 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SDEx_WriteBlocksDMAMultiBuffer()
|
D | stm32l4xx_hal_mmc.c | 649 uint32_t add = BlockAdd; in HAL_MMC_ReadBlocks() local 662 if((add + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_ReadBlocks() 675 add *= 512U; in HAL_MMC_ReadBlocks() 700 errorstate = SDMMC_CmdReadMultiBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 707 errorstate = SDMMC_CmdReadSingleBlock(hmmc->Instance, add); in HAL_MMC_ReadBlocks() 869 uint32_t add = BlockAdd; in HAL_MMC_WriteBlocks() local 882 if((add + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_WriteBlocks() 895 add *= 512U; in HAL_MMC_WriteBlocks() 916 errorstate = SDMMC_CmdWriteMultiBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() 923 errorstate = SDMMC_CmdWriteSingleBlock(hmmc->Instance, add); in HAL_MMC_WriteBlocks() [all …]
|
D | stm32l4xx_hal_sd.c | 702 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 715 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 728 add *= 512U; in HAL_SD_ReadBlocks() 753 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 760 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 925 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 938 if((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 951 add *= 512U; in HAL_SD_WriteBlocks() 976 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 983 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_sd_ex.c | 206 uint32_t add = BlockAdd; in HAL_SDEx_DMALinkedList_ReadBlocks() local 210 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_ReadBlocks() 242 add *= 512U; in HAL_SDEx_DMALinkedList_ReadBlocks() 264 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SDEx_DMALinkedList_ReadBlocks() 301 uint32_t add = BlockAdd; in HAL_SDEx_DMALinkedList_WriteBlocks() local 305 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_WriteBlocks() 336 add *= 512U; in HAL_SDEx_DMALinkedList_WriteBlocks() 356 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SDEx_DMALinkedList_WriteBlocks()
|
D | stm32u5xx_hal_sd.c | 678 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 691 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 704 add *= BLOCKSIZE; in HAL_SD_ReadBlocks() 723 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 730 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 863 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 876 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 889 add *= BLOCKSIZE; in HAL_SD_WriteBlocks() 908 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 915 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|
/hal_stm32-3.6.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_sd_ex.c | 206 uint32_t add = BlockAdd; in HAL_SDEx_DMALinkedList_ReadBlocks() local 210 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_ReadBlocks() 242 add *= 512U; in HAL_SDEx_DMALinkedList_ReadBlocks() 264 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SDEx_DMALinkedList_ReadBlocks() 301 uint32_t add = BlockAdd; in HAL_SDEx_DMALinkedList_WriteBlocks() local 305 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SDEx_DMALinkedList_WriteBlocks() 336 add *= 512U; in HAL_SDEx_DMALinkedList_WriteBlocks() 356 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SDEx_DMALinkedList_WriteBlocks()
|
D | stm32h5xx_hal_sd.c | 687 uint32_t add = BlockAdd; in HAL_SD_ReadBlocks() local 700 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_ReadBlocks() 713 add *= BLOCKSIZE; in HAL_SD_ReadBlocks() 732 errorstate = SDMMC_CmdReadMultiBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 739 errorstate = SDMMC_CmdReadSingleBlock(hsd->Instance, add); in HAL_SD_ReadBlocks() 872 uint32_t add = BlockAdd; in HAL_SD_WriteBlocks() local 885 if ((add + NumberOfBlocks) > (hsd->SdCard.LogBlockNbr)) in HAL_SD_WriteBlocks() 898 add *= BLOCKSIZE; in HAL_SD_WriteBlocks() 917 errorstate = SDMMC_CmdWriteMultiBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() 924 errorstate = SDMMC_CmdWriteSingleBlock(hsd->Instance, add); in HAL_SD_WriteBlocks() [all …]
|