Home
last modified time | relevance | path

Searched refs:factor_hw (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/actions/
H A 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()
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()
120 owl_factor_helper_round_rate(struct owl_clk_common *common, const struct owl_factor_hw *factor_hw, unsigned long rate, unsigned long *parent_rate) owl_factor_helper_round_rate() argument
144 owl_factor_helper_recalc_rate(struct owl_clk_common *common, const struct owl_factor_hw *factor_hw, unsigned long parent_rate) owl_factor_helper_recalc_rate() argument
178 struct owl_factor_hw *factor_hw = &factor->factor_hw; owl_factor_recalc_rate() local
184 owl_factor_helper_set_rate(const struct owl_clk_common *common, const struct owl_factor_hw *factor_hw, unsigned long rate, unsigned long parent_rate) owl_factor_helper_set_rate() argument
210 struct owl_factor_hw *factor_hw = &factor->factor_hw; owl_factor_set_rate() local
[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.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()
H A Dowl-composite.h23 struct owl_factor_hw factor_hw; member
71 .rate.factor_hw = _factor, \
/kernel/linux/linux-6.6/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()
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()
119 owl_factor_helper_round_rate(struct owl_clk_common *common, const struct owl_factor_hw *factor_hw, unsigned long rate, unsigned long *parent_rate) owl_factor_helper_round_rate() argument
143 owl_factor_helper_recalc_rate(struct owl_clk_common *common, const struct owl_factor_hw *factor_hw, unsigned long parent_rate) owl_factor_helper_recalc_rate() argument
177 struct owl_factor_hw *factor_hw = &factor->factor_hw; owl_factor_recalc_rate() local
183 owl_factor_helper_set_rate(const struct owl_clk_common *common, const struct owl_factor_hw *factor_hw, unsigned long rate, unsigned long parent_rate) owl_factor_helper_set_rate() argument
209 struct owl_factor_hw *factor_hw = &factor->factor_hw; owl_factor_set_rate() local
[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, \

Completed in 3 milliseconds