Home
last modified time | relevance | path

Searched refs:SensorType (Results 1 – 19 of 19) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Dsensors.hpp26 enum class SensorType : unsigned char enum
91 inline std::string toString(SensorType type) in toString()
96 case SensorType::iout: in toString()
99 case SensorType::iout_peak: in toString()
102 case SensorType::iout_valley: in toString()
105 case SensorType::pout: in toString()
108 case SensorType::temperature: in toString()
111 case SensorType::temperature_peak: in toString()
114 case SensorType::vout: in toString()
117 case SensorType::vout_peak: in toString()
[all …]
H A Ddbus_sensor.cpp70 SensorType type, double value, const std::string& rail, in DBusSensor()
181 case SensorType::iout: in getTypeBasedProperties()
190 case SensorType::iout_peak: in getTypeBasedProperties()
198 case SensorType::iout_valley: in getTypeBasedProperties()
206 case SensorType::pout: in getTypeBasedProperties()
215 case SensorType::temperature: in getTypeBasedProperties()
224 case SensorType::temperature_peak: in getTypeBasedProperties()
232 case SensorType::vout: in getTypeBasedProperties()
241 case SensorType::vout_peak: in getTypeBasedProperties()
249 case SensorType::vout_valley: in getTypeBasedProperties()
H A Ddbus_sensor.hpp123 SensorType type, double value, const std::string& rail,
173 SensorType getType() const in getType()
326 SensorType type;
H A Dconfig_file_parser.cpp838 SensorType type = parseSensorType(typeElement); in parsePMBusReadSensor()
1145 SensorType parseSensorType(const json& element) in parseSensorType()
1148 SensorType type{}; in parseSensorType()
1152 type = SensorType::iout; in parseSensorType()
1156 type = SensorType::iout_peak; in parseSensorType()
1160 type = SensorType::iout_valley; in parseSensorType()
1164 type = SensorType::pout; in parseSensorType()
1168 type = SensorType::temperature; in parseSensorType()
1172 type = SensorType::temperature_peak; in parseSensorType()
1176 type = SensorType::vout; in parseSensorType()
[all …]
H A Ddbus_sensors.hpp70 virtual void setValue(SensorType type, double value) override;
H A Ddbus_sensors.cpp80 void DBusSensors::setValue(SensorType type, double value) in setValue()
H A Dconfig_file_parser.hpp757 SensorType parseSensorType(const nlohmann::json& element);
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dpmbus_read_sensor_action_tests.cpp53 SensorType type{SensorType::vout}; in TEST()
58 EXPECT_EQ(action.getType(), SensorType::vout); in TEST()
67 SensorType type{SensorType::iout}; in TEST()
72 EXPECT_EQ(action.getType(), SensorType::iout); in TEST()
104 EXPECT_CALL(sensors, setValue(SensorType::iout, 11.5)).Times(1); in TEST()
116 SensorType type{SensorType::iout}; in TEST()
151 EXPECT_CALL(sensors, setValue(SensorType::vout, 3.1875)).Times(1); in TEST()
163 SensorType type{SensorType::vout}; in TEST()
201 EXPECT_CALL(sensors, setValue(SensorType::vout, 3.1875)).Times(1); in TEST()
213 SensorType type{SensorType::vout}; in TEST()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dsensors_tests.cpp25 EXPECT_EQ(toString(SensorType::iout), "iout"); in TEST()
26 EXPECT_EQ(toString(SensorType::iout_peak), "iout_peak"); in TEST()
27 EXPECT_EQ(toString(SensorType::iout_valley), "iout_valley"); in TEST()
28 EXPECT_EQ(toString(SensorType::pout), "pout"); in TEST()
29 EXPECT_EQ(toString(SensorType::temperature), "temperature"); in TEST()
30 EXPECT_EQ(toString(SensorType::temperature_peak), "temperature_peak"); in TEST()
31 EXPECT_EQ(toString(SensorType::vout), "vout"); in TEST()
32 EXPECT_EQ(toString(SensorType::vout_peak), "vout_peak"); in TEST()
33 EXPECT_EQ(toString(SensorType::vout_valley), "vout_valley"); in TEST()
H A Dsensor_monitoring_tests.cpp132 SensorType type{SensorType::iout}; in TEST()
208 SensorType type{SensorType::iout}; in TEST()
240 EXPECT_CALL(sensors, setValue(SensorType::iout, 11.5)).Times(1); in TEST()
250 SensorType type{SensorType::iout}; in TEST()
H A Dmock_sensors.hpp51 MOCK_METHOD(void, setValue, (SensorType type, double value), (override));
H A Dconfig_file_parser_tests.cpp3790 EXPECT_EQ(action->getType(), SensorType::iout); in TEST()
3809 EXPECT_EQ(action->getType(), SensorType::temperature); in TEST()
5064 SensorType type = parseSensorType(element); in TEST()
5065 EXPECT_EQ(type, SensorType::iout); in TEST()
5071 SensorType type = parseSensorType(element); in TEST()
5072 EXPECT_EQ(type, SensorType::iout_peak); in TEST()
5078 SensorType type = parseSensorType(element); in TEST()
5079 EXPECT_EQ(type, SensorType::iout_valley); in TEST()
5085 SensorType type = parseSensorType(element); in TEST()
5086 EXPECT_EQ(type, SensorType::pout); in TEST()
[all …]
/openbmc/telemetry/src/
H A Dsensor_cache.hpp14 template <class SensorType, class... Args>
15 std::shared_ptr<SensorType> makeSensor( in makeSensor()
20 auto id = SensorType::makeId(service, path); in makeSensor()
25 auto sensor = std::make_shared<SensorType>( in makeSensor()
33 return std::static_pointer_cast<SensorType>(it->second.lock()); in makeSensor()
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_read_sensor_action.hpp69 explicit PMBusReadSensorAction(SensorType type, uint8_t command, in PMBusReadSensorAction()
137 SensorType getType() const in getType()
170 const SensorType type{};
/openbmc/phosphor-webui/app/server-health/controllers/
H A Dsyslog-controller.js49 if ($scope.filterTypes.indexOf(log.SensorType) < 0) {
50 $scope.filterTypes.push(log.SensorType);
141 return (($scope.selectedType == log.SensorType));
/openbmc/docs/designs/
H A Dvirtual-sensors.md55 "SensorType" : "temperature"
73 "SensorType" : "temperature"
81 "SensorType" : "fan_tach"
100 SensorType: Unit type of sensors and supported
H A Dguard-on-bmc.md205 "SensorType" : "Processor",
/openbmc/phosphor-mrw-tools/
H A Dgen_ipmi_sel.pl74 next if ($sensorType ne $metaDataConfig->{$entityID}->{SensorType});
/openbmc/bmcweb/
H A DRedfish.md907 - SensorType