Searched refs:ina23x_reg_read_16 (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/drivers/sensor/ti/ina23x/ |
D | ina230.c | 81 ret = ina23x_reg_read_16(&config->bus, INA230_REG_BUS_VOLT, &data->bus_voltage); in ina230_sample_fetch() 89 ret = ina23x_reg_read_16(&config->bus, INA230_REG_CURRENT, &data->current); in ina230_sample_fetch() 97 ret = ina23x_reg_read_16(&config->bus, INA230_REG_POWER, &data->power); in ina230_sample_fetch() 137 ret = ina23x_reg_read_16(&config->bus, INA230_REG_CONFIG, &data); in ina230_attr_get() 143 ret = ina23x_reg_read_16(&config->bus, INA230_REG_CALIB, &data); in ina230_attr_get() 149 ret = ina23x_reg_read_16(&config->bus, INA230_REG_MASK, &data); in ina230_attr_get() 155 ret = ina23x_reg_read_16(&config->bus, INA230_REG_ALERT, &data); in ina230_attr_get()
|
D | ina237.c | 149 ret = ina23x_reg_read_16(&config->bus, INA237_REG_BUS_VOLT, &data->bus_voltage); in ina237_read_data() 157 ret = ina23x_reg_read_16(&config->bus, INA237_REG_CURRENT, &data->current); in ina237_read_data() 173 ret = ina23x_reg_read_16(&config->bus, INA237_REG_DIETEMP, &data->die_temp); in ina237_read_data() 182 ret = ina23x_reg_read_16(&config->bus, INA237_REG_SHUNT_VOLT, &data->shunt_voltage); in ina237_read_data() 247 ret = ina23x_reg_read_16(&config->bus, INA237_REG_CONFIG, &data); in ina237_attr_get() 253 ret = ina23x_reg_read_16(&config->bus, INA237_REG_CALIB, &data); in ina237_attr_get() 292 ret = ina23x_reg_read_16(&config->bus, INA237_REG_ALERT, ®_alert); in ina237_trigger_work_handler() 322 ret = ina23x_reg_read_16(&config->bus, INA237_REG_MANUFACTURER_ID, &id); in ina237_init()
|
D | ina23x_common.h | 21 int ina23x_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val);
|
D | ina23x_common.c | 26 int ina23x_reg_read_16(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t *val) in ina23x_reg_read_16() function
|