Lines Matching refs:vco_rate
259 unsigned int vco_rate; member
377 unsigned long vco_rate; in lmk04832_vco_recalc_rate() local
402 vco_rate = (prate << FIELD_GET(LMK04832_BIT_PLL2_MISC_REF_2X_EN, in lmk04832_vco_recalc_rate()
405 return vco_rate; in lmk04832_vco_recalc_rate()
495 long vco_rate; in lmk04832_vco_round_rate() local
502 vco_rate = lmk04832_calc_pll2_params(*prate, rate, &n, &p, &r); in lmk04832_vco_round_rate()
503 if (vco_rate < 0) { in lmk04832_vco_round_rate()
505 return vco_rate; in lmk04832_vco_round_rate()
508 if (rate != vco_rate) in lmk04832_vco_round_rate()
511 return vco_rate; in lmk04832_vco_round_rate()
519 long vco_rate; in lmk04832_vco_set_rate() local
533 vco_rate = lmk04832_calc_pll2_params(prate, rate, &n, &p, &r); in lmk04832_vco_set_rate()
534 if (vco_rate < 0) { in lmk04832_vco_set_rate()
536 return vco_rate; in lmk04832_vco_set_rate()
1430 device_property_read_u32(lmk->dev, "ti,vco-hz", &lmk->vco_rate); in lmk04832_probe()
1503 if (lmk->vco_rate) { in lmk04832_probe()
1504 dev_info(lmk->dev, "setting VCO rate to %u Hz\n", lmk->vco_rate); in lmk04832_probe()
1505 ret = clk_set_rate(lmk->vco.clk, lmk->vco_rate); in lmk04832_probe()