Lines Matching refs:pll_cfg
96 const struct hsdk_pll_cfg *pll_cfg; member
107 .pll_cfg = asdt_pll_cfg,
112 .pll_cfg = asdt_pll_cfg,
117 .pll_cfg = hdmi_pll_cfg,
206 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_round_rate() local
208 if (pll_cfg[0].rate == 0) in hsdk_pll_round_rate()
211 best_rate = pll_cfg[0].rate; in hsdk_pll_round_rate()
213 for (i = 1; pll_cfg[i].rate != 0; i++) { in hsdk_pll_round_rate()
214 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) in hsdk_pll_round_rate()
215 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate()
282 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_set_rate() local
284 for (i = 0; pll_cfg[i].rate != 0; i++) { in hsdk_pll_set_rate()
285 if (pll_cfg[i].rate == rate) { in hsdk_pll_set_rate()
287 &pll_cfg[i]); in hsdk_pll_set_rate()