Home
last modified time | relevance | path

Searched refs:clk_src_freq_hz (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sdhc/
Dsdhc_esp32.c760 uint32_t clk_src_freq_hz = 0; in sdmmc_host_get_clk_dividers() local
763 &clk_src_freq_hz); in sdmmc_host_get_clk_dividers()
764 assert(clk_src_freq_hz == (160 * 1000 * 1000)); in sdmmc_host_get_clk_dividers()
783 *host_div = (clk_src_freq_hz) / (freq_khz * 1000); in sdmmc_host_get_clk_dividers()
786 *card_div = (clk_src_freq_hz / 2) / (2 * freq_khz * 1000); in sdmmc_host_get_clk_dividers()
787 if (((clk_src_freq_hz / 2) % (2 * freq_khz * 1000)) > 0) { in sdmmc_host_get_clk_dividers()
790 } else if ((clk_src_freq_hz % (freq_khz * 1000)) > 0) { in sdmmc_host_get_clk_dividers()
798 uint32_t clk_src_freq_hz = 0; in sdmmc_host_calc_freq() local
801 &clk_src_freq_hz); in sdmmc_host_calc_freq()
802 assert(clk_src_freq_hz == (160 * 1000 * 1000)); in sdmmc_host_calc_freq()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_esp32.c315 uint32_t clk_src_freq_hz = 0; in adc_esp32_digi_start() local
318 &clk_src_freq_hz); in adc_esp32_digi_start()
323 adc_hal_digi_ctrlr_cfg.clk_src_freq_hz = clk_src_freq_hz; in adc_esp32_digi_start()