Lines Matching +full:3 +full:mhz
13 * * power-on default is 26Mhz, confirmed with a hacked SOF that
15 * * The original driver has a 13Mhz mode too, but it doesn't work (it
16 * hits all the same code and data paths as 26MHz and acts as a
41 uint32_t _unused[3];
63 const struct { uint16_t mhz; bool pll; uint32_t pll_con2; } freqs[] = { member
73 * an OS timer driver yet. Use the 13 MHz timer hardware directly.
77 #define TIMER (((volatile uint32_t *)DT_REG_ADDR(DT_NODELABEL(ostimer64)))[3])
121 #define SETCLK28(val) setclk(28, 16, 3, 18, (val))
123 void mtk_adsp_set_cpu_freq(int mhz) in mtk_adsp_set_cpu_freq() argument
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()
138 /* Switch to PLL from 26Mhz */ in mtk_adsp_set_cpu_freq()
144 /* Switch to 26Mhz from PLL */ in mtk_adsp_set_cpu_freq()
154 * the speed we're at (on MT8195, hardware powers up at 26 Mhz, but
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()