Lines Matching full:sensor

18 extern ipmi::sensor::SensorCacheMap sensorCacheMap;
28 namespace sensor namespace
45 * @param[in] cmdData - Input sensor data
59 /** @brief Populate sensor name from the D-Bus property associated with the
60 * sensor. In the example entry from the yaml, the name of the D-bus
61 * property "AttemptsLeft" is the sensor name.
78 * @param[in] sensorInfo - Dbus info related to sensor.
80 * @return On success return the sensor name for the sensor.
87 /** @brief Populate sensor name from the D-Bus object associated with the
88 * sensor. If the object path is /system/chassis/motherboard/dimm0 then
89 * the leaf dimm0 is considered as the sensor name.
91 * @param[in] sensorInfo - Dbus info related to sensor.
93 * @return On success return the sensor name for the sensor.
102 /** @brief Populate sensor name from the D-Bus object associated with the
103 * sensor and the property.
106 * joined to Fan0_Present as the sensor name.
108 * @param[in] sensorInfo - Dbus info related to sensor.
110 * @return On success return the sensor name for the sensor.
117 /** @brief Populate sensor name from the D-Bus object associated with the
118 * sensor. If the object path is /system/chassis/motherboard/cpu0/core0
119 * then the sensor name is cpu0_core0. The leaf and the parent is put
120 * together to get the sensor name.
122 * @param[in] sensorInfo - Dbus info related to sensor.
124 * @return On success return the sensor name for the sensor.
129 * @brief Helper function to map the dbus info to sensor's assertion status
130 * for the get sensor reading command.
132 * @param[in] sensorInfo - Dbus info related to sensor.
136 * @return Response for get sensor reading command.
144 * @brief Map the Dbus info to sensor's assertion status in the Get sensor
147 * @param[in] sensorInfo - Dbus info related to sensor.
149 * @return Response for get sensor reading command.
154 * @brief Maps the Dbus info to the reading field in the Get sensor reading
157 * @param[in] sensorInfo - Dbus info related to sensor.
159 * @return Response for get sensor reading command.
165 * serves as the sensor value.
167 * @tparam T - type of the dbus property related to sensor.
168 * @param[in] sensorInfo - Dbus info related to sensor.
170 * @return Response for get sensor reading command.
193 /** @brief Map the Dbus info to the reading field in the Get sensor reading
196 * @tparam T - type of the dbus property related to sensor.
197 * @param[in] sensorInfo - Dbus info related to sensor.
199 * @return Response for get sensor reading command.
216 "xyz.openbmc_project.Sensor.Value") in readingData()
230 // check is only valid for Sensor.Value read for hwmonio in readingData()
251 // if sensorUnits1 [7:6] = 10b, sensor is signed in readingData()
277 "xyz.openbmc_project.Sensor.Threshold.Critical", in readingData()
289 "xyz.openbmc_project.Sensor.Threshold.Critical", in readingData()
301 "xyz.openbmc_project.Sensor.Threshold.Warning", in readingData()
313 "xyz.openbmc_project.Sensor.Threshold.Warning", "WarningAlarmLow")); in readingData()
331 * @brief Map the Dbus info to sensor's assertion status in the Get sensor
334 * @param[in] id - The sensor id
335 * @param[in] sensorInfo - Dbus info related to sensor.
338 * @return Response for get sensor reading command.
344 * @brief Maps the Dbus info to the reading field in the Get sensor reading
347 * @param[in] id - The sensor id
348 * @param[in] sensorInfo - Dbus info related to sensor.
351 * @return Response for get sensor reading command.
358 * serves as the sensor value.
360 * @tparam T - type of the dbus property related to sensor.
361 * @param[in] id - The sensor id
362 * @param[in] sensorInfo - Dbus info related to sensor.
365 * @return Response for get sensor reading command.
392 /** @brief Get sensor reading from the dbus message from match
394 * @tparam T - type of the dbus property related to sensor.
395 * @param[in] id - The sensor id
396 * @param[in] sensorInfo - Dbus info related to sensor.
399 * @return Response for get sensor reading command.
443 // if sensorUnits1 [7:6] = 10b, sensor is signed in readingData()
488 * @param[in] sensorPath - Path of the sensor
490 * @param[in] sensorInterface - DBus interface of sensor
498 /** @brief Update d-bus based on assertion type sensor data
499 * @param[in] cmdData - input sensor data
500 * @param[in] sensorInfo - sensor d-bus info
507 * @tparam T - type of d-bus property mapping this sensor
508 * @param[in] cmdData - input sensor data
509 * @param[in] sensorInfo - sensor d-bus info
533 * @param[in] cmdData - input sensor data
534 * @param[in] sensorInfo - sensor d-bus info
562 /** @brief Update d-bus based on eventdata type sensor data
563 * @param[in] cmdData - input sensor data
564 * @param[in] sensorInfo - sensor d-bus info
570 /** @brief Update d-bus based on eventdata1 type sensor data
571 * @param[in] cmdData - input sensor data
572 * @param[in] sensorInfo - sensor d-bus info
581 /** @brief Update d-bus based on eventdata2 type sensor data
582 * @param[in] cmdData - input sensor data
583 * @param[in] sensorInfo - sensor d-bus info
592 /** @brief Update d-bus based on eventdata3 type sensor data
593 * @param[in] cmdData - input sensor data
594 * @param[in] sensorInfo - sensor d-bus info
610 * @param[in] sensorPath - Path of the sensor
612 * @param[in] sensorInterface - DBus interface of sensor
620 /** @brief Update d-bus based on assertion type sensor data
621 * @param[in] interfaceMap - sensor interface
622 * @param[in] cmdData - input sensor data
623 * @param[in] sensorInfo - sensor d-bus info
640 * @brief Map the Dbus info to sensor's assertion status in the Get sensor
643 * @param[in] sensorInfo - Dbus info related to sensor.
645 * @return Response for get sensor reading command.
652 * @brief Map the Dbus info to sensor's assertion status in the Get sensor
655 * @param[in] id - The sensor id
656 * @param[in] sensorInfo - Dbus info related to sensor.
659 * @return Response for get sensor reading command.
669 } // namespace sensor