Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/clock_control/
Dclock_control_npcx.c83 #if defined(APB4DIV_VAL) in npcx_clock_control_get_subsys_rate()
186 #if defined(APB4DIV_VAL)
187 BUILD_ASSERT(APBSRC_CLK / (APB4DIV_VAL + 1) <= MAX_OFMCLK &&
188 APBSRC_CLK / (APB4DIV_VAL + 1) >= MHZ(8) &&
189 (APB4DIV_VAL + 1) % (FPRED_VAL + 1) == 0,
196 BUILD_ASSERT(APBSRC_CLK / (APB4DIV_VAL + 1) >= MHZ(20),
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_clock.h48 #define APB4DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb4_prescaler) - 1) macro
166 #if defined(APB4DIV_VAL)
167 #define VAL_HFCBCD2 (APB3DIV_VAL | (APB4DIV_VAL << 4))