Lines Matching refs:sensorSetKey
216 const auto& [sensorSetKey, sensorAttrs] = sensor; in getObject()
217 const auto& [sensorSysfsType, sensorSysfsNum] = sensorSetKey; in getObject()
221 std::make_unique<sensor::Sensor>(sensorSetKey, _ioAccess, _devPath); in getObject()
236 if (_rmSensors.find(sensorSetKey) != _rmSensors.end()) in getObject()
286 if (_rmSensors.find(sensorSetKey) == _rmSensors.end()) in getObject()
292 _rmSensors[std::move(sensorSetKey)] = std::move(sensorAttrs); in getObject()
319 addTarget<hwmon::FanSpeed>(sensorSetKey, _ioAccess, _devPath, info); in getObject()
324 addTarget<hwmon::FanPwm>(sensorSetKey, _ioAccess, _devPath, info); in getObject()
331 _sensorObjects[sensorSetKey] = std::move(sensorObj); in getObject()
461 for (auto& [sensorSetKey, sensorStateTuple] : _state) in read()
463 const auto& [sensorSysfsType, sensorSysfsNum] = sensorSetKey; in read()
480 (phosphor::utility::isAverageEnvSet(sensorSetKey))) in read()
487 std::unique_ptr<sensor::Sensor>& sensor = _sensorObjects[sensorSetKey]; in read()
517 env::getEnv("ASYNC_READ_TIMEOUT", sensorSetKey); in read()
523 sensorSetKey, _ioAccess, asyncTimeout, _timedoutMap, in read()
550 auto ret = _average.getAverageValue(sensorSetKey); in read()
562 sensorSetKey, std::make_pair(value, interval)); in read()
592 auto& sAdjusts = _sensorObjects[sensorSetKey]->getAdjusts(); in read()
596 if (_rmSensors.find(sensorSetKey) == _rmSensors.end()) in read()
603 _rmSensors[sensorSetKey] = attrs; in read()