Home
last modified time | relevance | path

Searched refs:freqs (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/soc/mediatek/mt8xxx/
Dcpuclk.c63 const struct { uint16_t mhz; bool pll; uint32_t pll_con2; } freqs[] = { variable
127 for (idx = 0; idx < ARRAY_SIZE(freqs); idx++) { in mtk_adsp_set_cpu_freq()
128 if (freqs[idx].mhz == mhz) { in mtk_adsp_set_cpu_freq()
133 if (idx == cur_idx || freqs[idx].mhz != mhz) { in mtk_adsp_set_cpu_freq()
137 if (freqs[idx].pll) { in mtk_adsp_set_cpu_freq()
142 MTK_PLL_CTRL.con2 = freqs[idx].pll_con2; in mtk_adsp_set_cpu_freq()
161 mtk_adsp_set_cpu_freq(freqs[0].mhz); in mtk_adsp_cpu_freq_init()
162 mtk_adsp_set_cpu_freq(freqs[ARRAY_SIZE(freqs) - 1].mhz); in mtk_adsp_cpu_freq_init()
/Zephyr-latest/tests/boards/mtk_adsp/src/
Dmain.c39 int freqs[] = { 26, 370, 540, 720 }; in ZTEST() local
41 for (int i = 0; i < ARRAY_SIZE(freqs); i++) { in ZTEST()
42 printk("Checking CPU freq entry %d (expect %d MHz)\n", i, freqs[i]); in ZTEST()
43 mtk_adsp_set_cpu_freq(freqs[i]); in ZTEST()
48 uint32_t hz0 = 1000000 * freqs[i], hz = cpu_hz(); in ZTEST()
/Zephyr-latest/drivers/audio/
Ddmic_nrfx_pdm.c245 } freqs[] = { in check_pdm_frequencies() local
260 for (int i = 0; i < ARRAY_SIZE(freqs); ++i) { in check_pdm_frequencies()
261 uint32_t freq_val = freqs[i].freq_val; in check_pdm_frequencies()
272 config->clock_freq = freqs[i].freq_enum; in check_pdm_frequencies()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwpa_supp_if.c516 if (params->freqs) { in nrf_wifi_wpa_supp_scan2()
517 for (indx = 0; params->freqs[indx]; indx++) { in nrf_wifi_wpa_supp_scan2()
533 if (params->freqs) { in nrf_wifi_wpa_supp_scan2()
534 for (indx = 0; params->freqs[indx]; indx++) { in nrf_wifi_wpa_supp_scan2()
536 params->freqs[indx]; in nrf_wifi_wpa_supp_scan2()