Searched refs:INA2XX_CONFIG (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/iio/adc/ |
H A D | ina2xx-adc.c | 39 #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() 944 int ret = regmap_write(chip->regmap, INA2XX_CONFIG, config); in ina2xx_init() 1048 ret = regmap_clear_bits(chip->regmap, INA2XX_CONFIG, INA2XX_MODE_MASK); in ina2xx_remove()
|
/linux/drivers/hwmon/ |
H A D | ina2xx.c | 42 #define INA2XX_CONFIG 0x00 macro 94 case INA2XX_CONFIG: in ina2xx_writeable_reg() 401 ret = regmap_read(data->regmap, INA2XX_CONFIG, ®val); in ina2xx_chip_read() 546 return regmap_update_bits(data->regmap, INA2XX_CONFIG, in ina2xx_chip_write() 801 ret = regmap_write(regmap, INA2XX_CONFIG, data->config->config_default); in ina2xx_init()
|