Searched refs:lp3971_set_bits (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/regulator/ |
D | lp3971.c | 31 static int lp3971_set_bits(struct lp3971 *lp3971, u8 reg, u16 mask, u16 val); 127 return lp3971_set_bits(lp3971, LP3971_LDO_ENABLE_REG, mask, mask); in lp3971_ldo_enable() 136 return lp3971_set_bits(lp3971, LP3971_LDO_ENABLE_REG, mask, 0); in lp3971_ldo_disable() 157 return lp3971_set_bits(lp3971, LP3971_LDO_VOL_CONTR_REG(ldo), in lp3971_ldo_set_voltage_sel() 189 return lp3971_set_bits(lp3971, LP3971_BUCK_VOL_ENABLE_REG, mask, mask); in lp3971_dcdc_enable() 198 return lp3971_set_bits(lp3971, LP3971_BUCK_VOL_ENABLE_REG, mask, 0); in lp3971_dcdc_disable() 220 ret = lp3971_set_bits(lp3971, LP3971_BUCK_TARGET_VOL1_REG(buck), in lp3971_dcdc_set_voltage_sel() 225 ret = lp3971_set_bits(lp3971, LP3971_BUCK_VOL_CHANGE_REG, in lp3971_dcdc_set_voltage_sel() 231 return lp3971_set_bits(lp3971, LP3971_BUCK_VOL_CHANGE_REG, in lp3971_dcdc_set_voltage_sel() 360 static int lp3971_set_bits(struct lp3971 *lp3971, u8 reg, u16 mask, u16 val) in lp3971_set_bits() function
|