Searched refs:findSensor (Results 1 – 11 of 11) sorted by relevance
128 std::shared_ptr<T> findSensor(nullptr); in instantiateDevices() local 134 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() local200 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()
280 auto findSensor = sensors.find(sensorName); in createSensors() local281 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()
402 auto findSensor = sensors.find(sensorName); in createSensors() 403 if (!firstScan && findSensor != sensors.end()) in createSensors() 409 if (it->ends_with(findSensor->second->name)) in createSensors() 412 findSensor->second = nullptr; in createSensors() 401 auto findSensor = sensors.find(sensorName); createSensors() local
415 auto findSensor = tachSensors.find(sensorName); in createSensors() local416 if (!firstScan && findSensor != tachSensors.end()) in createSensors()422 if (it->ends_with(findSensor->second->name)) in createSensors()425 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()
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() local342 if (findSensor != gCpuSensors.end()) in createSensors()
636 auto findSensor = sensors.find(label); in createSensorsCallback() local637 if (findSensor != sensors.end()) in createSensorsCallback()