/openbmc/pldm/host-bmc/dbus/ |
H A D | pcie_slot.cpp | 8 auto PCIeSlot::generation() const -> Generations in generation() 10 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: in generation() 14 auto PCIeSlot::generation(Generations value) -> Generations in generation() 16 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: in generation() 20 size_t PCIeSlot::lanes() const in lanes() 22 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: in lanes() 26 size_t PCIeSlot::lanes(size_t value) in lanes() 28 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: in lanes() 32 auto PCIeSlot::slotType() const -> SlotTypes in slotType() 34 return sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot:: in slotType() [all …]
|
H A D | pcie_slot.hpp | 6 #include <xyz/openbmc_project/Inventory/Item/PCIeSlot/server.hpp> 15 sdbusplus::xyz::openbmc_project::Inventory::Item::server::PCIeSlot>; 18 * @class PCIeSlot 19 * @brief PCIeSlot support includes the slot properties and functions 21 class PCIeSlot : public ItemSlot class 24 PCIeSlot() = delete; 25 ~PCIeSlot() = default; 26 PCIeSlot(const PCIeSlot&) = delete; 27 PCIeSlot& operator=(const PCIeSlot&) = delete; 29 PCIeSlot(sdbusplus::bus_t& bus, const std::string& objPath) : in PCIeSlot() function in pldm::dbus::PCIeSlot
|
H A D | custom_dbus.cpp | 61 if (!pcieSlot.contains(path)) in implementPCIeSlotInterface() 63 pcieSlot.emplace(path, std::make_unique<PCIeSlot>( in implementPCIeSlotInterface() 72 pldm::dbus::PCIeSlot::convertSlotTypesFromString(slotType); in setSlotType() 73 if (pcieSlot.contains(path)) in setSlotType() 75 pcieSlot.at(path)->slotType(typeOfSlot); in setSlotType() 92 pldm::dbus::PCIeSlot::convertGenerationsFromString(value); in setPCIeDeviceProps()
|
H A D | pcie_device.hpp | 7 #include <xyz/openbmc_project/Inventory/Item/PCIeSlot/common.hpp> 18 PCIeSlot::Generations;
|
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/inventory/static-inventory/ |
H A D | static-inventory.yaml | 1150 xyz.openbmc_project.Inventory.Item.PCIeSlot: 1155 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM" 1158 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen3" 1170 xyz.openbmc_project.Inventory.Item.PCIeSlot: 1175 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM" 1178 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen3" 1190 xyz.openbmc_project.Inventory.Item.PCIeSlot: 1195 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM" 1198 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen3" 1210 xyz.openbmc_project.Inventory.Item.PCIeSlot: [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | pcie_util.hpp | 56 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength") in dbusSlotTypeToRf() 61 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.HalfLength") in dbusSlotTypeToRf() 66 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.LowProfile") in dbusSlotTypeToRf() 71 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.Mini") in dbusSlotTypeToRf() 75 if (slotType == "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.M_2") in dbusSlotTypeToRf() 79 if (slotType == "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM") in dbusSlotTypeToRf() 84 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OCP3Small") in dbusSlotTypeToRf() 89 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OCP3Large") in dbusSlotTypeToRf() 93 if (slotType == "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.U_2") in dbusSlotTypeToRf() 98 "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.Unknown") in dbusSlotTypeToRf() [all …]
|
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/inventory/static-inventory/ |
H A D | static-inventory.yaml | 1518 xyz.openbmc_project.Inventory.Item.PCIeSlot: 1523 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM" 1526 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen3" 1538 xyz.openbmc_project.Inventory.Item.PCIeSlot: 1543 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM" 1546 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen3" 1558 xyz.openbmc_project.Inventory.Item.PCIeSlot: 1563 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.OEM" 1566 value: "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen3" 1578 xyz.openbmc_project.Inventory.Item.PCIeSlot: [all …]
|
/openbmc/smbios-mdr/src/ |
H A D | pcieslot.cpp | 1 #include "pcieslot.hpp" 54 /* Set PCIeSlot presence based on its current Usage */ in pcieInfoUpdate() 76 PCIeSlot::generation(PCIeGeneration::Unknown); in pcieGeneration() 80 PCIeSlot::generation(it->second); in pcieGeneration() 105 PCIeSlot::slotType(pcieSlotType); in pcieType() 113 PCIeSlot::lanes(0); in pcieLaneSize() 117 PCIeSlot::lanes(it->second); in pcieLaneSize() 126 PCIeSlot::hotPluggable(characteristics & 0x2); in pcieIsHotPluggable()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_port.c | 53 QLIST_HEAD(, PCIESlot) slots; 83 static PCIESlot *pcie_chassis_find_slot_with_chassis(struct PCIEChassis *c, in pcie_chassis_find_slot_with_chassis() 86 PCIESlot *s; in pcie_chassis_find_slot_with_chassis() 95 int pcie_chassis_add_slot(struct PCIESlot *slot) in pcie_chassis_add_slot() 109 void pcie_chassis_del_slot(PCIESlot *s) in pcie_chassis_del_slot() 194 PCIESlot *s = PCIE_SLOT(bus->parent); in pcie_slot_is_hotpluggbale_bus() 207 DEFINE_PROP_UINT8("chassis", PCIESlot, chassis, 0), 208 DEFINE_PROP_UINT16("slot", PCIESlot, slot, 0), 209 DEFINE_PROP_BOOL("hotplug", PCIESlot, hotplug, true), 210 DEFINE_PROP_BOOL("x-do-not-expose-native-hotplug-cap", PCIESlot, [all …]
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_pcie.cpp | 18 {0x00, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Operational"}, 19 {0x01, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Degraded"}, 20 {0x02, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Unused"}, 21 {0x03, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Unused"}, 22 {0x04, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Failed"}, 23 {0x05, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Open"}, 24 {0x06, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Inactive"}, 25 {0x07, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Unused"}, 26 {0xFF, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Status.Unknown"}}; 29 {0x00, "xyz.openbmc_project.Inventory.Item.PCIeSlot.Generations.Gen1"}, [all …]
|
/openbmc/qemu/include/hw/pci/ |
H A D | pcie_port.h | 48 OBJECT_DECLARE_SIMPLE_TYPE(PCIESlot, PCIE_SLOT) 50 struct PCIESlot { struct 71 QLIST_ENTRY(PCIESlot) next; argument 75 int pcie_chassis_add_slot(struct PCIESlot *slot); 76 void pcie_chassis_del_slot(PCIESlot *s);
|
H A D | pcie.h | 31 typedef struct PCIESlot PCIESlot; typedef 107 void pcie_cap_slot_init(PCIDevice *dev, PCIESlot *s);
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | gen_pcie_root_port.c | 35 PCIESlot parent_obj; 79 PCIESlot *s = PCIE_SLOT(d); in gen_rp_realize() 121 VMSTATE_PCI_DEVICE(parent_obj.parent_obj.parent_obj, PCIESlot), 123 PCIESlot, 0, vmstate_pcie_aer_log, PCIEAERLog), 144 DEFINE_PROP_PCIE_LINK_SPEED("x-speed", PCIESlot, 146 DEFINE_PROP_PCIE_LINK_WIDTH("x-width", PCIESlot,
|
H A D | cxl_downstream.c | 23 PCIESlot parent_obj; 140 PCIESlot *s = PCIE_SLOT(d); in cxl_dsp_realize() 206 PCIESlot *s = PCIE_SLOT(d); in cxl_dsp_exitfn() 216 DEFINE_PROP_PCIE_LINK_SPEED("x-speed", PCIESlot, 218 DEFINE_PROP_PCIE_LINK_WIDTH("x-width", PCIESlot,
|
H A D | xio3130_downstream.c | 69 PCIESlot *s = PCIE_SLOT(d); in xio3130_downstream_realize() 128 PCIESlot *s = PCIE_SLOT(d); in xio3130_downstream_exitfn() 149 VMSTATE_PCI_DEVICE(parent_obj.parent_obj.parent_obj, PCIESlot), 151 PCIESlot, 0, vmstate_pcie_aer_log, PCIEAERLog),
|
H A D | pcie_root_port.c | 65 PCIESlot *s = PCIE_SLOT(d); in rp_realize() 140 PCIESlot *s = PCIE_SLOT(d); in rp_exit() 154 DEFINE_PROP_BOOL("disable-acs", PCIESlot, disable_acs, false), 159 PCIESlot *s = PCIE_SLOT(obj); in rp_instance_post_init()
|
/openbmc/smbios-mdr/include/ |
H A D | pcieslot.hpp | 7 #include <xyz/openbmc_project/Inventory/Item/PCIeSlot/server.hpp> 20 using PCIeSlot = typedef 21 sdbusplus::server::xyz::openbmc_project::inventory::item::PCIeSlot; 23 item::PCIeSlot::Generations; 25 PCIeSlot::SlotTypes; 35 sdbusplus::server::object_t<PCIeSlot, location, embedded, item, association> 48 sdbusplus::server::object_t<PCIeSlot, location, embedded, item, in Pcie()
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Inventory/Item/PCIeSlot/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Inventory/Item/PCIeSlot' 8 '../../../../../../yaml/xyz/openbmc_project/Inventory/Item/PCIeSlot.interface.yaml', 28 'xyz/openbmc_project/Inventory/Item/PCIeSlot',
|
/openbmc/openpower-vpd-parser/configuration/ibm/ |
H A D | 50001002.json | 121 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 122 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 139 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 140 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 157 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 158 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 175 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 176 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 193 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 194 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" [all …]
|
H A D | 50001000.json | 109 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 110 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 127 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 128 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 145 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 146 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 163 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 164 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 181 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 182 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" [all …]
|
H A D | 50001000_v2.json | 131 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 132 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 149 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 150 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 167 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 168 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 185 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 186 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" 203 "xyz.openbmc_project.Inventory.Item.PCIeSlot": { 204 … "SlotType": "xyz.openbmc_project.Inventory.Item.PCIeSlot.SlotTypes.FullLength" [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | pcie_slots.hpp | 46 BMCWEB_LOG_ERROR("Can't get PCIeSlot properties!"); in onPcieSlotGetAllDone() 142 // This PCIeSlot have no chassis association. in onMapperAssociationDone() 167 "xyz.openbmc_project.Inventory.Item.PCIeSlot", in onMapperAssociationDone() 211 // The association of this PCIeSlot is used to determine whether in onMapperSubtreeDone() 236 "xyz.openbmc_project.Inventory.Item.PCIeSlot"}; in handlePCIeSlotCollectionGet()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | README.md | 28 - Cpu and PCIeSlot: `{connecting, connected_to}` 29 - PCIeSwitch and PCIeSlot: `{connecting, connected_to}`
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | PCIeSlots_v1.xml | 82 <Property Name="Slots" Type="Collection(PCIeSlots.v1_0_0.PCIeSlot)" Nullable="false"> 92 <ComplexType Name="PCIeSlot"> 241 <ComplexType Name="PCIeSlot" BaseType="PCIeSlots.v1_0_0.PCIeSlot"> 252 …rect the parent namespace of HotPluggable property from `PCIeSlots` to `PCIeSlot`. It was also cr… 299 …ncorrectly defined at the root of the resource rather than part of the `PCIeSlot` array. The defi… 303 <ComplexType Name="PCIeSlot" BaseType="PCIeSlots.v1_1_0.PCIeSlot">
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | PCIeSlots_v1.xml | 82 <Property Name="Slots" Type="Collection(PCIeSlots.v1_0_0.PCIeSlot)" Nullable="false"> 92 <ComplexType Name="PCIeSlot"> 241 <ComplexType Name="PCIeSlot" BaseType="PCIeSlots.v1_0_0.PCIeSlot"> 252 …rect the parent namespace of HotPluggable property from `PCIeSlots` to `PCIeSlot`. It was also cr… 299 …ncorrectly defined at the root of the resource rather than part of the `PCIeSlot` array. The defi… 303 <ComplexType Name="PCIeSlot" BaseType="PCIeSlots.v1_1_0.PCIeSlot">
|