Home
last modified time | relevance | path

Searched refs:factor_hw (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/actions/
Dowl-factor.c67 static int owl_clk_val_best(const struct owl_factor_hw *factor_hw, in owl_clk_val_best() argument
71 const struct clk_factor_table *clkt = factor_hw->table; in owl_clk_val_best()
85 for (clkt = factor_hw->table; clkt->div; clkt++) { in owl_clk_val_best()
121 const struct owl_factor_hw *factor_hw, in owl_factor_helper_round_rate() argument
125 const struct clk_factor_table *clkt = factor_hw->table; in owl_factor_helper_round_rate()
128 val = owl_clk_val_best(factor_hw, &common->hw, rate, parent_rate); in owl_factor_helper_round_rate()
138 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_round_rate() local
140 return owl_factor_helper_round_rate(&factor->common, factor_hw, in owl_factor_round_rate()
145 const struct owl_factor_hw *factor_hw, in owl_factor_helper_recalc_rate() argument
148 const struct clk_factor_table *clkt = factor_hw->table; in owl_factor_helper_recalc_rate()
[all …]
Dowl-factor.h31 struct owl_factor_hw factor_hw; member
47 .factor_hw = OWL_FACTOR_HW(_reg, _shift, \
68 const struct owl_factor_hw *factor_hw,
73 const struct owl_factor_hw *factor_hw,
77 const struct owl_factor_hw *factor_hw,
Dowl-composite.c89 &comp->rate.factor_hw, in owl_comp_fact_round_rate()
99 &comp->rate.factor_hw, in owl_comp_fact_recalc_rate()
109 &comp->rate.factor_hw, in owl_comp_fact_set_rate()
Dowl-composite.h23 struct owl_factor_hw factor_hw; member
71 .rate.factor_hw = _factor, \