Home
last modified time | relevance | path

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

/openbmc/phosphor-pid-control/dbus/
H A Ddbuswrite.cpp69 if (oldValue == static_cast<int64_t>(ovalue)) in write()
75 *written = oldValue; in write()
98 oldValue = static_cast<int64_t>(ovalue); in write()
101 *written = oldValue; in write()
131 if (oldValue == static_cast<int64_t>(value)) in write()
137 *written = oldValue; in write()
160 oldValue = static_cast<int64_t>(value); in write()
163 *written = oldValue; in write()
H A Ddbuswrite.hpp49 int64_t oldValue = -1; member in pid_control::DbusWritePercent
70 int64_t oldValue = -1; member in pid_control::DbusWrite
/openbmc/dbus-sensors/src/
H A Dsensor.hpp233 int setSensorValue(const double& newValue, double& oldValue) in setSensorValue()
243 oldValue = newValue; in setSensorValue()
257 oldValue = newValue; in setSensorValue()
278 "Value", value, [this](const double& newValue, double& oldValue) { in setInitialProperties() argument
279 return setSensorValue(newValue, oldValue); in setInitialProperties()
313 [&, label, thresSize](const double& request, double& oldValue) { in setInitialProperties() argument
314 oldValue = request; // todo, just let the config do this? in setInitialProperties()
529 double& oldValue, const double& newValue, in updateProperty()
532 if (requiresUpdate(oldValue, newValue)) in updateProperty()
534 oldValue = newValue; in updateProperty()
/openbmc/linux/arch/alpha/kernel/
H A Dsmc37c93x.c184 unsigned char oldValue; in SMCEnableFDC() local
193 oldValue = inb(dataPort); in SMCEnableFDC()
195 oldValue |= 0x0E; /* Enable burst mode */ in SMCEnableFDC()
196 outb(oldValue, dataPort); in SMCEnableFDC()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp206 const auto& [suffix, oldValue, dbusName] = vectorItem; in updateMinMaxValues()
211 updateProperty(sensorInterface, oldValue, *newVal, in updateMinMaxValues()
218 updateProperty(sensorInterface, oldValue, 0, dbusName); in updateMinMaxValues()
222 updateProperty(sensorInterface, oldValue, in updateMinMaxValues()
/openbmc/phosphor-pid-control/pid/
H A Dthermalcontroller.cpp141 double oldValue = value; in inputProc() local
152 if (oldValue != value) in inputProc()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_mp.c155 u32 oldValue = 0; in r8712_bb_reg_write() local
158 oldValue = r8712_bb_reg_read(pAdapter, iocmd.value); in r8712_bb_reg_write()
159 oldValue &= (0xFFFFFFFF >> ((4 - shift) * 8)); in r8712_bb_reg_write()
160 value = oldValue | (newValue << (shift * 8)); in r8712_bb_reg_write()
164 oldValue = r8712_bb_reg_read(pAdapter, iocmd.value); in r8712_bb_reg_write()
165 oldValue &= (0xFFFFFFFF << (shift * 8)); in r8712_bb_reg_write()
166 value = oldValue | (newValue >> ((4 - shift) * 8)); in r8712_bb_reg_write()
H A Drtl871x_mp_ioctl.c585 u32 oldValue = 0; in oid_rt_pro_write_register_hdl() local
597 oldValue = r8712_bb_reg_read(Adapter, offset); in oid_rt_pro_write_register_hdl()
598 oldValue &= 0xFFFFFF00; in oid_rt_pro_write_register_hdl()
600 value |= oldValue; in oid_rt_pro_write_register_hdl()
603 oldValue = r8712_bb_reg_read(Adapter, offset); in oid_rt_pro_write_register_hdl()
604 oldValue &= 0xFFFF0000; in oid_rt_pro_write_register_hdl()
606 value |= oldValue; in oid_rt_pro_write_register_hdl()
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dobject_server.hpp336 PropertyType oldValue = *value_; in operator ()() local
341 if (oldValue == *value_) in operator ()()
365 PropertyType oldValue = *value_; in operator ()() local
370 if (oldValue == *value_) in operator ()()
/openbmc/telemetry/src/
H A Dreport.cpp196 [this](bool newVal, auto& oldValue) { in makeReportInterface() argument
199 state.set<ReportFlags::enabled>(oldValue = newVal); in makeReportInterface()