Lines Matching refs:labelHead

259     const fs::path& sensorPath, std::string& labelHead,  in checkPWMSensor()  argument
264 if (!labelHead.starts_with("fan")) in checkPWMSensor()
268 std::string labelHeadIndex = labelHead.substr(3); in checkPWMSensor()
279 auto findPWMSensor = pwmSensors.find(psuName + labelHead); in checkPWMSensor()
294 pwmSensors[psuName + labelHead] = std::make_unique<PwmSensor>( in checkPWMSensor()
565 std::string labelHead; in createSensorsCallback() local
621 labelHead = in createSensorsCallback()
637 labelHead = label.substr(0, label.find(' ')); in createSensorsCallback()
643 labelHead.insert(0, "max"); in createSensorsCallback()
646 checkPWMSensor(sensorPath, labelHead, *interfacePath, in createSensorsCallback()
652 labelHead = sensorNameStr.substr(0, findIIOHyphen); in createSensorsCallback()
658 << "\" label=\"" << labelHead << "\"\n"; in createSensorsCallback()
665 labelHead) == findLabels.end()) in createSensorsCallback()
669 std::cerr << "could not find " << labelHead in createSensorsCallback()
695 std::string keyName = labelHead + "_Name"; in createSensorsCallback()
696 std::string keyScale = labelHead + "_Scale"; in createSensorsCallback()
697 std::string keyMin = labelHead + "_Min"; in createSensorsCallback()
698 std::string keyMax = labelHead + "_Max"; in createSensorsCallback()
699 std::string keyOffset = labelHead + "_Offset"; in createSensorsCallback()
700 std::string keyPowerState = labelHead + "_PowerState"; in createSensorsCallback()
817 if (std::regex_search(labelHead, matches, rgx)) in createSensorsCallback()
838 std::cerr << "Could not pair " << labelHead in createSensorsCallback()
847 std::cerr << "Sensor label head " << labelHead in createSensorsCallback()
891 &labelHead)) in createSensorsCallback()
934 if (labelHead == "fan" + nameIndexStr) in createSensorsCallback()
965 psuProperty.sensorOffset, labelHead, thresholdConfSize, in createSensorsCallback()