/openbmc/phosphor-pid-control/sensors/ |
H A D | pluggable.cpp | diff 2400ce43fafd35bc26b2a6798ac50ddf6aa7a517 Thu Oct 01 03:50:39 CDT 2020 Josh Lehan <krellan@google.com> dbuswrite: Add another write() form to WriteInterface
Adding another form of the write() call, which takes 3 arguments instead of 1, providing an alternate interface for caller to use.
A compatibility function is provided, which simply calls write(), so no API breakage.
The additional arguments to write() allow caller to force the write to happen even if old value same, and/or to learn the actual raw value written.
Adding boilerplate to Sensor and PluggableSensor, to also pass the 3-argument write() through.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Iaf35f674ef9ce38b56017f6cb0f821df6c789649
|
H A D | pluggable.hpp | diff 2400ce43fafd35bc26b2a6798ac50ddf6aa7a517 Thu Oct 01 03:50:39 CDT 2020 Josh Lehan <krellan@google.com> dbuswrite: Add another write() form to WriteInterface
Adding another form of the write() call, which takes 3 arguments instead of 1, providing an alternate interface for caller to use.
A compatibility function is provided, which simply calls write(), so no API breakage.
The additional arguments to write() allow caller to force the write to happen even if old value same, and/or to learn the actual raw value written.
Adding boilerplate to Sensor and PluggableSensor, to also pass the 3-argument write() through.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Iaf35f674ef9ce38b56017f6cb0f821df6c789649
|
H A D | sensor.hpp | diff 2400ce43fafd35bc26b2a6798ac50ddf6aa7a517 Thu Oct 01 03:50:39 CDT 2020 Josh Lehan <krellan@google.com> dbuswrite: Add another write() form to WriteInterface
Adding another form of the write() call, which takes 3 arguments instead of 1, providing an alternate interface for caller to use.
A compatibility function is provided, which simply calls write(), so no API breakage.
The additional arguments to write() allow caller to force the write to happen even if old value same, and/or to learn the actual raw value written.
Adding boilerplate to Sensor and PluggableSensor, to also pass the 3-argument write() through.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Iaf35f674ef9ce38b56017f6cb0f821df6c789649
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbuswrite.hpp | diff 2400ce43fafd35bc26b2a6798ac50ddf6aa7a517 Thu Oct 01 03:50:39 CDT 2020 Josh Lehan <krellan@google.com> dbuswrite: Add another write() form to WriteInterface
Adding another form of the write() call, which takes 3 arguments instead of 1, providing an alternate interface for caller to use.
A compatibility function is provided, which simply calls write(), so no API breakage.
The additional arguments to write() allow caller to force the write to happen even if old value same, and/or to learn the actual raw value written.
Adding boilerplate to Sensor and PluggableSensor, to also pass the 3-argument write() through.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Iaf35f674ef9ce38b56017f6cb0f821df6c789649
|
H A D | dbuswrite.cpp | diff 2400ce43fafd35bc26b2a6798ac50ddf6aa7a517 Thu Oct 01 03:50:39 CDT 2020 Josh Lehan <krellan@google.com> dbuswrite: Add another write() form to WriteInterface
Adding another form of the write() call, which takes 3 arguments instead of 1, providing an alternate interface for caller to use.
A compatibility function is provided, which simply calls write(), so no API breakage.
The additional arguments to write() allow caller to force the write to happen even if old value same, and/or to learn the actual raw value written.
Adding boilerplate to Sensor and PluggableSensor, to also pass the 3-argument write() through.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Iaf35f674ef9ce38b56017f6cb0f821df6c789649
|
/openbmc/phosphor-pid-control/ |
H A D | interfaces.hpp | diff 2400ce43fafd35bc26b2a6798ac50ddf6aa7a517 Thu Oct 01 03:50:39 CDT 2020 Josh Lehan <krellan@google.com> dbuswrite: Add another write() form to WriteInterface
Adding another form of the write() call, which takes 3 arguments instead of 1, providing an alternate interface for caller to use.
A compatibility function is provided, which simply calls write(), so no API breakage.
The additional arguments to write() allow caller to force the write to happen even if old value same, and/or to learn the actual raw value written.
Adding boilerplate to Sensor and PluggableSensor, to also pass the 3-argument write() through.
Signed-off-by: Josh Lehan <krellan@google.com> Change-Id: Iaf35f674ef9ce38b56017f6cb0f821df6c789649
|