Expand description
Memory-mapped IO.
C header: include/asm-generic/io.h
Re-exports§
pub use resource::Resource;
Modules§
- Generic memory-mapped IO.
- IO polling.
- Macro to define register layout and accessors.
- Abstractions for system resources.
Macros§
- Project an I/O type to a subview of it.
- Read from I/O memory.
- Writes to I/O memory.
- Defines a dedicated type for a register, including getter and setter methods for its fields and methods to read and write it from an
Ioregion.
Structs§
- I/O Backend for
IoSysMap. - A view of memory-mapped I/O region.
- I/O Backend for memory-mapped I/O.
- Raw representation of an MMIO region.
- Untyped I/O region.
Mmiobut using relaxed accessors.- I/O Backend for memory-mapped I/O, with relaxed access semantics.
- A view of a system memory region.
- I/O Backend for system memory.
Enums§
Traits§
- Extension trait to provide I/O operation methods to types that implement
IoBase. - I/O backends.
- Types implementing this trait (e.g. MMIO BARs or PCI config regions) can perform I/O operations on regions of memory.
- Trait indicating that an I/O backend supports operations of a certain type and providing an implementation for these operations.
- Trait indicating that an I/O backend supports memory copy operations.
- Describes a given I/O location: its offset, width, and type to convert the raw value from and into.
Type Aliases§
- Physical address type.
- Resource Size type.