Home
last modified time | relevance | path

Searched refs:sensorConfig (Results 1 – 8 of 8) sorted by relevance

/openbmc/dbus-sensors/src/nvme/
H A DNVMeSensorMain.cpp175 const SensorBaseConfigMap& sensorConfig = sensorBase->second; in handleSensorConfigurations() local
177 extractBusNumber(interfacePath, sensorConfig); in handleSensorConfigurations()
179 extractSensorName(interfacePath, sensorConfig); in handleSensorConfigurations()
180 uint8_t slaveAddr = extractSlaveAddr(interfacePath, sensorConfig); in handleSensorConfigurations()
/openbmc/phosphor-pid-control/
H A Dmain.cpp57 std::map<std::string, conf::SensorConfig> sensorConfig = {}; variable
146 sensorConfig = buildSensorsFromJson(jsonData); in restartControlLoops()
159 if (!dbus_configuration::init(modeControlBus, reloadTimer, sensorConfig, in restartControlLoops()
166 state::mgmr = buildSensors(sensorConfig, passiveBus, hostBus); in restartControlLoops()
H A Dutil.cpp28 void debugPrint(const std::map<std::string, conf::SensorConfig>& sensorConfig, in debugPrint() argument
39 for (const auto& pair : sensorConfig) in debugPrint()
H A Dutil.hpp61 void debugPrint(const std::map<std::string, conf::SensorConfig>& sensorConfig,
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp307 const std::map<std::string, conf::SensorConfig>& sensorConfig) in populatePidInfo() argument
347 sensorConfig.at(info.inputs.front().name).readPath; in populatePidInfo()
425 std::map<std::string, conf::SensorConfig>& sensorConfig, in init() argument
429 sensorConfig.clear(); in init()
766 auto& config = sensorConfig[inputSensorName]; in init()
883 auto& fanConfig = sensorConfig[fanPwmIndex]; in init()
936 populatePidInfo(bus, base, info, nullptr, sensorConfig); in init()
948 sensorConfig); in init()
1008 auto& config = sensorConfig[shortName]; in init()
1118 debugPrint(sensorConfig, zoneConfig, zoneDetailsConfig); in init()
H A Ddbusconfiguration.hpp54 std::map<std::string, conf::SensorConfig>& sensorConfig,
/openbmc/phosphor-virtual-sensor/
H A DvirtualSensor.hpp98 const Json& sensorConfig, const std::string& name) : in VirtualSensor() argument
101 initVirtualSensor(sensorConfig, objPath); in VirtualSensor()
183 void initVirtualSensor(const Json& sensorConfig,
H A DvirtualSensor.cpp222 void VirtualSensor::initVirtualSensor(const Json& sensorConfig, in initVirtualSensor() argument
228 auto threshold = sensorConfig.value("Threshold", empty); in initVirtualSensor()
233 auto confDesc = sensorConfig.value("Desc", empty); in initVirtualSensor()
246 auto assocJson = sensorConfig.value("Associations", empty); in initVirtualSensor()
260 if (sensorConfig.contains(exprKey)) in initVirtualSensor()
262 auto& ref = sensorConfig.at(exprKey); in initVirtualSensor()
278 auto params = sensorConfig.value("Params", empty); in initVirtualSensor()