Searched refs:soc_reg (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | imx6q-cpufreq.c | 24 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() 469 ret = regulator_set_voltage_time(soc_reg, imx6_soc_volt[0], imx6_soc_volt[num - 1]); in imx6q_cpufreq_probe() 514 if (!IS_ERR(soc_reg)) in imx6q_cpufreq_probe() 515 regulator_put(soc_reg); in imx6q_cpufreq_probe() 532 regulator_put(soc_reg); in imx6q_cpufreq_remove() [all...] |
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | imx6q-cpufreq.c | 24 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() [all...] |
Completed in 3 milliseconds