• Home
  • Raw
  • Download

Lines Matching refs:clkspec

341 of_clk_get_hw_from_clkspec(struct of_phandle_args *clkspec);
350 of_clk_get_hw_from_clkspec(struct of_phandle_args *clkspec)
400 struct of_phandle_args clkspec;
403 !of_parse_clkspec(np, index, name, &clkspec)) {
404 hw = of_clk_get_hw_from_clkspec(&clkspec);
405 of_node_put(clkspec.np);
4417 struct clk *(*get)(struct of_phandle_args *clkspec, void *data);
4418 struct clk_hw *(*get_hw)(struct of_phandle_args *clkspec, void *data);
4429 struct clk *of_clk_src_simple_get(struct of_phandle_args *clkspec,
4436 struct clk_hw *of_clk_hw_simple_get(struct of_phandle_args *clkspec, void *data)
4442 struct clk *of_clk_src_onecell_get(struct of_phandle_args *clkspec, void *data)
4445 unsigned int idx = clkspec->args[0];
4457 of_clk_hw_onecell_get(struct of_phandle_args *clkspec, void *data)
4460 unsigned int idx = clkspec->args[0];
4480 struct clk *(*clk_src_get)(struct of_phandle_args *clkspec,
4517 struct clk_hw *(*get)(struct of_phandle_args *clkspec,
4586 struct clk_hw *(*get)(struct of_phandle_args *clkspec,
4734 struct of_phandle_args *clkspec)
4739 return provider->get_hw(clkspec, provider->data);
4741 clk = provider->get(clkspec, provider->data);
4748 of_clk_get_hw_from_clkspec(struct of_phandle_args *clkspec)
4753 if (!clkspec)
4758 if (provider->node == clkspec->np) {
4759 hw = __of_clk_get_hw_from_provider(provider, clkspec);
4771 * @clkspec: pointer to a clock specifier data structure
4777 struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec)
4779 struct clk_hw *hw = of_clk_get_hw_from_clkspec(clkspec);
4790 struct of_phandle_args clkspec;
4792 ret = of_parse_clkspec(np, index, con_id, &clkspec);
4796 hw = of_clk_get_hw_from_clkspec(&clkspec);
4797 of_node_put(clkspec.np);
4855 struct of_phandle_args clkspec;
4865 &clkspec);
4869 index = clkspec.args_count ? clkspec.args[0] : 0;
4875 of_property_for_each_u32(clkspec.np, "clock-indices", prop, vp, pv) {
4886 if (of_property_read_string_index(clkspec.np, "clock-output-names",
4895 clk = of_clk_get_from_provider(&clkspec);
4897 if (clkspec.args_count == 0)
4898 clk_name = clkspec.np->name;
4908 of_node_put(clkspec.np);