Lines Matching refs:sensorPath

922         std::string sensorPath =  in readTempSensors()  local
929 sensorPath.append( in readTempSensors()
934 sensorPath.append( in readTempSensors()
961 sensorPath.append( in readTempSensors()
976 sensorPath.append("proc" + std::to_string(occInstance) + in readTempSensors()
1068 auto existing = sensorData.find(sensorPath); in readTempSensors()
1089 sensorData[sensorPath] = tempValue; in readTempSensors()
1172 std::string sensorPath = OCC_SENSORS_ROOT + std::string("/power/"); in readPowerSensors() local
1179 sensorPath.append(iter->second); in readPowerSensors()
1197 sensorPath, "xyz.openbmc_project.Sensor.Value.Unit.Watts"); in readPowerSensors()
1200 sensorPath, tempValue * std::pow(10, -3) * std::pow(10, -3)); in readPowerSensors()
1203 sensorPath, true); in readPowerSensors()
1205 if (existingSensors.find(sensorPath) == existingSensors.end()) in readPowerSensors()
1212 sensorPath, in readPowerSensors()
1216 sensorPath, fTypeList); in readPowerSensors()
1218 existingSensors[sensorPath] = id; in readPowerSensors()
1250 std::string sensorPath = OCC_SENSORS_ROOT + std::string("/power/"); in readExtnSensors() local
1274 sensorPath.append("chiplet" + std::to_string(id) + labelValue); in readExtnSensors()
1304 sensorPath, "xyz.openbmc_project.Sensor.Value.Unit.Watts"); in readExtnSensors()
1306 dbus::OccDBusSensors::getOccDBus().setValue(sensorPath, in readExtnSensors()
1310 sensorPath, true); in readExtnSensors()
1312 if (existingSensors.find(sensorPath) == existingSensors.end()) in readExtnSensors()
1315 sensorPath, {"all_sensors"}); in readExtnSensors()
1318 existingSensors[sensorPath] = id; in readExtnSensors()
1326 for (const auto& [sensorPath, occId] : existingSensors) in setSensorValueToNaN()
1331 sensorPath, std::numeric_limits<double>::quiet_NaN()); in setSensorValueToNaN()
1334 sensorPath, true); in setSensorValueToNaN()
1342 for (const auto& [sensorPath, occId] : existingSensors) in setSensorValueToNonFunctional()
1347 sensorPath, std::numeric_limits<double>::quiet_NaN()); in setSensorValueToNonFunctional()
1350 sensorPath, false); in setSensorValueToNonFunctional()
1359 const fs::path sensorPath = occ->getHwmonPath(); in getSensorValues() local
1362 if (fs::exists(sensorPath)) in getSensorValues()
1365 readTempSensors(sensorPath, id); in getSensorValues()
1367 readExtnSensors(sensorPath, id); in getSensorValues()
1372 readPowerSensors(sensorPath, id); in getSensorValues()
1382 "INST", id, "PATH", sensorPath); in getSensorValues()