/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | action_environment.hpp | 50 class ActionEnvironment class 54 ActionEnvironment() = delete; 55 ActionEnvironment(const ActionEnvironment&) = delete; 56 ActionEnvironment(ActionEnvironment&&) = delete; 57 ActionEnvironment& operator=(const ActionEnvironment&) = delete; 58 ActionEnvironment& operator=(ActionEnvironment&&) = delete; 59 ~ActionEnvironment() = default; 73 explicit ActionEnvironment(const IDMap& idMap, const std::string& deviceID, in ActionEnvironment() function in phosphor::power::regulators::ActionEnvironment
|
H A D | pmbus_write_vout_command_action.hpp | 129 virtual bool execute(ActionEnvironment& environment) override; 195 int8_t getExponentValue(ActionEnvironment& environment, 210 double getVoltsValue(ActionEnvironment& environment); 223 void verifyWrite(ActionEnvironment& environment,
|
H A D | pmbus_write_vout_command_action.cpp | 30 bool PMBusWriteVoutCommandAction::execute(ActionEnvironment& environment) in execute() 96 ActionEnvironment& environment, i2c::I2CInterface& interface) in getExponentValue() 126 PMBusWriteVoutCommandAction::getVoltsValue(ActionEnvironment& environment) in getVoltsValue() 148 void PMBusWriteVoutCommandAction::verifyWrite(ActionEnvironment& environment, in verifyWrite()
|
H A D | i2c_capture_bytes_action.hpp | 83 virtual bool execute(ActionEnvironment& environment) override; 120 std::string getErrorDataKey(ActionEnvironment& environment) const;
|
H A D | pmbus_read_sensor_action.hpp | 100 virtual bool execute(ActionEnvironment& environment) override; 164 int8_t getExponentValue(ActionEnvironment& environment,
|
H A D | i2c_capture_bytes_action.cpp | 29 bool I2CCaptureBytesAction::execute(ActionEnvironment& environment) in execute() 64 I2CCaptureBytesAction::getErrorDataKey(ActionEnvironment& environment) const in getErrorDataKey()
|
H A D | pmbus_read_sensor_action.cpp | 31 bool PMBusReadSensorAction::execute(ActionEnvironment& environment) in execute() 97 int8_t PMBusReadSensorAction::getExponentValue(ActionEnvironment& environment, in getExponentValue()
|
H A D | action.hpp | 58 virtual bool execute(ActionEnvironment& environment) = 0;
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | action_environment_tests.cpp | 74 ActionEnvironment env{idMap, "", services}; in TEST() 88 ActionEnvironment env{idMap, "", services}; in TEST() 112 ActionEnvironment env{idMap, "", services}; in TEST() 129 ActionEnvironment env{idMap, "", services}; in TEST() 194 ActionEnvironment env{idMap, "", services}; in TEST() 204 ActionEnvironment env{idMap, "", services}; in TEST() 226 ActionEnvironment env{idMap, "", services}; in TEST() 261 ActionEnvironment env{idMap, "", services}; in TEST() 277 ActionEnvironment env{idMap, "", services}; in TEST() 285 ActionEnvironment env{idMap, "", services}; in TEST() [all …]
|
H A D | i2c_action_tests.cpp | 43 virtual bool execute(ActionEnvironment& /* environment */) override in execute() argument 76 ActionEnvironment env{idMap, "reg1", services}; in TEST() 104 ActionEnvironment env{idMap, "reg1", services}; in TEST() 121 ActionEnvironment env{idMap, "reg1", services}; in TEST() 158 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | i2c_compare_byte_action_tests.cpp | 81 ActionEnvironment env{idMap, "reg1", services}; in TEST() 113 ActionEnvironment env{idMap, "reg1", services}; in TEST() 142 ActionEnvironment env{idMap, "reg1", services}; in TEST() 174 ActionEnvironment env{idMap, "reg1", services}; in TEST() 190 ActionEnvironment env{idMap, "reg1", services}; in TEST() 225 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | run_rule_action_tests.cpp | 52 ActionEnvironment env{idMap, "", services}; in TEST() 83 ActionEnvironment env{idMap, "", services}; in TEST() 107 ActionEnvironment env{idMap, "", services}; in TEST() 145 ActionEnvironment env{idMap, "", services}; in TEST() 178 ActionEnvironment env{idMap, "", services}; in TEST()
|
H A D | i2c_write_bit_action_tests.cpp | 112 ActionEnvironment env{idMap, "reg1", services}; in TEST() 147 ActionEnvironment env{idMap, "reg1", services}; in TEST() 166 ActionEnvironment env{idMap, "reg1", services}; in TEST() 202 ActionEnvironment env{idMap, "reg1", services}; in TEST() 259 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | i2c_capture_bytes_action_tests.cpp | 95 ActionEnvironment env{idMap, "vdd1", services}; in TEST() 129 ActionEnvironment env{idMap, "vdd1", services}; in TEST() 170 ActionEnvironment env{idMap, "vdd1", services}; in TEST() 195 ActionEnvironment env{idMap, "vdd1", services}; in TEST() 231 ActionEnvironment env{idMap, "vdd1", services}; in TEST()
|
H A D | i2c_write_byte_action_tests.cpp | 83 ActionEnvironment env{idMap, "reg1", services}; in TEST() 115 ActionEnvironment env{idMap, "reg1", services}; in TEST() 138 ActionEnvironment env{idMap, "reg1", services}; in TEST() 174 ActionEnvironment env{idMap, "reg1", services}; in TEST() 228 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | i2c_compare_bytes_action_tests.cpp | 172 ActionEnvironment env{idMap, "reg1", services}; in TEST() 208 ActionEnvironment env{idMap, "reg1", services}; in TEST() 240 ActionEnvironment env{idMap, "reg1", services}; in TEST() 276 ActionEnvironment env{idMap, "reg1", services}; in TEST() 308 ActionEnvironment env{idMap, "reg1", services}; in TEST() 329 ActionEnvironment env{idMap, "reg1", services}; in TEST() 366 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | compare_presence_action_tests.cpp | 74 ActionEnvironment env{idMap, "reg1", services}; in TEST() 120 ActionEnvironment env{idMap, "reg1", services}; in TEST() 168 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | pmbus_write_vout_command_action_tests.cpp | 135 ActionEnvironment env{idMap, "reg1", services}; in TEST() 179 ActionEnvironment env{idMap, "reg1", services}; in TEST() 202 ActionEnvironment env{idMap, "reg1", services}; in TEST() 231 ActionEnvironment env{idMap, "reg1", services}; in TEST() 274 ActionEnvironment env{idMap, "reg1", services}; in TEST() 334 ActionEnvironment env{idMap, "reg1", services}; in TEST() 399 ActionEnvironment env{idMap, "reg1", services}; in TEST() 464 ActionEnvironment env{idMap, "reg1", services}; in TEST() 528 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | pmbus_read_sensor_action_tests.cpp | 113 ActionEnvironment env{idMap, "reg1", services}; in TEST() 160 ActionEnvironment env{idMap, "reg1", services}; in TEST() 210 ActionEnvironment env{idMap, "reg1", services}; in TEST() 231 ActionEnvironment env{idMap, "reg1", services}; in TEST() 274 ActionEnvironment env{idMap, "reg1", services}; in TEST() 338 ActionEnvironment env{idMap, "reg1", services}; in TEST() 397 ActionEnvironment env{idMap, "reg1", services}; in TEST() 468 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | i2c_compare_bit_action_tests.cpp | 107 ActionEnvironment env{idMap, "reg1", services}; in TEST() 156 ActionEnvironment env{idMap, "reg1", services}; in TEST() 191 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | i2c_write_bytes_action_tests.cpp | 175 ActionEnvironment env{idMap, "reg1", services}; in TEST() 211 ActionEnvironment env{idMap, "reg1", services}; in TEST() 256 ActionEnvironment env{idMap, "reg1", services}; in TEST() 281 ActionEnvironment env{idMap, "reg1", services}; in TEST() 322 ActionEnvironment env{idMap, "reg1", services}; in TEST() 383 ActionEnvironment env{idMap, "reg1", services}; in TEST()
|
H A D | log_phase_fault_action_tests.cpp | 38 ActionEnvironment env{idMap, "", services}; in TEST() 52 ActionEnvironment env{idMap, "", services}; in TEST()
|
H A D | compare_vpd_action_tests.cpp | 83 ActionEnvironment environment{idMap, "", services}; in TEST() 120 ActionEnvironment environment{idMap, "", services}; in TEST() 150 ActionEnvironment environment{idMap, "", services}; in TEST()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | phase_fault_detection.cpp | 56 ActionEnvironment environment{system.getIDMap(), effectiveDeviceID, in execute() 88 ActionEnvironment& environment) in checkForPhaseFault() 129 ActionEnvironment& environment) in logPhaseFault()
|
H A D | phase_fault_detection.hpp | 153 Device& regulator, ActionEnvironment& environment); 164 Device& regulator, ActionEnvironment& environment);
|