aboutsummaryrefslogtreecommitdiff
path: root/rust/macros/helpers.rs
diff options
context:
space:
mode:
authorAniket <[email protected]>2024-07-08 06:21:02 +0000
committerAlexandre Belloni <[email protected]>2024-07-26 14:21:30 +0200
commiteffd21743c39a6535f204812006054fa172e4313 (patch)
tree1e60badc7fe263298d772a7ca4379e9fe1a17817 /rust/macros/helpers.rs
parent4e89bc48e66a9aef46a705943d3f81bffb3a2288 (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