Lines Matching defs:mhz
127 uint32_t mhz;
139 * value (0-3) from the ocotp CFG3 register into a mhz value that can be looked
269 d = abs((int)cpu_newmhz - (int)imx6_oppt_table[i].mhz);
284 if (op->mhz > sc->cpu_curmhz) {
292 * - Set the PLL into bypass mode; cpu should now be running at 24mhz.
297 cpufreq_mhz_to_div(sc, op->mhz, &corediv, &plldiv);
319 if (op->mhz < sc->cpu_curmhz)
321 sc->cpu_curmhz = op->mhz;
344 if (op->mhz > sc->cpu_maxmhz)
346 else if (op->mhz == sc->cpu_minmhz)
353 sc->cpu_minmhz = op->mhz;
376 if (op->mhz < sc->cpu_minmhz)
378 else if (op->mhz == sc->cpu_maxmhz)
387 sc->cpu_maxmhz = op->mhz;
421 * XXX 24mhz shouldn't be hard-coded, should get this from imx6_ccm
422 * (even though in the real world it will always be 24mhz). Oh wait a
447 sc->cpu_minmhz = op->mhz;
452 sc->cpu_maxmhz = op->mhz;