Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dbq27xxx_battery.c1125 static inline int bq27xxx_write(struct bq27xxx_device_info *di, int reg_index, in bq27xxx_write() function
1186 ret = bq27xxx_write(di, BQ27XXX_REG_CTRL, BQ27XXX_SEALED, false); in bq27xxx_battery_seal()
1204 ret = bq27xxx_write(di, BQ27XXX_REG_CTRL, (u16)(di->unseal_key >> 16), false); in bq27xxx_battery_unseal()
1208 ret = bq27xxx_write(di, BQ27XXX_REG_CTRL, (u16)di->unseal_key, false); in bq27xxx_battery_unseal()
1238 ret = bq27xxx_write(di, BQ27XXX_DM_CLASS, buf->class, true); in bq27xxx_battery_read_dm_block()
1242 ret = bq27xxx_write(di, BQ27XXX_DM_BLOCK, buf->block, true); in bq27xxx_battery_read_dm_block()
1326 ret = bq27xxx_write(di, BQ27XXX_REG_CTRL, cmd, false);
1381 ret = bq27xxx_write(di, BQ27XXX_DM_CTRL, 0, true);
1385 ret = bq27xxx_write(di, BQ27XXX_DM_CLASS, buf->class, true);
1389 ret = bq27xxx_write(di, BQ27XXX_DM_BLOCK, buf->block, true);
[all …]