Lines Matching refs:subnode

1035 	int subnode = 0;  in stm32_clk_parse_oscillator_fdt()  local
1040 fdt_for_each_subnode(subnode, fdt, node) { in stm32_clk_parse_oscillator_fdt()
1045 cchar = fdt_get_name(fdt, subnode, &ret); in stm32_clk_parse_oscillator_fdt()
1052 if (fdt_get_status(fdt, subnode) == DT_STATUS_DISABLED) in stm32_clk_parse_oscillator_fdt()
1055 cuint = fdt_getprop(fdt, subnode, "clock-frequency", &ret); in stm32_clk_parse_oscillator_fdt()
1061 if (fdt_getprop(fdt, subnode, "st,bypass", NULL)) in stm32_clk_parse_oscillator_fdt()
1064 if (fdt_getprop(fdt, subnode, "st,digbypass", NULL)) in stm32_clk_parse_oscillator_fdt()
1067 if (fdt_getprop(fdt, subnode, "st,css", NULL)) in stm32_clk_parse_oscillator_fdt()
1070 osci->drive = fdt_read_uint32_default(fdt, subnode, "st,drive", in stm32_clk_parse_oscillator_fdt()
1115 static int clk_stm32_parse_pll_fdt(const void *fdt, int subnode, in clk_stm32_parse_pll_fdt() argument
1122 cuint = fdt_getprop(fdt, subnode, "st,pll", NULL); in clk_stm32_parse_pll_fdt()
1164 int subnode = 0; in stm32_clk_parse_fdt_all_pll() local
1168 subnode = fdt_subnode_offset(fdt, node, name); in stm32_clk_parse_fdt_all_pll()
1169 if (subnode < 0) in stm32_clk_parse_fdt_all_pll()
1172 if (clk_stm32_parse_pll_fdt(fdt, subnode, pll)) in stm32_clk_parse_fdt_all_pll()
1183 int subnode = 0; in stm32_clk_parse_fdt_opp() local
1194 fdt_for_each_subnode(subnode, fdt, node) { in stm32_clk_parse_fdt_opp()
1197 if (fdt_read_uint32(fdt, subnode, "hz", &opp_cfg->frq)) in stm32_clk_parse_fdt_opp()
1200 if (fdt_read_uint32(fdt, subnode, "st,clksrc", &opp_cfg->src)) in stm32_clk_parse_fdt_opp()
1203 ret = clk_stm32_parse_pll_fdt(fdt, subnode, &opp_cfg->pll_cfg); in stm32_clk_parse_fdt_opp()