Lines Matching refs:numSensors
2302 uint16_t numSensors{ipmi::getNumberOfSensors()}; in ipmiSensorGetDeviceSdrInfo() local
2305 sdrCount = numSensors + ipmi::sensor::getOtherSensorsCount(ctx) - 1; in ipmiSensorGetDeviceSdrInfo()
2310 if ((ctx->lun == lun0) && (numSensors > 0)) in ipmiSensorGetDeviceSdrInfo()
2313 (numSensors > maxSensorsPerLUN) ? maxSensorsPerLUN : numSensors; in ipmiSensorGetDeviceSdrInfo()
2315 else if ((ctx->lun == lun1) && (numSensors > maxSensorsPerLUN)) in ipmiSensorGetDeviceSdrInfo()
2317 sdrCount = (numSensors > (2 * maxSensorsPerLUN)) in ipmiSensorGetDeviceSdrInfo()
2319 : (numSensors - maxSensorsPerLUN) & maxSensorsPerLUN; in ipmiSensorGetDeviceSdrInfo()
2323 if (numSensors <= maxIPMISensors) in ipmiSensorGetDeviceSdrInfo()
2325 sdrCount = (numSensors - (2 * maxSensorsPerLUN)) & in ipmiSensorGetDeviceSdrInfo()
2341 if (numSensors > 0) in ipmiSensorGetDeviceSdrInfo()
2345 if (numSensors > maxSensorsPerLUN) in ipmiSensorGetDeviceSdrInfo()
2349 if (numSensors >= (maxSensorsPerLUN * 2)) in ipmiSensorGetDeviceSdrInfo()
2353 if (numSensors > maxIPMISensors) in ipmiSensorGetDeviceSdrInfo()