Searched refs:cpu_freq (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/tests/boards/espressif/rtc_clk/src/ |
D | rtc_clk_test.c | 59 clk_cfg.cpu.cpu_freq = clk_cfg.cpu.xtal_freq >> i; in ZTEST() 61 TC_PRINT("Testing CPU frequency: %d MHz\n", clk_cfg.cpu.cpu_freq); in ZTEST() 70 zassert_equal(cpu_rate, clk_cfg.cpu.cpu_freq * MHZ(1), in ZTEST() 72 clk_cfg.cpu.cpu_freq); in ZTEST() 99 clk_cfg.cpu.cpu_freq = rtc_pll_src_freq_mhz[i] / MHZ(1); in ZTEST() 101 TC_PRINT("Testing CPU frequency: %d MHz\n", clk_cfg.cpu.cpu_freq); in ZTEST() 110 zassert_equal(cpu_rate, clk_cfg.cpu.cpu_freq * MHZ(1), in ZTEST() 112 cpu_rate, clk_cfg.cpu.cpu_freq); in ZTEST()
|
/Zephyr-latest/include/zephyr/drivers/clock_control/ |
D | esp32_clock_control.h | 30 uint32_t cpu_freq; member
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_esp32.c | 638 rtc_clk_cfg.cpu_freq_mhz = cpu_cfg->cpu_freq; in esp32_cpu_clock_configure() 737 new_cfg->cpu.cpu_freq = new_cfg->cpu.cpu_freq > MHZ(1) in clock_control_esp32_configure() 738 ? new_cfg->cpu.cpu_freq / MHZ(1) in clock_control_esp32_configure() 739 : new_cfg->cpu.cpu_freq; in clock_control_esp32_configure() 809 .cpu_freq = (DT_PROP(DT_INST(0, DT_CPU_COMPAT), clock_frequency) / MHZ(1)),
|
/Zephyr-latest/tests/boards/mtk_adsp/src/ |
D | main.c | 36 ZTEST(mtk_adsp, cpu_freq) in ZTEST() argument
|