Lines Matching refs:regval
115 u8 regval; in ab8500_ext_regulator_enable() local
127 regval = info->update_val_hp; in ab8500_ext_regulator_enable()
129 regval = info->update_val; in ab8500_ext_regulator_enable()
133 info->update_mask, regval); in ab8500_ext_regulator_enable()
143 info->update_mask, regval); in ab8500_ext_regulator_enable()
152 u8 regval; in ab8500_ext_regulator_disable() local
163 regval = info->update_val_hw; in ab8500_ext_regulator_disable()
165 regval = 0; in ab8500_ext_regulator_disable()
169 info->update_mask, regval); in ab8500_ext_regulator_disable()
179 info->update_mask, regval); in ab8500_ext_regulator_disable()
188 u8 regval; in ab8500_ext_regulator_is_enabled() local
196 info->update_bank, info->update_reg, ®val); in ab8500_ext_regulator_is_enabled()
206 info->update_mask, regval); in ab8500_ext_regulator_is_enabled()
208 if (((regval & info->update_mask) == info->update_val_lp) || in ab8500_ext_regulator_is_enabled()
209 ((regval & info->update_mask) == info->update_val_hp)) in ab8500_ext_regulator_is_enabled()
220 u8 regval; in ab8500_ext_regulator_set_mode() local
229 regval = info->update_val_hp; in ab8500_ext_regulator_set_mode()
232 regval = info->update_val_lp; in ab8500_ext_regulator_set_mode()
247 info->update_mask, regval); in ab8500_ext_regulator_set_mode()
258 info->update_mask, regval); in ab8500_ext_regulator_set_mode()
261 info->update_val = regval; in ab8500_ext_regulator_set_mode()