linux/rust/kernel/io
Gary Guo c09d3a26e1 rust: io: register: support fixed offset register without bitfield
Add a rule to allow creating `IoLoc` in `register!()` using an existing
type and not create a bitfield. Add an example to demonstrate this for FIFO
registers.

This rule is also going to be used to create subregions for registers; the
example of doing so will be added later when relative registers are
removed.

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Gary Guo <gary@garyguo.net>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260901-typed_register-v4-11-5552b1d59525@garyguo.net
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-09-06 13:39:49 +02:00
..
mem.rs I/O type generalization and projection 2026-07-13 23:50:39 +02:00
poll.rs rust: io: implement Mmio as view type 2026-07-11 17:59:32 +02:00
register.rs rust: io: register: support fixed offset register without bitfield 2026-09-06 13:39:49 +02:00
resource.rs rust: make build_assert module the home of related macros 2026-06-10 09:07:13 +02:00