Home
last modified time | relevance | path

Searched refs:clk_np (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/clk/
Dclk-s2mps11.c24 struct device_node *clk_np; member
101 struct device_node *clk_np; in s2mps11_clk_parse_dt() local
107 clk_np = of_get_child_by_name(iodev->dev->of_node, "clocks"); in s2mps11_clk_parse_dt()
108 if (!clk_np) { in s2mps11_clk_parse_dt()
114 of_property_read_string_index(clk_np, "clock-output-names", i, in s2mps11_clk_parse_dt()
117 return clk_np; in s2mps11_clk_parse_dt()
159 s2mps11_clks->clk_np = s2mps11_clk_parse_dt(pdev, s2mps11_clks_init); in s2mps11_clk_probe()
160 if (IS_ERR(s2mps11_clks->clk_np)) in s2mps11_clk_probe()
161 return PTR_ERR(s2mps11_clks->clk_np); in s2mps11_clk_probe()
190 of_clk_add_hw_provider(s2mps11_clks->clk_np, of_clk_hw_onecell_get, in s2mps11_clk_probe()
[all …]
Dclk-npcm7xx.c404 static void __init npcm7xx_clk_init(struct device_node *clk_np) in npcm7xx_clk_init() argument
413 ret = of_address_to_resource(clk_np, 0, &res); in npcm7xx_clk_init()
415 pr_err("%pOFn: failed to get resource, ret %d\n", clk_np, in npcm7xx_clk_init()
503 ret = of_clk_add_hw_provider(clk_np, of_clk_hw_onecell_get, in npcm7xx_clk_init()
508 of_node_put(clk_np); in npcm7xx_clk_init()
517 of_node_put(clk_np); in npcm7xx_clk_init()
/Linux-v6.6/arch/powerpc/platforms/512x/
Dclock-commonclk.c1180 struct device_node *clk_np; in mpc5121_clk_init() local
1184 clk_np = of_find_compatible_node(NULL, NULL, "fsl,mpc5121-clock"); in mpc5121_clk_init()
1185 if (!clk_np) in mpc5121_clk_init()
1187 clkregs = of_iomap(clk_np, 0); in mpc5121_clk_init()
1208 mpc512x_clk_setup_clock_tree(clk_np, busfreq); in mpc5121_clk_init()
1211 mpc5121_clk_register_of_provider(clk_np); in mpc5121_clk_init()
1213 of_node_put(clk_np); in mpc5121_clk_init()
/Linux-v6.6/drivers/clk/samsung/
Dclk.c271 struct device_node *clk_np; in samsung_clk_of_register_fixed_ext() local
274 for_each_matching_node_and_match(clk_np, clk_matches, &match) { in samsung_clk_of_register_fixed_ext()
275 if (of_property_read_u32(clk_np, "clock-frequency", &freq)) in samsung_clk_of_register_fixed_ext()