Lines Matching refs:pll_cfg
97 const struct hsdk_pll_cfg *pll_cfg; member
108 .pll_cfg = asdt_pll_cfg,
113 .pll_cfg = asdt_pll_cfg,
118 .pll_cfg = hdmi_pll_cfg,
207 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_round_rate() local
209 if (pll_cfg[0].rate == 0) in hsdk_pll_round_rate()
212 best_rate = pll_cfg[0].rate; in hsdk_pll_round_rate()
214 for (i = 1; pll_cfg[i].rate != 0; i++) { in hsdk_pll_round_rate()
215 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) in hsdk_pll_round_rate()
216 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate()
283 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_set_rate() local
285 for (i = 0; pll_cfg[i].rate != 0; i++) { in hsdk_pll_set_rate()
286 if (pll_cfg[i].rate == rate) { in hsdk_pll_set_rate()
288 &pll_cfg[i]); in hsdk_pll_set_rate()