Lines Matching refs:pll_cfg
240 const struct hsdk_pll_cfg *pll_cfg; member
251 .pll_cfg = asdt_pll_cfg,
256 .pll_cfg = asdt_pll_cfg,
261 .pll_cfg = hdmi_pll_cfg,
406 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in hsdk_pll_round_rate() local
408 if (pll_cfg[0].rate == 0) in hsdk_pll_round_rate()
411 best_rate = pll_cfg[0].rate; in hsdk_pll_round_rate()
413 for (i = 1; pll_cfg[i].rate != 0; i++) { in hsdk_pll_round_rate()
414 if (abs(rate - pll_cfg[i].rate) < abs(rate - best_rate)) in hsdk_pll_round_rate()
415 best_rate = pll_cfg[i].rate; in hsdk_pll_round_rate()
482 const struct hsdk_pll_cfg *pll_cfg = clk->pll_devdata->pll_cfg; in pll_set() local
486 for (i = 0; pll_cfg[i].rate != 0; i++) { in pll_set()
487 if (pll_cfg[i].rate == best_rate) { in pll_set()
489 &pll_cfg[i]); in pll_set()