Lines Matching refs:scc
28 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hxt) in soc_reset_hook()
30 if (DT_ENUM_IDX(DT_NODELABEL(scc), hxt) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
34 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), hxt) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
39 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), lxt) in soc_reset_hook()
41 if (DT_ENUM_IDX(DT_NODELABEL(scc), lxt) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
45 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), lxt) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
60 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), hirc48m) in soc_reset_hook()
62 if (DT_ENUM_IDX(DT_NODELABEL(scc), hirc48m) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
66 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), hirc48m) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
71 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), clk_pclkdiv) in soc_reset_hook()
73 CLK->PCLKDIV = DT_PROP(DT_NODELABEL(scc), clk_pclkdiv); in soc_reset_hook()
76 #if DT_NODE_HAS_PROP(DT_NODELABEL(scc), core_clock) in soc_reset_hook()
78 CLK_SetCoreClock(DT_PROP(DT_NODELABEL(scc), core_clock)); in soc_reset_hook()