Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/power/supply/
A Dmax8998_charger.c119 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()
/linux-6.3-rc2/drivers/regulator/
A Dmax8998.c114 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()
/linux-6.3-rc2/include/linux/mfd/
A Dmax8998-private.h167 extern int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask);
/linux-6.3-rc2/drivers/mfd/
A Dmax8998.c102 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg() function
117 EXPORT_SYMBOL(max8998_update_reg);

Completed in 8 milliseconds