Searched refs:findSensor (Results 1 – 11 of 11) sorted by relevance
128 std::shared_ptr<T> findSensor(nullptr); in instantiateDevices() local134 findSensor = sensor.second; in instantiateDevices()138 if (findSensor != nullptr && findSensor->isActive()) in instantiateDevices()142 std::make_pair(findSensor->getI2CDevice(), false)); in instantiateDevices()
302 [&path](const ipmi::sensor::IdInfoMap::value_type& findSensor) { in findStaticSensor() argument303 return findSensor.second.sensorPath == path; in findStaticSensor()331 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath() local332 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()335 static_cast<uint8_t>(std::get<sensorTypeCodes>(findSensor->second)); in getSensorTypeFromPath()364 auto findSensor = sensorTypes.find(type.c_str()); in getSensorEventTypeFromPath() local365 if (findSensor != sensorTypes.end()) in getSensorEventTypeFromPath()368 std::get<sensorEventTypeCodes>(findSensor->second)); in getSensorEventTypeFromPath()
195 auto findSensor = sensors.find(sensorName); in createSensors() local196 if (!firstScan && findSensor != sensors.end()) in createSensors()202 if (findSensor->second && in createSensors()203 it->ends_with(findSensor->second->name)) in createSensors()206 findSensor->second = nullptr; in createSensors()
269 auto findSensor = sensors.find(sensorName); in createSensors() 270 if (!firstScan && (findSensor != sensors.end())) in createSensors() 273 suffixName += findSensor->second->name; in createSensors() 283 findSensor->second = nullptr; in createSensors() 268 auto findSensor = sensors.find(sensorName); createSensors() local
152 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath() local153 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()155 sensorType = static_cast<uint8_t>(findSensor->second); in getSensorTypeFromPath()
410 auto findSensor = sensors.find(sensorName); in createSensors() local411 if (!firstScan && findSensor != sensors.end()) in createSensors()417 if (it->ends_with(findSensor->second->name)) in createSensors()420 findSensor->second = nullptr; in createSensors()
416 auto findSensor = tachSensors.find(sensorName); in createSensors() local417 if (!firstScan && findSensor != tachSensors.end()) in createSensors()423 if (it->ends_with(findSensor->second->name)) in createSensors()426 findSensor->second = nullptr; in createSensors()
391 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath() local392 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()394 sensorType = static_cast<uint8_t>(findSensor->second); in getSensorTypeFromPath()
962 auto findSensor = sensorUnitStr.find(sensorTypeStr.c_str()); in getSensorUnit() local963 if (findSensor != sensorUnitStr.end()) in getSensorUnit()965 unit = findSensor->second; in getSensorUnit()
336 auto findSensor = gCpuSensors.find(sensorName); in createSensors() local337 if (findSensor != gCpuSensors.end()) in createSensors()
638 auto findSensor = sensors.find(label); in createSensorsCallback() local639 if (findSensor != sensors.end()) in createSensorsCallback()