AM62Ax MCU+ SDK  10.01.00

Introduction

This is the interface for the different Transfer Request (TR) structures and different make APIs to construct and use TR

Data Structures

struct  CSL_UdmapTR
 CSL_UdmapTR specifies a Transfer Request. More...
 
struct  CSL_UdmapTR0
 CSL_UdmapTR0 specifies a Type 0 (One dimensional data move) Transfer Request. More...
 
struct  CSL_UdmapTR1
 CSL_UdmapTR1 specifies a Type 1 (Two dimensional data move) Transfer Request. More...
 
struct  CSL_UdmapTR2
 CSL_UdmapTR2 specifies a Type 2 (Three dimensional data move) Transfer Request. More...
 
struct  CSL_UdmapTR3
 CSL_UdmapTR3 specifies a Type 3 (Four dimensional data move) Transfer Request. More...
 
struct  CSL_UdmapTR4
 CSL_UdmapTR4 specifies a Type 4 (Four dimensional data move with data formatting) Transfer Request. More...
 
struct  CSL_UdmapTR5
 CSL_UdmapTR5 specifies a Type 5 (Four dimensional cache warm) Transfer Request. More...
 
struct  CSL_UdmapTR8
 CSL_UdmapTR8 specifies a Type 8 Transfer Request. More...
 
struct  CSL_UdmapTR9
 CSL_UdmapTR9 specifies a Type 9 Transfer Request. More...
 
struct  CSL_UdmapTR10
 CSL_UdmapTR10 specifies a Type 10 Transfer Request. More...
 
struct  CSL_UdmapTR11
 CSL_UdmapTR11 specifies a Type 11 Transfer Request. More...
 
struct  CSL_UdmapTR15
 CSL_UdmapTR15 specifies a Type 15 Transfer Request. More...
 
struct  CSL_UdmapSecTR
 CSL_UdmapSecTR specifies a secondary Transfer Request. More...
 
struct  CSL_UdmapTrResponse
 
struct  CSL_UdmapTdResponse
 

Functions

struct CSL_UdmapTR_t __attribute__ ((__packed__))
 
static CSL_UdmapTrResponseStatus CSL_udmapTrResponseGetStatusType (const CSL_UdmapTrResponse *pTrResponse)
 Return the TR response status type. More...
 
static void CSL_udmapGetTdResponse (uint64_t tdResponseWord, CSL_UdmapTdResponse *pTdResponse)
 Parses the TD response word. More...
 

CSL UDMAP TR Flags

CSL UDMAP TR Flags.

#define CSL_UDMAP_TR_FLAGS_TYPE_SHIFT   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FLAGS_TYPE_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_STATIC_SHIFT   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_FLAGS_STATIC_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_STATIC_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_WAIT_SHIFT   ((uint32_t) 5U)
 
#define CSL_UDMAP_TR_FLAGS_WAIT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_WAIT_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_SHIFT   ((uint32_t) 6U)
 
#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_EVENT_SIZE_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER0_SHIFT   ((uint32_t) 8U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER0_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER0_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_SHIFT   ((uint32_t) 10U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER1_SHIFT   ((uint32_t) 12U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER1_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER1_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_SHIFT   ((uint32_t) 14U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_CMD_ID_SHIFT   ((uint32_t) 16U)
 
#define CSL_UDMAP_TR_FLAGS_CMD_ID_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_FLAGS_CMD_ID_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_CFG_FLAGS_SHIFT   ((uint32_t) 24U)
 
#define CSL_UDMAP_TR_FLAGS_CFG_FLAGS_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_FLAGS_CFG_FLAGS_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_SA_INDIRECT_SHIFT   ((uint32_t) 24U)
 
#define CSL_UDMAP_TR_FLAGS_SA_INDIRECT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_SA_INDIRECT_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_DA_INDIRECT_SHIFT   ((uint32_t) 25U)
 
#define CSL_UDMAP_TR_FLAGS_DA_INDIRECT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_DA_INDIRECT_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_SUPR_EVT_SHIFT   ((uint32_t) 26U)
 
#define CSL_UDMAP_TR_FLAGS_SUPR_EVT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_SUPR_EVT_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_EOL_SHIFT   ((uint32_t) 28U)
 
#define CSL_UDMAP_TR_FLAGS_EOL_MASK   (((uint32_t) 7U) << CSL_UDMAP_TR_FLAGS_EOL_SHIFT)
 
#define CSL_UDMAP_TR_FLAGS_EOP_SHIFT   ((uint32_t) 31U)
 
#define CSL_UDMAP_TR_FLAGS_EOP_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_EOP_SHIFT)
 

UDMAP TR flags type

This enumerator defines the the type of TR being sent

typedef uint32_t CSL_UdmapTrFlagsType
 
#define CSL_UDMAP_TR_FLAGS_TYPE_1D_DATA_MOVE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_2D_DATA_MOVE   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_3D_DATA_MOVE   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE_FORMATTING   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_4D_CACHE_WARM   ((uint32_t) 5U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE   ((uint32_t) 8U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING   ((uint32_t) 9U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE   ((uint32_t) 10U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE_REPACKING   ((uint32_t) 11U)
 
#define CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING_INDIRECTION   ((uint32_t) 15U)
 

UDMAP TR flags event size

This enumerator specifies when an event is generated for each TR

typedef uint32_t CSL_UdmapTrFlagsEventSize
 
#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_COMPLETION   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT1_DEC   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT2_DEC   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT3_DEC   ((uint32_t) 3U)
 

UDMAP TR flags trigger

This enumerator specifies the type of trigger used to enable the TR to transfer data as specified by CSL_UdmapTrFlagsTriggerType

typedef uint32_t CSL_UdmapTrFlagsTrigger
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_NONE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_GLOBAL0   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_GLOBAL1   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_LOCAL_EVENT   ((uint32_t) 3U)
 

UDMAP TR flags trigger type

This enumerator specifies the type of data transfer that will be enabled by receiving a trigger as specified by CSL_UdmapTrFlagsTrigger

typedef uint32_t CSL_UdmapTrFlagsTriggerType
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT1_DEC   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT2_DEC   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT3_DEC   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ALL   ((uint32_t) 3U)
 

CSL UDMAP TR Format Flags

CSL UDMAP TR Format Flags.

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SHIFT   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_MASK   (((uint32_t) 7U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_DIR_SHIFT   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DIR_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FMTFLAGS_DIR_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_SHIFT   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_ELYPE_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_SHIFT   ((uint32_t) 8U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_DFMT_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_SECTR_SHIFT   ((uint32_t) 12U)
 
#define CSL_UDMAP_TR_FMTFLAGS_SECTR_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_SECTR_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_SHIFT   ((uint32_t) 16U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_SHIFT   ((uint32_t) 20U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_SHIFT   ((uint32_t) 24U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_SHIFT   ((uint32_t) 26U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_SHIFT   ((uint32_t) 28U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_SHIFT)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_SHIFT   ((uint32_t) 30U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_SHIFT)
 
#define CSL_UDMAP_TR_CACHEFLAGS_CACHEID_SHIFT   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_CACHEFLAGS_CACHEID_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_CACHEFLAGS_CACHEID_SHIFT)
 
#define CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_SHIFT   ((uint32_t) 24U)
 
#define CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_SHIFT)
 

UDMAP TR format flags amode

This enumerator specifies the addressing mode of TR that is being sent

typedef uint32_t CSL_UdmapTrFmtflagsAmode
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_LINEAR   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_CIRCULAR   ((uint32_t) 1U)
 

UDMAP TR format flags amode specific CBK values

This enumerator specifies CBK0 and CBK1 values used to compute the circular block sizes for circular addressing

typedef uint32_t CSL_UdmapTrFmtflagsAmodeSpecificCbk
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_512B   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_1KB   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_2KB   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_4KB   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_8KB   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_16KB   ((uint32_t) 5U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_32KB   ((uint32_t) 6U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_64KB   ((uint32_t) 7U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_128KB   ((uint32_t) 8U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_256KB   ((uint32_t) 9U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_512KB   ((uint32_t) 10U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_1GB   ((uint32_t) 11U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_2GB   ((uint32_t) 12U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_4GB   ((uint32_t) 13U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_8GB   ((uint32_t) 14U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_16GB   ((uint32_t) 15U)
 

UDMAP TR format flags amode specific amode

This enumerator specifies the addressing mode of TR that is being sent

typedef uint32_t CSL_UdmapTrFmtflagsAmodeSpecificAmode
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_LINEAR   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_CBK0   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_CBK1   ((uint32_t) 2U)
 

UDMAP TR format flags direction

This enumerator specifies the addressing mode of TR that is being sent

typedef uint32_t CSL_UdmapTrFmtflagsDir
 
#define CSL_UDMAP_TR_FMTFLAGS_DIR_SRC_USES_AMODE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DIR_DST_USES_AMODE   ((uint32_t) 1U)
 

UDMAP TR format flags element type

This enumerator specifies the basic unit that is used for the innermost loop

typedef uint32_t CSL_UdmapTrFmtflagsEltype
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1p5   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_2   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_3   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_4   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_5   ((uint32_t) 5U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_16   ((uint32_t) 6U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_32   ((uint32_t) 7U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1_2   ((uint32_t) 8U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1p5_2   ((uint32_t) 9U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_2_1   ((uint32_t) 10U)
 
#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_2_1p5   ((uint32_t) 11U)
 

UDMAP TR format flags dfmt

This enumerator specifies a manipulation of the data between how it is read and how it is sent

typedef uint32_t CSL_UdmapTrFmtflagsDfmt
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_NO_CHANGE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_CONSTANT_COPY   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_TRANSPOSE   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_REVERSE   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_FMTFLAGS_DFMT_REVERSE_TRANSPOSE   ((uint32_t) 4U)
 

UDMAP TR format cache flags operation

This enumerator specifies the cache operation for a cache warm TR type

typedef uint32_t CSL_UdmapTrCacheflagsOp
 
#define CSL_UDMAP_TR_CACHEFLAGS_OP_PREWARM_CACHE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_CACHEFLAGS_OP_PREWARM_MMU   ((uint32_t) 1U)
 

CSL UDMAP Secondary TR Flags

CSL UDMAP Secondary TR Flags.

#define CSL_UDMAP_SECTR_FLAGS_TYPE_SHIFT   ((uint32_t) 0U)
 
#define CSL_UDMAP_SECTR_FLAGS_TYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_SECTR_FLAGS_TYPE_SHIFT)
 
#define CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_SHIFT   ((uint32_t) 4U)
 
#define CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_MASK   (((uint32_t) 0xFFFFFFF0U) << CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_SHIFT)
 

UDMAP TR format flags secondary TR

This enumerator specifies if the TR requires an additional TR located in memory

typedef uint32_t CSL_UdmapTrFmtflagsSectr
 
#define CSL_UDMAP_TR_FMTFLAGS_SECTR_NONE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FMTFLAGS_SECTR_64   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FMTFLAGS_SECTR_128   ((uint32_t) 2U)
 

CSL UDMAP TR Response Flags

CSL UDMAP TR Response Flags.

#define CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_SHIFT   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_SHIFT)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_INFO_SHIFT   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_INFO_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_RESPONSE_STATUS_FIELD_SHIFT)
 
#define CSL_UDMAP_TR_RESPONSE_CMDID_SHIFT   ((uint32_t) 16U)
 
#define CSL_UDMAP_TR_RESPONSE_CMDID_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_RESPONSE_CMDID_SHIFT)
 
#define CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_SHIFT   ((uint32_t) 24U)
 
#define CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_SHIFT)
 

UDMAP TR response status

This enumerator is used to determine what type of status is being returned

typedef uint32_t CSL_UdmapTrResponseStatus
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_COMPLETE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_TRANSFER_ERR   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_ABORTED_ERR   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_ERR   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_ERR   ((uint32_t) 4U)
 

UDMAP TR response status submission

This enumerator is returned for a TR that is received that can not be run

typedef uint32_t CSL_UdmapTrResponseStatusSubmission
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_ICNT0   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_FIFO_FULL   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_OWN   ((uint32_t) 2U)
 

UDMAP TR response status unsupported

This enumerator is returned for a TR that is received that can not be run because it specifies a feature that is optional and not supported by the UTC that received the TR

typedef uint32_t CSL_UdmapTrResponseStatusUnsupported
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_TR_TYPE   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_STATIC   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_EOL   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_CFG_SPECIFIC   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_AMODE   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_ELTYPE   ((uint32_t) 5U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_DFMT   ((uint32_t) 6U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_SECTR   ((uint32_t) 7U)
 
#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_AMODE_SPECIFIC   ((uint32_t) 8U)
 

UDMAP TR EOL packet type

This enumerator defines the the type of EOL packet sent in configurations specific flag in the TR. This is only valid if TR type(UDMAP_TR_FLAGS_TYPE) is CSL_UDMAP_TR_FLAGS_TYPE_1D_DATA_MOVE or CSL_UDMAP_TR_FLAGS_TYPE_2D_DATA_MOVE or CSL_UDMAP_TR_FLAGS_TYPE_3D_DATA_MOVE or CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE

typedef uint32_t CSL_UdmapTrFlagsEol
 
#define CSL_UDMAP_TR_FLAGS_EOL_MATCH_SOL_EOL   ((uint32_t) 0U)
 
#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0   ((uint32_t) 1U)
 
#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1   ((uint32_t) 2U)
 
#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1_ICNT2   ((uint32_t) 3U)
 
#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1_ICNT2_ICNT3   ((uint32_t) 4U)
 
#define CSL_UDMAP_TR_FLAGS_EOL_RESERVED   ((uint32_t) 5U)
 

CSL UDMAP Teardown Response Flags

CSL UDMAP Teardown Response Flags.

#define CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_SHIFT   ((uint32_t) 0U)
 
#define CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_SHIFT)
 
#define CSL_UDMAP_TD_RESPONSE_CHAN_ID_SHIFT   ((uint32_t) 4U)
 
#define CSL_UDMAP_TD_RESPONSE_CHAN_ID_MASK   (((uint32_t) 0x3FFU) << CSL_UDMAP_TD_RESPONSE_CHAN_ID_SHIFT)
 
#define CSL_UDMAP_TD_RESPONSE_FORCED_SHIFT   ((uint32_t) 31U)
 
#define CSL_UDMAP_TD_RESPONSE_FORCED_MASK   (((uint32_t) 0x1U) << CSL_UDMAP_TD_RESPONSE_FORCED_SHIFT)
 

Macro Definition Documentation

◆ CSL_UDMAP_TR_FLAGS_TYPE_SHIFT

#define CSL_UDMAP_TR_FLAGS_TYPE_SHIFT   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_MASK

#define CSL_UDMAP_TR_FLAGS_TYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FLAGS_TYPE_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_STATIC_SHIFT

#define CSL_UDMAP_TR_FLAGS_STATIC_SHIFT   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_FLAGS_STATIC_MASK

#define CSL_UDMAP_TR_FLAGS_STATIC_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_STATIC_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_WAIT_SHIFT

#define CSL_UDMAP_TR_FLAGS_WAIT_SHIFT   ((uint32_t) 5U)

◆ CSL_UDMAP_TR_FLAGS_WAIT_MASK

#define CSL_UDMAP_TR_FLAGS_WAIT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_WAIT_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_EVENT_SIZE_SHIFT

#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_SHIFT   ((uint32_t) 6U)

◆ CSL_UDMAP_TR_FLAGS_EVENT_SIZE_MASK

#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_EVENT_SIZE_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER0_SHIFT

#define CSL_UDMAP_TR_FLAGS_TRIGGER0_SHIFT   ((uint32_t) 8U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER0_MASK

#define CSL_UDMAP_TR_FLAGS_TRIGGER0_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER0_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_SHIFT

#define CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_SHIFT   ((uint32_t) 10U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_MASK

#define CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER0_TYPE_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER1_SHIFT

#define CSL_UDMAP_TR_FLAGS_TRIGGER1_SHIFT   ((uint32_t) 12U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER1_MASK

#define CSL_UDMAP_TR_FLAGS_TRIGGER1_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER1_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_SHIFT

#define CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_SHIFT   ((uint32_t) 14U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_MASK

#define CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FLAGS_TRIGGER1_TYPE_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_CMD_ID_SHIFT

#define CSL_UDMAP_TR_FLAGS_CMD_ID_SHIFT   ((uint32_t) 16U)

◆ CSL_UDMAP_TR_FLAGS_CMD_ID_MASK

#define CSL_UDMAP_TR_FLAGS_CMD_ID_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_FLAGS_CMD_ID_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_CFG_FLAGS_SHIFT

#define CSL_UDMAP_TR_FLAGS_CFG_FLAGS_SHIFT   ((uint32_t) 24U)

◆ CSL_UDMAP_TR_FLAGS_CFG_FLAGS_MASK

#define CSL_UDMAP_TR_FLAGS_CFG_FLAGS_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_FLAGS_CFG_FLAGS_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_SA_INDIRECT_SHIFT

#define CSL_UDMAP_TR_FLAGS_SA_INDIRECT_SHIFT   ((uint32_t) 24U)

◆ CSL_UDMAP_TR_FLAGS_SA_INDIRECT_MASK

#define CSL_UDMAP_TR_FLAGS_SA_INDIRECT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_SA_INDIRECT_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_DA_INDIRECT_SHIFT

#define CSL_UDMAP_TR_FLAGS_DA_INDIRECT_SHIFT   ((uint32_t) 25U)

◆ CSL_UDMAP_TR_FLAGS_DA_INDIRECT_MASK

#define CSL_UDMAP_TR_FLAGS_DA_INDIRECT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_DA_INDIRECT_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_SUPR_EVT_SHIFT

#define CSL_UDMAP_TR_FLAGS_SUPR_EVT_SHIFT   ((uint32_t) 26U)

◆ CSL_UDMAP_TR_FLAGS_SUPR_EVT_MASK

#define CSL_UDMAP_TR_FLAGS_SUPR_EVT_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_SUPR_EVT_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_EOL_SHIFT

#define CSL_UDMAP_TR_FLAGS_EOL_SHIFT   ((uint32_t) 28U)

◆ CSL_UDMAP_TR_FLAGS_EOL_MASK

#define CSL_UDMAP_TR_FLAGS_EOL_MASK   (((uint32_t) 7U) << CSL_UDMAP_TR_FLAGS_EOL_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_EOP_SHIFT

#define CSL_UDMAP_TR_FLAGS_EOP_SHIFT   ((uint32_t) 31U)

◆ CSL_UDMAP_TR_FLAGS_EOP_MASK

#define CSL_UDMAP_TR_FLAGS_EOP_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FLAGS_EOP_SHIFT)

◆ CSL_UDMAP_TR_FLAGS_TYPE_1D_DATA_MOVE

#define CSL_UDMAP_TR_FLAGS_TYPE_1D_DATA_MOVE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_2D_DATA_MOVE

#define CSL_UDMAP_TR_FLAGS_TYPE_2D_DATA_MOVE   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_3D_DATA_MOVE

#define CSL_UDMAP_TR_FLAGS_TYPE_3D_DATA_MOVE   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE

#define CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE_FORMATTING

#define CSL_UDMAP_TR_FLAGS_TYPE_4D_DATA_MOVE_FORMATTING   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_4D_CACHE_WARM

#define CSL_UDMAP_TR_FLAGS_TYPE_4D_CACHE_WARM   ((uint32_t) 5U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE

#define CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE   ((uint32_t) 8U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING

#define CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING   ((uint32_t) 9U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE

#define CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE   ((uint32_t) 10U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE_REPACKING

#define CSL_UDMAP_TR_FLAGS_TYPE_2D_BLOCK_MOVE_REPACKING   ((uint32_t) 11U)

◆ CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING_INDIRECTION

#define CSL_UDMAP_TR_FLAGS_TYPE_4D_BLOCK_MOVE_REPACKING_INDIRECTION   ((uint32_t) 15U)

◆ CSL_UDMAP_TR_FLAGS_EVENT_SIZE_COMPLETION

#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_COMPLETION   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT1_DEC

#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT1_DEC   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT2_DEC

#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT2_DEC   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT3_DEC

#define CSL_UDMAP_TR_FLAGS_EVENT_SIZE_ICNT3_DEC   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_NONE

#define CSL_UDMAP_TR_FLAGS_TRIGGER_NONE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_GLOBAL0

#define CSL_UDMAP_TR_FLAGS_TRIGGER_GLOBAL0   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_GLOBAL1

#define CSL_UDMAP_TR_FLAGS_TRIGGER_GLOBAL1   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_LOCAL_EVENT

#define CSL_UDMAP_TR_FLAGS_TRIGGER_LOCAL_EVENT   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT1_DEC

#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT1_DEC   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT2_DEC

#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT2_DEC   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT3_DEC

#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ICNT3_DEC   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ALL

#define CSL_UDMAP_TR_FLAGS_TRIGGER_TYPE_ALL   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SHIFT   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_MASK   (((uint32_t) 7U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_DIR_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_DIR_SHIFT   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FMTFLAGS_DIR_MASK

#define CSL_UDMAP_TR_FMTFLAGS_DIR_MASK   (((uint32_t) 1U) << CSL_UDMAP_TR_FMTFLAGS_DIR_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_SHIFT   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_MASK

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_ELYPE_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_SHIFT   ((uint32_t) 8U)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_MASK

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_DFMT_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_SECTR_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_SECTR_SHIFT   ((uint32_t) 12U)

◆ CSL_UDMAP_TR_FMTFLAGS_SECTR_MASK

#define CSL_UDMAP_TR_FMTFLAGS_SECTR_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_SECTR_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_SHIFT   ((uint32_t) 16U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK0_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_SHIFT   ((uint32_t) 20U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK1_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_SHIFT   ((uint32_t) 24U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM0_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_SHIFT   ((uint32_t) 26U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM1_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_SHIFT   ((uint32_t) 28U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM2_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_SHIFT

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_SHIFT   ((uint32_t) 30U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_MASK

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_MASK   (((uint32_t) 3U) << CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AM3_SHIFT)

◆ CSL_UDMAP_TR_CACHEFLAGS_CACHEID_SHIFT

#define CSL_UDMAP_TR_CACHEFLAGS_CACHEID_SHIFT   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_CACHEFLAGS_CACHEID_MASK

#define CSL_UDMAP_TR_CACHEFLAGS_CACHEID_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_CACHEFLAGS_CACHEID_SHIFT)

◆ CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_SHIFT

#define CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_SHIFT   ((uint32_t) 24U)

◆ CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_MASK

#define CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_CACHEFLAGS_CACHEOP_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_LINEAR

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_LINEAR   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_CIRCULAR

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_CIRCULAR   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_512B

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_512B   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_1KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_1KB   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_2KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_2KB   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_4KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_4KB   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_8KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_8KB   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_16KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_16KB   ((uint32_t) 5U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_32KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_32KB   ((uint32_t) 6U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_64KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_64KB   ((uint32_t) 7U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_128KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_128KB   ((uint32_t) 8U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_256KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_256KB   ((uint32_t) 9U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_512KB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_512KB   ((uint32_t) 10U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_1GB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_1GB   ((uint32_t) 11U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_2GB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_2GB   ((uint32_t) 12U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_4GB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_4GB   ((uint32_t) 13U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_8GB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_8GB   ((uint32_t) 14U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_16GB

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_CBK_16GB   ((uint32_t) 15U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_LINEAR

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_LINEAR   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_CBK0

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_CBK0   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_CBK1

#define CSL_UDMAP_TR_FMTFLAGS_AMODE_SPECIFIC_AMODE_CBK1   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FMTFLAGS_DIR_SRC_USES_AMODE

#define CSL_UDMAP_TR_FMTFLAGS_DIR_SRC_USES_AMODE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_DIR_DST_USES_AMODE

#define CSL_UDMAP_TR_FMTFLAGS_DIR_DST_USES_AMODE   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_1

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_1p5

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1p5   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_2

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_2   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_3

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_3   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_4

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_4   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_5

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_5   ((uint32_t) 5U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_16

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_16   ((uint32_t) 6U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_32

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_32   ((uint32_t) 7U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_1_2

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1_2   ((uint32_t) 8U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_1p5_2

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_1p5_2   ((uint32_t) 9U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_2_1

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_2_1   ((uint32_t) 10U)

◆ CSL_UDMAP_TR_FMTFLAGS_ELYPE_2_1p5

#define CSL_UDMAP_TR_FMTFLAGS_ELYPE_2_1p5   ((uint32_t) 11U)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_NO_CHANGE

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_NO_CHANGE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_CONSTANT_COPY

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_CONSTANT_COPY   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_TRANSPOSE

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_TRANSPOSE   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_REVERSE

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_REVERSE   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FMTFLAGS_DFMT_REVERSE_TRANSPOSE

#define CSL_UDMAP_TR_FMTFLAGS_DFMT_REVERSE_TRANSPOSE   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_CACHEFLAGS_OP_PREWARM_CACHE

#define CSL_UDMAP_TR_CACHEFLAGS_OP_PREWARM_CACHE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_CACHEFLAGS_OP_PREWARM_MMU

#define CSL_UDMAP_TR_CACHEFLAGS_OP_PREWARM_MMU   ((uint32_t) 1U)

◆ CSL_UDMAP_SECTR_FLAGS_TYPE_SHIFT

#define CSL_UDMAP_SECTR_FLAGS_TYPE_SHIFT   ((uint32_t) 0U)

◆ CSL_UDMAP_SECTR_FLAGS_TYPE_MASK

#define CSL_UDMAP_SECTR_FLAGS_TYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_SECTR_FLAGS_TYPE_SHIFT)

◆ CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_SHIFT

#define CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_SHIFT   ((uint32_t) 4U)

◆ CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_MASK

#define CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_MASK   (((uint32_t) 0xFFFFFFF0U) << CSL_UDMAP_SECTR_FLAGS_TYPE_SPECIFIC_SHIFT)

◆ CSL_UDMAP_TR_FMTFLAGS_SECTR_NONE

#define CSL_UDMAP_TR_FMTFLAGS_SECTR_NONE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FMTFLAGS_SECTR_64

#define CSL_UDMAP_TR_FMTFLAGS_SECTR_64   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FMTFLAGS_SECTR_128

#define CSL_UDMAP_TR_FMTFLAGS_SECTR_128   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_SHIFT

#define CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_SHIFT   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_MASK

#define CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_RESPONSE_STATUS_TYPE_SHIFT)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_INFO_SHIFT

#define CSL_UDMAP_TR_RESPONSE_STATUS_INFO_SHIFT   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_INFO_MASK

#define CSL_UDMAP_TR_RESPONSE_STATUS_INFO_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TR_RESPONSE_STATUS_FIELD_SHIFT)

◆ CSL_UDMAP_TR_RESPONSE_CMDID_SHIFT

#define CSL_UDMAP_TR_RESPONSE_CMDID_SHIFT   ((uint32_t) 16U)

◆ CSL_UDMAP_TR_RESPONSE_CMDID_MASK

#define CSL_UDMAP_TR_RESPONSE_CMDID_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_RESPONSE_CMDID_SHIFT)

◆ CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_SHIFT

#define CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_SHIFT   ((uint32_t) 24U)

◆ CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_MASK

#define CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_MASK   (((uint32_t) 0xFFU) << CSL_UDMAP_TR_RESPONSE_CFG_SPECIFIC_SHIFT)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_COMPLETE

#define CSL_UDMAP_TR_RESPONSE_STATUS_COMPLETE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_TRANSFER_ERR

#define CSL_UDMAP_TR_RESPONSE_STATUS_TRANSFER_ERR   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_ABORTED_ERR

#define CSL_UDMAP_TR_RESPONSE_STATUS_ABORTED_ERR   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_ERR

#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_ERR   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_ERR

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_ERR   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_ICNT0

#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_ICNT0   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_FIFO_FULL

#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_FIFO_FULL   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_OWN

#define CSL_UDMAP_TR_RESPONSE_STATUS_SUBMISSION_OWN   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_TR_TYPE

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_TR_TYPE   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_STATIC

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_STATIC   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_EOL

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_EOL   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_CFG_SPECIFIC

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_CFG_SPECIFIC   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_AMODE

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_AMODE   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_ELTYPE

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_ELTYPE   ((uint32_t) 5U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_DFMT

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_DFMT   ((uint32_t) 6U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_SECTR

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_SECTR   ((uint32_t) 7U)

◆ CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_AMODE_SPECIFIC

#define CSL_UDMAP_TR_RESPONSE_STATUS_UNSUPPORTED_AMODE_SPECIFIC   ((uint32_t) 8U)

◆ CSL_UDMAP_TR_FLAGS_EOL_MATCH_SOL_EOL

#define CSL_UDMAP_TR_FLAGS_EOL_MATCH_SOL_EOL   ((uint32_t) 0U)

◆ CSL_UDMAP_TR_FLAGS_EOL_ICNT0

#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0   ((uint32_t) 1U)

◆ CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1

#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1   ((uint32_t) 2U)

◆ CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1_ICNT2

#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1_ICNT2   ((uint32_t) 3U)

◆ CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1_ICNT2_ICNT3

#define CSL_UDMAP_TR_FLAGS_EOL_ICNT0_ICNT1_ICNT2_ICNT3   ((uint32_t) 4U)

◆ CSL_UDMAP_TR_FLAGS_EOL_RESERVED

#define CSL_UDMAP_TR_FLAGS_EOL_RESERVED   ((uint32_t) 5U)

◆ CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_SHIFT

#define CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_SHIFT   ((uint32_t) 0U)

◆ CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_MASK

#define CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_MASK   (((uint32_t) 0xFU) << CSL_UDMAP_TD_RESPONSE_TD_INDICATOR_SHIFT)

◆ CSL_UDMAP_TD_RESPONSE_CHAN_ID_SHIFT

#define CSL_UDMAP_TD_RESPONSE_CHAN_ID_SHIFT   ((uint32_t) 4U)

◆ CSL_UDMAP_TD_RESPONSE_CHAN_ID_MASK

#define CSL_UDMAP_TD_RESPONSE_CHAN_ID_MASK   (((uint32_t) 0x3FFU) << CSL_UDMAP_TD_RESPONSE_CHAN_ID_SHIFT)

◆ CSL_UDMAP_TD_RESPONSE_FORCED_SHIFT

#define CSL_UDMAP_TD_RESPONSE_FORCED_SHIFT   ((uint32_t) 31U)

◆ CSL_UDMAP_TD_RESPONSE_FORCED_MASK

#define CSL_UDMAP_TD_RESPONSE_FORCED_MASK   (((uint32_t) 0x1U) << CSL_UDMAP_TD_RESPONSE_FORCED_SHIFT)

Typedef Documentation

◆ CSL_UdmapTrFlagsType

typedef uint32_t CSL_UdmapTrFlagsType

◆ CSL_UdmapTrFlagsEventSize

typedef uint32_t CSL_UdmapTrFlagsEventSize

◆ CSL_UdmapTrFlagsTrigger

typedef uint32_t CSL_UdmapTrFlagsTrigger

◆ CSL_UdmapTrFlagsTriggerType

typedef uint32_t CSL_UdmapTrFlagsTriggerType

◆ CSL_UdmapTrFmtflagsAmode

typedef uint32_t CSL_UdmapTrFmtflagsAmode

◆ CSL_UdmapTrFmtflagsAmodeSpecificCbk

◆ CSL_UdmapTrFmtflagsAmodeSpecificAmode

◆ CSL_UdmapTrFmtflagsDir

typedef uint32_t CSL_UdmapTrFmtflagsDir

◆ CSL_UdmapTrFmtflagsEltype

typedef uint32_t CSL_UdmapTrFmtflagsEltype

◆ CSL_UdmapTrFmtflagsDfmt

typedef uint32_t CSL_UdmapTrFmtflagsDfmt

◆ CSL_UdmapTrCacheflagsOp

typedef uint32_t CSL_UdmapTrCacheflagsOp

◆ CSL_UdmapTrFmtflagsSectr

typedef uint32_t CSL_UdmapTrFmtflagsSectr

◆ CSL_UdmapTrResponseStatus

typedef uint32_t CSL_UdmapTrResponseStatus

◆ CSL_UdmapTrResponseStatusSubmission

◆ CSL_UdmapTrResponseStatusUnsupported

◆ CSL_UdmapTrFlagsEol

typedef uint32_t CSL_UdmapTrFlagsEol

Function Documentation

◆ __attribute__()

struct CSL_UdmapTR_t __attribute__ ( (__packed__)  )

◆ CSL_udmapTrResponseGetStatusType()

static CSL_UdmapTrResponseStatus CSL_udmapTrResponseGetStatusType ( const CSL_UdmapTrResponse *  pTrResponse)
inlinestatic

Return the TR response status type.

This function returns the status type of the specified TR response. See CSL_UdmapTrResponseStatus for available status types.

Parameters
pTrResponse[IN] Pointer to the TR Response structure
Returns
The status type of the specified TR response

◆ CSL_udmapGetTdResponse()

static void CSL_udmapGetTdResponse ( uint64_t  tdResponseWord,
CSL_UdmapTdResponse *  pTdResponse 
)
inlinestatic

Parses the TD response word.

This function parses the teardown response word received from the completion queue.

Parameters
tdResponseWord[IN] TD Response word to parse
pTdResponse[OUT] Pointer to the TD Response structure to be filled