Home
last modified time | relevance | path

Searched refs:end_add (Results 1 – 24 of 24) sorted by relevance

/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_mmc.c1463 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1469 if (end_add < start_add) in HAL_MMC_Erase()
1475 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1485 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_Erase()
1517 end_add *= MMC_BLOCKSIZE; in HAL_MMC_Erase()
1532 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
2823 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
2830 if (end_add < start_add) in HAL_MMC_EraseSequence()
2837 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
2846 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_EraseSequence()
[all …]
Dstm32h5xx_hal_sd.c1437 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1443 if (end_add < start_add) in HAL_SD_Erase()
1449 if (end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1480 end_add *= BLOCKSIZE; in HAL_SD_Erase()
1498 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_mmc.c1546 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1552 if(end_add < start_add) in HAL_MMC_Erase()
1558 if(end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1588 end_add *= 512U; in HAL_MMC_Erase()
1603 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
3031 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
3038 if(end_add < start_add) in HAL_MMC_EraseSequence()
3045 if(end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
3076 end_add *= 512U; in HAL_MMC_EraseSequence()
3084 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_EraseSequence()
Dstm32l4xx_hal_sd.c1599 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1605 if(end_add < start_add) in HAL_SD_Erase()
1611 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1642 end_add *= 512U; in HAL_SD_Erase()
1660 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_mmc.c1514 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1520 if (end_add < start_add) in HAL_MMC_Erase()
1526 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1536 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_Erase()
1568 end_add *= MMC_BLOCKSIZE; in HAL_MMC_Erase()
1583 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
2874 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
2881 if (end_add < start_add) in HAL_MMC_EraseSequence()
2888 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
2897 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_EraseSequence()
[all …]
Dstm32u5xx_hal_sd.c1428 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1434 if (end_add < start_add) in HAL_SD_Erase()
1440 if (end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1471 end_add *= BLOCKSIZE; in HAL_SD_Erase()
1489 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_mmc.c1518 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1524 if (end_add < start_add) in HAL_MMC_Erase()
1530 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1540 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_Erase()
1572 end_add *= MMC_BLOCKSIZE; in HAL_MMC_Erase()
1587 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
2917 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
2924 if (end_add < start_add) in HAL_MMC_EraseSequence()
2931 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
2940 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_EraseSequence()
[all …]
Dstm32h7xx_hal_sd.c1432 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1438 if (end_add < start_add) in HAL_SD_Erase()
1444 if (end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1475 end_add *= BLOCKSIZE; in HAL_SD_Erase()
1493 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_hal_mmc.c1525 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1531 if (end_add < start_add) in HAL_MMC_Erase()
1537 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1547 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_Erase()
1579 end_add *= MMC_BLOCKSIZE; in HAL_MMC_Erase()
1594 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
2888 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
2895 if (end_add < start_add) in HAL_MMC_EraseSequence()
2902 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
2911 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_EraseSequence()
[all …]
Dstm32n6xx_hal_sd.c1439 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1445 if (end_add < start_add) in HAL_SD_Erase()
1451 if (end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1482 end_add *= BLOCKSIZE; in HAL_SD_Erase()
1500 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_mmc.c1518 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1524 if (end_add < start_add) in HAL_MMC_Erase()
1530 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1540 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_Erase()
1572 end_add *= MMC_BLOCKSIZE; in HAL_MMC_Erase()
1587 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
2917 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
2924 if (end_add < start_add) in HAL_MMC_EraseSequence()
2931 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
2940 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_EraseSequence()
[all …]
Dstm32l5xx_hal_sd.c1432 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1438 if (end_add < start_add) in HAL_SD_Erase()
1444 if (end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1475 end_add *= BLOCKSIZE; in HAL_SD_Erase()
1493 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_hal_mmc.c1514 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1520 if (end_add < start_add) in HAL_MMC_Erase()
1526 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1536 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_Erase()
1568 end_add *= MMC_BLOCKSIZE; in HAL_MMC_Erase()
1583 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
2874 uint32_t end_add = BlockEndAdd; in HAL_MMC_EraseSequence() local
2881 if (end_add < start_add) in HAL_MMC_EraseSequence()
2888 if (end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_EraseSequence()
2897 if (((start_add % 8U) != 0U) || ((end_add % 8U) != 0U)) in HAL_MMC_EraseSequence()
[all …]
Dstm32h7rsxx_hal_sd.c1428 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1434 if (end_add < start_add) in HAL_SD_Erase()
1440 if (end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1471 end_add *= BLOCKSIZE; in HAL_SD_Erase()
1489 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_mmc.c1396 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1402 if(end_add < start_add) in HAL_MMC_Erase()
1408 if(end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1438 end_add *= 512U; in HAL_MMC_Erase()
1453 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
Dstm32f2xx_hal_sd.c1381 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1387 if(end_add < start_add) in HAL_SD_Erase()
1393 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1424 end_add *= 512U; in HAL_SD_Erase()
1442 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_mmc.c1396 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1402 if(end_add < start_add) in HAL_MMC_Erase()
1408 if(end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1438 end_add *= 512U; in HAL_MMC_Erase()
1453 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
Dstm32f1xx_hal_sd.c1381 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1387 if(end_add < start_add) in HAL_SD_Erase()
1393 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1424 end_add *= 512U; in HAL_SD_Erase()
1442 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_mmc.c1396 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1402 if(end_add < start_add) in HAL_MMC_Erase()
1408 if(end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1438 end_add *= 512U; in HAL_MMC_Erase()
1453 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
Dstm32f7xx_hal_sd.c1386 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1392 if(end_add < start_add) in HAL_SD_Erase()
1398 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1429 end_add *= 512U; in HAL_SD_Erase()
1447 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_mmc.c1420 uint32_t end_add = BlockEndAdd; in HAL_MMC_Erase() local
1426 if(end_add < start_add) in HAL_MMC_Erase()
1432 if(end_add > (hmmc->MmcCard.LogBlockNbr)) in HAL_MMC_Erase()
1462 end_add *= 512U; in HAL_MMC_Erase()
1477 errorstate = SDMMC_CmdEraseEndAdd(hmmc->Instance, end_add); in HAL_MMC_Erase()
Dstm32f4xx_hal_sd.c1422 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1428 if(end_add < start_add) in HAL_SD_Erase()
1434 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1465 end_add *= 512U; in HAL_SD_Erase()
1483 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_sd.c1394 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1400 if(end_add < start_add) in HAL_SD_Erase()
1406 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1437 end_add *= 512U; in HAL_SD_Erase()
1455 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sd.c1395 uint32_t end_add = BlockEndAdd; in HAL_SD_Erase() local
1401 if(end_add < start_add) in HAL_SD_Erase()
1407 if(end_add > (hsd->SdCard.LogBlockNbr)) in HAL_SD_Erase()
1438 end_add *= 512U; in HAL_SD_Erase()
1456 errorstate = SDMMC_CmdSDEraseEndAdd(hsd->Instance, end_add); in HAL_SD_Erase()