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

/linux-4.1.27/drivers/clk/
H A Dclk-composite.c51 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_recalc_rate() local
53 __clk_hw_set_clk(rate_hw, hw); clk_composite_recalc_rate()
55 return rate_ops->recalc_rate(rate_hw, parent_rate); clk_composite_recalc_rate()
67 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_determine_rate() local
76 if (rate_hw && rate_ops && rate_ops->determine_rate) { clk_composite_determine_rate()
77 __clk_hw_set_clk(rate_hw, hw); clk_composite_determine_rate()
78 return rate_ops->determine_rate(rate_hw, rate, min_rate, clk_composite_determine_rate()
82 } else if (rate_hw && rate_ops && rate_ops->round_rate && clk_composite_determine_rate()
91 return rate_ops->round_rate(rate_hw, rate, clk_composite_determine_rate()
102 tmp_rate = rate_ops->round_rate(rate_hw, rate, clk_composite_determine_rate()
138 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_round_rate() local
140 __clk_hw_set_clk(rate_hw, hw); clk_composite_round_rate()
142 return rate_ops->round_rate(rate_hw, rate, prate); clk_composite_round_rate()
150 struct clk_hw *rate_hw = composite->rate_hw; clk_composite_set_rate() local
152 __clk_hw_set_clk(rate_hw, hw); clk_composite_set_rate()
154 return rate_ops->set_rate(rate_hw, rate, parent_rate); clk_composite_set_rate()
193 struct clk_hw *rate_hw, const struct clk_ops *rate_ops, clk_register_composite()
230 if (rate_hw && rate_ops) { clk_register_composite()
254 composite->rate_hw = rate_hw; clk_register_composite()
282 if (composite->rate_hw) clk_register_composite()
283 composite->rate_hw->clk = clk; clk_register_composite()
190 clk_register_composite(struct device *dev, const char *name, const char **parent_names, int num_parents, struct clk_hw *mux_hw, const struct clk_ops *mux_ops, struct clk_hw *rate_hw, const struct clk_ops *rate_ops, struct clk_hw *gate_hw, const struct clk_ops *gate_ops, unsigned long flags) clk_register_composite() argument
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-sunxi.c1127 struct clk_hw *gate_hw, *rate_hw; sunxi_divs_clk_setup() local
1172 rate_hw = NULL; sunxi_divs_clk_setup()
1197 rate_hw = &fix_factor->hw; sunxi_divs_clk_setup()
1213 rate_hw = &divider->hw; sunxi_divs_clk_setup()
1221 rate_hw, rate_ops, sunxi_divs_clk_setup()
/linux-4.1.27/include/linux/
H A Dclk-provider.h501 * @rate_hw: handle between composite and hardware-specific rate clock
512 struct clk_hw *rate_hw; member in struct:clk_composite
523 struct clk_hw *rate_hw, const struct clk_ops *rate_ops,
/linux-4.1.27/drivers/clk/st/
H A Dclkgen-mux.c820 kfree(container_of(composite->rate_hw, struct clk_divider, hw)); st_of_clkgen_vcc_setup()

Completed in 116 milliseconds