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,
201 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_round_rate() local
203 if (pll_cfg[0].rate == 0) in hsdk_pll_round_rate()
206 best_rate = pll_cfg[0].rate; in hsdk_pll_round_rate()
208 for (i = 1; pll_cfg[i].rate != 0; i++) { in hsdk_pll_round_rate()
209 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) in hsdk_pll_round_rate()
210 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate()
277 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_set_rate() local
279 for (i = 0; pll_cfg[i].rate != 0; i++) { in hsdk_pll_set_rate()
280 if (pll_cfg[i].rate == rate) { in hsdk_pll_set_rate()
282 &pll_cfg[i]); in hsdk_pll_set_rate()