Searched refs:I2CMCTPDDevice (Results 1 – 4 of 4) sorted by relevance
/openbmc/dbus-sensors/src/tests/ |
H A D | test_MCTPEndpoint.cpp | 8 TEST(I2CMCTPDDevice, matchEmptyConfig) in TEST() argument 11 EXPECT_FALSE(I2CMCTPDDevice::match(config)); in TEST() 14 TEST(I2CMCTPDDevice, matchIrrelevantConfig) in TEST() argument 17 EXPECT_FALSE(I2CMCTPDDevice::match(config)); in TEST() 20 TEST(I2CMCTPDDevice, matchRelevantConfig) in TEST() argument 23 EXPECT_TRUE(I2CMCTPDDevice::match(config)); in TEST() 26 TEST(I2CMCTPDDevice, fromBadIfaceNoType) in TEST() argument 29 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() 32 TEST(I2CMCTPDDevice, fromBadIfaceWrongType) in TEST() argument 35 EXPECT_THROW(I2CMCTPDDevice::from({}, iface), std::invalid_argument); in TEST() [all …]
|
/openbmc/dbus-sensors/src/mctp/ |
H A D | MCTPEndpoint.hpp | 307 class I2CMCTPDDevice : public MCTPDDevice class 312 static std::shared_ptr<I2CMCTPDDevice> from( 316 I2CMCTPDDevice() = delete; 317 I2CMCTPDDevice( in I2CMCTPDDevice() function in I2CMCTPDDevice 322 ~I2CMCTPDDevice() override = default;
|
H A D | MCTPEndpoint.cpp | 321 std::optional<SensorBaseConfigMap> I2CMCTPDDevice::match( in match() 332 bool I2CMCTPDDevice::match(const std::set<std::string>& interfaces) in match() 337 std::shared_ptr<I2CMCTPDDevice> I2CMCTPDDevice::from( in from() 383 return std::make_shared<I2CMCTPDDevice>(connection, bus, address); in from() 394 std::string I2CMCTPDDevice::interfaceFromBus(int bus) in interfaceFromBus()
|
H A D | MCTPReactorMain.cpp | 84 if ((iface = I2CMCTPDDevice::match(config))) in deviceFromConfig() 86 return I2CMCTPDDevice::from(connection, *iface); in deviceFromConfig() 128 if (I2CMCTPDDevice::match(removed)) in removeInventory()
|