Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/
H A 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 …]
/openbmc/linux/drivers/clk/mvebu/
H A Darmada-37xx-periph.c98 struct clk_hw *rate_hw; member
206 .rate_hw = &rate_##_name.hw, \
216 .rate_hw = &rate_##_name.hw, \
232 .rate_hw = &rate_##_name.hw, \
249 .rate_hw = &rate_##_name.hw, \
622 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local
645 if (data->rate_hw) { in armada_3700_add_composite_clk()
646 rate_hw = data->rate_hw; in armada_3700_add_composite_clk()
647 rate_ops = rate_hw->init->ops; in armada_3700_add_composite_clk()
651 rate = to_clk_double_div(rate_hw); in armada_3700_add_composite_clk()
[all …]
/openbmc/linux/drivers/clk/sunxi/
H A 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()
/openbmc/linux/include/linux/
H A Dclk-provider.h1240 struct clk_hw *rate_hw; member
1253 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1259 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1266 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1273 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
1280 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mtk.c320 if (composite->rate_hw) in mtk_clk_unregister_composite()
321 div = to_clk_divider(composite->rate_hw); in mtk_clk_unregister_composite()