Home
last modified time | relevance | path

Searched refs:xtal_freq (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/boards/espressif/rtc_clk/src/
Drtc_clk_test.c56 clk_cfg.cpu.xtal_freq = (DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq) / MHZ(1)); in ZTEST()
59 clk_cfg.cpu.cpu_freq = clk_cfg.cpu.xtal_freq >> i; in ZTEST()
96 clk_cfg.cpu.xtal_freq = (DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq) / MHZ(1)); in ZTEST()
126 DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq) / 4,
128 DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq) / 2,
139 clk_cfg.cpu.xtal_freq = (DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq) / MHZ(1)); in ZTEST()
191 clk_cfg.cpu.xtal_freq = (DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq) / MHZ(1)); in ZTEST()
/Zephyr-latest/drivers/clock_control/
Dclock_control_esp32.c637 rtc_clk_cfg.xtal_freq = cpu_cfg->xtal_freq; in esp32_cpu_clock_configure()
677 rtc_clk_xtal_freq_update(rtc_clk_cfg.xtal_freq); in esp32_cpu_clock_configure()
687 rtc_clk_apb_freq_update(rtc_clk_cfg.xtal_freq * MHZ(1)); in esp32_cpu_clock_configure()
734 new_cfg->cpu.xtal_freq = new_cfg->cpu.xtal_freq > MHZ(1) in clock_control_esp32_configure()
735 ? new_cfg->cpu.xtal_freq / MHZ(1) in clock_control_esp32_configure()
736 : new_cfg->cpu.xtal_freq; in clock_control_esp32_configure()
810 .xtal_freq = ((DT_PROP(DT_INST(0, DT_CPU_COMPAT), xtal_freq)) / MHZ(1)),
/Zephyr-latest/include/zephyr/drivers/clock_control/
Desp32_clock_control.h31 uint32_t xtal_freq; member