Lines Matching refs:ctrl_reg
323 struct regulator *ctrl_reg) in vctrl_init_vtable() argument
332 n_voltages = regulator_count_voltages(ctrl_reg); in vctrl_init_vtable()
338 ctrl_uV = regulator_list_voltage(ctrl_reg, i); in vctrl_init_vtable()
358 ctrl_uV = regulator_list_voltage(ctrl_reg, i); in vctrl_init_vtable()
450 struct regulator *ctrl_reg; in vctrl_probe() local
465 ctrl_reg = devm_regulator_get(&pdev->dev, "ctrl"); in vctrl_probe()
466 if (IS_ERR(ctrl_reg)) in vctrl_probe()
467 return PTR_ERR(ctrl_reg); in vctrl_probe()
477 if ((regulator_get_linear_step(ctrl_reg) == 1) || in vctrl_probe()
478 (regulator_count_voltages(ctrl_reg) == -EINVAL)) { in vctrl_probe()
495 ret = vctrl_init_vtable(pdev, ctrl_reg); in vctrl_probe()
500 ctrl_uV = regulator_get_voltage(ctrl_reg); in vctrl_probe()
524 devm_regulator_put(ctrl_reg); in vctrl_probe()