Home
last modified time | relevance | path

Searched full:rails (Results 1 – 25 of 157) sorted by relevance

1234567

/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Dstandard_device_tests.cpp64 std::vector<std::unique_ptr<Rail>> rails) : in StandardDeviceImpl() argument
65 StandardDevice(name, std::move(rails)) in StandardDeviceImpl()
147 // Empty vector of rails in TEST()
149 std::vector<std::unique_ptr<Rail>> rails{}; in TEST() local
150 StandardDeviceImpl device{"xyz_pseq", std::move(rails)}; in TEST()
156 // Non-empty vector of rails in TEST()
158 std::vector<std::unique_ptr<Rail>> rails{}; in TEST() local
159 rails.emplace_back(createRailGPIO("PSU", true, 3)); in TEST()
160 rails.emplace_back(createRailOutputVoltage("VDD", false, 5)); in TEST()
161 rails.emplace_back(createRailStatusVout("VIO", false, 7)); in TEST()
[all …]
H A Dpmbus_driver_device_tests.cpp115 std::vector<std::unique_ptr<Rail>> rails; in TEST_F() local
116 rails.emplace_back(createRail("VDD", 5)); in TEST_F()
117 rails.emplace_back(createRail("VIO", 7)); in TEST_F()
120 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F()
139 std::vector<std::unique_ptr<Rail>> rails; in TEST_F() local
140 rails.emplace_back(createRail("VDD", 5)); in TEST_F()
141 rails.emplace_back(createRail("VIO", 7)); in TEST_F()
146 PMBusDriverDevice device{name, std::move(rails), services, bus, in TEST_F()
166 std::vector<std::unique_ptr<Rail>> rails; in TEST_F() local
169 PMBusDriverDevice device{name, std::move(rails), services, bus, address}; in TEST_F()
[all …]
H A Ducd90x_device_tests.cpp68 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
69 rails.emplace_back(createRail("VDD", 5)); in TEST()
70 rails.emplace_back(createRail("VIO", 7)); in TEST()
73 UCD90xDevice device{name, std::move(rails), services, bus, address}; in TEST()
93 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
96 UCD90xDevice device{name, std::move(rails), services, bus, address}; in TEST()
112 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
115 UCD90xDevice device{name, std::move(rails), services, bus, address}; in TEST()
168 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
169 rails.emplace_back(createRail("VDD", 2)); in TEST()
[all …]
H A Ducd90160_device_tests.cpp65 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
66 rails.emplace_back(createRail("VDD", 5)); in TEST()
67 rails.emplace_back(createRail("VIO", 7)); in TEST()
70 UCD90160Device device{std::move(rails), services, bus, address}; in TEST()
151 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
152 rails.emplace_back(createRail("VDD", 2)); in TEST()
155 UCD90160Device device{std::move(rails), services, bus, address}; in TEST()
248 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
249 rails.emplace_back(createRail("VDD", 2)); in TEST()
252 UCD90160Device device{std::move(rails), services, bus, address}; in TEST()
H A Dconfig_file_parser_tests.cpp250 "rails": [ in TEST()
269 std::vector<std::unique_ptr<Rail>> rails = parse(pathName); in TEST() local
271 EXPECT_EQ(rails.size(), 2); in TEST()
272 EXPECT_EQ(rails[0]->getName(), "VDD_CPU0"); in TEST()
273 EXPECT_EQ(rails[1]->getName(), "VCS_CPU1"); in TEST()
286 "rails": [ in TEST()
738 std::vector<std::unique_ptr<Rail>> rails = parseRailArray(element); in TEST() local
739 EXPECT_EQ(rails.size(), 0); in TEST()
750 std::vector<std::unique_ptr<Rail>> rails = parseRailArray(element); in TEST() local
751 EXPECT_EQ(rails.size(), 2); in TEST()
[all …]
H A Ducd90320_device_tests.cpp65 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
66 rails.emplace_back(createRail("VDD", 5)); in TEST()
67 rails.emplace_back(createRail("VIO", 7)); in TEST()
70 UCD90320Device device{std::move(rails), services, bus, address}; in TEST()
143 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
144 rails.emplace_back(createRail("VDD", 2)); in TEST()
147 UCD90320Device device{std::move(rails), services, bus, address}; in TEST()
231 std::vector<std::unique_ptr<Rail>> rails; in TEST() local
232 rails.emplace_back(createRail("VDD", 2)); in TEST()
235 UCD90320Device device{std::move(rails), services, bus, address}; in TEST()
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dstandard_device.hpp56 * @param rails voltage rails that are enabled and monitored by this device
59 std::vector<std::unique_ptr<Rail>> rails) : in StandardDevice() argument
60 name{name}, rails{std::move(rails)} in StandardDevice()
72 return rails; in getRails()
112 * Checks whether a pgood fault has occurred on one of the rails being
119 * of the rails.
176 * Voltage rails that are enabled and monitored by this device.
178 std::vector<std::unique_ptr<Rail>> rails{}; member in phosphor::power::sequencer::StandardDevice
H A Dconfig_file_parser.cpp197 std::vector<std::unique_ptr<Rail>> rails; in parseRailArray() local
200 rails.emplace_back(parseRail(railElement)); in parseRailArray()
202 return rails; in parseRailArray()
210 // Required rails property in parseRoot()
211 const json& railsElement = getRequiredProperty(element, "rails"); in parseRoot()
212 std::vector<std::unique_ptr<Rail>> rails = parseRailArray(railsElement); in parseRoot() local
218 return rails; in parseRoot()
H A Dstandard_device.cpp94 // shut off related rails. Ideally the device will only set fault bits in in findRailWithPgoodFault()
96 // rails will likely appear to be faulted by the other methods. in findRailWithPgoodFault()
97 for (std::unique_ptr<Rail>& rail : rails) in findRailWithPgoodFault()
108 // the power sequencer device may stop powering on rails. As a result, all in findRailWithPgoodFault()
109 // rails after the faulted one in the sequence may also be powered off. in findRailWithPgoodFault()
110 for (std::unique_ptr<Rail>& rail : rails) in findRailWithPgoodFault()
H A Ducd90160_device.hpp51 * @param rails Voltage rails that are enabled and monitored by this device
56 explicit UCD90160Device(std::vector<std::unique_ptr<Rail>> rails, in UCD90160Device() argument
58 UCD90xDevice(deviceName, std::move(rails), services, bus, address) in UCD90160Device()
H A Ducd90320_device.hpp51 * @param rails Voltage rails that are enabled and monitored by this device
56 explicit UCD90320Device(std::vector<std::unique_ptr<Rail>> rails, in UCD90320Device() argument
58 UCD90xDevice(deviceName, std::move(rails), services, bus, address) in UCD90320Device()
H A Ducd90x_device.hpp54 * @param rails Voltage rails that are enabled and monitored by this device
60 std::vector<std::unique_ptr<Rail>> rails, in UCD90xDevice() argument
62 PMBusDriverDevice(name, std::move(rails), services, bus, address, in UCD90xDevice()
H A Dpower_sequencer_device.hpp33 * - Enables (turns on) the voltage rails in the proper sequence
55 * Returns the voltage rails that are enabled and monitored by this device.
57 * @return voltage rails
133 * Checks whether a pgood fault has occurred on one of the rails being
141 * of the rails.
H A Dpower_control.hpp117 * Power sequencer device that enables and monitors the voltage rails.
251 * @param rails Rail objects within the config file
255 std::vector<std::unique_ptr<Rail>>& rails);
262 * @param rails Voltage rails that are enabled and monitored by the device
264 void createDevice(std::vector<std::unique_ptr<Rail>> rails);
H A Dpower_control.cpp339 std::vector<std::unique_ptr<Rail>> rails; in loadConfigFileAndCreateDevice() local
340 if (parseConfigFile(configFile, rails)) in loadConfigFileAndCreateDevice()
343 createDevice(std::move(rails)); in loadConfigFileAndCreateDevice()
374 std::vector<std::unique_ptr<Rail>>& rails) in parseConfigFile() argument
380 rails = config_file_parser::parse(configFile); in parseConfigFile()
391 void PowerControl::createDevice(std::vector<std::unique_ptr<Rail>> rails) in createDevice() argument
401 std::move(rails), services, deviceProperties->bus, in createDevice()
407 std::move(rails), services, deviceProperties->bus, in createDevice()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddevice.hpp65 * @param rails voltage rails produced by this device, if any
73 std::vector<std::unique_ptr<Rail>> rails = in Device() argument
80 rails{std::move(rails)}
123 * Also configures the voltage rails produced by this device, if any.
215 * Returns the voltage rails produced by this device, if any.
217 * @return voltage rails
221 return rails; in getRails()
254 * Monitors the sensors for the voltage rails produced by this device, if
308 * Voltage rails produced by this device, if any. Vector is empty if no
309 * voltage rails are defined for this device.
[all …]
H A Ddevice.cpp34 // Add rails to the map in addToIDMap()
35 for (std::unique_ptr<Rail>& rail : rails) in addToIDMap()
60 for (std::unique_ptr<Rail>& rail : rails) in clearErrorHistory()
99 // Configure rails in configure()
100 for (std::unique_ptr<Rail>& rail : rails) in configure()
128 for (std::unique_ptr<Rail>& rail : rails) in monitorSensors()
/openbmc/phosphor-power/phosphor-power-sequencer/docs/config_file/
H A Dconfig_file.md11 | rails | yes | array of [rails](rail.md) | One or more voltage rails enabled or monitored by …
17 "rails": [
/openbmc/phosphor-power/phosphor-regulators/test/
H A Ddevice_tests.cpp140 std::vector<std::unique_ptr<Rail>> rails{}; in TEST_F() local
141 rails.push_back(std::make_unique<Rail>("vdd0")); in TEST_F()
142 rails.push_back(std::make_unique<Rail>("vdd1")); in TEST_F()
152 std::move(rails)}; in TEST_F()
175 std::vector<std::unique_ptr<Rail>> rails{}; in TEST_F() local
176 rails.push_back(std::make_unique<Rail>("vdd0")); in TEST_F()
177 rails.push_back(std::make_unique<Rail>("vdd1")); in TEST_F()
187 std::move(rails)}; in TEST_F()
197 // Verify all Rails are in the IDMap in TEST_F()
275 std::vector<std::unique_ptr<Rail>> rails{}; in TEST_F() local
[all …]
H A Drail_tests.cpp116 std::vector<std::unique_ptr<Rail>> rails{}; in TEST() local
117 rails.emplace_back(std::move(rail)); in TEST()
123 std::move(rails)); in TEST()
207 std::vector<std::unique_ptr<Rail>> rails{}; in TEST() local
208 rails.emplace_back(std::move(rail)); in TEST()
214 std::move(rails)); in TEST()
263 std::vector<std::unique_ptr<Rail>> rails{}; in TEST() local
264 rails.emplace_back(std::move(rail)); in TEST()
270 std::move(rails)); in TEST()
344 std::vector<std::unique_ptr<Rail>> rails{}; in TEST() local
[all …]
H A Dtest_utils.hpp61 // Create Rails (if any)
62 std::vector<std::unique_ptr<Rail>> rails{}; local
65 rails.emplace_back(std::make_unique<Rail>(railID));
79 std::move(phaseFaultDetection), std::move(rails));
/openbmc/phosphor-power/phosphor-power-sequencer/docs/
H A DREADME.md21 device, voltage rails, GPIOs, and fault checks to perform.
25 A power sequencer device enables (turns on) the voltage rails in the correct
44 - The power sequencer device powers on all the voltage rails in the correct
46 - When all rails have been successfully powered on, the power sequencer device
60 - The power sequencer device powers off all the voltage rails in the correct
62 - When all rails have been successfully powered off, the power sequencer device
72 - The power sequencer device is powering on all voltage rails in order, and
73 one of the rails does not turn on.
105 configuration file defines the voltage rails in the system and how they should
/openbmc/phosphor-power/phosphor-regulators/config_files/
H A DRainier.json998 "rails": [ array
1019 "rails": [ array
1037 "rails": [ array
1053 "rails": [ array
1076 "rails": [ array
1102 "rails": [ array
1128 "rails": [ array
1151 "rails": [ array
1186 "rails": [ array
1222 "rails": [ array
[all …]
H A DBlueRidge.json998 "rails": [ array
1019 "rails": [ array
1037 "rails": [ array
1053 "rails": [ array
1076 "rails": [ array
1102 "rails": [ array
1128 "rails": [ array
1151 "rails": [ array
1186 "rails": [ array
1222 "rails": [ array
[all …]
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Ddevice.md25 | rails | no | array of [rails](rail.md) | One or mor…
42 "rails": [

1234567