Searched refs:rate_hw (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/clk/ |
H A D | clk-composite.c | 38 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 D | armada-37xx-periph.c | 98 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 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()
|
/openbmc/linux/include/linux/ |
H A D | clk-provider.h | 1240 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 D | clk-mtk.c | 320 if (composite->rate_hw) in mtk_clk_unregister_composite() 321 div = to_clk_divider(composite->rate_hw); in mtk_clk_unregister_composite()
|