![]() |
PDK API Guide for AM64x
|
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 |
void* CSL_LcdmaRingaccRingCfg::virtBase |
[IN] Virtual base address of the ring memory
uint64_t CSL_LcdmaRingaccRingCfg::physBase |
[IN] Physical base address of the ring memory
CSL_LcdmaRingaccRingMode CSL_LcdmaRingaccRingCfg::mode |
[IN] Ring mode
uint32_t CSL_LcdmaRingaccRingCfg::elCnt |
[IN] Ring element count
uint32_t CSL_LcdmaRingaccRingCfg::elSz |
[IN] Ring element size in bytes (4,8,16,32,64,128,256)
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.
uint32_t CSL_LcdmaRingaccRingCfg::credSecure |
[IN] Ring credential: Secure attribute (0=non-secure, all other values=secure)
uint32_t CSL_LcdmaRingaccRingCfg::credPriv |
[IN] Ring credential: Privilege attribute (0=user, 1=supervisor, 2=hypervisor, 3=hypervisor supervisor)
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.
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.
uint32_t CSL_LcdmaRingaccRingCfg::ringNum |
(Private) Ring number (0-1023)
uint32_t CSL_LcdmaRingaccRingCfg::wrOcc |
(Private) Ring write-side occupancy count
uint32_t CSL_LcdmaRingaccRingCfg::rdOcc |
(Private) Ring read-side occupancy count
uint32_t CSL_LcdmaRingaccRingCfg::wrIdx |
(Private) Ring write-side index
uint32_t CSL_LcdmaRingaccRingCfg::rdIdx |
(Private) Ring read-side index
uint32_t CSL_LcdmaRingaccRingCfg::asel |
(Private) ASEL value extracted from physBase