![]() |
PDK API Guide for AM65xx
|
This file contains the CPSW specific DMA type definations & function prototypes for associated DMA peripheral.
Go to the source code of this file.
Macros | |
#define | ENET_UDMA_RSVDFLOW_RX_PKTS_NUM (2U) |
#define | ENET_UDMA_CPSW_RX_CH_NUM (1U) |
Total number of Rx channels for CPSW (always 1 for Jacinto 7 family of devices) More... | |
#define | ENET_UDMA_ICSSG_RX_CH_NUM (6U) |
#define | ENET_UDMA_RX_CH_NUM |
#define | ENET_UDMA_RXFLOWIDX_INVALID (0xABCDABCDU) |
Enet UDMA invalid RX flow id. More... | |
Functions | |
void | EnetHostPortDma_initCfg (Enet_Type enetType, const void *dmaCfg) |
EnetDma_Handle | EnetHostPortDma_open (EnetPer_Handle hPer, const void *dmaCfg, const EnetRm_ResCfg *resCfg) |
void | EnetHostPortDma_close (EnetDma_Handle hDma) |
void | EnetHostPortDma_getDmaResInfo (EnetDma_Handle hDma, Enet_dmaResInfo *dmaResInfo, uint32_t chIdx) |
EnetDma_RxChHandle | EnetHostPortDma_openRsvdFlow (const void *cfg, uint32_t startIdx, uint32_t flowIdx) |
int32_t | EnetHostPortDma_closeRsvdFlow (EnetDma_RxChHandle hRxRsvdFlow) |
#define ENET_UDMA_RSVDFLOW_RX_PKTS_NUM (2U) |
#define ENET_UDMA_CPSW_RX_CH_NUM (1U) |
Total number of Rx channels for CPSW (always 1 for Jacinto 7 family of devices)
#define ENET_UDMA_ICSSG_RX_CH_NUM (6U) |
#define ENET_UDMA_RX_CH_NUM |
#define ENET_UDMA_RXFLOWIDX_INVALID (0xABCDABCDU) |
Enet UDMA invalid RX flow id.
void EnetHostPortDma_initCfg | ( | Enet_Type | enetType, |
const void * | dmaCfg | ||
) |
EnetDma_Handle EnetHostPortDma_open | ( | EnetPer_Handle | hPer, |
const void * | dmaCfg, | ||
const EnetRm_ResCfg * | resCfg | ||
) |
void EnetHostPortDma_close | ( | EnetDma_Handle | hDma | ) |
void EnetHostPortDma_getDmaResInfo | ( | EnetDma_Handle | hDma, |
Enet_dmaResInfo * | dmaResInfo, | ||
uint32_t | chIdx | ||
) |
EnetDma_RxChHandle EnetHostPortDma_openRsvdFlow | ( | const void * | cfg, |
uint32_t | startIdx, | ||
uint32_t | flowIdx | ||
) |
int32_t EnetHostPortDma_closeRsvdFlow | ( | EnetDma_RxChHandle | hRxRsvdFlow | ) |