xref: /openbmc/pldm/host-bmc/dbus/pcie_device.cpp (revision 733b39da)
1 #include "pcie_device.hpp"
2 
3 namespace pldm
4 {
5 namespace dbus
6 {
7 
generationInUse() const8 auto PCIeDevice::generationInUse() const -> Generations
9 {
10     return sdbusplus::xyz::openbmc_project::Inventory::Item::server::
11         PCIeDevice::generationInUse();
12 }
13 
generationInUse(Generations value)14 auto PCIeDevice::generationInUse(Generations value) -> Generations
15 {
16     return sdbusplus::xyz::openbmc_project::Inventory::Item::server::
17         PCIeDevice::generationInUse(value);
18 }
19 
lanesInUse() const20 size_t PCIeDevice::lanesInUse() const
21 {
22     return sdbusplus::xyz::openbmc_project::Inventory::Item::server::
23         PCIeDevice::lanesInUse();
24 }
25 
lanesInUse(size_t value)26 size_t PCIeDevice::lanesInUse(size_t value)
27 {
28     return sdbusplus::xyz::openbmc_project::Inventory::Item::server::
29         PCIeDevice::lanesInUse(value);
30 }
31 
32 } // namespace dbus
33 } // namespace pldm
34