Searched refs:sensorIndex (Results 1 – 6 of 6) sorted by relevance
79 for (size_t sensorIndex = 0; sensorIndex < number_of_sensors; sensorIndex++) { in main() local82 path /= name + std::to_string(sensorIndex); in main()
301 uint16_t sensorIndex = 0; in getSensorNumMap() local306 sensorIndex++; in getSensorNumMap()307 if (sensorIndex == maxSensorsPerLUN) in getSensorNumMap()309 sensorIndex = lun1Sensor0; in getSensorNumMap()311 else if (sensorIndex == (lun1Sensor0 | maxSensorsPerLUN)) in getSensorNumMap()314 sensorIndex = lun3Sensor0; in getSensorNumMap()316 else if (sensorIndex == (lun3Sensor0 | maxSensorsPerLUN)) in getSensorNumMap()321 sensorNum = sensorIndex; in getSensorNumMap()
246 uint16_t sensorIndex = 0; in getSensorNumMap() local 251 sensorIndex++; in getSensorNumMap() 252 if (sensorIndex == maxSensorsPerLUN) in getSensorNumMap() 254 sensorIndex = lun1Sensor0; in getSensorNumMap() 256 else if (sensorIndex == (lun1Sensor0 | maxSensorsPerLUN)) in getSensorNumMap() 259 sensorIndex = lun3Sensor0; in getSensorNumMap() 261 else if (sensorIndex == (lun3Sensor0 | maxSensorsPerLUN)) in getSensorNumMap() 266 sensorNum = sensorIndex; in getSensorNumMap()
60 const std::string* matchLabel, const int* sensorIndex) in parseThresholdsFromConfig() argument82 if (sensorIndex != nullptr) in parseThresholdsFromConfig()87 if ((indexFind == cfg.end()) && (*sensorIndex != 1)) in parseThresholdsFromConfig()94 *sensorIndex)) in parseThresholdsFromConfig()
124 const std::string* matchLabel = nullptr, const int* sensorIndex = nullptr);
668 uint16_t sensorIndex = req->recordID; in ipmiStorageGetSDR() local671 if (sensorIndex-- == 0) in ipmiStorageGetSDR()