Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/actions/
H A Dowl-factor.c66 static int owl_clk_val_best(const struct owl_factor_hw *factor_hw, in owl_clk_val_best() argument
70 const struct clk_factor_table *clkt = factor_hw->table; in owl_clk_val_best()
84 for (clkt = factor_hw->table; clkt->div; clkt++) { in owl_clk_val_best()
120 const struct owl_factor_hw *factor_hw, in owl_factor_helper_round_rate() argument
124 const struct clk_factor_table *clkt = factor_hw->table; in owl_factor_helper_round_rate()
127 val = owl_clk_val_best(factor_hw, &common->hw, rate, parent_rate); in owl_factor_helper_round_rate()
137 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_round_rate() local
139 return owl_factor_helper_round_rate(&factor->common, factor_hw, in owl_factor_round_rate()
144 const struct owl_factor_hw *factor_hw, in owl_factor_helper_recalc_rate() argument
147 const struct clk_factor_table *clkt = factor_hw->table; in owl_factor_helper_recalc_rate()
[all …]
H A 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,
H A Dowl-composite.c96 &comp->rate.factor_hw, in owl_comp_fact_determine_rate()
111 &comp->rate.factor_hw, in owl_comp_fact_recalc_rate()
121 &comp->rate.factor_hw, in owl_comp_fact_set_rate()
H A Dowl-composite.h23 struct owl_factor_hw factor_hw; member
71 .rate.factor_hw = _factor, \