PDK API Guide for J721E
RINGACC Data Structures

Introduction

Data Structures

struct  CSL_RingAccCfg
 CSL_RingAccCfg contains information to configure the ring accelerator. More...
 
struct  CSL_RingAccRingCfg
 CSL_RingAccRingCfg contains information to configure a ring. More...
 

Typedefs

typedef void(* CSL_ringaccMemOpsFxnPtr) (void *pVirtAddr, uint32_t size, uint32_t opsType)
 User-provided memory fence call-back function to perform memory sync operations. The operation to perform depends on the opsType flag and also on the CPU/cache architecture. More...
 

Typedef Documentation

typedef void(* CSL_ringaccMemOpsFxnPtr) (void *pVirtAddr, uint32_t size, uint32_t opsType)

User-provided memory fence call-back function to perform memory sync operations. The operation to perform depends on the opsType flag and also on the CPU/cache architecture.

This function is called after a memory write is performed or before any memory read is performed. In case of write, the ringacc API function needs to insure the write has landed in memory before proceeding. In case of read, the ringacc API function needs to insure the read will land in the memory before proceeding.

Parameters
pVirtAddr[IN] The virtual memory address written to
size[IN] Number of bytes to writeback
opsType[IN] CSL_RingAccMemoryOpsType
Returns
None