PDK API Guide for J721E
Icssg_Pruss Struct Reference

Detailed Description

ICSS_PRU object.

This structure represents the ICSS_PRU subsystem irrespective of the Ethernet specific abstractions of the driver. For instance, the two MAC ports in ICSSG Dual-MAC mode are abstracted logically as separate peripherals in spite of both running on the same ICSSPRU subsystem.

In ICSSG Dual-MAC mode, each of the two Icssg_Obj structures will have a pointer to the same Icssg_Pruss object.

In Switch mode, there is a single Icssg_Obj per PRUSS, also indicated via pointer to the corresponding Icssg_Pruss object.

The Icssg_Obj to Icssg_Pruss binding is done by EnetSoc layer.

Data Fields

PRUICSS_Handle hPruss
 
uint32_t instance
 
bool initialized
 
bool iep0InUse
 
void * lock
 

Field Documentation

◆ hPruss

PRUICSS_Handle Icssg_Pruss::hPruss

Handle to PRUICSS driver

◆ instance

uint32_t Icssg_Pruss::instance

PRUICSS instance number

◆ initialized

bool Icssg_Pruss::initialized

Whether the PRUICSSG has been initialized or not

◆ iep0InUse

bool Icssg_Pruss::iep0InUse

Whether IEP0 is in use or not

◆ lock

void* Icssg_Pruss::lock

PRUSS instance lock to be used to protect any operations that involve any fields of this structure, i.e. using PRUSS driver. This lock is to be initialized by SoC layer.