/kernel/linux/linux-5.10/drivers/clk/actions/ |
H A D | owl-factor.c | 67 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 D | owl-factor.h | 31 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 D | owl-composite.c | 89 &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 D | owl-composite.h | 23 struct owl_factor_hw factor_hw; member 71 .rate.factor_hw = _factor, \
|
/kernel/linux/linux-6.6/drivers/clk/actions/ |
H A D | owl-factor.c | 66 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 D | owl-factor.h | 31 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 D | owl-composite.c | 96 &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 D | owl-composite.h | 23 struct owl_factor_hw factor_hw; member 71 .rate.factor_hw = _factor, \
|