![]() |
![]() |
CPSW DMA utility API to check packet and descriptor sanity. More...
Typedefs | |
typedef enum CpswUtils_DescStateMemMgr_e | CpswUtils_DescStateMemMgr |
CPSW DMA Descriptor state. More... | |
typedef enum CpswUtils_PktStateApp_e | CpswUtils_PktStateApp |
App Pkt state. More... | |
typedef enum CpswUtils_PktStateDma_e | CpswUtils_PktStateDma |
DMA Pkt state. More... | |
typedef enum CpswUtils_PktStateMemMgr_e | CpswUtils_PktStateMemMgr |
CPSW DMA Pkt state. More... | |
typedef enum CpswUtils_PktStateModuleType_e | CpswUtils_PktStateModuleType |
CPSW DMA Pkt state. More... | |
Enumerations | |
enum | CpswUtils_DescStateMemMgr_e { CPSW_DESCSTATE_MEMMGR_FREE = 0U, CPSW_DESCSTATE_MEMMGR_ALLOC } |
CPSW DMA Descriptor state. More... | |
enum | CpswUtils_PktStateApp_e { CPSW_PKTSTATE_APP_WITH_FREEQ = 0U, CPSW_PKTSTATE_APP_WITH_READYQ, CPSW_PKTSTATE_APP_WITH_DRIVER } |
App Pkt state. More... | |
enum | CpswUtils_PktStateDma_e { CPSW_PKTSTATE_DMA_WITH_HW = 0U, CPSW_PKTSTATE_DMA_NOT_WITH_HW } |
DMA Pkt state. More... | |
enum | CpswUtils_PktStateMemMgr_e { CPSW_PKTSTATE_MEMMGR_FREE = 0U, CPSW_PKTSTATE_MEMMGR_ALLOC } |
CPSW DMA Pkt state. More... | |
enum | CpswUtils_PktStateModuleType_e { CPSW_PKTSTATE_MODULE_APP = 0U, CPSW_PKTSTATE_MODULE_DRIVER, CPSW_PKTSTATE_MODULE_MEMUTILS } |
CPSW DMA Pkt state. More... | |
Functions | |
void | CpswUtils_checkPktState (uint32_t *pStateVar, CpswUtils_PktStateModuleType module, uint32_t expectedState, uint32_t newState) |
Packet state check & set API for app, memory manager and dma driver. More... | |
void | CpswUtils_checkDescState (uint32_t *pStateVar, CpswUtils_DescStateMemMgr expectedState, CpswUtils_DescStateMemMgr newState) |
Descriptor state check & set API for descriptor memory manager. More... | |
CPSW DMA utility API to check packet and descriptor sanity.