Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/clock_control/
Dclock_control_npcx.c89 *rate = CORE_CLK/(AHB6DIV_VAL + 1); in npcx_clock_control_get_subsys_rate()
92 *rate = CORE_CLK/(FIUDIV_VAL + 1); in npcx_clock_control_get_subsys_rate()
96 *rate = CORE_CLK/(FIU1DIV_VAL + 1); in npcx_clock_control_get_subsys_rate()
100 *rate = CORE_CLK; in npcx_clock_control_get_subsys_rate()
155 BUILD_ASSERT(CORE_CLK <= MAX_OFMCLK && CORE_CLK >= MHZ(4) &&
156 OFMCLK % CORE_CLK == 0 &&
157 OFMCLK / CORE_CLK <= 10,
159 BUILD_ASSERT(CORE_CLK / (FIUDIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
160 CORE_CLK / (FIUDIV_VAL + 1) >= MHZ(4),
163 BUILD_ASSERT(CORE_CLK / (FIU1DIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
[all …]
/Zephyr-Core-3.6.0/soc/arm/nuvoton_npcx/common/
Dsoc_clock.h72 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler)) macro
87 #if (CORE_CLK > (MAX_OFMCLK / 2))
94 #if (CORE_CLK > (MAX_OFMCLK / 2))
101 #if (CORE_CLK > (MAX_OFMCLK / 2))
/Zephyr-Core-3.6.0/dts/arm/nuvoton/npcx/
Dnpcx7.dtsi94 core-prescaler = <6>; /* CORE_CLK runs at 15MHz */
Dnpcx9.dtsi113 core-prescaler = <6>; /* CORE_CLK runs at 15MHz */
Dnpcx4.dtsi114 core-prescaler = <8>; /* CORE_CLK runs at 15MHz */