Lines Matching refs:sel
75 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_gp_ldo_set_suspend_voltage() local
77 sel = regulator_map_voltage_linear_range(rdev, uV, uV); in wm831x_gp_ldo_set_suspend_voltage()
78 if (sel < 0) in wm831x_gp_ldo_set_suspend_voltage()
79 return sel; in wm831x_gp_ldo_set_suspend_voltage()
81 return wm831x_set_bits(wm831x, reg, WM831X_LDO1_ON_VSEL_MASK, sel); in wm831x_gp_ldo_set_suspend_voltage()
327 int sel, reg = ldo->base + WM831X_LDO_SLEEP_CONTROL; in wm831x_aldo_set_suspend_voltage() local
329 sel = regulator_map_voltage_linear_range(rdev, uV, uV); in wm831x_aldo_set_suspend_voltage()
330 if (sel < 0) in wm831x_aldo_set_suspend_voltage()
331 return sel; in wm831x_aldo_set_suspend_voltage()
333 return wm831x_set_bits(wm831x, reg, WM831X_LDO7_ON_VSEL_MASK, sel); in wm831x_aldo_set_suspend_voltage()
532 int sel, reg = ldo->base + WM831X_ALIVE_LDO_SLEEP_CONTROL; in wm831x_alive_ldo_set_suspend_voltage() local
534 sel = regulator_map_voltage_linear(rdev, uV, uV); in wm831x_alive_ldo_set_suspend_voltage()
535 if (sel < 0) in wm831x_alive_ldo_set_suspend_voltage()
536 return sel; in wm831x_alive_ldo_set_suspend_voltage()
538 return wm831x_set_bits(wm831x, reg, WM831X_LDO11_ON_VSEL_MASK, sel); in wm831x_alive_ldo_set_suspend_voltage()