Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/lib/
H A Dmanager_logservices_journal.hpp272 JournalReadState&& readState) in readJournalEntries() argument
301 readState = std::move(readState)]() mutable { in readJournalEntries()
303 std::move(readState)); in readJournalEntries()
311 int ret = sd_journal_get_monotonic_usec(readState.journal.get(), &curTs, in readJournalEntries()
323 if (sameBootIDs && (curTs == readState.prevTs)) in readJournalEntries()
325 readState.index++; in readJournalEntries()
330 readState.index = 0; in readJournalEntries()
334 readState.prevBootID = curBootID; in readJournalEntries()
337 readState.prevTs = curTs; in readJournalEntries()
342 if (!fillBMCJournalLogEntryJson(idStr, readState.journal.get(), in readJournalEntries()
[all …]
/openbmc/dbus-sensors/src/
H A Dsensor.hpp66 PowerState readState = PowerState::always) : in Sensor()
74 readState(readState), in Sensor()
107 PowerState readState; member
257 if (readState == PowerState::on || readState == PowerState::biosPost || in setInitialProperties()
258 readState == PowerState::chassisOn) in setInitialProperties()
428 return ::readingStateGood(readState); in readingStateGood()
/openbmc/openpower-occ-control/
H A Docc_status.cpp425 std::ios_base::iostate readState = file.rdstate(); in occReadStateNow() local
426 if (readState) in occReadStateNow()
433 if (readState & std::ios_base::eofbit) in occReadStateNow()
437 if (readState & std::ios_base::failbit) in occReadStateNow()
441 if (readState & std::ios_base::badbit) in occReadStateNow()
/openbmc/dbus-sensors/src/adc/
H A DADCSensor.cpp56 const float pollRate, PowerState readState, in ADCSensor() argument
61 minVoltageReading / scaleFactor, conn, readState), in ADCSensor()
H A DADCSensor.hpp74 double scaleFactor, float pollRate, PowerState readState,
H A DADCSensorMain.cpp264 PowerState readState = getPowerState(baseConfiguration->second); in createSensors() local
311 readState, *interfacePath, std::move(bridgeGpio)); in createSensors()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp431 PowerState readState = getPowerState(baseConfigMap); in createSensors() local
457 pollRate, interfacePath, readState, i2cDev); in createSensors()
519 pollRate, interfacePath, readState, i2cDev); in createSensors()
591 if (sensor != nullptr && sensor->readState == type) in powerStateChanged()
/openbmc/dbus-sensors/src/external/
H A DExternalSensorMain.cpp317 PowerState readState = getPowerState(baseConfigMap); in createSensors() local
325 maxValue, minValue, timeoutSecs, readState); in createSensors()
/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.cpp150 path(path), eventName(eventName), readState(powerState), waitTimer(io), in PSUSubEvent()
193 if (!readingStateGood(readState)) in setupRead()
H A DPSUSensorMain.cpp518 PowerState readState = getPowerState(*baseConfig); in createSensorsCallback() local
799 setReadState(powerState, readState); in createSensorsCallback()
963 readState, findSensorUnit->second, factor, in createSensorsCallback()
983 objectServer, dbusConnection, io, *psuName, readState, in createSensorsCallback()
1143 if (sensor != nullptr && sensor->readState == type) in powerStateChanged()
H A DPSUEvent.hpp64 PowerState readState; member in PSUSubEvent
/openbmc/phosphor-host-ipmid/
H A Dsensorhandler.cpp608 constexpr bool readState = true; in ipmiSensorGetSensorReading() local
615 senReading, reserved, readState, senScanState, in ipmiSensorGetSensorReading()
652 constexpr bool readState = true; in ipmiSensorGetSensorReading() local
658 return ipmi::responseSuccess(senReading, reserved, readState, in ipmiSensorGetSensorReading()
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensor.cpp588 readState = getPowerState(entry); in parseConfigValues()