Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dina2xx-adc.c40 #define INA2XX_SHUNT_VOLTAGE 0x01 /* readonly */ macro
210 if (chan->address == INA2XX_SHUNT_VOLTAGE) in ina2xx_read_raw()
228 case INA2XX_SHUNT_VOLTAGE: in ina2xx_read_raw()
265 case INA2XX_SHUNT_VOLTAGE: in ina2xx_read_raw()
460 case INA2XX_SHUNT_VOLTAGE: in ina2xx_read_avail()
503 if (chan->address == INA2XX_SHUNT_VOLTAGE) in ina2xx_write_raw()
510 if (chan->address == INA2XX_SHUNT_VOLTAGE) in ina2xx_write_raw()
520 if (chan->address == INA2XX_SHUNT_VOLTAGE) in ina2xx_write_raw()
698 INA226_CHAN_VOLTAGE(0, INA2XX_SHUNT_VOLTAGE),
706 INA219_CHAN_VOLTAGE(0, INA2XX_SHUNT_VOLTAGE, 0),
[all …]
/openbmc/linux/drivers/hwmon/
H A Dina2xx.c43 #define INA2XX_SHUNT_VOLTAGE 0x01 /* readonly */ macro
270 case INA2XX_SHUNT_VOLTAGE: in ina2xx_get_value()
322 reg = INA2XX_SHUNT_VOLTAGE; in ina226_reg_to_alert()
542 static SENSOR_DEVICE_ATTR_RO(in0_input, ina2xx_value, INA2XX_SHUNT_VOLTAGE);