Home
last modified time | relevance | path

Searched refs:load_level (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/clk/mvebu/
H A Darmada-37xx-periph.c353 static void armada_3700_pm_dvfs_update_regs(unsigned int load_level, in armada_3700_pm_dvfs_update_regs() argument
357 if (load_level <= ARMADA_37XX_DVFS_LOAD_1) in armada_3700_pm_dvfs_update_regs()
362 if (load_level == ARMADA_37XX_DVFS_LOAD_0 || in armada_3700_pm_dvfs_update_regs()
363 load_level == ARMADA_37XX_DVFS_LOAD_2) in armada_3700_pm_dvfs_update_regs()
383 unsigned int load_level, div; in armada_3700_pm_dvfs_get_cpu_div() local
390 regmap_read(base, reg, &load_level); in armada_3700_pm_dvfs_get_cpu_div()
396 load_level &= ARMADA_37XX_NB_CPU_LOAD_MASK; in armada_3700_pm_dvfs_get_cpu_div()
397 armada_3700_pm_dvfs_update_regs(load_level, &reg, &offset); in armada_3700_pm_dvfs_get_cpu_div()
408 unsigned int load_level, sel; in armada_3700_pm_dvfs_get_cpu_parent() local
415 regmap_read(base, reg, &load_level); in armada_3700_pm_dvfs_get_cpu_parent()
[all …]
/openbmc/linux/drivers/cpufreq/
H A Darmada-37xx-cpufreq.c224 int load_level = 0; in armada37xx_cpufreq_avs_configure() local
247 for (load_level = 1; load_level < LOAD_LEVEL_NR; load_level++) in armada37xx_cpufreq_avs_configure()
248 dvfs->avs[load_level] = avs_min; in armada37xx_cpufreq_avs_configure()
308 int load_level = 0; in armada37xx_cpufreq_avs_setup() local
324 for (load_level = 1; load_level < LOAD_LEVEL_NR; load_level++) { in armada37xx_cpufreq_avs_setup()
325 avs_val = dvfs->avs[load_level]; in armada37xx_cpufreq_avs_setup()
326 regmap_update_bits(base, ARMADA_37XX_AVS_VSET(load_level-1), in armada37xx_cpufreq_avs_setup()