Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/fuel_gauge/sbs_gauge/
Dsbs_gauge.c43 static int sbs_cmd_reg_write(const struct device *dev, uint8_t reg_addr, uint16_t val) in sbs_cmd_reg_write() function
189 rc = sbs_cmd_reg_write(dev, cfg->cutoff_cfg->reg, cfg->cutoff_cfg->payload[i]); in sbs_gauge_do_battery_cutoff()
207 rc = sbs_cmd_reg_write(dev, SBS_GAUGE_CMD_MANUFACTURER_ACCESS, in sbs_gauge_set_prop()
212 rc = sbs_cmd_reg_write(dev, SBS_GAUGE_CMD_REM_CAPACITY_ALARM, in sbs_gauge_set_prop()
217 rc = sbs_cmd_reg_write(dev, SBS_GAUGE_CMD_REM_TIME_ALARM, in sbs_gauge_set_prop()
222 rc = sbs_cmd_reg_write(dev, SBS_GAUGE_CMD_BATTERY_MODE, val.sbs_mode); in sbs_gauge_set_prop()
226 rc = sbs_cmd_reg_write(dev, SBS_GAUGE_CMD_AR, val.sbs_at_rate); in sbs_gauge_set_prop()
/Zephyr-Core-3.5.0/drivers/charger/
Dsbs_charger.c40 static int sbs_cmd_reg_write(const struct device *dev, uint8_t reg_addr, uint16_t val) in sbs_cmd_reg_write() function
66 return sbs_cmd_reg_write(dev, reg_addr, new_val); in sbs_cmd_reg_update()