Lines Matching refs:pll_cfg
100 const struct hsdk_pll_cfg *pll_cfg; member
111 .pll_cfg = asdt_pll_cfg,
116 .pll_cfg = asdt_pll_cfg,
121 .pll_cfg = hdmi_pll_cfg,
210 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_round_rate() local
212 if (pll_cfg[0].rate == 0) in hsdk_pll_round_rate()
215 best_rate = pll_cfg[0].rate; in hsdk_pll_round_rate()
217 for (i = 1; pll_cfg[i].rate != 0; i++) { in hsdk_pll_round_rate()
218 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) in hsdk_pll_round_rate()
219 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate()
286 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_set_rate() local
288 for (i = 0; pll_cfg[i].rate != 0; i++) { in hsdk_pll_set_rate()
289 if (pll_cfg[i].rate == rate) { in hsdk_pll_set_rate()
291 &pll_cfg[i]); in hsdk_pll_set_rate()