Home
last modified time | relevance | path

Searched refs:rate_hw (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/drivers/clk/
Dclk-composite.c38 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate() local
40 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
42 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
45 static int clk_composite_determine_rate_for_parent(struct clk_hw *rate_hw, in clk_composite_determine_rate_for_parent() argument
56 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate_for_parent()
58 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate_for_parent()
74 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
82 if (rate_hw && rate_ops && in clk_composite_determine_rate()
93 ret = clk_composite_determine_rate_for_parent(rate_hw, in clk_composite_determine_rate()
115 ret = clk_composite_determine_rate_for_parent(rate_hw, in clk_composite_determine_rate()
[all …]
/Linux-v6.1/drivers/clk/mvebu/
Darmada-37xx-periph.c99 struct clk_hw *rate_hw; member
207 .rate_hw = &rate_##_name.hw, \
217 .rate_hw = &rate_##_name.hw, \
233 .rate_hw = &rate_##_name.hw, \
250 .rate_hw = &rate_##_name.hw, \
623 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local
646 if (data->rate_hw) { in armada_3700_add_composite_clk()
647 rate_hw = data->rate_hw; in armada_3700_add_composite_clk()
648 rate_ops = rate_hw->init->ops; in armada_3700_add_composite_clk()
652 rate = to_clk_double_div(rate_hw); in armada_3700_add_composite_clk()
[all …]
/Linux-v6.1/drivers/clk/sunxi/
Dclk-sunxi.c950 struct clk_hw *gate_hw, *rate_hw; in sunxi_divs_clk_setup() local
1031 rate_hw = NULL; in sunxi_divs_clk_setup()
1056 rate_hw = &fix_factor->hw; in sunxi_divs_clk_setup()
1072 rate_hw = &divider->hw; in sunxi_divs_clk_setup()
1080 rate_hw, rate_ops, in sunxi_divs_clk_setup()
/Linux-v6.1/include/linux/
Dclk-provider.h1220 struct clk_hw *rate_hw; member
1233 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1239 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1246 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1253 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1260 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
/Linux-v6.1/drivers/clk/mediatek/
Dclk-mtk.c302 if (composite->rate_hw) in mtk_clk_unregister_composite()
303 div = to_clk_divider(composite->rate_hw); in mtk_clk_unregister_composite()