Home
last modified time | relevance | path

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

/linux/drivers/clk/actions/
A Dowl-factor.c120 const struct owl_factor_hw *factor_hw, in owl_factor_helper_round_rate() argument
137 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_round_rate() local
156 val = reg >> factor_hw->shift; in owl_factor_helper_recalc_rate()
157 val &= div_mask(factor_hw); in owl_factor_helper_recalc_rate()
177 struct owl_factor_hw *factor_hw = &factor->factor_hw; in owl_factor_recalc_rate() local
184 const struct owl_factor_hw *factor_hw, in owl_factor_helper_set_rate() argument
192 if (val > div_mask(factor_hw)) in owl_factor_helper_set_rate()
193 val = div_mask(factor_hw); in owl_factor_helper_set_rate()
197 reg &= ~(div_mask(factor_hw) << factor_hw->shift); in owl_factor_helper_set_rate()
198 reg |= val << factor_hw->shift; in owl_factor_helper_set_rate()
[all …]
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,
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()
A Dowl-composite.h23 struct owl_factor_hw factor_hw; member
71 .rate.factor_hw = _factor, \

Completed in 11 milliseconds