Home
last modified time | relevance | path

Searched refs:I2CException (Results 1 – 25 of 29) sorted by relevance

12

/openbmc/phosphor-power/tools/i2c/
H A Di2c.cpp42 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 Di2c_interface.hpp15 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 Di2c.hpp65 throw I2CException("Device not open", busStr, devAddr); in checkIsOpen()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Di2c_write_bit_action_tests.cpp191 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 Di2c_write_byte_action_tests.cpp163 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 Di2c_action_tests.cpp148 Throw(i2c::I2CException{"Failed to open", "/dev/i2c-1", 0x70})); in TEST()
165 catch (const i2c::I2CException& e) in TEST()
H A Dpmbus_write_vout_command_action_tests.cpp263 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 Di2c_write_bytes_action_tests.cpp307 .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 Di2c_compare_bit_action_tests.cpp181 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST()
207 catch (const i2c::I2CException& ie) in TEST()
H A Dpmbus_read_sensor_action_tests.cpp328 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 Di2c_compare_byte_action_tests.cpp215 i2c::I2CException{"Failed to read byte", "/dev/i2c-1", 0x70})); in TEST()
241 catch (const i2c::I2CException& ie) in TEST()
H A Di2c_capture_bytes_action_tests.cpp220 .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 Daei_updater.cpp209 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 Derror_logging_utils.cpp89 catch (const i2c::I2CException& e) in logError()
166 catch (const i2c::I2CException& e) in getExceptionToLog()
/openbmc/phosphor-power/phosphor-regulators/test/
H A Derror_logging_utils_tests.cpp105 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 Dsensor_monitoring_tests.cpp153 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 Di2c_compare_byte_action.cpp45 catch (const i2c::I2CException& e) in execute()
H A Di2c_compare_bit_action.cpp45 catch (const i2c::I2CException& e) in execute()
H A Di2c_write_bit_action.cpp53 catch (const i2c::I2CException& e) in execute()
H A Di2c_write_byte_action.cpp52 catch (const i2c::I2CException& e) in execute()
H A Di2c_compare_bytes_action.cpp51 catch (const i2c::I2CException& e) in execute()
H A Di2c_write_bytes_action.cpp63 catch (const i2c::I2CException& e) in execute()
H A Dpmbus_read_sensor_action.cpp62 catch (const i2c::I2CException& e) in execute()
H A Di2c_capture_bytes_action.cpp45 catch (const i2c::I2CException& e) in execute()
H A Dpmbus_write_vout_command_action.cpp59 catch (const i2c::I2CException& i2cError) in execute()

12