Lines Matching defs:pllfh
15 #include "clk-pllfh.h"
88 struct mtk_pllfh_data *pllfh;
97 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll_id);
98 if (!pllfh)
101 pllfh->state.fh_enable = 1;
102 pllfh->state.ssc_rate = ssc_rate;
103 pllfh->state.base = base;
146 static bool fhctl_is_supported_and_enabled(const struct mtk_pllfh_data *pllfh)
148 return pllfh && (pllfh->state.fh_enable == 1);
214 struct mtk_pllfh_data *pllfh;
217 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll->id);
218 use_fhctl = fhctl_is_supported_and_enabled(pllfh);
221 hw = mtk_clk_register_pllfh(pll, pllfh, base);
240 struct mtk_pllfh_data *pllfh;
243 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll->id);
244 use_fhctl = fhctl_is_supported_and_enabled(pllfh);
272 struct mtk_pllfh_data *pllfh;
278 pllfh = get_pllfh_by_id(pllfhs, num_fhs, pll->id);
279 use_fhctl = fhctl_is_supported_and_enabled(pllfh);
282 fhctl_base = pllfh->state.base;