Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/fuel_gauge/sbs_gauge/
Dsbs_gauge.c25 static int sbs_cmd_reg_read(const struct device *dev, uint8_t reg_addr, uint16_t *val) in sbs_cmd_reg_read() function
77 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_AVG_CURRENT, &tmp_val); in sbs_gauge_get_prop()
81 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_CYCLE_COUNT, &tmp_val); in sbs_gauge_get_prop()
85 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_CURRENT, &tmp_val); in sbs_gauge_get_prop()
89 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_FULL_CAPACITY, &tmp_val); in sbs_gauge_get_prop()
93 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_REM_CAPACITY, &tmp_val); in sbs_gauge_get_prop()
97 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_RUNTIME2EMPTY, &tmp_val); in sbs_gauge_get_prop()
101 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_AVG_TIME2FULL, &tmp_val); in sbs_gauge_get_prop()
105 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_MANUFACTURER_ACCESS, &tmp_val); in sbs_gauge_get_prop()
109 rc = sbs_cmd_reg_read(dev, SBS_GAUGE_CMD_ASOC, &tmp_val); in sbs_gauge_get_prop()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/sbs_gauge/
Dsbs_gauge.c18 static int sbs_cmd_reg_read(const struct device *dev, in sbs_cmd_reg_read() function
135 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
144 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
153 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
162 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
171 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
180 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
189 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
198 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
207 status = sbs_cmd_reg_read(dev, in sbs_gauge_sample_fetch()
[all …]
/Zephyr-Core-3.5.0/drivers/charger/
Dsbs_charger.c22 static int sbs_cmd_reg_read(const struct device *dev, uint8_t reg_addr, uint16_t *val) in sbs_cmd_reg_read() function
56 ret = sbs_cmd_reg_read(dev, SBS_CHARGER_REG_STATUS, &old_val); in sbs_cmd_reg_update()
77 ret = sbs_cmd_reg_read(dev, SBS_CHARGER_REG_STATUS, &reg_val); in sbs_charger_get_prop()
90 ret = sbs_cmd_reg_read(dev, SBS_CHARGER_REG_STATUS, &reg_val); in sbs_charger_get_prop()
103 ret = sbs_cmd_reg_read(dev, SBS_CHARGER_REG_STATUS, &reg_val); in sbs_charger_get_prop()