/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() 84 throw I2CException("Missing I2C_FUNC_SMBUS_READ_I2C_BLOCK", 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_interface.hpp | 15 class I2CException : public std::exception class 18 explicit I2CException(const std::string& info, const std::string& bus, in I2CException() function in i2c::I2CException 32 virtual ~I2CException() = default;
|
H A D | i2c.hpp | 65 throw I2CException("Device not open", busStr, devAddr); in checkIsOpen()
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | i2c_write_bit_action_tests.cpp | 191 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST() 218 catch (const i2c::I2CException& ie) in TEST() 249 i2c::I2CException{"Failed to write byte", "/dev/i2c-1", 0x70})); in TEST() 278 catch (const i2c::I2CException& ie) in TEST()
|
H A D | i2c_write_byte_action_tests.cpp | 163 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST() 190 catch (const i2c::I2CException& ie) in TEST() 218 i2c::I2CException{"Failed to write byte", "/dev/i2c-1", 0x70})); in TEST() 244 catch (const i2c::I2CException& ie) in TEST()
|
H A D | i2c_action_tests.cpp | 148 Throw(i2c::I2CException{"Failed to open", "/dev/i2c-1", 0x70})); in TEST() 165 catch (const i2c::I2CException& e) in TEST()
|
H A D | pmbus_write_vout_command_action_tests.cpp | 263 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST() 296 catch (const i2c::I2CException& ie) in TEST() 388 .WillOnce(Throw(i2c::I2CException{"Failed to write word data", in TEST() 422 catch (const i2c::I2CException& ie) in TEST() 453 .WillOnce(Throw(i2c::I2CException{"Failed to read word data", in TEST() 487 catch (const i2c::I2CException& ie) in TEST()
|
H A D | i2c_write_bytes_action_tests.cpp | 307 .WillOnce(Throw(i2c::I2CException{"Failed to read i2c block data", in TEST() 341 catch (const i2c::I2CException& ie) in TEST() 372 .WillOnce(Throw(i2c::I2CException{"Failed to write i2c block data", in TEST() 402 catch (const i2c::I2CException& ie) in TEST()
|
H A D | i2c_compare_bit_action_tests.cpp | 181 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST() 207 catch (const i2c::I2CException& ie) in TEST()
|
H A D | pmbus_read_sensor_action_tests.cpp | 328 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST() 360 catch (const i2c::I2CException& ie) in TEST() 386 .WillOnce(Throw(i2c::I2CException{"Failed to read word data", in TEST() 418 catch (const i2c::I2CException& ie) in TEST()
|
H A D | i2c_compare_byte_action_tests.cpp | 215 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST() 241 catch (const i2c::I2CException& ie) in TEST()
|
H A D | i2c_capture_bytes_action_tests.cpp | 220 .WillOnce(Throw(i2c::I2CException{"Failed to read i2c block data", in TEST() 248 catch (const i2c::I2CException& ie) in TEST()
|
/openbmc/phosphor-power/tools/power-utils/ |
H A D | aei_updater.cpp | 209 catch (const i2c::I2CException& e) in writeIspKey() 258 catch (const i2c::I2CException& e) in writeIspMode() 321 catch (const i2c::I2CException& e) in writeIspStatusReset() 374 catch (const i2c::I2CException& e) in writeIspStatusReset() 586 catch (const i2c::I2CException& e) in performI2cWriteReadWithRetries() 694 catch (const i2c::I2CException& e) in ispReadRebootStatus()
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | error_logging_utils.cpp | 89 catch (const i2c::I2CException& e) in logError() 166 catch (const i2c::I2CException& e) in getExceptionToLog()
|
/openbmc/phosphor-power/phosphor-regulators/test/ |
H A D | error_logging_utils_tests.cpp | 105 throw i2c::I2CException{"Unable to open device reg1", "/dev/i2c-8", in TEST() 271 throw i2c::I2CException{"Unable to open device reg1", "/dev/i2c-8", in TEST() 398 throw i2c::I2CException{"Unable to open device reg1", "/dev/i2c-8", in TEST() 628 std::throw_with_nested(i2c::I2CException{ in TEST()
|
H A D | sensor_monitoring_tests.cpp | 153 i2c::I2CException{"Failed to read word data", "/dev/i2c-1", 0x70})); in TEST() 270 .WillRepeatedly(Throw(i2c::I2CException{"Failed to read word data", in TEST()
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | i2c_compare_byte_action.cpp | 45 catch (const i2c::I2CException& e) in execute()
|
H A D | i2c_compare_bit_action.cpp | 45 catch (const i2c::I2CException& e) in execute()
|
H A D | i2c_write_bit_action.cpp | 53 catch (const i2c::I2CException& e) in execute()
|
H A D | i2c_write_byte_action.cpp | 52 catch (const i2c::I2CException& e) in execute()
|
H A D | i2c_compare_bytes_action.cpp | 51 catch (const i2c::I2CException& e) in execute()
|
H A D | i2c_write_bytes_action.cpp | 63 catch (const i2c::I2CException& e) in execute()
|
H A D | pmbus_read_sensor_action.cpp | 62 catch (const i2c::I2CException& e) in execute()
|
H A D | i2c_capture_bytes_action.cpp | 45 catch (const i2c::I2CException& e) in execute()
|
H A D | pmbus_write_vout_command_action.cpp | 59 catch (const i2c::I2CException& i2cError) in execute()
|