Home
last modified time | relevance | path

Searched refs:subnode_pll (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/clk/
H A Dclk-stm32mp21.c1100 int subnode_pll = 0; in clk_stm32_parse_pll_fdt() local
1107 subnode_pll = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in clk_stm32_parse_pll_fdt()
1108 if (subnode_pll < 0) in clk_stm32_parse_pll_fdt()
1111 if (fdt_read_uint32_array(fdt, subnode_pll, "cfg", pll->cfg, PLLCFG_NB)) in clk_stm32_parse_pll_fdt()
1114 err = fdt_read_uint32_array(fdt, subnode_pll, "csg", pll->csg, in clk_stm32_parse_pll_fdt()
1127 pll->frac = fdt_read_uint32_default(fdt, subnode_pll, "frac", 0); in clk_stm32_parse_pll_fdt()
1129 if (fdt_read_uint32(fdt, subnode_pll, "src", &pll->src)) in clk_stm32_parse_pll_fdt()
H A Dclk-stm32mp13.c1541 int subnode_pll = 0; in clk_stm32_parse_pll_fdt() local
1549 subnode_pll = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in clk_stm32_parse_pll_fdt()
1550 if (subnode_pll < 0) in clk_stm32_parse_pll_fdt()
1553 cuint = fdt_getprop(fdt, subnode_pll, "st,pll_vco", NULL); in clk_stm32_parse_pll_fdt()
1565 err = clk_stm32_load_output_config_fdt(fdt, subnode_pll, &pll->output); in clk_stm32_parse_pll_fdt()
H A Dclk-stm32mp25.c1119 int subnode_pll = 0; in clk_stm32_parse_pll_fdt() local
1126 subnode_pll = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in clk_stm32_parse_pll_fdt()
1127 if (subnode_pll < 0) in clk_stm32_parse_pll_fdt()
1130 if (fdt_read_uint32_array(fdt, subnode_pll, "cfg", pll->cfg, PLLCFG_NB)) in clk_stm32_parse_pll_fdt()
1133 err = fdt_read_uint32_array(fdt, subnode_pll, "csg", pll->csg, in clk_stm32_parse_pll_fdt()
1146 pll->frac = fdt_read_uint32_default(fdt, subnode_pll, "frac", 0); in clk_stm32_parse_pll_fdt()
1148 if (fdt_read_uint32(fdt, subnode_pll, "src", &pll->src)) in clk_stm32_parse_pll_fdt()