|
AM64x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
72 #define UDMA_TR_TYPE_0 (CSL_UDMAP_TR_FLAGS_TYPE_1D_DATA_MOVE)
73 #define UDMA_TR_TYPE_1 (CSL_UDMAP_TR_FLAGS_TYPE_2D_DATA_MOVE)
74 #define UDMA_TR_TYPE_2 (CSL_UDMAP_TR_FLAGS_TYPE_3D_DATA_MOVE)
75 #define UDMA_TR_TYPE_3 (CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE)
76 #define UDMA_TR_TYPE_4 (CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE_FORMATTING)
77 #define UDMA_TR_TYPE_5 (CSL_UDMAP_TR_FLAGS_TYPE_4D_CACHE_WARM)
78 #define UDMA_TR_TYPE_8 (CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE)
79 #define UDMA_TR_TYPE_9 (CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING)
80 #define UDMA_TR_TYPE_10 (CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE)
81 #define UDMA_TR_TYPE_11 (CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE_REPACKING)
82 #define UDMA_TR_TYPE_15 (CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING_INDIRECTION)
94 #define UDMA_GET_TRPD_TR15_SIZE(n) (UDMA_ALIGN_SIZE(sizeof(CSL_UdmapTR15) + ((n) * (sizeof(CSL_UdmapTR15) + 4U))))
210 uint32_t localeventID, uint32_t eventMode);
220 uint32_t trRespStatus;
221 const uint32_t *pTrResp;;
224 pTrResp = (
const uint32_t *) (trpdMem +
225 (
sizeof(CSL_UdmapTR15) +
226 (
sizeof(CSL_UdmapTR15) * trCnt) +
227 (
sizeof(uint32_t) * trIndex)));
228 trRespStatus = CSL_FEXT(*pTrResp, UDMAP_TR_RESPONSE_STATUS_TYPE);
230 return (trRespStatus);
238 pTr = (CSL_UdmapTR15 *)(trpdMem +
sizeof(CSL_UdmapTR15) + (
sizeof(CSL_UdmapTR15) * trIndex));
void * Udma_ChHandle
UDMA channel handle.
Definition: udma_types.h:67
uint32_t UdmaUtils_getTrSizeEncoded(uint32_t trType)
Returns the size of TR (encoded) based on the type.
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.
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 thi...
char mode[32]
Definition: tisci_pm_core.h:1
uint32_t UdmaUtils_getTrSizeBytes(uint32_t trType)
Returns the size of TR in bytes based on the type.
void * Udma_DrvHandle
UDMA driver handle.
Definition: udma_types.h:65
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.
Definition: udma_utils.h:216
uint32_t UdmaUtils_getRingMemSize(uint8_t mode, uint32_t elemCnt, uint8_t elemSize)
UDMA get ring size utility API.
int32_t UdmaUtils_mapLocaltoGlobalEvent(Udma_DrvHandle drvHandle, Udma_ChHandle chHandle, uint32_t localeventID, uint32_t eventMode)
Map L2G event for BCDMA trigger.
static CSL_UdmapTR15 * UdmaUtils_getTrpdTr15Pointer(uint8_t *trpdMem, uint32_t trIndex)
Returns the TR15 pointer in the TRPD memory based on the index.
Definition: udma_utils.h:233