Searched refs:_sensor (Results 1 – 4 of 4) sorted by relevance
/openbmc/phosphor-hwmon/ |
H A D | sensor.cpp | 34 _sensor(sensor), _ioAccess(ioAccess), _devPath(devPath), _scale(0), in Sensor() 85 std::string name = _sensor.first + "_" + _sensor.second; in addRemoveRCs() 148 auto asyncReadTimeout = env::getEnv("ASYNC_READ_TIMEOUT", _sensor); in addValue() 153 val = asyncRead(_sensor, _ioAccess, asyncTimeout, timedoutMap, in addValue() 154 _sensor.first, _sensor.second, in addValue() 163 _sensor.first, _sensor.second, hwmon::entry::cinput, in addValue() 184 if (hwmon::getAttributes(_sensor.first, attrs)) in addValue() 194 auto maxValue = env::getEnv("MAXVALUE", _sensor); in addValue() 199 auto minValue = env::getEnv("MINVALUE", _sensor); in addValue() 218 std::string faultName = _sensor.first; in addStatus() [all …]
|
H A D | sensor.hpp | 184 SensorSet::key_type _sensor; member in sensor::Sensor
|
/openbmc/phosphor-hwmon/test/ |
H A D | hwmonio_default_unittest.cpp | 27 const std::string _sensor = "1"; member in hwmonio::__anon58fc77ce0111::HwmonIOTest 38 EXPECT_THAT(_hwmonio.read(_type, _id, _sensor, _retries, _delay), _value); in TEST_F() 52 EXPECT_THAT(_hwmonio.read(_type, _id, _sensor, _retries, _delay), _value); in TEST_F()
|
/openbmc/linux/drivers/iio/temperature/ |
H A D | ltc2983.c | 188 #define to_thermocouple(_sensor) \ argument 191 #define to_rtd(_sensor) \ argument 192 container_of(_sensor, struct ltc2983_rtd, sensor) 194 #define to_thermistor(_sensor) \ argument 197 #define to_diode(_sensor) \ argument 198 container_of(_sensor, struct ltc2983_diode, sensor) 200 #define to_rsense(_sensor) \ argument 203 #define to_adc(_sensor) \ argument 204 container_of(_sensor, struct ltc2983_adc, sensor) 206 #define to_temp(_sensor) \ argument [all …]
|