Skip to main content

Module sirm

Module sirm 

Source
Expand description

SIRM register offsets from the SIRM base address.

The device fills in Info and the three required sizes; the host writes the transfer layout and Control.

Constants§

CONTROL
u32: bit 0 is StreamEnable.
FINAL_TRANSFER1_SIZE
u32, written by the host: the first final transfer’s size.
FINAL_TRANSFER2_SIZE
u32, written by the host: the second final transfer’s size.
INFO
u32: bits 24-31 are the log2 of the transfer alignment.
LEN
Bytes in the SIRM.
MAX_LEADER_SIZE
u32, written by the host: the leader transfer’s size.
MAX_TRAILER_SIZE
u32, written by the host: the trailer transfer’s size.
PAYLOAD_TRANSFER_COUNT
u32, written by the host: how many payload transfers of that size.
PAYLOAD_TRANSFER_SIZE
u32, written by the host: each payload transfer’s size.
REQUIRED_LEADER_SIZE
u32, read-only: bytes the leader needs.
REQUIRED_PAYLOAD_SIZE
u64, read-only: bytes of payload in one block.
REQUIRED_TRAILER_SIZE
u32, read-only: bytes the trailer needs.
STREAM_ENABLE
Control’s StreamEnable bit.