PDK API Guide for J721E
udma_osal.h File Reference

Introduction

UDMA OSAL related parameters and API.

Go to the source code of this file.

Data Structures

struct  Udma_OsalPrms
 UDMA driver OSAL function pointers. More...
 
struct  Udma_OsalCachePrms
 UDMA driver OSAL cache function pointers. More...
 

Typedefs

typedef uintptr_t(* Udma_OsalDisableAllIntrFxn) (void)
 UDMA OSAL intr disable function prototype. More...
 
typedef void(* Udma_OsalRestoreAllIntrFxn) (uintptr_t cookie)
 UDMA OSAL intr restore function prototype. More...
 
typedef void(* Udma_OsalDisableIntrFxn) (uint32_t coreIntrNum)
 UDMA OSAL intr disable function prototype. More...
 
typedef void *(* Udma_OsalMutexCreateFxn) (void)
 UDMA OSAL mutex create function prototype to protect critical section. More...
 
typedef void(* Udma_OsalMutexDeleteFxn) (void *mutexHandle)
 UDMA OSAL mutex delete function prototype. More...
 
typedef void(* Udma_OsalMutexLockFxn) (void *mutexHandle)
 UDMA OSAL mutex lock function prototype. More...
 
typedef void(* Udma_OsalMutexUnlockFxn) (void *mutexHandle)
 UDMA OSAL mutex lock function prototype. More...
 
typedef void(* Udma_OsalIsrFxn) (uintptr_t arg)
 UDMA OSAL ISR callback function prototype. More...
 
typedef void *(* Udma_OsalRegisterIntrFxn) (Udma_OsalIsrFxn isrFxn, uint32_t coreIntrNum, uint32_t intrPriority, void *arg)
 UDMA OSAL ISR register function prototype. More...
 
typedef void(* Udma_OsalUnRegisterIntrFxn) (void *hwiHandle)
 UDMA OSAL ISR unregister function prototype. More...
 
typedef void(* Udma_OsalCacheInv) (const void *addr, int32_t size)
 UDMA OSAL cache invalidate function prototype. More...
 
typedef void(* Udma_OsalCacheWb) (const void *addr, int32_t size)
 UDMA OSAL cache writeback function prototype. More...
 

Functions

int32_t Udma_osalSetCachePrms (const Udma_OsalCachePrms *cachePrms)
 This API sets the OSAL cache paramaters incase user needs to override the default cache API. More...
 
void UdmaOsalPrms_init (Udma_OsalPrms *osalPrms)
 Udma_OsalPrms structure init function. More...
 
void UdmaOsalCachePrms_init (Udma_OsalCachePrms *cachePrms)
 Udma_OsalCachePrms structure init function. More...