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