Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/cpufreq/
Dimx6q-cpufreq.c27 static struct regulator *soc_reg; variable
99 ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); in imx6q_set_target()
179 ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); in imx6q_set_target()
376 soc_reg = regulator_get(cpu_dev, "soc"); in imx6q_cpufreq_probe()
378 PTR_ERR(soc_reg) == -EPROBE_DEFER || in imx6q_cpufreq_probe()
384 if (IS_ERR(arm_reg) || IS_ERR(soc_reg)) { in imx6q_cpufreq_probe()
466 ret = regulator_set_voltage_time(soc_reg, imx6_soc_volt[0], imx6_soc_volt[num - 1]); in imx6q_cpufreq_probe()
512 if (!IS_ERR(soc_reg)) in imx6q_cpufreq_probe()
513 regulator_put(soc_reg); in imx6q_cpufreq_probe()
531 regulator_put(soc_reg); in imx6q_cpufreq_remove()