Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A 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()
/openbmc/linux/drivers/hwmon/
H A Dina2xx.c42 #define INA2XX_CONFIG 0x00 macro
198 int ret = regmap_write(data->regmap, INA2XX_CONFIG, in ina2xx_init()
518 status = regmap_update_bits(data->regmap, INA2XX_CONFIG, in ina226_interval_store()
534 status = regmap_read(data->regmap, INA2XX_CONFIG, &regval); in ina226_interval_show()