Home
last modified time | relevance | path

Searched refs:ina23x_reg_write (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina230.c115 return ina23x_reg_write(&config->bus, INA230_REG_CONFIG, data); in ina230_attr_set()
117 return ina23x_reg_write(&config->bus, INA230_REG_CALIB, data); in ina230_attr_set()
119 return ina23x_reg_write(&config->bus, INA230_REG_MASK, data); in ina230_attr_set()
121 return ina23x_reg_write(&config->bus, INA230_REG_ALERT, data); in ina230_attr_set()
177 ret = ina23x_reg_write(&config->bus, INA230_REG_CALIB, config->cal); in ina230_calibrate()
195 ret = ina23x_reg_write(&config->bus, INA230_REG_CONFIG, config->config); in ina230_init()
215 ret = ina23x_reg_write(&config->bus, INA230_REG_ALERT, config->alert_limit); in ina230_init()
221 ret = ina23x_reg_write(&config->bus, INA230_REG_MASK, config->mask); in ina230_init()
Dina237.c127 ret = ina23x_reg_write(&config->bus, INA237_REG_ADC_CONFIG, config->adc_config); in ina237_trigg_one_shot_request()
229 return ina23x_reg_write(&config->bus, INA237_REG_CONFIG, data); in ina237_attr_set()
231 return ina23x_reg_write(&config->bus, INA237_REG_CALIB, data); in ina237_attr_set()
275 ret = ina23x_reg_write(&config->bus, INA237_REG_CALIB, config->cal); in ina237_calibrate()
333 ret = ina23x_reg_write(&config->bus, INA237_REG_ADC_CONFIG, config->adc_config); in ina237_init()
339 ret = ina23x_reg_write(&config->bus, INA237_REG_CONFIG, config->config); in ina237_init()
365 ret = ina23x_reg_write(&config->bus, INA237_REG_ALERT, config->alert_config); in ina237_init()
Dina23x_common.h22 int ina23x_reg_write(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t val);
Dina23x_common.c41 int ina23x_reg_write(const struct i2c_dt_spec *bus, uint8_t reg, uint16_t val) in ina23x_reg_write() function