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);
62 rate = owl_divider_helper_round_rate(&comp->common, &comp->rate.div_hw,
74 struct owl_composite *comp = hw_to_owl_comp(hw);
76 return owl_divider_helper_recalc_rate(&comp->common, &comp->rate.div_hw,
83 struct owl_composite *comp = hw_to_owl_comp(hw);
85 return owl_divider_helper_set_rate(&comp->common, &comp->rate.div_hw,
92 struct owl_composite *comp = hw_to_owl_comp(hw);
95 rate = owl_factor_helper_round_rate(&comp->common,
96 &comp->rate.factor_hw,
108 struct owl_composite *comp = hw_to_owl_comp(hw);
110 return owl_factor_helper_recalc_rate(&comp->common,
111 &comp->rate.factor_hw,
118 struct owl_composite *comp = hw_to_owl_comp(hw);
120 return owl_factor_helper_set_rate(&comp->common,
121 &comp->rate.factor_hw,
128 struct owl_composite *comp = hw_to_owl_comp(hw);
129 struct clk_fixed_factor *fix_fact_hw = &comp->rate.fix_fact_hw;
131 return comp->fix_fact_ops->round_rate(&fix_fact_hw->hw, rate, parent_rate);
137 struct owl_composite *comp = hw_to_owl_comp(hw);
138 struct clk_fixed_factor *fix_fact_hw = &comp->rate.fix_fact_hw;
140 return comp->fix_fact_ops->recalc_rate(&fix_fact_hw->hw, parent_rate);