| /openbmc/phosphor-power/tools/i2c/ |
| H A D | i2c.cpp | 42 throw I2CException("Failed to get funcs", busStr, devAddr, errno); in getFuncs() 57 throw I2CException("Missing SMBUS_READ_BYTE", busStr, devAddr); in checkReadFuncs() 63 throw I2CException("Missing SMBUS_READ_BYTE_DATA", busStr, in checkReadFuncs() 70 throw I2CException("Missing SMBUS_READ_WORD_DATA", busStr, in checkReadFuncs() 77 throw I2CException("Missing SMBUS_READ_BLOCK_DATA", busStr, in checkReadFuncs() 85 busStr, devAddr); in checkReadFuncs() 103 throw I2CException("Missing SMBUS_WRITE_BYTE", busStr, devAddr); in checkWriteFuncs() 109 throw I2CException("Missing SMBUS_WRITE_BYTE_DATA", busStr, in checkWriteFuncs() 116 throw I2CException("Missing SMBUS_WRITE_WORD_DATA", busStr, in checkWriteFuncs() 123 throw I2CException("Missing SMBUS_WRITE_BLOCK_DATA", busStr, in checkWriteFuncs() [all …]
|
| H A D | i2c.hpp | 28 busStr("/dev/i2c-" + std::to_string(busId)) in I2CDevice() 52 std::string busStr; member in i2c::I2CDevice 65 throw I2CException("Device not open", busStr, devAddr); in checkIsOpen()
|
| /openbmc/phosphor-bmc-code-mgmt/common/include/i2c/ |
| H A D | i2c.hpp | 27 busStr("/dev/i2c-" + std::to_string(bus)), deviceNode(node) in I2C() 58 std::string busStr; member in phosphor::i2c::I2C
|
| /openbmc/dbus-sensors/src/intel-cpu/ |
| H A D | IntelCPUSensorMain.cpp | 419 std::string busStr = std::to_string(config.bus); in exportDevice() local 423 std::string delDevice = devPath + "peci-" + busStr + "/delete_device"; in exportDevice() 424 std::string newDevice = devPath + "peci-" + busStr + "/new_device"; in exportDevice() 425 std::string newClient = devPath + busStr + "-" + addrHexStr + "/driver"; in exportDevice() 437 if (directoryName.starts_with(busStr) && in exportDevice() 441 "PARAMETERS", parameters, "BUS", busStr); in exportDevice() 472 parameters, "BUS", busStr); in exportDevice()
|
| /openbmc/phosphor-power/tools/power-utils/ |
| H A D | utils.cpp | 210 std::string busStr = std::to_string(i2cbus); in getDevicePath() local 211 std::string devPath = DevicePath + busStr + "-" + addrStr; in getDevicePath()
|
| /openbmc/dbus-sensors/src/ |
| H A D | Utils.hpp | 413 std::string busStr = deviceName.substr(0, findHyphen); in getDeviceBusAddr() local 417 res = std::from_chars(&*busStr.begin(), &*busStr.end(), bus); in getDeviceBusAddr() 418 if (res.ec != std::errc{} || res.ptr != &*busStr.end()) in getDeviceBusAddr()
|
| /openbmc/phosphor-bmc-code-mgmt/common/i2c/ |
| H A D | i2c.cpp | 18 fd = ::open(busStr.c_str(), O_RDWR); in open()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | manufacturingcommands.cpp | 1453 bool getBusNumFromPath(const std::string& path, std::string& busStr) in getBusNumFromPath() argument 1459 busStr = parts[1]; in getBusNumFromPath() 1460 if (isNum(busStr)) in getBusNumFromPath()
|
| /openbmc/phosphor-power/phosphor-power-supply/ |
| H A D | power_supply.cpp | 54 std::string busStr = std::to_string(i2cbus); in PowerSupply() local 55 bindDevice = busStr; in PowerSupply()
|
| H A D | new_power_supply.cpp | 55 std::string busStr = std::to_string(i2cbus); in PowerSupply() local 56 bindDevice = busStr; in PowerSupply()
|
| /openbmc/s2600wf-misc/subprojects/hsbp-manager/src/ |
| H A D | hsbp_manager.cpp | 1651 std::string busStr = fname.substr(0, findDash); in updateAssets() local 1654 size_t bus = static_cast<size_t>(std::stoi(busStr)); in updateAssets()
|
| /openbmc/s2600wf-misc/hsbp-manager/src/ |
| H A D | hsbp_manager.cpp | 1651 std::string busStr = fname.substr(0, findDash); in updateAssets() local 1654 size_t bus = static_cast<size_t>(std::stoi(busStr)); in updateAssets()
|