PDK API Guide for J721E
udma_proxy.h File Reference

Introduction

UDMA proxy related parameters and API.

Go to the source code of this file.

Data Structures

struct  Udma_ProxyCfg
 This structure contains configuration parameters for each proxy thread. More...
 
struct  Udma_ProxyHandle
 UDMA proxy object. More...
 

Macros

#define UDMA_PROXY_INVALID   ((uint16_t) 0xFFFFU)
 Macro used to specify that proxy ID is invalid. More...
 
#define UDMA_PROXY_ANY   ((uint16_t) 0xFFFEU)
 Macro used to specify any available free proxy while requesting one. Used in the API Udma_proxyAlloc. More...
 

Functions

int32_t Udma_proxyAlloc (Udma_DrvHandle drvHandle, Udma_ProxyHandle proxyHandle, uint16_t proxyNum)
 UDMA proxy allocation API. More...
 
int32_t Udma_proxyFree (Udma_ProxyHandle proxyHandle)
 UDMA free proxy. More...
 
int32_t Udma_proxyConfig (Udma_ProxyHandle proxyHandle, const Udma_ProxyCfg *proxyCfg)
 UDMA proxy config API. More...
 
static void Udma_proxyQueue (Udma_ProxyHandle proxyHandle, uint64_t phyDescMem)
 UDMA queue descriptor to a proxy which is pre-configured to queue to a ring. More...
 
static void Udma_proxyDequeue (Udma_ProxyHandle proxyHandle, uint64_t *phyDescMem)
 UDMA dequeue descriptor from a proxy which is pre-configured to dequeue from a ring. More...
 
static void Udma_proxyWrite64 (uintptr_t proxyAddr, uint64_t data)
 API to write 64-bit data to proxy. More...
 
static void Udma_proxyRead64 (uintptr_t proxyAddr, uint64_t *data)
 API to read 64-bit data from proxy. More...