Home
last modified time | relevance | path

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

/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_clock.h42 #define APB2DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb2_prescaler) - 1) macro
165 #define VAL_HFCBCD1 (APB1DIV_VAL | (APB2DIV_VAL << 4))
/Zephyr-latest/drivers/clock_control/
Dclock_control_npcx.c178 BUILD_ASSERT(APBSRC_CLK / (APB2DIV_VAL + 1) <= (MAX_OFMCLK / 2) &&
179 APBSRC_CLK / (APB2DIV_VAL + 1) >= MHZ(8) &&
180 (APB2DIV_VAL + 1) % (FPRED_VAL + 1) == 0,
Dclock_control_npcm.c95 #define APB2DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb2_prescaler) - 1) macro
352 priv->hfcbcd = APB1DIV_VAL | (APB2DIV_VAL << 4); in npcm_clock_control_init()