kernel

Module io

Source
Expand description

Memory-mapped IO.

C header: include/asm-generic/io.h

Re-exports§

Modules§

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 Io region.

Structs§

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§