Lines Matching +full:phosphor +full:- +full:fan +full:- +full:presence
4 #include "fan.hpp"
6 namespace phosphor namespace
8 namespace fan namespace
10 namespace presence namespace
22 * A fan can have multiple ways to detect whether or not it is present.
24 * inputs into a single yes or no the fan is present.
38 * @param[in] fan - The fan associated with this policy.
39 * @param[in] eeprom - EEPROM device instance
41 explicit RedundancyPolicy(const Fan& f, in RedundancyPolicy()
43 fan(f), eepromDevice(std::move(eeprom)) in RedundancyPolicy()
49 * Typically invoked by presence sensors to signify
50 * a change of presence. Implementations should update
53 * @param[in] present - The new state of the sensor.
54 * @param[in] sensor - The sensor that changed state.
62 * associated with the fan.
67 /** @brief Fan name and inventory path. */
68 const Fan& fan; member in phosphor::fan::presence::RedundancyPolicy
71 * @brief Handles binding the EEPROM driver on fan plug
86 * @tparam T - The type to associate with a redundancy policy.
87 * @tparam Policy - An array type where the policy is stored.
103 * @param[in] index - The array index in Policy.
104 * @tparam Args - Forwarded to wrapped type constructor.
123 } // namespace presence
124 } // namespace fan
125 } // namespace phosphor