Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dina2xx-adc.c39 #define INA2XX_CONFIG 0x00 macro
103 return (reg == INA2XX_CONFIG) || (reg > INA2XX_CURRENT); in ina2xx_is_writeable_reg()
108 return (reg != INA2XX_CONFIG); in ina2xx_is_volatile_reg()
490 ret = regmap_read(chip->regmap, INA2XX_CONFIG, &config); in ina2xx_write_raw()
532 ret = regmap_write(chip->regmap, INA2XX_CONFIG, tmp); in ina2xx_write_raw()
945 int ret = regmap_write(chip->regmap, INA2XX_CONFIG, config); in ina2xx_init()
1049 ret = regmap_update_bits(chip->regmap, INA2XX_CONFIG, in ina2xx_remove()
/drivers/hwmon/
Dina2xx.c43 #define INA2XX_CONFIG 0x00 macro
199 int ret = regmap_write(data->regmap, INA2XX_CONFIG, in ina2xx_init()
519 status = regmap_update_bits(data->regmap, INA2XX_CONFIG, in ina226_interval_store()
535 status = regmap_read(data->regmap, INA2XX_CONFIG, &regval); in ina226_interval_show()