PDK API Guide for AM64x
RINGACC Data Structures

Introduction

Data Structures

struct  CSL_LcdmaRingaccCfg
 CSL_LcdmaRingaccCfg contains information to configure the ring accelerator. More...
 
struct  CSL_LcdmaRingaccRingCfg
 CSL_LcdmaRingaccRingCfg contains information to configure a ring. More...
 

Typedefs

typedef void(* CSL_lcdma_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

◆ CSL_lcdma_ringaccMemOpsFxnPtr

typedef void(* CSL_lcdma_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_LcdmaRingAccMemoryOpsType
Returns
None