Home
last modified time | relevance | path

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

/drivers/power/
Dmax8998_charger.c113 max8998_update_reg(i2c, MAX8998_REG_CHGR1, in max8998_battery_probe()
126 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x1 << 3, 0x3 << 3); in max8998_battery_probe()
129 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x0 << 3, 0x3 << 3); in max8998_battery_probe()
132 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x2 << 3, 0x3 << 3); in max8998_battery_probe()
135 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x3 << 3, 0x3 << 3); in max8998_battery_probe()
149 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x0 << 4, 0x3 << 4); in max8998_battery_probe()
152 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x1 << 4, 0x3 << 4); in max8998_battery_probe()
155 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x2 << 4, 0x3 << 4); in max8998_battery_probe()
158 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x3 << 4, 0x3 << 4); in max8998_battery_probe()
/drivers/regulator/
Dmax8998.c181 return max8998_update_reg(i2c, reg, 1<<shift, 1<<shift); in max8998_ldo_enable()
194 return max8998_update_reg(i2c, reg, 0, 1<<shift); in max8998_ldo_disable()
292 ret = max8998_update_reg(i2c, reg, selector<<shift, mask<<shift); in max8998_set_voltage_ldo_sel()
404 ret = max8998_update_reg(i2c, reg, selector<<shift, in max8998_set_voltage_buck_sel()
/drivers/mfd/
Dmax8998.c117 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() function
132 EXPORT_SYMBOL(max8998_update_reg);