Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dimx6q-cpufreq.c24 static struct regulator *soc_reg; variable
94 ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); in imx6q_set_target()
177 ret = regulator_set_voltage_tol(soc_reg, imx6_soc_volt[index], 0); in imx6q_set_target()
374 soc_reg = regulator_get(cpu_dev, "soc"); in imx6q_cpufreq_probe()
376 PTR_ERR(soc_reg) == -EPROBE_DEFER || in imx6q_cpufreq_probe()
382 if (IS_ERR(arm_reg) || IS_ERR(soc_reg)) { in imx6q_cpufreq_probe()
467 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()
530 regulator_put(soc_reg); in imx6q_cpufreq_remove()