Home
last modified time | relevance | path

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

/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_clock.h40 #define APB1DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb1_prescaler) - 1) macro
165 #define VAL_HFCBCD1 (APB1DIV_VAL | (APB2DIV_VAL << 4))
/Zephyr-latest/drivers/clock_control/
Dclock_control_npcx.c174 BUILD_ASSERT(APBSRC_CLK / (APB1DIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
175 APBSRC_CLK / (APB1DIV_VAL + 1) >= MHZ(4) &&
176 (APB1DIV_VAL + 1) % (FPRED_VAL + 1) == 0,
Dclock_control_npcm.c93 #define APB1DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb1_prescaler) - 1) macro
352 priv->hfcbcd = APB1DIV_VAL | (APB2DIV_VAL << 4); in npcm_clock_control_init()