The buffer descriptor (BD) format used in scatter-gather mode is shown in the following table. Both the SRC and DST implement the same format descriptor with a few exceptions. Similar words are implemented in the control registers, which can be used in simple DMA mode. By dividing the descriptor into 32-bit words and implementing them on the control registers, a consistent view is provided in both simple and scatter-gather mode.
Word Number | Field Name | Size (bytes) | Bits | Description |
---|---|---|---|---|
0 | ADDR LSB | 4 | [31:0] | Lower 32 bits of the address pointing to the data/payload buffer. |
1 | ADDR MSB | 4 | [11:0] | Upper 12 bits of the address pointing to the data/payload buffer. |
[31:12] | Reserved. | |||
2 | SIZE | 4 | [29:0] | Buffer size in bytes (1 G = 230 ) |
[31:30] | Reserved. | |||
3 | CNTL | 4 | [0] |
Coherency: Reserved |
[1] |
DSCR element type: Each descriptor can be viewed as a 128/256-bit descriptor.
|
|||
[2] |
INTR
|
|||
[4:3] |
CMD This field is valid only on a SRC descriptor and is reserved on a DST descriptor.
|
|||
[31:5] | Reserved. | |||
4 | NEXT ADDR LSB | 4 | [31:0] | Lower 32 bits of the NEXT descriptor address. This field exists
only if the DSCR element type is set as 1 . |
5 | NEXT ADDR MSB | 4 | [11:0] | Upper 12 bits of the NEXT descriptor address. |
[31:12] |
Reserved. This field exists only if the DSCR element type is set as
|
|||
6 | Reserved | 4 | [31:0] |
Reserved. This field exists only if the DSCR element type is set as
|
7 | Reserved | 4 | [31:0] |
Reserved. This field exists only if the DSCR element type is set as
|