Searched refs:pu_reg (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/cpufreq/
H A Dimx6q-cpufreq.c24 static struct regulator *pu_reg; variable in typeref:struct:regulator
70 if (!IS_ERR(pu_reg)) { imx6q_set_target()
71 ret = regulator_set_voltage_tol(pu_reg, imx6_soc_volt[index], 0); imx6q_set_target()
127 if (!IS_ERR(pu_reg)) { imx6q_set_target()
128 ret = regulator_set_voltage_tol(pu_reg, imx6_soc_volt[index], 0); imx6q_set_target()
190 pu_reg = regulator_get_optional(cpu_dev, "pu"); imx6q_cpufreq_probe()
279 if (!IS_ERR(pu_reg)) { imx6q_cpufreq_probe()
280 ret = regulator_set_voltage_time(pu_reg, imx6_soc_volt[0], imx6_soc_volt[num - 1]); imx6q_cpufreq_probe()
319 if (!IS_ERR(pu_reg)) imx6q_cpufreq_probe()
320 regulator_put(pu_reg); imx6q_cpufreq_probe()
345 if (!IS_ERR(pu_reg)) imx6q_cpufreq_remove()
346 regulator_put(pu_reg); imx6q_cpufreq_remove()
/linux-4.1.27/arch/arm/mach-imx/
H A Dgpc.c397 static int imx_gpc_genpd_init(struct device *dev, struct regulator *pu_reg) imx_gpc_genpd_init() argument
402 imx6q_pu_domain.reg = pu_reg; imx_gpc_genpd_init()
434 struct regulator *pu_reg; imx_gpc_probe() local
441 pu_reg = devm_regulator_get_optional(&pdev->dev, "pu"); imx_gpc_probe()
442 if (PTR_ERR(pu_reg) == -ENODEV) imx_gpc_probe()
443 pu_reg = NULL; imx_gpc_probe()
444 if (IS_ERR(pu_reg)) { imx_gpc_probe()
445 ret = PTR_ERR(pu_reg); imx_gpc_probe()
450 return imx_gpc_genpd_init(&pdev->dev, pu_reg); imx_gpc_probe()

Completed in 76 milliseconds