Lines Matching refs:comp
18 struct owl_composite *comp = hw_to_owl_comp(hw);
20 return owl_mux_helper_get_parent(&comp->common, &comp->mux_hw);
25 struct owl_composite *comp = hw_to_owl_comp(hw);
27 return owl_mux_helper_set_parent(&comp->common, &comp->mux_hw, index);
32 struct owl_composite *comp = hw_to_owl_comp(hw);
33 struct owl_clk_common *common = &comp->common;
35 owl_gate_set(common, &comp->gate_hw, false);
40 struct owl_composite *comp = hw_to_owl_comp(hw);
41 struct owl_clk_common *common = &comp->common;
43 owl_gate_set(common, &comp->gate_hw, true);
50 struct owl_composite *comp = hw_to_owl_comp(hw);
51 struct owl_clk_common *common = &comp->common;
53 return owl_gate_clk_is_enabled(common, &comp->gate_hw);
59 struct owl_composite *comp = hw_to_owl_comp(hw);
61 return owl_divider_helper_round_rate(&comp->common, &comp->rate.div_hw,
68 struct owl_composite *comp = hw_to_owl_comp(hw);
70 return owl_divider_helper_recalc_rate(&comp->common, &comp->rate.div_hw,
77 struct owl_composite *comp = hw_to_owl_comp(hw);
79 return owl_divider_helper_set_rate(&comp->common, &comp->rate.div_hw,
86 struct owl_composite *comp = hw_to_owl_comp(hw);
88 return owl_factor_helper_round_rate(&comp->common,
89 &comp->rate.factor_hw,
96 struct owl_composite *comp = hw_to_owl_comp(hw);
98 return owl_factor_helper_recalc_rate(&comp->common,
99 &comp->rate.factor_hw,
106 struct owl_composite *comp = hw_to_owl_comp(hw);
108 return owl_factor_helper_set_rate(&comp->common,
109 &comp->rate.factor_hw,
116 struct owl_composite *comp = hw_to_owl_comp(hw);
117 struct clk_fixed_factor *fix_fact_hw = &comp->rate.fix_fact_hw;
119 return comp->fix_fact_ops->round_rate(&fix_fact_hw->hw, rate, parent_rate);
125 struct owl_composite *comp = hw_to_owl_comp(hw);
126 struct clk_fixed_factor *fix_fact_hw = &comp->rate.fix_fact_hw;
128 return comp->fix_fact_ops->recalc_rate(&fix_fact_hw->hw, parent_rate);