Searched refs:clkspec (Results 1 – 4 of 4) sorted by relevance
126 struct clk *clk_sp810_timerclken_of_get(struct of_phandle_args *clkspec, in clk_sp810_timerclken_of_get() argument131 if (WARN_ON(clkspec->args_count != 1 || clkspec->args[0] > in clk_sp810_timerclken_of_get()135 return sp810->timerclken[clkspec->args[0]].clk; in clk_sp810_timerclken_of_get()
30 struct of_phandle_args clkspec; in of_clk_get() local38 &clkspec); in of_clk_get()42 clk = of_clk_get_from_provider(&clkspec); in of_clk_get()43 of_node_put(clkspec.np); in of_clk_get()
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() argument2004 struct clk *of_clk_src_onecell_get(struct of_phandle_args *clkspec, void *data) in of_clk_src_onecell_get() argument2007 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() argument2069 struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) in of_clk_get_from_provider() argument2077 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() local2097 &clkspec); in of_clk_get_parent_name()[all …]
36 struct of_phandle_args *clkspec, void *data) in mvebu_clk_gating_get_src() argument41 if (clkspec->args_count < 1) in mvebu_clk_gating_get_src()47 if (clkspec->args[0] == gate->bit_idx) in mvebu_clk_gating_get_src()