| /openbmc/witherspoon-pfault-analysis/power-supply/ |
| H A D | power_supply.cpp | 75 Device(name, inst), monitorPath(objpath), pmbusIntf(objpath), in PowerSupply() 79 pmbusIntf.findHwmonDir(); in PowerSupply() 97 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); 130 if (pmbusIntf.exists(cmd, type)) in captureCmd() 134 auto val = pmbusIntf.read(cmd, type); in captureCmd() 156 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); in analyze() 382 auto status0Vout = pmbusIntf.insertPageNum(STATUS_VOUT, 0); in checkPGOrUnitOffFault() 422 auto status0Vout = pmbusIntf.insertPageNum(STATUS_VOUT, 0); in checkCurrentOutOverCurrentFault() 463 auto status0Vout = pmbusIntf.insertPageNum(STATUS_VOUT, 0); in checkOutputOvervoltageFault() 529 statusTemperature = pmbusIntf.read(STATUS_TEMPERATURE, Type::Debug); in checkTemperatureFault() [all …]
|
| H A D | power_supply.hpp | 110 witherspoon::pmbus::PMBus pmbusIntf; member in witherspoon::power::psu::PowerSupply
|
| /openbmc/phosphor-power/phosphor-power-supply/ |
| H A D | power_supply.cpp | 59 pmbusIntf = phosphor::pmbus::createPMBus(i2cbus, addrStr); in PowerSupply() 209 pmbusIntf->findHwmonDir(); in updatePresenceGPIO() 584 statusWord = pmbusIntf->read(STATUS_WORD, Type::Debug, in analyze() 591 statusInput = pmbusIntf->read(STATUS_INPUT, Type::Debug); in analyze() 595 statusMFR = pmbusIntf->read(STATUS_MFR, Type::Debug); in analyze() 597 statusCML = pmbusIntf->read(STATUS_CML, Type::Debug); in analyze() 598 auto status0Vout = pmbusIntf->insertPageNum(STATUS_VOUT, 0); in analyze() 599 statusVout = pmbusIntf->read(status0Vout, Type::Debug); in analyze() 600 statusIout = pmbusIntf->read(STATUS_IOUT, Type::Debug); in analyze() 601 statusFans12 = pmbusIntf->read(STATUS_FANS_1_2, Type::Debug); in analyze() [all …]
|
| H A D | new_power_supply.cpp | 60 pmbusIntf = phosphor::pmbus::createPMBus(i2cbus, addrStr); in PowerSupply() 224 pmbusIntf->findHwmonDir(); in updatePresenceGPIO() 599 statusWord = pmbusIntf->read(STATUS_WORD, Type::Debug, in analyze() 606 statusInput = pmbusIntf->read(STATUS_INPUT, Type::Debug); in analyze() 610 statusMFR = pmbusIntf->read(STATUS_MFR, Type::Debug); in analyze() 612 statusCML = pmbusIntf->read(STATUS_CML, Type::Debug); in analyze() 613 auto status0Vout = pmbusIntf->insertPageNum(STATUS_VOUT, 0); in analyze() 614 statusVout = pmbusIntf->read(status0Vout, Type::Debug); in analyze() 615 statusIout = pmbusIntf->read(STATUS_IOUT, Type::Debug); in analyze() 616 statusFans12 = pmbusIntf->read(STATUS_FANS_1_2, Type::Debug); in analyze() [all …]
|
| H A D | power_supply.hpp | 100 return *pmbusIntf; in getPMBus() 422 return pmbusIntf->path(); in getDevicePath() 866 std::unique_ptr<phosphor::pmbus::PMBusBase> pmbusIntf = nullptr; member in phosphor::power::psu::PowerSupply
|
| H A D | new_power_supply.hpp | 116 return *pmbusIntf; in getPMBus() 438 return pmbusIntf->path(); in getDevicePath() 882 std::unique_ptr<phosphor::pmbus::PMBusBase> pmbusIntf = nullptr; member in phosphor::power::psu::PowerSupply
|
| /openbmc/phosphor-power/power-supply/ |
| H A D | power_supply.cpp | 52 Device(name, inst), monitorPath(objpath), pmbusIntf(objpath), in PowerSupply() 56 pmbusIntf.findHwmonDir(); in PowerSupply() 76 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); 124 if (pmbusIntf.exists(cmd, type)) in captureCmd() 128 auto val = pmbusIntf.read(cmd, type); in captureCmd() 149 statusWord = pmbusIntf.read(STATUS_WORD, Type::Debug); in analyze() 351 auto status0Vout = pmbusIntf.insertPageNum(STATUS_VOUT, 0); in checkPGOrUnitOffFault() 391 auto status0Vout = pmbusIntf.insertPageNum(STATUS_VOUT, 0); in checkCurrentOutOverCurrentFault() 432 auto status0Vout = pmbusIntf.insertPageNum(STATUS_VOUT, 0); in checkOutputOvervoltageFault() 498 statusTemperature = pmbusIntf.read(STATUS_TEMPERATURE, Type::Debug); in checkTemperatureFault() [all …]
|
| H A D | power_supply.hpp | 110 phosphor::pmbus::PMBus pmbusIntf; member in phosphor::power::psu::PowerSupply
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | utils.hpp | 75 std::string readVPDValue(phosphor::pmbus::PMBusBase& pmbusIntf,
|
| H A D | utils.cpp | 125 std::string readVPDValue(phosphor::pmbus::PMBusBase& pmbusIntf, in readVPDValue() argument 136 vpdValue = pmbusIntf.readString(vpdName, type); in readVPDValue()
|