Home
last modified time | relevance | path

Searched refs:dbusPath (Results 1 – 24 of 24) sorted by relevance

/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaGpuSensor.cpp50 std::string dbusPath = local
54 dbusPath, "xyz.openbmc_project.Sensor.Value");
60 objectServer.add_interface(dbusPath, interface);
63 association = objectServer.add_interface(dbusPath, association::interface);
70 dbusPath, "xyz.openbmc_project.Sensor.Type");
H A DNvidiaGpuVoltageSensor.cpp52 std::string dbusPath = sensorPathPrefix + "voltage/"s + escapeName(name); local
55 dbusPath, "xyz.openbmc_project.Sensor.Value");
61 objectServer.add_interface(dbusPath, interface);
64 association = objectServer.add_interface(dbusPath, association::interface);
H A DNvidiaGpuEnergySensor.cpp52 std::string dbusPath = sensorPathPrefix + "energy/"s + escapeName(name); local
55 dbusPath, "xyz.openbmc_project.Sensor.Value");
61 objectServer.add_interface(dbusPath, interface);
64 association = objectServer.add_interface(dbusPath, association::interface);
H A DNvidiaGpuPowerSensor.cpp54 std::string dbusPath = sensorPathPrefix + "power/"s + escapeName(name); local
57 dbusPath, "xyz.openbmc_project.Sensor.Value");
63 objectServer.add_interface(dbusPath, interface);
66 association = objectServer.add_interface(dbusPath, association::interface);
H A DNvidiaGpuPowerPeakReading.cpp37 std::string dbusPath = sensorPathPrefix + "power/"s + escapeName(name); local
40 dbusPath, "xyz.openbmc_project.Telemetry.Report");
47 {{{dbusPath, ""}},
H A DNvidiaPcieInterface.cpp42 const std::string dbusPath = pcieDevicePathPrefix + escapeName(name); in NvidiaPcieInterface() local
45 dbusPath, "xyz.openbmc_project.Inventory.Item.PCIeDevice"); in NvidiaPcieInterface()
48 dbusPath, "xyz.openbmc_project.Inventory.Item.PCIeSwitch"); in NvidiaPcieInterface()
/openbmc/pldm/host-bmc/
H A Dutils.cpp136 std::string dbusPath = in addObjectPathEntityAssociations()
141 oemPlatformHandler->updateOemDbusPaths(dbusPath); in addObjectPathEntityAssociations()
145 pldm::utils::DBusHandler().getService(dbusPath.c_str(), nullptr); in addObjectPathEntityAssociations()
146 if (objPathMap.contains(dbusPath)) in addObjectPathEntityAssociations()
148 objPathMap[dbusPath] = entity; in addObjectPathEntityAssociations()
153 objPathMap[dbusPath] = entity; in addObjectPathEntityAssociations()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensor.cpp76 std::string dbusPath = sensorPathPrefix + unitPath + "/" + name; in PSUSensor() local
79 dbusPath, "xyz.openbmc_project.Sensor.Value"); in PSUSensor()
85 objectServer.add_interface(dbusPath, interface); in PSUSensor()
100 association = objectServer.add_interface(dbusPath, association::interface); in PSUSensor()
/openbmc/phosphor-mrw-tools/
H A Dgen_ipmi_sensor.pl144 my $dbusPath =
146 if (not defined $dbusPath) {
167 $data{'PATH'} = $dbusPath;
169 $debug .= "$scale : $dbusPath : $obmcPath : ";
/openbmc/dbus-sensors/src/external/
H A DExternalSensor.cpp41 std::string dbusPath = sensor_paths::getPathForUnits(sensorUnits); in ExternalSensor() local
42 if (dbusPath.empty()) in ExternalSensor()
47 objectPath += dbusPath; in ExternalSensor()
/openbmc/bmcweb/redfish-core/include/utils/
H A Dasset_utils.hpp77 const std::string& serviceName, const std::string& dbusPath, in getAssetInfo() argument
82 serviceName, dbusPath, "xyz.openbmc_project.Inventory.Decorator.Asset", in getAssetInfo()
H A Dtelemetry_utils.hpp48 const std::string& dbusPath) in getTriggerIdFromDbusPath() argument
50 sdbusplus::message::object_path converted(dbusPath); in getTriggerIdFromDbusPath()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.cpp721 std::string& dbusPath) in updateOemDbusPaths() argument
724 if (dbusPath.find(toFind) != std::string::npos) in updateOemDbusPaths()
726 size_t pos = dbusPath.find(toFind); in updateOemDbusPaths()
727 dbusPath.replace(pos, toFind.length(), "system/chassis/motherboard"); in updateOemDbusPaths()
730 if (dbusPath.find(toFind) != std::string::npos) in updateOemDbusPaths()
732 size_t pos = dbusPath.find(toFind); in updateOemDbusPaths()
733 dbusPath.replace(pos, toFind.length(), "system"); in updateOemDbusPaths()
739 size_t pos1 = dbusPath.find(toFind); in updateOemDbusPaths()
743 size_t pos2 = dbusPath.substr(pos1 + 1).find('/') + 1; in updateOemDbusPaths()
745 dbusPath.replace(pos1, pos2 + 1, ""); in updateOemDbusPaths()
[all …]
H A Doem_ibm_handler.hpp353 void updateOemDbusPaths(std::string& dbusPath);
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensor.cpp78 std::string dbusPath = sensorPathPrefix + sensorTypeName + "/" + name; in IpmbSensor() local
81 dbusPath, "xyz.openbmc_project.Sensor.Value"); in IpmbSensor()
87 objectServer.add_interface(dbusPath, interface); in IpmbSensor()
89 association = objectServer.add_interface(dbusPath, association::interface); in IpmbSensor()
/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.cpp306 static const auto dbusPath = "/xyz/openbmc_project/inventory"s; in makeDbusMsg() local
307 std::string dbusService = ipmi::getService(bus, updateInterface, dbusPath); in makeDbusMsg()
309 return bus.new_method_call(dbusService.c_str(), dbusPath.c_str(), in makeDbusMsg()
H A Ddcmihandler.cpp1071 const std::string& dbusPath) in readTemp() argument
1081 ctx, dbusService, dbusPath, SensorValue::interface, result); in readTemp()
/openbmc/pldm/libpldmresponder/
H A Doem_handler.hpp97 virtual void updateOemDbusPaths(std::string& dbusPath) = 0;
/openbmc/bmcweb/redfish-core/lib/
H A Dprocessor.hpp619 const std::string& dbusPath = appliedConfig->str; in getCpuConfigData() local
628 size_t baseNamePos = dbusPath.rfind('/'); in getCpuConfigData()
630 baseNamePos == (dbusPath.size() - 1)) in getCpuConfigData()
642 dbusPath.substr(baseNamePos + 1)); in getCpuConfigData()
650 service, dbusPath, in getCpuConfigData()
H A Dtrigger.hpp689 const boost::system::error_code& ec, const std::string& dbusPath, in afterCreateTrigger() argument
710 getTriggerIdFromDbusPath(dbusPath); in afterCreateTrigger()
962 const std::string& dbusPath) { in handleTriggerCollectionPost() argument
963 afterCreateTrigger(ec, dbusPath, asyncResp, id); in handleTriggerCollectionPost()
H A Dsensors.hpp139 std::string dbusPath; member
189 map.emplace(sensor.uri, sensor.dbusPath); in ~SensorsAsyncResp()
202 const std::string& dbusPath) in addMetadata() argument
228 metadata->emplace_back(SensorData{*name, *id, dbusPath}); in addMetadata()
H A Dmetric_report_definition.hpp828 const std::string& dbusPath = el->second; in performAddReport() local
829 sensorParams.emplace_back(dbusPath, uri); in performAddReport()
/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp785 auto dbusPath = std::string(LDAP_CONFIG_ROOT) + in TEST_F() local
787 dbusPersistentFilePath += dbusPath; in TEST_F()
790 bus, dbusPath.c_str(), dbusPersistentFilePath.c_str(), groupName, in TEST_F()
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp97 inline std::string getSensorNameFromPath(const std::string& dbusPath) in getSensorNameFromPath() argument
99 return dbusPath.substr(dbusPath.find_last_of('/') + 1); in getSensorNameFromPath()