Searched refs:max8660_write (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/regulator/
H A Dmax8660.c86 static int max8660_write(struct max8660 *max8660, u8 reg, u8 mask, u8 val) max8660_write() function
125 return max8660_write(max8660, MAX8660_OVER1, 0xff, bit); max8660_dcdc_enable()
133 return max8660_write(max8660, MAX8660_OVER1, mask, 0); max8660_dcdc_disable()
153 ret = max8660_write(max8660, reg, 0, selector); max8660_dcdc_set_voltage_sel()
159 return max8660_write(max8660, MAX8660_VCC1, 0xff, bits); max8660_dcdc_set_voltage_sel()
189 ret = max8660_write(max8660, MAX8660_MDTV2, 0, selector); max8660_ldo5_set_voltage_sel()
194 return max8660_write(max8660, MAX8660_VCC1, 0xff, 0xc0); max8660_ldo5_set_voltage_sel()
223 return max8660_write(max8660, MAX8660_OVER2, 0xff, bit); max8660_ldo67_enable()
231 return max8660_write(max8660, MAX8660_OVER2, mask, 0); max8660_ldo67_disable()
249 return max8660_write(max8660, MAX8660_L12VCR, 0xf0, selector); max8660_ldo67_set_voltage_sel()
251 return max8660_write(max8660, MAX8660_L12VCR, 0x0f, max8660_ldo67_set_voltage_sel()

Completed in 40 milliseconds