Home
last modified time | relevance | path

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

/drivers/regulator/
Dlp3971.c27 static int lp3971_set_bits(struct lp3971 *lp3971, u8 reg, u16 mask, u16 val);
123 return lp3971_set_bits(lp3971, LP3971_LDO_ENABLE_REG, mask, mask); in lp3971_ldo_enable()
132 return lp3971_set_bits(lp3971, LP3971_LDO_ENABLE_REG, mask, 0); in lp3971_ldo_disable()
153 return lp3971_set_bits(lp3971, LP3971_LDO_VOL_CONTR_REG(ldo), in lp3971_ldo_set_voltage_sel()
185 return lp3971_set_bits(lp3971, LP3971_BUCK_VOL_ENABLE_REG, mask, mask); in lp3971_dcdc_enable()
194 return lp3971_set_bits(lp3971, LP3971_BUCK_VOL_ENABLE_REG, mask, 0); in lp3971_dcdc_disable()
216 ret = lp3971_set_bits(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck), in lp3971_dcdc_set_voltage_sel()
221 ret = lp3971_set_bits(lp3971, LP3971_BUCK_VOL_CHANGE_REG, in lp3971_dcdc_set_voltage_sel()
227 return lp3971_set_bits(lp3971, LP3971_BUCK_VOL_CHANGE_REG, in lp3971_dcdc_set_voltage_sel()
356 static int lp3971_set_bits(struct lp3971 *lp3971, u8 reg, u16 mask, u16 val) in lp3971_set_bits() function