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()
294 [&path](const ipmi::sensor::IdInfoMap::value_type& findSensor) { in findStaticSensor() argument295 return findSensor.second.sensorPath == path; in findStaticSensor()323 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath() local324 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()327 static_cast<uint8_t>(std::get<sensorTypeCodes>(findSensor->second)); in getSensorTypeFromPath()356 auto findSensor = sensorTypes.find(type.c_str()); in getSensorEventTypeFromPath() local357 if (findSensor != sensorTypes.end()) in getSensorEventTypeFromPath()360 std::get<sensorEventTypeCodes>(findSensor->second)); in getSensorEventTypeFromPath()
199 auto findSensor = sensors.find(sensorName); in createSensors() 200 if (!firstScan && findSensor != sensors.end()) in createSensors() 206 if (findSensor->second && in createSensors() 207 it->ends_with(findSensor->second->name)) in createSensors() 210 findSensor->second = nullptr; in createSensors() 197 auto findSensor = sensors.find(sensorName); createSensors() local
280 auto findSensor = sensors.find(sensorName); in createSensors() local 281 if (!firstScan && (findSensor != sensors.end())) in createSensors() 284 suffixName += findSensor->second->name; in createSensors() 294 findSensor->second = nullptr; in createSensors()
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()
401 auto findSensor = sensors.find(sensorName); in createSensors() 402 if (!firstScan && findSensor != sensors.end()) in createSensors() 408 if (it->ends_with(findSensor->second->name)) in createSensors() 411 findSensor->second = nullptr; in createSensors() 399 auto findSensor = sensors.find(sensorName); createSensors() local
415 auto findSensor = tachSensors.find(sensorName); in createSensors() 416 if (!firstScan && findSensor != tachSensors.end()) in createSensors() 422 if (it->ends_with(findSensor->second->name)) in createSensors() 425 findSensor->second = nullptr; in createSensors() 413 auto findSensor = tachSensors.find(sensorName); createSensors() local
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()
961 auto findSensor = sensorUnitStr.find(sensorTypeStr.c_str()); in getSensorUnit() local962 if (findSensor != sensorUnitStr.end()) in getSensorUnit()964 unit = findSensor->second; in getSensorUnit()
341 auto findSensor = gCpuSensors.find(sensorName); in createSensors() 342 if (findSensor != gCpuSensors.end()) in createSensors() 340 auto findSensor = gCpuSensors.find(sensorName); createSensors() local
636 auto findSensor = sensors.find(label); in createSensorsCallback() 637 if (findSensor != sensors.end()) in createSensorsCallback() 634 auto findSensor = sensors.find(label); createSensorsCallback() local