Home
last modified time | relevance | path

Searched refs:SD_NORMAL_SPEED_FREQ (Results 1 – 4 of 4) sorted by relevance

/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_sd.c293 #define SD_NORMAL_SPEED_FREQ 25000000U /* Normal speed phase : 25 MHz max */ macro
2696 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2736 if (sdmmc_clk > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2738 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2747 if ((sdmmc_clk/(2U * hsd->Init.ClockDiv)) > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2749 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2760 if ((sdmmc_clk / (Init.ClockDiv + 2U)) > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2762 Init.ClockDiv = ((sdmmc_clk / SD_NORMAL_SPEED_FREQ) - 2U); in HAL_SD_ConfigWideBusOperation()
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sd.c270 #define SD_NORMAL_SPEED_FREQ 25000000U /* Normal speed phase : 25 MHz max */ macro
2410 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2450 if (sdmmc_clk > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2452 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2461 if ((sdmmc_clk / (2U * hsd->Init.ClockDiv)) > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2463 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_sd.c273 #define SD_NORMAL_SPEED_FREQ 25000000U /* Normal speed phase : 25 MHz max */ macro
2454 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2494 if (sdmmc_clk > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2496 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2505 if ((sdmmc_clk/(2U * hsd->Init.ClockDiv)) > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2507 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_sd.c273 #define SD_NORMAL_SPEED_FREQ 25000000U /* Normal speed phase : 25 MHz max */ macro
2454 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2494 if (sdmmc_clk > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2496 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2505 if ((sdmmc_clk/(2U * hsd->Init.ClockDiv)) > SD_NORMAL_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
2507 Init.ClockDiv = sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()