Lines Matching refs:pll
1067 static int w100_pll_adjust(struct w100_pll_info *pll) in w100_pll_adjust() argument
1091 if (tf80 >= (pll->tfgoal)) { in w100_pll_adjust()
1097 if (tf20 <= (pll->tfgoal)) in w100_pll_adjust()
1125 static int w100_pll_calibration(struct w100_pll_info *pll) in w100_pll_calibration() argument
1129 status = w100_pll_adjust(pll); in w100_pll_calibration()
1154 static int w100_pll_set_clk(struct w100_pll_info *pll) in w100_pll_set_clk() argument
1169 w100_pwr_state.pll_ref_fb_div.f.pll_ref_div = pll->M; in w100_pll_set_clk()
1170 w100_pwr_state.pll_ref_fb_div.f.pll_fb_div_int = pll->N_int; in w100_pll_set_clk()
1171 w100_pwr_state.pll_ref_fb_div.f.pll_fb_div_frac = pll->N_fac; in w100_pll_set_clk()
1172 w100_pwr_state.pll_ref_fb_div.f.pll_lock_time = pll->lock_time; in w100_pll_set_clk()
1178 status = w100_pll_calibration(pll); in w100_pll_set_clk()
1192 struct w100_pll_info *pll = par->pll_table; in w100_set_pll_freq() local
1195 if (freq == pll->freq) { in w100_set_pll_freq()
1196 return w100_pll_set_clk(pll); in w100_set_pll_freq()
1198 pll++; in w100_set_pll_freq()
1199 } while(pll->freq); in w100_set_pll_freq()