Lines Matching full:pcc
20 #define NPCX_CLK_CTRL_NODE DT_NODELABEL(pcc)
34 /* Clock settings from pcc node */
36 #define OFMCLK DT_PROP(DT_NODELABEL(pcc), clock_frequency)
38 #define FPRED_VAL (DT_PROP(DT_NODELABEL(pcc), core_prescaler) - 1)
40 #define APB1DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb1_prescaler) - 1)
42 #define APB2DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb2_prescaler) - 1)
44 #define APB3DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb3_prescaler) - 1)
46 #if DT_NODE_HAS_PROP(DT_NODELABEL(pcc), apb4_prescaler)
48 #define APB4DIV_VAL (DT_PROP(DT_NODELABEL(pcc), apb4_prescaler) - 1)
50 #error "APB4 clock divider is not supported but defined in pcc node!"
56 #define NPCX_PWDWN_CTL_INIT DT_FOREACH_PROP_ELEM(DT_NODELABEL(pcc), \
72 #define CORE_CLK (OFMCLK / DT_PROP(DT_NODELABEL(pcc), core_prescaler))