Lines Matching refs:max_freq
168 if (sdmmc2_params.max_freq != 0U) { in stm32_sdmmc2_init()
169 freq = MIN(sdmmc2_params.max_freq, freq); in stm32_sdmmc2_init()
475 uint32_t clock_div, max_freq, freq; in stm32_sdmmc2_set_ios() local
495 max_freq = STM32MP_EMMC_HIGH_SPEED_MAX_FREQ; in stm32_sdmmc2_set_ios()
497 max_freq = STM32MP_EMMC_NORMAL_SPEED_MAX_FREQ; in stm32_sdmmc2_set_ios()
501 max_freq = STM32MP_SD_HIGH_SPEED_MAX_FREQ; in stm32_sdmmc2_set_ios()
503 max_freq = STM32MP_SD_NORMAL_SPEED_MAX_FREQ; in stm32_sdmmc2_set_ios()
507 if (sdmmc2_params.max_freq != 0U) { in stm32_sdmmc2_set_ios()
508 freq = MIN(sdmmc2_params.max_freq, max_freq); in stm32_sdmmc2_set_ios()
510 freq = max_freq; in stm32_sdmmc2_set_ios()
745 sdmmc2_params.max_freq = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()