Home
last modified time | relevance | path

Searched refs:ActionEnvironment (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Daction_environment.hpp50 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 Dpmbus_write_vout_command_action.hpp129 virtual bool execute(ActionEnvironment& environment) override;
195 int8_t getExponentValue(ActionEnvironment& environment,
210 double getVoltsValue(ActionEnvironment& environment);
223 void verifyWrite(ActionEnvironment& environment,
H A Dpmbus_write_vout_command_action.cpp30 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 Di2c_capture_bytes_action.hpp83 virtual bool execute(ActionEnvironment& environment) override;
120 std::string getErrorDataKey(ActionEnvironment& environment) const;
H A Dpmbus_read_sensor_action.hpp100 virtual bool execute(ActionEnvironment& environment) override;
164 int8_t getExponentValue(ActionEnvironment& environment,
H A Di2c_capture_bytes_action.cpp29 bool I2CCaptureBytesAction::execute(ActionEnvironment& environment) in execute()
64 I2CCaptureBytesAction::getErrorDataKey(ActionEnvironment& environment) const in getErrorDataKey()
H A Dpmbus_read_sensor_action.cpp31 bool PMBusReadSensorAction::execute(ActionEnvironment& environment) in execute()
97 int8_t PMBusReadSensorAction::getExponentValue(ActionEnvironment& environment, in getExponentValue()
H A Daction.hpp58 virtual bool execute(ActionEnvironment& environment) = 0;
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Daction_environment_tests.cpp74 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 Di2c_action_tests.cpp43 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 Di2c_compare_byte_action_tests.cpp81 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 Drun_rule_action_tests.cpp52 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 Di2c_write_bit_action_tests.cpp112 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 Di2c_capture_bytes_action_tests.cpp95 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 Di2c_write_byte_action_tests.cpp83 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 Di2c_compare_bytes_action_tests.cpp172 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 Dcompare_presence_action_tests.cpp74 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 Dpmbus_write_vout_command_action_tests.cpp135 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 Dpmbus_read_sensor_action_tests.cpp113 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 Di2c_compare_bit_action_tests.cpp107 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 Di2c_write_bytes_action_tests.cpp175 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 Dlog_phase_fault_action_tests.cpp38 ActionEnvironment env{idMap, "", services}; in TEST()
52 ActionEnvironment env{idMap, "", services}; in TEST()
H A Dcompare_vpd_action_tests.cpp83 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 Dphase_fault_detection.cpp56 ActionEnvironment environment{system.getIDMap(), effectiveDeviceID, in execute()
88 ActionEnvironment& environment) in checkForPhaseFault()
129 ActionEnvironment& environment) in logPhaseFault()
H A Dphase_fault_detection.hpp153 Device& regulator, ActionEnvironment& environment);
164 Device& regulator, ActionEnvironment& environment);

123