Home
last modified time | relevance | path

Searched refs:rail (Results 1 – 25 of 144) sorted by relevance

123456

/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Drail_tests.cpp63 Rail rail{name, in TEST() local
90 Rail rail{name, in TEST() local
151 Rail rail{name, in TEST() local
174 Rail rail{name, in TEST() local
188 Rail rail{name, in TEST() local
214 Rail rail{name, in TEST() local
227 Rail rail{name, in TEST() local
248 Rail rail{name, in TEST() local
268 Rail rail{name, in TEST() local
288 Rail rail{name, in TEST() local
[all …]
H A Dconfig_file_parser_tests.cpp493 EXPECT_EQ(rail->getName(), "VDD_CPU0"); in TEST()
495 EXPECT_FALSE(rail->getPage().has_value()); in TEST()
496 EXPECT_FALSE(rail->isPowerSupplyRail()); in TEST()
497 EXPECT_FALSE(rail->getCheckStatusVout()); in TEST()
516 EXPECT_EQ(rail->getName(), "12.0VB"); in TEST()
518 EXPECT_EQ(rail->getPresence().value(), in TEST()
520 EXPECT_TRUE(rail->getPage().has_value()); in TEST()
521 EXPECT_EQ(rail->getPage().value(), 11); in TEST()
522 EXPECT_TRUE(rail->isPowerSupplyRail()); in TEST()
523 EXPECT_TRUE(rail->getCheckStatusVout()); in TEST()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Diccsense.c78 if (!iccsense->rail) in nvbios_iccsense_parse()
83 struct pwr_rail_t *rail = &iccsense->rail[i]; in nvbios_iccsense_parse() local
92 rail->mode = 1; in nvbios_iccsense_parse()
94 rail->mode = 0; in nvbios_iccsense_parse()
95 rail->extdev_id = nvbios_rd08(bios, entry + 0x2); in nvbios_iccsense_parse()
99 rail->mode = nvbios_rd08(bios, entry); in nvbios_iccsense_parse()
111 rail->resistor_count = 1; in nvbios_iccsense_parse()
114 rail->resistor_count = 3; in nvbios_iccsense_parse()
117 rail->resistor_count = 0; in nvbios_iccsense_parse()
121 for (r = 0; r < rail->resistor_count; ++r) { in nvbios_iccsense_parse()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
H A Dbase.c70 return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr, in nvkm_iccsense_ina2x9_read()
93 return nvkm_iccsense_poll_lane(rail->sensor->i2c, rail->sensor->addr, in nvkm_iccsense_ina3221_read()
95 2 + (rail->idx * 2), 3, rail->mohm, in nvkm_iccsense_ina3221_read()
119 if (!rail->read) in nvkm_iccsense_read_all()
122 res = rail->read(iccsense, rail); in nvkm_iccsense_read_all()
142 list_del(&rail->head); in nvkm_iccsense_dtor()
143 kfree(rail); in nvkm_iccsense_dtor()
282 rail = kmalloc(sizeof(*rail), GFP_KERNEL); in nvkm_iccsense_oneinit()
283 if (!rail) in nvkm_iccsense_oneinit()
286 rail->read = read; in nvkm_iccsense_oneinit()
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Drail_tests.cpp58 Rail rail{"vdd0"}; in TEST() local
59 EXPECT_EQ(rail.getID(), "vdd0"); in TEST()
108 Rail* railPtr = rail.get(); in TEST()
199 Rail* railPtr = rail.get(); in TEST()
253 std::unique_ptr<Rail> rail = in TEST() local
255 Rail* railPtr = rail.get(); in TEST()
295 Rail rail{"vdd0"}; in TEST() local
319 Rail rail{"vio2"}; in TEST() local
320 EXPECT_EQ(rail.getID(), "vio2"); in TEST()
336 Rail* railPtr = rail.get(); in TEST()
[all …]
H A Dsensor_monitoring_tests.cpp79 std::unique_ptr<Rail> rail = std::make_unique<Rail>( in createParentObjects() local
81 Rail* railPtr = rail.get(); in createParentObjects()
93 rails.emplace_back(std::move(rail)); in createParentObjects()
146 auto [system, chassis, device, i2cInterface, rail] = in TEST()
183 monitoring->execute(services, *system, *chassis, *device, *rail); in TEST()
198 monitoring->execute(services, *system, *chassis, *device, *rail); in TEST()
222 auto [system, chassis, device, i2cInterface, rail] = in TEST()
244 monitoring->execute(services, *system, *chassis, *device, *rail); in TEST()
264 auto [system, chassis, device, i2cInterface, rail] = in TEST()
319 *rail); in TEST()
[all …]
H A Did_map_tests.cpp93 Rail rail{id}; in TEST() local
99 idMap.addRail(rail); in TEST()
106 EXPECT_EQ(&railFound, &rail); in TEST()
224 Rail rail{id}; in TEST() local
225 idMap.addRail(rail); in TEST()
232 EXPECT_EQ(&railFound, &rail); in TEST()
H A Dconfiguration_tests.cpp302 std::unique_ptr<Rail> rail = in TEST() local
304 Rail* railPtr = rail.get(); in TEST()
311 rails.emplace_back(std::move(rail)); in TEST()
373 std::unique_ptr<Rail> rail = in TEST() local
375 Rail* railPtr = rail.get(); in TEST()
382 rails.emplace_back(std::move(rail)); in TEST()
451 std::unique_ptr<Rail> rail = in TEST() local
453 Rail* railPtr = rail.get(); in TEST()
460 rails.emplace_back(std::move(rail)); in TEST()
/openbmc/linux/Documentation/hwmon/
H A Dcorsair-psu.rst51 curr2_input Current on the 12v psu rail
53 curr3_input Current on the 5v psu rail
55 curr4_input Current on the 3.3v psu rail
59 in1_input Voltage of the 12v psu rail
60 in1_crit Voltage max critical value on the 12v psu rail
62 in2_input Voltage of the 5v psu rail
63 in2_crit Voltage max critical value on the 5v psu rail
65 in3_input Voltage of the 3.3v psu rail
69 power2_input Power usage of the 12v psu rail
70 power3_input Power usage of the 5v psu rail
[all …]
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Drail.md1 # rail chapter
5 A voltage rail produced by a regulator.
7 Voltage regulators produce one or more rails. Each rail typically provides a
10 On a PMBus regulator with multiple rails, the current rail is selected using the
11 PAGE command. Subsequent PMBus commands are sent to that PAGE/rail.
17 …ings | One or more comment lines describing this rail. …
18 … yes | string | Unique ID for this rail. Can only contain l…
19 … | Specifies configuration changes that should be applied to this rail. These changes usua…
20 …oring](sensor_monitoring.md) | Specifies how to read the sensors for this rail. …
26 "comments": ["Vdd rail on PAGE 0 of the Vdd/Vio regulator"],
H A Dconfiguration.md5 Configuration changes that should be applied to a device or regulator rail.
9 regulator rail. Other examples include modifying pgood thresholds and
39 "comments": ["Set rail to 1.25V using standard rule"],
/openbmc/phosphor-power/phosphor-power-sequencer/docs/config_file/
H A Drail.md1 # rail chapter
5 A voltage rail that is enabled or monitored by the power sequencer device.
8 specify how to obtain the pgood status of the rail. You can specify more than
14 the rail with the pgood fault. However, all the related rails will likely appear
17 The "compare_voltage_to_limit" method is helpful when a rail fails to power on
22 rail. It is also helpful when a rail fails to power on during the power on
29 … | yes | string | Unique name for the rail. Can only contain l…
30 …onent which must be present in order for the rail to be present. If this property is not specified…
32rail is produced by a power supply. Power supply rails require special error handling. If an error…
33 … the pgood status of the rail by checking the value of the PMBus STATUS_VOUT command. If one of th…
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dstandard_device.cpp43 Rail* rail = in findPgoodFault() local
45 if (rail != nullptr) in findPgoodFault()
51 if (rail->isPowerSupplyRail() && !powerSupplyError.empty()) in findPgoodFault()
97 for (std::unique_ptr<Rail>& rail : rails) in findRailWithPgoodFault()
99 if (rail->hasPgoodFaultStatusVout(*this, services, additionalData)) in findRailWithPgoodFault()
101 return rail.get(); in findRailWithPgoodFault()
110 for (std::unique_ptr<Rail>& rail : rails) in findRailWithPgoodFault()
112 if (rail->hasPgoodFaultGPIO(*this, services, gpioValues, in findRailWithPgoodFault()
114 rail->hasPgoodFaultOutputVoltage(*this, services, additionalData)) in findRailWithPgoodFault()
116 return rail.get(); in findRailWithPgoodFault()
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddevice.cpp35 for (std::unique_ptr<Rail>& rail : rails) in addToIDMap()
37 idMap.addRail(*rail); in addToIDMap()
60 for (std::unique_ptr<Rail>& rail : rails) in clearErrorHistory()
62 rail->clearErrorHistory(); in clearErrorHistory()
100 for (std::unique_ptr<Rail>& rail : rails) in configure()
102 rail->configure(services, system, chassis, *this); in configure()
128 for (std::unique_ptr<Rail>& rail : rails) in monitorSensors()
130 rail->monitorSensors(services, system, chassis, *this); in monitorSensors()
H A Ddbus_sensors.cpp58 if (sensor->getRail() == rail) in endRail()
66 rail.clear(); in endRail()
83 std::string sensorName{rail + '_' + sensors::toString(type)}; in setValue()
96 bus, sensorName, type, value, rail, deviceInventoryPath, in setValue()
109 void DBusSensors::startRail(const std::string& rail, in startRail() argument
114 this->rail = rail; in startRail()
H A Did_map.cpp37 void IDMap::addRail(Rail& rail) in addRail() argument
39 const std::string& id = rail.getID(); in addRail()
45 railMap[id] = &rail; in addRail()
H A Dsensor_monitoring.cpp44 Chassis& chassis, Device& device, Rail& rail) in execute() argument
48 sensors.startRail(rail.getID(), device.getFRU(), in execute()
72 "Unable to monitor sensors for rail " + rail.getID()); in execute()
H A Ddbus_sensor.hpp123 SensorType type, double value, const std::string& rail,
165 return rail; in getRail()
331 std::string rail{}; member in phosphor::power::regulators::DBusSensor
H A Ddbus_sensors.hpp76 virtual void startRail(const std::string& rail,
109 std::string rail{}; member in phosphor::power::regulators::DBusSensors
H A Dconfiguration.cpp40 Chassis& chassis, Device& device, Rail& rail) in execute() argument
42 execute(services, system, chassis, device, rail.getID()); in execute()
/openbmc/linux/drivers/hwmon/
H A Dcorsair-psu.c317 int rail; in corsairpsu_get_criticals() local
319 for (rail = 0; rail < TEMP_COUNT; ++rail) { in corsairpsu_get_criticals()
321 priv->temp_crit_support |= BIT(rail); in corsairpsu_get_criticals()
322 priv->temp_crit[rail] = tmp; in corsairpsu_get_criticals()
326 for (rail = 0; rail < RAIL_COUNT; ++rail) { in corsairpsu_get_criticals()
328 priv->in_crit_support |= BIT(rail); in corsairpsu_get_criticals()
329 priv->in_crit[rail] = tmp; in corsairpsu_get_criticals()
333 priv->in_lcrit_support |= BIT(rail); in corsairpsu_get_criticals()
334 priv->in_lcrit[rail] = tmp; in corsairpsu_get_criticals()
338 priv->curr_crit_support |= BIT(rail); in corsairpsu_get_criticals()
[all …]
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/chassis/vrm-control/
H A Dvrm-control.sh106 rail=$(echo "$param" | cut -d'=' -f 1)
108 echo -n "$rail"
109 case "$rail" in
/openbmc/openbmc/meta-ibm/recipes-phosphor/chassis/vrm-control/
H A Dvrm-control.sh106 rail=$(echo "$param" | cut -d'=' -f 1)
108 echo -n "$rail"
109 case "$rail" in
/openbmc/openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/chassis/
H A Dvcs-control.bb1 SUMMARY = "Zaius VCS rail control"
2 DESCRIPTION = "VCS voltage rail control implementation for Zaius"
/openbmc/phosphor-power/phosphor-power-sequencer/docs/
H A DREADME.md10 cause. Typically this is a voltage rail that shut down due to a fault.
75 - A voltage rail suddenly turns off or stops providing the expected level of
88 It is very helpful to identify which voltage rail caused the pgood fault. That
91 Determining the correct rail requires the following:
97 voltage rail caused the chassis pgood fault. If found, an error is logged
98 against that specific rail.
116 not be able to determine which voltage rail caused a pgood fault.
142 - A voltage rail that is enabled or monitored by the power sequencer device.

123456