796f06dc | 29-Jun-2023 |
Zev Weiss <zev@bewilderbeest.net> |
sysfs: Unconditionally replace '**' in FixupPath()
Previously this function had been constrained to only substitute '**' in the provided path if it contained "/sys/devices/platform/". Some devices
sysfs: Unconditionally replace '**' in FixupPath()
Previously this function had been constrained to only substitute '**' in the provided path if it contained "/sys/devices/platform/". Some devices that want to use the path-substitution feature may be more readily accessed via other sysfs paths, e.g. under /sys/bus/i2c/devices, so let's allow it to be applied more widely.
Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Change-Id: I9f622a911e8af43bf1a9416f0b86738bfde2e0df
show more ...
|
1df9e879 | 08-Oct-2020 |
Patrick Venture <venture@google.com> |
drop struct keyword for non-packed objects
As a style decision, struct is often used with packed structures to indicate they are used like C-structs. Cleanup this codebase to not use the extra stru
drop struct keyword for non-packed objects
As a style decision, struct is often used with packed structures to indicate they are used like C-structs. Cleanup this codebase to not use the extra struct keyword throughout.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I2f83bb1989e4d1f2f843ba3e45fb82e04f0fa61c
show more ...
|
a076487a | 08-Aug-2020 |
Patrick Venture <venture@google.com> |
sensors/zones: place in namespace and cleanup
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I527dbc8477a232945f696227a7b0b2adbee45175 |
3c2564cb | 10-Aug-2020 |
Patrick Venture <venture@google.com> |
sysfs/sysfsread: add missing explicit to constructor
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Id52936cb29563932dbd6e4cc52f4574e880e1f19 |
a83a3ecc | 04-Aug-2020 |
Patrick Venture <venture@google.com> |
update clang-format from Latest in docs
Updates the clang-format file and then applies it.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia9faf13ce171f90bf07547efd781139bee23e8c7 |
0c8223b5 | 08-May-2019 |
James Feist <james.feist@linux.intel.com> |
Consolidate all util.hpp
This deletes all lower level util.hpp and cats them into the top level util.hpp to avoid name conflicts.
Change-Id: Ia11e4a08053a3970b0aadf21d1156ab26def36bd Signed-off-by:
Consolidate all util.hpp
This deletes all lower level util.hpp and cats them into the top level util.hpp to avoid name conflicts.
Change-Id: Ia11e4a08053a3970b0aadf21d1156ab26def36bd Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
005d4621 | 08-Mar-2019 |
Patrick Venture <venture@google.com> |
use filesystem instead of experimental
Use filesystem now that it should be available instead of experimental::filesystem.
Change-Id: I8648ac2b279eea42c13d6b12f312a2e1e02aa152 Signed-off-by: Patric
use filesystem instead of experimental
Use filesystem now that it should be available instead of experimental::filesystem.
Change-Id: I8648ac2b279eea42c13d6b12f312a2e1e02aa152 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
a1c5d374 | 11-Feb-2019 |
Patrick Venture <venture@google.com> |
sysfs: style fix on sysfswrite
Fix camelCase styling on sysfswrite.
Change-Id: I6dec7f46687a1276e756687bc9669ab163b5fdc4 Signed-off-by: Patrick Venture <venture@google.com> |
5f59c0fd | 11-Nov-2018 |
Patrick Venture <venture@google.com> |
Move all floats to doubles
The code was developed initially around a pid loop implemented using floats. Therefore, the code was converting back and forth between double for sensor values as inputs
Move all floats to doubles
The code was developed initially around a pid loop implemented using floats. Therefore, the code was converting back and forth between double for sensor values as inputs and outputs from this PID loop.
Change-Id: I2d2919e1165103040729c9f16bb84fde3dd6b81b Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
da4a5dd1 | 31-Aug-2018 |
Patrick Venture <venture@google.com> |
add .clang-format
Change-Id: I6627b5569c2e0f730be7331403218b823a2c622f Signed-off-by: Patrick Venture <venture@google.com> |
e49bbfc7 | 11-Jun-2018 |
Patrick Venture <venture@google.com> |
sysfs: const-ify string parameters in constructors
Change-Id: I8cc427f5a99a11aaae0f18f0ddf5269e2142c33f Signed-off-by: Patrick Venture <venture@google.com> |
863b9246 | 08-Mar-2018 |
Patrick Venture <venture@google.com> |
Sensor Objects
This includes all the sensor objects including a few implementations, including dbus and sysfs sensors.
Change-Id: I9897c79f9fd463f00f0e02aeb6c32ffa89635dbe Signed-off-by: Patrick Ve
Sensor Objects
This includes all the sensor objects including a few implementations, including dbus and sysfs sensors.
Change-Id: I9897c79f9fd463f00f0e02aeb6c32ffa89635dbe Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|