UDMA utility API to make TR, get TR descriptor memory requirement.
Go to the source code of this file.
Functions | |
uint32_t | UdmaUtils_getRingMemSize (uint8_t mode, uint32_t elemCnt, uint8_t elemSize) |
UDMA get ring size utility API. More... | |
void | UdmaUtils_makeTrpdTr15 (uint8_t *trpdMem, uint32_t trCnt, uint32_t cqRingNum) |
UDMA utility API to make TRPD with TR15 TR type. Other TRPD make APIs should be called only after this API. More... | |
void | UdmaUtils_makeTrpd (uint8_t *trpdMem, uint32_t trType, uint32_t trCnt, uint32_t cqRingNum) |
UDMA utility API to make TRPD. Other TRPD make APIs should be called only after this API. More... | |
uint32_t | UdmaUtils_getTrSizeEncoded (uint32_t trType) |
Returns the size of TR (encoded) based on the type. More... | |
uint32_t | UdmaUtils_getTrSizeBytes (uint32_t trType) |
Returns the size of TR in bytes based on the type. More... | |
static uint32_t | UdmaUtils_getTrpdTr15Response (const uint8_t *trpdMem, uint32_t trCnt, uint32_t trIndex) |
Returns the TR response in the TRPD memory based on the index. More... | |
static CSL_UdmapTR15 * | UdmaUtils_getTrpdTr15Pointer (uint8_t *trpdMem, uint32_t trIndex) |
Returns the TR15 pointer in the TRPD memory based on the index. More... | |
int32_t | UdmaUtils_mapLocaltoGlobalEvent (Udma_DrvHandle drvHandle, Udma_ChHandle chHandle, uint32_t localeventID, uint32_t eventMode) |
Map L2G event for BCDMA trigger. More... | |