Searched refs:rate_hw (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/clk/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/regmap/ |
| H A D | clk-regmap-composite.c | 26 struct clk_hw *rate_hw; member 64 struct clk_hw *rate_hw = composite->rate_hw; in clk_regmap_composite_recalc_rate() local 66 __clk_hw_set_clk(rate_hw, hw); in clk_regmap_composite_recalc_rate() 68 return rate_ops->recalc_rate(rate_hw, parent_rate); in clk_regmap_composite_recalc_rate() 77 struct clk_hw *rate_hw = composite->rate_hw; in clk_regmap_composite_determine_rate() local 87 if (rate_hw && rate_ops && rate_ops->determine_rate) { in clk_regmap_composite_determine_rate() 88 __clk_hw_set_clk(rate_hw, hw); in clk_regmap_composite_determine_rate() 89 return rate_ops->determine_rate(rate_hw, req); in clk_regmap_composite_determine_rate() 90 } else if (rate_hw && rate_ops && rate_ops->round_rate && in clk_regmap_composite_determine_rate() 99 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_regmap_composite_determine_rate() [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | clk-provider.h | 1046 struct clk_hw *rate_hw; member 1059 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, 1065 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, 1072 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, 1079 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
|