Searched refs:cpu_def (Results 1 – 1 of 1) sorted by relevance
202 struct cpu_volt_def *cpu_def; member234 for (i = 0; i < sc->cpu_def->speedo_nitems; i++) { in freq_to_voltage()235 if (sc->cpu_def->speedo_tbl[i].freq >= freq) { in freq_to_voltage()236 ent = &sc->cpu_def->speedo_tbl[i]; in freq_to_voltage()241 ent = &sc->cpu_def->speedo_tbl[sc->cpu_def->speedo_nitems - 1]; in freq_to_voltage()242 scale = sc->cpu_def->speedo_scale; in freq_to_voltage()249 step_uvolt = sc->cpu_def->step_uvolt; in freq_to_voltage()254 min_uvolt = ROUND_UP(sc->cpu_def->min_uvolt, step_uvolt); in freq_to_voltage()255 max_uvolt = ROUND_DOWN(sc->cpu_def->max_uvolt, step_uvolt); in freq_to_voltage()518 sc->cpu_def = &tegra124_cpu_volt_pllx_def; in tegra124_cpufreq_attach()[all …]