Home
last modified time | relevance | path

Searched refs:numSensors (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp2302 uint16_t numSensors{ipmi::getNumberOfSensors()}; in ipmiSensorGetDeviceSdrInfo() local
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()
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()
[all …]