Home
last modified time | relevance | path

Searched refs:ClockDiv (Results 1 – 25 of 38) sorted by relevance

12

/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_sd.c380 assert_param(IS_SDMMC_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
509 Init.ClockDiv = ((sdmmc_clk / SD_INIT_FREQ) - 2U); in HAL_SD_InitCard()
511 Init.ClockDiv = sdmmc_clk / (2U * SD_INIT_FREQ); in HAL_SD_InitCard()
550 sdmmc_clk = sdmmc_clk/(Init.ClockDiv + 2U); in HAL_SD_InitCard()
552 sdmmc_clk = sdmmc_clk/(2U*Init.ClockDiv); in HAL_SD_InitCard()
2696 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2698 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2703 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2708 if (hsd->Init.ClockDiv == 0U) in HAL_SD_ConfigWideBusOperation()
2712 Init.ClockDiv = sdmmc_clk / (2U * SD_HIGH_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
[all …]
Dstm32l4xx_hal_mmc.c381 assert_param(IS_SDMMC_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
474 Init.ClockDiv = ((sdmmc_clk/MMC_INIT_FREQ) - 2U); in HAL_MMC_InitCard()
476 Init.ClockDiv = sdmmc_clk/(2U*MMC_INIT_FREQ); in HAL_MMC_InitCard()
507 sdmmc_clk = sdmmc_clk/(Init.ClockDiv + 2U); in HAL_MMC_InitCard()
509 sdmmc_clk = sdmmc_clk/(2U*Init.ClockDiv); in HAL_MMC_InitCard()
4045 Init.ClockDiv = hmmc->Init.ClockDiv; in MMC_HighSpeed()
4060 Init.ClockDiv = sdmmc_clk/(2U*MMC_HIGH_SPEED_FREQ); in MMC_HighSpeed()
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_sd.c354 assert_param(IS_SDMMC_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
484 Init.ClockDiv = sdmmc_clk / (2U * SD_INIT_FREQ); in HAL_SD_InitCard()
507 sdmmc_clk = sdmmc_clk / (2U * Init.ClockDiv); in HAL_SD_InitCard()
2410 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2412 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2417 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2422 if (hsd->Init.ClockDiv == 0U) in HAL_SD_ConfigWideBusOperation()
2426 Init.ClockDiv = sdmmc_clk / (2U * SD_HIGH_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2430 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2435 if ((sdmmc_clk / (2U * hsd->Init.ClockDiv)) > SD_HIGH_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
[all …]
Dstm32u5xx_hal_mmc.c351 assert_param(IS_SDMMC_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
435 Init.ClockDiv = sdmmc_clk / (2U * MMC_INIT_FREQ); in HAL_MMC_InitCard()
449 sdmmc_clk = sdmmc_clk / (2U * Init.ClockDiv); in HAL_MMC_InitCard()
3576 Init.ClockDiv = hmmc->Init.ClockDiv; in MMC_HighSpeed()
3591 Init.ClockDiv = sdmmc_clk / (2U * MMC_HIGH_SPEED_FREQ); in MMC_HighSpeed()
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_sd.c357 assert_param(IS_SDMMC_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
489 Init.ClockDiv = sdmmc_clk / (2U * SD_INIT_FREQ); in HAL_SD_InitCard()
512 sdmmc_clk = sdmmc_clk / (2U * Init.ClockDiv); in HAL_SD_InitCard()
2454 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2456 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2461 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2466 if (hsd->Init.ClockDiv == 0U) in HAL_SD_ConfigWideBusOperation()
2470 Init.ClockDiv = sdmmc_clk / (2U * SD_HIGH_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2474 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2479 if ((sdmmc_clk/(2U * hsd->Init.ClockDiv)) > SD_HIGH_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
[all …]
Dstm32l5xx_hal_mmc.c354 assert_param(IS_SDMMC_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
440 Init.ClockDiv = sdmmc_clk / (2U * MMC_INIT_FREQ); in HAL_MMC_InitCard()
454 sdmmc_clk = sdmmc_clk / (2U * Init.ClockDiv); in HAL_MMC_InitCard()
3607 Init.ClockDiv = hmmc->Init.ClockDiv; in MMC_HighSpeed()
3622 Init.ClockDiv = sdmmc_clk / (2U * MMC_HIGH_SPEED_FREQ); in MMC_HighSpeed()
Dstm32l5xx_ll_sdmmc.c210 assert_param(IS_SDMMC_CLKDIV(Init.ClockDiv)); in SDMMC_Init()
217 Init.ClockDiv in SDMMC_Init()
/hal_stm32-2.7.6/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_sd.c357 assert_param(IS_SDMMC_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
489 Init.ClockDiv = sdmmc_clk / (2U * SD_INIT_FREQ); in HAL_SD_InitCard()
512 sdmmc_clk = sdmmc_clk / (2U * Init.ClockDiv); in HAL_SD_InitCard()
2454 if (hsd->Init.ClockDiv >= (sdmmc_clk / (2U * SD_NORMAL_SPEED_FREQ))) in HAL_SD_ConfigWideBusOperation()
2456 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2461 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2466 if (hsd->Init.ClockDiv == 0U) in HAL_SD_ConfigWideBusOperation()
2470 Init.ClockDiv = sdmmc_clk / (2U * SD_HIGH_SPEED_FREQ); in HAL_SD_ConfigWideBusOperation()
2474 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2479 if ((sdmmc_clk/(2U * hsd->Init.ClockDiv)) > SD_HIGH_SPEED_FREQ) in HAL_SD_ConfigWideBusOperation()
[all …]
Dstm32h7xx_hal_mmc.c354 assert_param(IS_SDMMC_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
440 Init.ClockDiv = sdmmc_clk / (2U * MMC_INIT_FREQ); in HAL_MMC_InitCard()
454 sdmmc_clk = sdmmc_clk / (2U * Init.ClockDiv); in HAL_MMC_InitCard()
3607 Init.ClockDiv = hmmc->Init.ClockDiv; in MMC_HighSpeed()
3622 Init.ClockDiv = sdmmc_clk / (2U * MMC_HIGH_SPEED_FREQ); in MMC_HighSpeed()
Dstm32h7xx_ll_sdmmc.c210 assert_param(IS_SDMMC_CLKDIV(Init.ClockDiv)); in SDMMC_Init()
217 Init.ClockDiv in SDMMC_Init()
/hal_stm32-2.7.6/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_sd.c295 assert_param(IS_SDMMC_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
443 Init.ClockDiv = SDMMC_INIT_CLK_DIV; in HAL_SD_InitCard()
2399 if(hsd->Init.ClockDiv >= SDMMC_NSpeed_CLK_DIV) in HAL_SD_ConfigWideBusOperation()
2401 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2406 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
2411 Init.ClockDiv = SDMMC_HSpeed_CLK_DIV; in HAL_SD_ConfigWideBusOperation()
2416 Init.ClockDiv = SDMMC_NSpeed_CLK_DIV; in HAL_SD_ConfigWideBusOperation()
Dstm32mp1xx_ll_sdmmc.c215 assert_param(IS_SDMMC_CLKDIV(Init.ClockDiv)); in SDMMC_Init()
222 Init.ClockDiv in SDMMC_Init()
/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_mmc.c343 assert_param(IS_SDIO_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
408 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_MMC_InitCard()
2161 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_MMC_ConfigWideBusOperation()
2258 Init.ClockDiv = hmmc->Init.ClockDiv; in HAL_MMC_ConfigWideBusOperation()
Dstm32f4xx_hal_sd.c350 assert_param(IS_SDIO_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
415 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_SD_InitCard()
2291 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
Dstm32f4xx_ll_sdmmc.c223 assert_param(IS_SDIO_CLKDIV(Init.ClockDiv)); in SDIO_Init()
231 Init.ClockDiv in SDIO_Init()
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_mmc.c343 assert_param(IS_SDIO_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
408 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_MMC_InitCard()
2112 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_MMC_ConfigWideBusOperation()
2209 Init.ClockDiv = hmmc->Init.ClockDiv; in HAL_MMC_ConfigWideBusOperation()
Dstm32f1xx_hal_sd.c350 assert_param(IS_SDIO_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
415 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_SD_InitCard()
2238 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
Dstm32f1xx_ll_sdmmc.c223 assert_param(IS_SDIO_CLKDIV(Init.ClockDiv)); in SDIO_Init()
231 Init.ClockDiv in SDIO_Init()
/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_mmc.c343 assert_param(IS_SDIO_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
408 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_MMC_InitCard()
2112 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_MMC_ConfigWideBusOperation()
2209 Init.ClockDiv = hmmc->Init.ClockDiv; in HAL_MMC_ConfigWideBusOperation()
Dstm32f2xx_hal_sd.c350 assert_param(IS_SDIO_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
415 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_SD_InitCard()
2238 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
Dstm32f2xx_ll_sdmmc.c223 assert_param(IS_SDIO_CLKDIV(Init.ClockDiv)); in SDIO_Init()
231 Init.ClockDiv in SDIO_Init()
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_mmc.c343 assert_param(IS_SDMMC_CLKDIV(hmmc->Init.ClockDiv)); in HAL_MMC_Init()
408 Init.ClockDiv = SDMMC_INIT_CLK_DIV; in HAL_MMC_InitCard()
2113 Init.ClockDiv = SDMMC_INIT_CLK_DIV; in HAL_MMC_ConfigWideBusOperation()
2210 Init.ClockDiv = hmmc->Init.ClockDiv; in HAL_MMC_ConfigWideBusOperation()
Dstm32f7xx_hal_sd.c350 assert_param(IS_SDMMC_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
415 Init.ClockDiv = SDMMC_INIT_CLK_DIV; in HAL_SD_InitCard()
2238 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()
Dstm32f7xx_ll_sdmmc.c223 assert_param(IS_SDMMC_CLKDIV(Init.ClockDiv)); in SDMMC_Init()
231 Init.ClockDiv in SDMMC_Init()
/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_sd.c350 assert_param(IS_SDIO_CLKDIV(hsd->Init.ClockDiv)); in HAL_SD_Init()
415 Init.ClockDiv = SDIO_INIT_CLK_DIV; in HAL_SD_InitCard()
2250 Init.ClockDiv = hsd->Init.ClockDiv; in HAL_SD_ConfigWideBusOperation()

12