Home
last modified time | relevance | path

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

/Zephyr-latest/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()
159 BUILD_ASSERT(CORE_CLK <= MAX_OFMCLK && CORE_CLK >= MHZ(4) &&
160 OFMCLK % CORE_CLK == 0 &&
161 OFMCLK / CORE_CLK <= 10,
163 BUILD_ASSERT(CORE_CLK / (FIUDIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
164 CORE_CLK / (FIUDIV_VAL + 1) >= MHZ(4),
167 BUILD_ASSERT(CORE_CLK / (FIU1DIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
[all …]
Dclock_control_npcm.c106 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler)) macro
271 *rate = CORE_CLK / (AHB6DIV_VAL + 1); in npcm_clock_control_get_subsys_rate()
274 *rate = CORE_CLK / (FIUDIV_VAL + 1); in npcm_clock_control_get_subsys_rate()
277 *rate = CORE_CLK / (I3CDIV_VAL + 1); in npcm_clock_control_get_subsys_rate()
280 *rate = CORE_CLK; in npcm_clock_control_get_subsys_rate()
/Zephyr-latest/soc/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-latest/dts/arm/nuvoton/npcm/
Dnpcm4.dtsi28 core-prescaler = <1>; /* CORE_CLK runs at 96MHz */
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx7.dtsi123 core-prescaler = <6>; /* CORE_CLK runs at 15MHz */
Dnpcx9.dtsi154 core-prescaler = <6>; /* CORE_CLK runs at 15MHz */
Dnpcx4.dtsi154 core-prescaler = <8>; /* CORE_CLK runs at 15MHz */