Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/clk/
Dclk-composite.c49 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate() local
51 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate()
53 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate()
62 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local
72 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate()
73 __clk_hw_set_clk(rate_hw, hw); in clk_composite_determine_rate()
74 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate()
75 } else if (rate_hw && rate_ops && rate_ops->round_rate && in clk_composite_determine_rate()
84 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
100 tmp_rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate()
[all …]
/Linux-v4.19/drivers/clk/mvebu/
Darmada-37xx-periph.c87 struct clk_hw *rate_hw; member
195 .rate_hw = &rate_##_name.hw, \
205 .rate_hw = &rate_##_name.hw, \
221 .rate_hw = &rate_##_name.hw, \
238 .rate_hw = &rate_##_name.hw, \
603 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local
626 if (data->rate_hw) { in armada_3700_add_composite_clk()
627 rate_hw = data->rate_hw; in armada_3700_add_composite_clk()
628 rate_ops = rate_hw->init->ops; in armada_3700_add_composite_clk()
632 rate = to_clk_double_div(rate_hw); in armada_3700_add_composite_clk()
[all …]
/Linux-v4.19/drivers/clk/sunxi/
Dclk-sunxi.c958 struct clk_hw *gate_hw, *rate_hw; in sunxi_divs_clk_setup() local
1037 rate_hw = NULL; in sunxi_divs_clk_setup()
1062 rate_hw = &fix_factor->hw; in sunxi_divs_clk_setup()
1078 rate_hw = &divider->hw; in sunxi_divs_clk_setup()
1086 rate_hw, rate_ops, in sunxi_divs_clk_setup()
/Linux-v4.19/include/linux/
Dclk-provider.h680 struct clk_hw *rate_hw; member
693 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
700 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,