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.cpp176 const SensorBaseConfigMap& sensorConfig = sensorBase->second; in handleSensorConfigurations() local
178 extractBusNumber(interfacePath, sensorConfig); in handleSensorConfigurations()
180 extractSensorName(interfacePath, sensorConfig); in handleSensorConfigurations()
181 uint8_t slaveAddr = extractSlaveAddr(interfacePath, sensorConfig); in handleSensorConfigurations()
/openbmc/phosphor-pid-control/
H A Dmain.cpp55 std::map<std::string, conf::SensorConfig> sensorConfig = {}; variable
143 sensorConfig = buildSensorsFromJson(jsonData); in restartControlLoops()
156 if (!dbus_configuration::init(modeControlBus, reloadTimer, sensorConfig, in restartControlLoops()
163 state::mgmr = buildSensors(sensorConfig, passiveBus, hostBus); in restartControlLoops()
H A Dutil.hpp54 void debugPrint(const std::map<std::string, conf::SensorConfig>& sensorConfig,
H A Dutil.cpp32 void debugPrint(const std::map<std::string, conf::SensorConfig>& sensorConfig, in debugPrint() argument
43 for (const auto& pair : sensorConfig) in debugPrint()
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp334 const std::map<std::string, conf::SensorConfig>& sensorConfig) in populatePidInfo() argument
376 sensorConfig.at(info.inputs.front().name).readPath; in populatePidInfo()
454 std::map<std::string, conf::SensorConfig>& sensorConfig, in init() argument
458 sensorConfig.clear(); in init()
786 auto& config = sensorConfig[inputSensorName]; in init()
841 auto& config = sensorConfig[inputSensorName]; in init()
953 auto& fanConfig = sensorConfig[fanPwmIndex]; in init()
1006 populatePidInfo(bus, base, info, nullptr, sensorConfig); in init()
1018 sensorConfig); in init()
1088 auto& config = sensorConfig[shortName]; in init()
[all …]
H A Ddbusconfiguration.hpp55 std::map<std::string, conf::SensorConfig>& sensorConfig,
/openbmc/phosphor-virtual-sensor/src/
H A DvirtualSensor.hpp100 const Json& sensorConfig, const std::string& name, in VirtualSensor() argument
105 initVirtualSensor(sensorConfig, objPath, type); in VirtualSensor()
191 void initVirtualSensor(const Json& sensorConfig, const std::string& objPath,
H A DvirtualSensor.cpp235 void VirtualSensor::initVirtualSensor(const Json& sensorConfig, in initVirtualSensor() argument
244 auto threshold = sensorConfig.value("Threshold", empty); in initVirtualSensor()
249 auto confDesc = sensorConfig.value("Desc", empty); in initVirtualSensor()
262 auto assocJson = sensorConfig.value("Associations", empty); in initVirtualSensor()
276 if (sensorConfig.contains(exprKey)) in initVirtualSensor()
278 auto& ref = sensorConfig.at(exprKey); in initVirtualSensor()
294 auto params = sensorConfig.value("Params", empty); in initVirtualSensor()