Lines Matching full:occ

29 namespace occ  namespace
46 /** @brief Default time, in seconds, between OCC poll commands */
65 * @brief Builds and manages OCC objects
77 /** @brief Adds OCC pass-through and status objects on the bus
116 // I2C OCC status objects are initialized directly in Manager()
136 * @param[in] instance - the OCC instance id
154 * @brief Set all sensor values of this OCC to NaN.
155 * @param[in] id - Id of the OCC.
159 /** @brief Set all sensor values of this OCC to NaN and non functional.
161 * @param[in] id - Id of the OCC.
170 /** @brief Creates the OCC D-Bus objects.
183 /** @brief Create child OCC objects.
185 * @param[in] occ - the occ name, such as occ0.
187 void createObjects(const std::string& occ);
192 * Similarly, when one of the OCC gets its OccActive property
193 * un-set, then the OCC error detection needs to be stopped on
213 /** @brief OCC pass-through objects */
216 /** @brief OCC Status objects */
219 /** @brief Power cap monitor and occ notification object */
220 std::unique_ptr<open_power::occ::powercap::PowerCap> pcap;
224 std::unique_ptr<open_power::occ::powermode::PowerMode> pmode;
245 /** @brief Flags to indicate if waiting for all of the OCC active sensors to
254 * @brief The timer to be used once the OCC goes active. When it expires,
255 * a POLL command will be sent to the OCC and then timer restarted.
266 /** @brief Instance number of the OCC/processor that triggered the reset */
273 /** @brief Init Status objects for I2C OCC devices
275 * It iterates in /sys/bus/i2c/devices, finds all occ hwmon devices
283 * the OCC is toggled by the host. The caller passes the instance
284 * of the OCC and state of the OCC.
286 * @param[in] instance - instance of the OCC
287 * @param[in] status - true when the OCC goes active and false when the OCC
290 * @return true if setting the state of OCC is successful and false if it
296 * the OCC SAFE MODE is inacted or cleared.
350 * @brief Used when discovering /dev/occ objects to know if
365 determining the OCC status via pldm. Used to prevent excessive
380 /** @brief Check if all of the OCC Active sensors are available and if not
385 /** @brief Create a PEL when the code is not able to obtain the OCC PDRs
397 /** @brief Check if all of the OCC Active sensors are available and if not
405 * OCC. The poll timer will then be restarted.
410 * @brief Finds the OCC devices in /dev
418 * @brief Gets the occ sensor values.
419 * @param[in] occ - pointer to OCCs Status object
421 void getSensorValues(std::unique_ptr<Status>& occ);
424 * @brief Trigger OCC driver to read the temperature sensors.
425 * @param[in] path - path of the OCC sensors.
426 * @param[in] id - Id of the OCC.
431 * @brief Trigger OCC driver to read the extended sensors.
432 * @param[in] path - path of the OCC sensors.
433 * @param[in] id - Id of the OCC.
438 * @brief Trigger OCC driver to read the power sensors.
439 * @param[in] path - path of the OCC sensors.
440 * @param[in] id - Id of the OCC.
444 /** @brief Store the existing OCC sensors on D-BUS */
500 /** @brief Confirm that a single OCC master was found and start presence
506 } // namespace occ