PDK API Guide for AM64x
CSL_LcdmaRingaccRingCfg Struct Reference

Detailed Description

CSL_LcdmaRingaccRingCfg contains information to configure a ring.

Data Fields

void * virtBase
 
uint64_t physBase
 
CSL_LcdmaRingaccRingMode mode
 
uint32_t elCnt
 
uint32_t elSz
 
uint32_t credChkSecure
 
uint32_t credSecure
 
uint32_t credPriv
 
uint32_t credPrivId
 
uint32_t credVirtId
 
uint32_t ringNum
 
uint32_t wrOcc
 
uint32_t rdOcc
 
uint32_t wrIdx
 
uint32_t rdIdx
 
uint32_t asel
 

Field Documentation

◆ virtBase

void* CSL_LcdmaRingaccRingCfg::virtBase

[IN] Virtual base address of the ring memory

◆ physBase

uint64_t CSL_LcdmaRingaccRingCfg::physBase

[IN] Physical base address of the ring memory

◆ mode

CSL_LcdmaRingaccRingMode CSL_LcdmaRingaccRingCfg::mode

[IN] Ring mode

◆ elCnt

uint32_t CSL_LcdmaRingaccRingCfg::elCnt

[IN] Ring element count

◆ elSz

uint32_t CSL_LcdmaRingaccRingCfg::elSz

[IN] Ring element size in bytes (4,8,16,32,64,128,256)

◆ credChkSecure

uint32_t CSL_LcdmaRingaccRingCfg::credChkSecure

[lcdma_ringacc_only] [IN] When set indicates that accesses to the ring realtime registers for this flow as well as the channel realtime registers for the corresponding channel(s) associated with this flow should only be permitted when the host transaction secure attribute matches the credSecure value.

◆ credSecure

uint32_t CSL_LcdmaRingaccRingCfg::credSecure

[IN] Ring credential: Secure attribute (0=non-secure, all other values=secure)

◆ credPriv

uint32_t CSL_LcdmaRingaccRingCfg::credPriv

[IN] Ring credential: Privilege attribute (0=user, 1=supervisor, 2=hypervisor, 3=hypervisor supervisor)

◆ credPrivId

uint32_t CSL_LcdmaRingaccRingCfg::credPrivId

[IN] Ring credential: Privilege ID attribute. If credPrivId==CSL_LCDMA_RINGACC_CRED_PASSTHRU (0xFFFFFFFFU), then priv ID is not replaced and existing value is passed through.

◆ credVirtId

uint32_t CSL_LcdmaRingaccRingCfg::credVirtId

[ringacc_only] [IN] Ring credential: Virtual ID attribute. If credVirtId==CSL_LCDMA_RINGACC_CRED_PASSTHRU (0xFFFFFFFFU), then virtual ID is not replaced and existing value is passed through.

◆ ringNum

uint32_t CSL_LcdmaRingaccRingCfg::ringNum

(Private) Ring number (0-1023)

◆ wrOcc

uint32_t CSL_LcdmaRingaccRingCfg::wrOcc

(Private) Ring write-side occupancy count

◆ rdOcc

uint32_t CSL_LcdmaRingaccRingCfg::rdOcc

(Private) Ring read-side occupancy count

◆ wrIdx

uint32_t CSL_LcdmaRingaccRingCfg::wrIdx

(Private) Ring write-side index

◆ rdIdx

uint32_t CSL_LcdmaRingaccRingCfg::rdIdx

(Private) Ring read-side index

◆ asel

uint32_t CSL_LcdmaRingaccRingCfg::asel

(Private) ASEL value extracted from physBase