TSEC: Difference between revisions

No edit summary
No edit summary
Line 2,701: Line 2,701:
|}
|}


=== TSEC_DMA_CMD ===
=== TSEC_BAR0_CTL ===
{| class="wikitable" border="1"
{| class="wikitable" border="1"
!  Bits
!  Bits
Line 2,707: Line 2,707:
|-
|-
| 0
| 0
| TSEC_DMA_CMD_READ
| TSEC_BAR0_CTL_READ
|-
|-
| 1
| 1
| TSEC_DMA_CMD_WRITE
| TSEC_BAR0_CTL_WRITE
|-
|-
| 4-7
| 4-7
| TSEC_DMA_CMD_BYTE_MASK
| TSEC_BAR0_CTL_BYTE_MASK
|-
|-
| 12-13
| 12-13
| TSEC_DMA_CMD_STATUS
| TSEC_BAR0_CTL_STATUS
  0: Idle
  0: Idle
  1: Busy
  1: Busy
Line 2,723: Line 2,723:
|-
|-
| 31
| 31
| TSEC_DMA_CMD_INIT
| TSEC_BAR0_CTL_INIT
|}
|}


A DMA read/write operation requires bits TSEC_DMA_CMD_INIT and TSEC_DMA_CMD_READ/TSEC_DMA_CMD_WRITE to be set in TSEC_DMA_CMD.
A BAR0 DMA read/write operation requires bits TSEC_BAR0_CTL_INIT and TSEC_BAR0_CTL_READ/TSEC_BAR0_CTL_WRITE to be set in TSEC_BAR0_CTL.


During the transfer, TSEC_DMA_CMD_STATUS is set to "Busy".
During the transfer, TSEC_BAR0_CTL_STATUS is set to "Busy".


Accessing an invalid address sets TSEC_DMA_CMD_STATUS to "Error".
Accessing an invalid address sets TSEC_BAR0_CTL_STATUS to "Error".


=== TSEC_DMA_ADDR ===
=== TSEC_BAR0_ADDR ===
Takes the address for DMA transfers between TSEC and HOST1X (master and clients).
Takes the address for DMA transfers between TSEC and HOST1X (master and clients).


=== TSEC_DMA_DATA ===
=== TSEC_BAR0_DATA ===
Takes the data for DMA transfers between TSEC and HOST1X (master and clients).
Takes the data for DMA transfers between TSEC and HOST1X (master and clients).


=== TSEC_DMA_TIMEOUT ===
=== TSEC_BAR0_TIMEOUT ===
Always 0xFFF.
Takes the timeout value for DMA transfers between TSEC and HOST1X (master and clients).


=== TSEC_TEGRA_CTL ===
=== TSEC_TEGRA_CTL ===