Lines Matching refs:rate
56 static long owl_comp_div_round_rate(struct clk_hw *hw, unsigned long rate,
61 return owl_divider_helper_round_rate(&comp->common, &comp->rate.div_hw,
62 rate, parent_rate);
70 return owl_divider_helper_recalc_rate(&comp->common, &comp->rate.div_hw,
74 static int owl_comp_div_set_rate(struct clk_hw *hw, unsigned long rate,
79 return owl_divider_helper_set_rate(&comp->common, &comp->rate.div_hw,
80 rate, parent_rate);
83 static long owl_comp_fact_round_rate(struct clk_hw *hw, unsigned long rate,
89 &comp->rate.factor_hw,
90 rate, parent_rate);
99 &comp->rate.factor_hw,
103 static int owl_comp_fact_set_rate(struct clk_hw *hw, unsigned long rate,
109 &comp->rate.factor_hw,
110 rate, parent_rate);
113 static long owl_comp_fix_fact_round_rate(struct clk_hw *hw, unsigned long rate,
117 struct clk_fixed_factor *fix_fact_hw = &comp->rate.fix_fact_hw;
119 return comp->fix_fact_ops->round_rate(&fix_fact_hw->hw, rate, parent_rate);
126 struct clk_fixed_factor *fix_fact_hw = &comp->rate.fix_fact_hw;
132 static int owl_comp_fix_fact_set_rate(struct clk_hw *hw, unsigned long rate,