Archana Kakani | 733b39d | 2024-06-05 21:05:20 -0500 | [diff] [blame] | 1 | #include "pcie_device.hpp" |
| 2 | |
| 3 | namespace pldm |
| 4 | { |
| 5 | namespace dbus |
| 6 | { |
| 7 | |
| 8 | auto PCIeDevice::generationInUse() const -> Generations |
| 9 | { |
| 10 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server:: |
| 11 | PCIeDevice::generationInUse(); |
| 12 | } |
| 13 | |
| 14 | auto PCIeDevice::generationInUse(Generations value) -> Generations |
| 15 | { |
| 16 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server:: |
| 17 | PCIeDevice::generationInUse(value); |
| 18 | } |
| 19 | |
| 20 | size_t PCIeDevice::lanesInUse() const |
| 21 | { |
| 22 | return sdbusplus::xyz::openbmc_project::Inventory::Item::server:: |
| 23 | PCIeDevice::lanesInUse(); |
| 24 | } |
| 25 | |
| 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 |