Searched refs:peakInputPowerSensor (Results 1 – 2 of 2) sorted by relevance
1078 if (peakInputPowerSensor || !present || in setupInputPowerPeakSensor()1094 peakInputPowerSensor = std::make_unique<PowerSensorObject>( in setupInputPowerPeakSensor()1098 peakInputPowerSensor->functional(true, true); in setupInputPowerPeakSensor()1099 peakInputPowerSensor->available(true, true); in setupInputPowerPeakSensor()1100 peakInputPowerSensor->value(0, true); in setupInputPowerPeakSensor()1101 peakInputPowerSensor->unit( in setupInputPowerPeakSensor()1106 peakInputPowerSensor->associations(associations, true); in setupInputPowerPeakSensor()1108 peakInputPowerSensor->emit_object_added(); in setupInputPowerPeakSensor()1113 if (peakInputPowerSensor) in setSensorsNotAvailable()1115 peakInputPowerSensor->value(std::numeric_limits<double>::quiet_NaN()); in setSensorsNotAvailable()[all …]
529 if (peakInputPowerSensor) in getPeakInputPower()531 value = peakInputPowerSensor->value(); in getPeakInputPower()1070 std::unique_ptr<PowerSensorObject> peakInputPowerSensor; member in phosphor::power::psu::PowerSupply