diff options
author | Aniket <[email protected]> | 2024-07-08 06:21:02 +0000 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2024-07-26 14:21:30 +0200 |
commit | effd21743c39a6535f204812006054fa172e4313 (patch) | |
tree | 1e60badc7fe263298d772a7ca4379e9fe1a17817 /rust/macros/helpers.rs | |
parent | 4e89bc48e66a9aef46a705943d3f81bffb3a2288 (diff) |
i3c: dw: Add some functions for reusability
Separate logic for setting intr/thld registers in a func.
Also modify enable function to take care of setting all fields in DEVICE_CTRL.
These functions can be reused later for power management.
Signed-off-by: Aniket <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions