Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/mctp/
H A DMCTPDeviceRepository.hpp9 std::map<std::string, std::shared_ptr<MCTPDevice>> devices;
11 auto lookup(const std::shared_ptr<MCTPDevice>& device) in lookup()
27 const std::shared_ptr<MCTPDevice>& device) in add()
39 void remove(const std::shared_ptr<MCTPDevice>& device) in remove()
52 bool contains(const std::shared_ptr<MCTPDevice>& device) in contains()
58 inventoryFor(const std::shared_ptr<MCTPDevice>& device) in inventoryFor()
68 std::shared_ptr<MCTPDevice> deviceFor(const std::string& inventory) in deviceFor()
H A DMCTPReactor.hpp21 using MCTPDeviceFactory = std::function<std::shared_ptr<MCTPDevice>(
37 const std::shared_ptr<MCTPDevice>& device);
47 std::set<std::shared_ptr<MCTPDevice>> deferred;
49 void deferSetup(const std::shared_ptr<MCTPDevice>& dev);
50 void setupEndpoint(const std::shared_ptr<MCTPDevice>& dev);
H A DMCTPEndpoint.hpp65 class MCTPDevice;
126 virtual std::shared_ptr<MCTPDevice> device() const = 0;
145 class MCTPDevice class
148 virtual ~MCTPDevice() = default;
215 std::shared_ptr<MCTPDevice> device() const override;
255 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.cpp315 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));
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/MCTP/
H A DEndpoint.interface.yaml51 - xyz.openbmc_project.Configuration.MCTPDevice