Lines Matching defs:proc_reg
38 struct regulator *proc_reg;
66 struct regulator *proc_reg = info->proc_reg;
70 old_vproc = regulator_get_voltage(proc_reg);
92 old_vproc = regulator_get_voltage(proc_reg);
125 ret = regulator_set_voltage(proc_reg, vproc,
141 old_vproc = regulator_get_voltage(proc_reg);
155 ret = regulator_set_voltage(proc_reg, vproc,
184 regulator_set_voltage(proc_reg, old_vproc,
200 return regulator_set_voltage(info->proc_reg, vproc,
219 old_vproc = regulator_get_voltage(info->proc_reg);
305 struct regulator *proc_reg = ERR_PTR(-ENODEV);
343 proc_reg = regulator_get_optional(cpu_dev, "proc");
344 if (IS_ERR(proc_reg)) {
345 if (PTR_ERR(proc_reg) == -EPROBE_DEFER)
352 ret = PTR_ERR(proc_reg);
385 info->proc_reg = proc_reg;
402 if (!IS_ERR(proc_reg))
403 regulator_put(proc_reg);
416 if (!IS_ERR(info->proc_reg))
417 regulator_put(info->proc_reg);