Lines Matching refs:max17055_reg_write
47 static int max17055_reg_write(const struct device *dev, uint8_t reg_addr, in max17055_reg_write() function
328 if (max17055_reg_write(dev, SOFT_WAKEUP, SOFT_WAKEUP_WAKEUP)) { in max17055_exit_hibernate()
331 if (max17055_reg_write(dev, HIB_CFG, HIB_CFG_CLEAR)) { in max17055_exit_hibernate()
334 if (max17055_reg_write(dev, SOFT_WAKEUP, SOFT_WAKEUP_CLEAR)) { in max17055_exit_hibernate()
357 if (max17055_reg_write(dev, DESIGN_CAP, design_capacity)) { in max17055_write_config()
361 if (max17055_reg_write(dev, D_QACC, d_qacc)) { in max17055_write_config()
365 if (max17055_reg_write(dev, ICHG_TERM, i_chg_term)) { in max17055_write_config()
375 if (max17055_reg_write(dev, V_EMPTY, v_empty)) { in max17055_write_config()
379 if (max17055_reg_write(dev, D_PACC, d_pacc)) { in max17055_write_config()
383 if (max17055_reg_write(dev, MODEL_CFG, MODELCFG_REFRESH)) { in max17055_write_config()
416 if (max17055_reg_write(dev, HIB_CFG, hib_cfg)) { in max17055_init_config()
469 return max17055_reg_write(dev, STATUS, tmp); in max17055_gauge_init()