Lines Matching refs:baseConfig

385         const SensorBaseConfigMap* baseConfig = nullptr;  in createSensorsCallback()  local
399 baseConfig = &sensorBase->second; in createSensorsCallback()
404 if (baseConfig == nullptr) in createSensorsCallback()
411 auto configBus = baseConfig->find("Bus"); in createSensorsCallback()
412 auto configAddress = baseConfig->find("Address"); in createSensorsCallback()
414 if (configBus == baseConfig->end() || in createSensorsCallback()
415 configAddress == baseConfig->end()) in createSensorsCallback()
473 auto findPSUName = baseConfig->find("Name"); in createSensorsCallback()
474 if (findPSUName == baseConfig->end()) in createSensorsCallback()
488 auto findCPU = baseConfig->find("CPURequired"); in createSensorsCallback()
489 if (findCPU != baseConfig->end()) in createSensorsCallback()
518 PowerState readState = getPowerState(*baseConfig); in createSensorsCallback()
528 findPSUName = baseConfig->find("Name" + std::to_string(i++)); in createSensorsCallback()
529 } while (findPSUName != baseConfig->end()); in createSensorsCallback()
548 float pollRate = getPollRate(*baseConfig, PSUSensor::defaultSensorPoll); in createSensorsCallback()
552 auto findLabelObj = baseConfig->find("Labels"); in createSensorsCallback()
553 if (findLabelObj != baseConfig->end()) in createSensorsCallback()
703 auto findCustomName = baseConfig->find(keyName); in createSensorsCallback()
704 if (findCustomName != baseConfig->end()) in createSensorsCallback()
722 auto findCustomScale = baseConfig->find(keyScale); in createSensorsCallback()
723 if (findCustomScale != baseConfig->end()) in createSensorsCallback()
748 auto findCustomMin = baseConfig->find(keyMin); in createSensorsCallback()
749 if (findCustomMin != baseConfig->end()) in createSensorsCallback()
763 auto findCustomMax = baseConfig->find(keyMax); in createSensorsCallback()
764 if (findCustomMax != baseConfig->end()) in createSensorsCallback()
778 auto findCustomOffset = baseConfig->find(keyOffset); in createSensorsCallback()
779 if (findCustomOffset != baseConfig->end()) in createSensorsCallback()
794 auto findPowerState = baseConfig->find(keyPowerState); in createSensorsCallback()
795 if (findPowerState != baseConfig->end()) in createSensorsCallback()
875 auto findScaleFactor = baseConfig->find(strScaleFactor); in createSensorsCallback()
876 if (findScaleFactor != baseConfig->end()) in createSensorsCallback()