Home
last modified time | relevance | path

Searched refs:MCTPDevice (Results 1 – 7 of 7) sorted by relevance

/openbmc/dbus-sensors/src/mctp/
H A DMCTPDeviceRepository.hpp17 std::map<std::string, std::shared_ptr<MCTPDevice>> devices;
19 auto lookup(const std::shared_ptr<MCTPDevice>& device) in lookup()
35 const std::shared_ptr<MCTPDevice>& device) in add()
47 void remove(const std::shared_ptr<MCTPDevice>& device) in remove()
60 bool contains(const std::shared_ptr<MCTPDevice>& device) in contains()
66 const std::shared_ptr<MCTPDevice>& device) in inventoryFor()
76 std::shared_ptr<MCTPDevice> deviceFor(const std::string& inventory) in deviceFor()
H A DMCTPReactor.hpp26 using MCTPDeviceFactory = std::function<std::shared_ptr<MCTPDevice>(
42 const std::shared_ptr<MCTPDevice>& device);
52 std::set<std::shared_ptr<MCTPDevice>> deferred;
54 void deferSetup(const std::shared_ptr<MCTPDevice>& dev);
55 void setupEndpoint(const std::shared_ptr<MCTPDevice>& dev);
H A DMCTPEndpoint.hpp72 class MCTPDevice;
133 virtual std::shared_ptr<MCTPDevice> device() const = 0;
152 class MCTPDevice class
155 virtual ~MCTPDevice() = default;
222 std::shared_ptr<MCTPDevice> device() const override;
262 public MCTPDevice,
H A DMCTPReactor.cpp20 void MCTPReactor::deferSetup(const std::shared_ptr<MCTPDevice>& dev) in deferSetup()
91 void MCTPReactor::setupEndpoint(const std::shared_ptr<MCTPDevice>& dev) in setupEndpoint()
141 const std::shared_ptr<MCTPDevice>& device) in manageMCTPDevice()
H A DMCTPReactorMain.cpp76 static std::shared_ptr<MCTPDevice> deviceFromConfig( in deviceFromConfig()
H A DMCTPEndpoint.cpp316 std::shared_ptr<MCTPDevice> MCTPDEndpoint::device() const in device()
/openbmc/dbus-sensors/src/tests/
H A Dtest_MCTPReactor.cpp15 class MockMCTPDevice : public MCTPDevice
41 MOCK_METHOD(std::shared_ptr<MCTPDevice>, device, (), (const, override));