D | main.c | 10 static void check_clocks(struct adsp_cpu_clock_info *clocks, uint32_t freq_idx) in check_clocks() argument 16 zassert_equal(clocks[i].current_freq, freq_idx, ""); in check_clocks() 22 struct adsp_cpu_clock_info *clocks = adsp_cpu_clocks_get(); in ZTEST() local 24 zassert_not_null(clocks, ""); in ZTEST() 27 check_clocks(clocks, ADSP_CPU_CLOCK_FREQ_LPRO); in ZTEST() 30 check_clocks(clocks, ADSP_CPU_CLOCK_FREQ_HPRO); in ZTEST() 34 check_clocks(clocks, ADSP_CPU_CLOCK_FREQ_WOVCRO); in ZTEST() 40 struct adsp_cpu_clock_info *clocks = adsp_cpu_clocks_get(); in ZTEST() local 43 zassert_not_null(clocks, ""); in ZTEST() 47 check_clocks(clocks, ADSP_CPU_CLOCK_FREQ_LPRO); in ZTEST() [all …]
|