Searched refs:max8998_update_reg (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/power/supply/ |
H A D | max8998_charger.c | 119 max8998_update_reg(i2c, MAX8998_REG_CHGR1, in max8998_battery_probe() 132 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x1 << 3, 0x3 << 3); in max8998_battery_probe() 135 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x0 << 3, 0x3 << 3); in max8998_battery_probe() 138 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x2 << 3, 0x3 << 3); in max8998_battery_probe() 141 max8998_update_reg(i2c, MAX8998_REG_CHGR1, 0x3 << 3, 0x3 << 3); in max8998_battery_probe() 155 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x0 << 4, 0x3 << 4); in max8998_battery_probe() 158 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x1 << 4, 0x3 << 4); in max8998_battery_probe() 161 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x2 << 4, 0x3 << 4); in max8998_battery_probe() 164 max8998_update_reg(i2c, MAX8998_REG_CHGR2, 0x3 << 4, 0x3 << 4); in max8998_battery_probe()
|
/openbmc/linux/drivers/regulator/ |
H A D | max8998.c | 114 return max8998_update_reg(i2c, reg, 1<<shift, 1<<shift); in max8998_ldo_enable() 127 return max8998_update_reg(i2c, reg, 0, 1<<shift); in max8998_ldo_disable() 225 ret = max8998_update_reg(i2c, reg, selector<<shift, mask<<shift); in max8998_set_voltage_ldo_sel() 336 ret = max8998_update_reg(i2c, reg, selector<<shift, in max8998_set_voltage_buck_sel() 414 return max8998_update_reg(i2c, rdev->desc->csel_reg, in max8998_set_current_limit()
|
/openbmc/linux/include/linux/mfd/ |
H A D | max8998-private.h | 167 extern int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask);
|
/openbmc/linux/drivers/mfd/ |
H A D | max8998.c | 101 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() function 116 EXPORT_SYMBOL(max8998_update_reg);
|