Home
last modified time | relevance | path

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

/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_clock.h44 #define APB3DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb3_prescaler) - 1) macro
167 #define VAL_HFCBCD2 (APB3DIV_VAL | (APB4DIV_VAL << 4))
169 #define VAL_HFCBCD2 APB3DIV_VAL
/Zephyr-latest/drivers/clock_control/
Dclock_control_npcx.c182 BUILD_ASSERT(APBSRC_CLK / (APB3DIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
183 APBSRC_CLK / (APB3DIV_VAL + 1) >= KHZ(12500) &&
184 (APB3DIV_VAL + 1) % (FPRED_VAL + 1) == 0,
Dclock_control_npcm.c97 #define APB3DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb3_prescaler) - 1) macro
354 priv->hfcbcd2 = APB3DIV_VAL; in npcm_clock_control_init()