Home
last modified time | relevance | path

Searched refs:on_reg (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dwm831x-ldo.c84 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_gp_ldo_get_mode() local
87 ret = wm831x_reg_read(wm831x, on_reg); in wm831x_gp_ldo_get_mode()
110 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_gp_ldo_set_mode() local
116 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
128 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
142 ret = wm831x_set_bits(wm831x, on_reg, in wm831x_gp_ldo_set_mode()
337 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_aldo_get_mode() local
340 ret = wm831x_reg_read(wm831x, on_reg); in wm831x_aldo_get_mode()
355 int on_reg = ldo->base + WM831X_LDO_ON_CONTROL; in wm831x_aldo_set_mode() local
361 ret = wm831x_set_bits(wm831x, on_reg, WM831X_LDO7_ON_MODE, 0); in wm831x_aldo_set_mode()
[all …]
H A Dwm831x-dcdc.c231 int on_reg = dcdc->base + WM831X_DCDC_ON_CONFIG; in wm831x_buckv_set_voltage_sel() local
243 ret = wm831x_set_bits(wm831x, on_reg, WM831X_DC1_ON_VSEL_MASK, vsel); in wm831x_buckv_set_voltage_sel()