Searched refs:CORE_CLK (Results 1 – 7 of 7) sorted by relevance
89 *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 …]
106 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler)) macro271 *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()
72 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler)) macro87 #if (CORE_CLK > (MAX_OFMCLK / 2))94 #if (CORE_CLK > (MAX_OFMCLK / 2))101 #if (CORE_CLK > (MAX_OFMCLK / 2))
28 core-prescaler = <1>; /* CORE_CLK runs at 96MHz */
123 core-prescaler = <6>; /* CORE_CLK runs at 15MHz */
154 core-prescaler = <6>; /* CORE_CLK runs at 15MHz */
154 core-prescaler = <8>; /* CORE_CLK runs at 15MHz */