Searched refs:sbs_cmd_reg_read (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.5.0/drivers/fuel_gauge/sbs_gauge/ |
D | sbs_gauge.c | 25 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/ |
D | sbs_gauge.c | 18 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/ |
D | sbs_charger.c | 22 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, ®_val); in sbs_charger_get_prop() 90 ret = sbs_cmd_reg_read(dev, SBS_CHARGER_REG_STATUS, ®_val); in sbs_charger_get_prop() 103 ret = sbs_cmd_reg_read(dev, SBS_CHARGER_REG_STATUS, ®_val); in sbs_charger_get_prop()
|