diff options
| author | 2026-01-21 22:22:09 +0200 | |
|---|---|---|
| committer | 2026-01-23 21:21:39 +0100 | |
| commit | 5981d03c27a14df1c03e10570eeb1ab26e9709f7 (patch) | |
| tree | e41bdab20ae5f8e7e03de69f8e3b97cf2967ed73 /include/linux/hsi/ssh:/git@git.zx2c4.com/git: | |
| parent | rust: io: separate generic I/O helpers from MMIO implementation (diff) | |
rust: io: factor out MMIO read/write macros
Refactor the existing MMIO accessors to use common call macros
instead of inlining the bindings calls in each `define_{read,write}!`
expansion.
This factoring separates the common offset/bounds checks from the
low-level call pattern, making it easier to add additional I/O accessor
families.
No functional change intended.
Cc: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260121202212.4438-4-zhiw@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
