Home
last modified time | relevance | path

Searched refs:I2CMCTPDDevice (Results 1 – 4 of 4) sorted by relevance

/openbmc/dbus-sensors/src/tests/
H A Dtest_MCTPEndpoint.cpp8 TEST(I2CMCTPDDevice, matchEmptyConfig) in TEST() argument
11 EXPECT_FALSE(I2CMCTPDDevice::match(config)); in TEST()
14 TEST(I2CMCTPDDevice, matchIrrelevantConfig) in TEST() argument
20 TEST(I2CMCTPDDevice, matchRelevantConfig) in TEST() argument
26 TEST(I2CMCTPDDevice, fromBadIfaceNoType) in TEST() argument
32 TEST(I2CMCTPDDevice, fromBadIfaceWrongType) in TEST() argument
38 TEST(I2CMCTPDDevice, fromBadIfaceNoAddress) in TEST() argument
48 TEST(I2CMCTPDDevice, fromBadIfaceBadAddress) in TEST() argument
59 TEST(I2CMCTPDDevice, fromBadIfaceNoBus) in TEST() argument
69 TEST(I2CMCTPDDevice, fromBadIfaceBadBus) in TEST() argument
[all …]
/openbmc/dbus-sensors/src/mctp/
H A DMCTPEndpoint.hpp300 class I2CMCTPDDevice : public MCTPDDevice class
305 static std::shared_ptr<I2CMCTPDDevice>
309 I2CMCTPDDevice() = delete;
310 I2CMCTPDDevice( in I2CMCTPDDevice() function in I2CMCTPDDevice
315 ~I2CMCTPDDevice() override = default;
H A DMCTPEndpoint.cpp321 I2CMCTPDDevice::match(const SensorData& config) in match()
331 bool I2CMCTPDDevice::match(const std::set<std::string>& interfaces) in match()
336 std::shared_ptr<I2CMCTPDDevice> I2CMCTPDDevice::from( in from()
382 return std::make_shared<I2CMCTPDDevice>(connection, bus, address); in from()
393 std::string I2CMCTPDDevice::interfaceFromBus(int bus) in interfaceFromBus()
H A DMCTPReactorMain.cpp84 if ((iface = I2CMCTPDDevice::match(config))) in deviceFromConfig()
86 return I2CMCTPDDevice::from(connection, *iface); in deviceFromConfig()
128 if (I2CMCTPDDevice::match(removed)) in removeInventory()