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()
254 uint16_t sensorIndex = 0; in getSensorNumMap() local259 sensorIndex++; in getSensorNumMap()260 if (sensorIndex == maxSensorsPerLUN) in getSensorNumMap()262 sensorIndex = lun1Sensor0; in getSensorNumMap()264 else if (sensorIndex == (lun1Sensor0 | maxSensorsPerLUN)) in getSensorNumMap()267 sensorIndex = lun3Sensor0; in getSensorNumMap()269 else if (sensorIndex == (lun3Sensor0 | maxSensorsPerLUN)) in getSensorNumMap()274 sensorNum = sensorIndex; in getSensorNumMap()
59 const std::string* matchLabel, const int* sensorIndex) in parseThresholdsFromConfig() argument81 if (sensorIndex != nullptr) in parseThresholdsFromConfig()86 if ((indexFind == cfg.end()) && (*sensorIndex != 1)) in parseThresholdsFromConfig()93 *sensorIndex)) in parseThresholdsFromConfig()
124 const std::string* matchLabel = nullptr, const int* sensorIndex = nullptr);
669 uint16_t sensorIndex = req->recordID; in ipmiStorageGetSDR() local672 if (sensorIndex-- == 0) in ipmiStorageGetSDR()