Lines Matching refs:subnode
2270 int subnode = 0; in clk_stm32_parse_oscillator_fdt() local
2275 fdt_for_each_subnode(subnode, fdt, node) { in clk_stm32_parse_oscillator_fdt()
2280 cchar = fdt_get_name(fdt, subnode, &ret); in clk_stm32_parse_oscillator_fdt()
2286 fdt_get_status(subnode) == DT_DISABLED) { in clk_stm32_parse_oscillator_fdt()
2290 cuint = fdt_getprop(fdt, subnode, "clock-frequency", &ret); in clk_stm32_parse_oscillator_fdt()
2297 if (fdt_getprop(fdt, subnode, "st,bypass", NULL) != NULL) { in clk_stm32_parse_oscillator_fdt()
2301 if (fdt_getprop(fdt, subnode, "st,digbypass", NULL) != NULL) { in clk_stm32_parse_oscillator_fdt()
2305 if (fdt_getprop(fdt, subnode, "st,css", NULL) != NULL) { in clk_stm32_parse_oscillator_fdt()
2309 osci->drive = fdt_read_uint32_default(fdt, subnode, "st,drive", LSEDRV_MEDIUM_HIGH); in clk_stm32_parse_oscillator_fdt()
2345 static int clk_stm32_parse_pll_fdt(void *fdt, int subnode, struct stm32_pll_dt_cfg *pll) in clk_stm32_parse_pll_fdt() argument
2352 cuint = fdt_getprop(fdt, subnode, "st,pll", NULL); in clk_stm32_parse_pll_fdt()
2402 int subnode = 0; in stm32_clk_parse_fdt_all_pll() local
2412 subnode = fdt_subnode_offset(fdt, node, name); in stm32_clk_parse_fdt_all_pll()
2413 if (!fdt_check_node(subnode)) { in stm32_clk_parse_fdt_all_pll()
2417 err = clk_stm32_parse_pll_fdt(fdt, subnode, pll); in stm32_clk_parse_fdt_all_pll()