Searched refs:rate_hw (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/clk/ |
| D | clk-composite.c | 37 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_recalc_rate() local 39 __clk_hw_set_clk(rate_hw, hw); in clk_composite_recalc_rate() 41 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_composite_recalc_rate() 50 struct clk_hw *rate_hw = composite->rate_hw; in clk_composite_determine_rate() local 60 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_composite_determine_rate() 61 __clk_hw_set_clk(rate_hw, hw); in clk_composite_determine_rate() 62 return rate_ops->determine_rate(rate_hw, req); in clk_composite_determine_rate() 63 } else if (rate_hw && rate_ops && rate_ops->round_rate && in clk_composite_determine_rate() 72 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate() 88 tmp_rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate() [all …]
|
| /Linux-v5.4/drivers/clk/mvebu/ |
| D | armada-37xx-periph.c | 97 struct clk_hw *rate_hw; member 205 .rate_hw = &rate_##_name.hw, \ 215 .rate_hw = &rate_##_name.hw, \ 231 .rate_hw = &rate_##_name.hw, \ 248 .rate_hw = &rate_##_name.hw, \ 613 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local 636 if (data->rate_hw) { in armada_3700_add_composite_clk() 637 rate_hw = data->rate_hw; in armada_3700_add_composite_clk() 638 rate_ops = rate_hw->init->ops; in armada_3700_add_composite_clk() 642 rate = to_clk_double_div(rate_hw); in armada_3700_add_composite_clk() [all …]
|
| /Linux-v5.4/drivers/clk/sunxi/ |
| D | clk-sunxi.c | 950 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 = ÷r->hw; in sunxi_divs_clk_setup() 1080 rate_hw, rate_ops, in sunxi_divs_clk_setup()
|
| /Linux-v5.4/include/linux/ |
| D | clk-provider.h | 730 struct clk_hw *rate_hw; member 743 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, 750 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
|