Lines Matching refs:clkspec
1985 struct clk *(*get)(struct of_phandle_args *clkspec, void *data);
1997 struct clk *of_clk_src_simple_get(struct of_phandle_args *clkspec, in of_clk_src_simple_get() argument
2004 struct clk *of_clk_src_onecell_get(struct of_phandle_args *clkspec, void *data) in of_clk_src_onecell_get() argument
2007 unsigned int idx = clkspec->args[0]; in of_clk_src_onecell_get()
2025 struct clk *(*clk_src_get)(struct of_phandle_args *clkspec, in of_clk_add_provider() argument
2069 struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) in of_clk_get_from_provider() argument
2077 if (provider->node == clkspec->np) in of_clk_get_from_provider()
2078 clk = provider->get(clkspec, provider->data); in of_clk_get_from_provider()
2089 struct of_phandle_args clkspec; in of_clk_get_parent_name() local
2097 &clkspec); in of_clk_get_parent_name()
2101 if (of_property_read_string_index(clkspec.np, "clock-output-names", in of_clk_get_parent_name()
2102 clkspec.args_count ? clkspec.args[0] : 0, in of_clk_get_parent_name()
2104 clk_name = clkspec.np->name; in of_clk_get_parent_name()
2106 of_node_put(clkspec.np); in of_clk_get_parent_name()