Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/cpufreq/
Dimx6q-cpufreq.c24 static struct regulator *soc_reg; variable
95 ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); in imx6q_set_target()
178 ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); in imx6q_set_target()
361 soc_reg = regulator_get(cpu_dev, "soc"); in imx6q_cpufreq_probe()
363 PTR_ERR(soc_reg) == -EPROBE_DEFER || in imx6q_cpufreq_probe()
369 if (IS_ERR(arm_reg) || IS_ERR(soc_reg)) { in imx6q_cpufreq_probe()
460 ret = regulator_set_voltage_time(soc_reg, imx6_soc_volt[0], imx6_soc_volt[num - 1]); in imx6q_cpufreq_probe()
506 if (!IS_ERR(soc_reg)) in imx6q_cpufreq_probe()
507 regulator_put(soc_reg); in imx6q_cpufreq_probe()
525 regulator_put(soc_reg); in imx6q_cpufreq_remove()