Lines Matching defs:ddr_pll
239 u32 cpu_pll, ddr_pll;
304 ddr_pll = ar934x_get_pll_freq(ref_rate, ref_div, nint,
317 cpu_rate = ddr_pll / (postdiv + 1);
325 ddr_rate = ddr_pll / (postdiv + 1);
335 ahb_rate = ddr_pll / (postdiv + 1);
357 u32 cpu_pll, ddr_pll;
392 ddr_pll = nint * ref_rate / ref_div;
393 ddr_pll += frac * (ref_rate >> 6) / (ref_div << 4);
394 ddr_pll /= (1 << out_div);
406 cpu_rate = ddr_pll / (postdiv + 1);
414 ddr_rate = ddr_pll / (postdiv + 1);
424 ahb_rate = ddr_pll / (postdiv + 1);
440 u32 cpu_pll, ddr_pll;
475 ddr_pll = nint * ref_rate / ref_div;
476 ddr_pll += frac * ref_rate / (ref_div * (1 << 10));
477 ddr_pll /= (1 << out_div);
487 cpu_rate = ddr_pll / (postdiv + 1);
499 ddr_rate = ddr_pll / (postdiv + 1);
507 ahb_rate = ddr_pll / (postdiv + 1);
523 u32 cpu_pll, ddr_pll;
576 ddr_pll = nint * ref_rate / ref_div;
577 ddr_pll += (lfrac * ref_rate) / ((ref_div * 25) << 13);
578 ddr_pll += (hfrac >> 13) * ref_rate / ref_div;
579 ddr_pll /= (1 << out_div);
589 cpu_rate = ddr_pll / (postdiv + 1);
601 ddr_rate = ddr_pll / (postdiv + 1);
609 ahb_rate = ddr_pll / (postdiv + 1);