Home
last modified time | relevance | path

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

/Zephyr-latest/soc/sifive/sifive_freedom/fe300/
Dclock.c12 #define CORECLK_HZ (DT_PROP(DT_NODELABEL(coreclk), clock_frequency)) macro
25 BUILD_ASSERT(MHZ(16) == CORECLK_HZ || in soc_early_init_hook()
26 (MHZ(48) <= CORECLK_HZ && MHZ(320) >= CORECLK_HZ && in soc_early_init_hook()
27 (CORECLK_HZ % MHZ(8)) == 0), in soc_early_init_hook()
32 if (MHZ(16) == CORECLK_HZ) { in soc_early_init_hook()
41 if (MHZ(768) / 8 >= CORECLK_HZ) { in soc_early_init_hook()
43 } else if (MHZ(768) / 4 >= CORECLK_HZ) { in soc_early_init_hook()
49 const int pll_f = ((CORECLK_HZ / MHZ(1)) >> (4 - pll_q)) - 1; in soc_early_init_hook()