PM5358 S/UNI-4x622 Driver Manual
Application Programming Interface
Proprietary and Confidential to PMC-Sierra, Inc. 105
Document ID: PMC-2010419, Issue 1
Valid States SUNI4x622_ACTIVE
Side Effects None

Notifying the Application of LOH Events: cbackSuni4x622LOH

This callback function is provided by the USER and is used by the DPR to report significant LOH
section events back to the application. This function should be non-blocking. Typically, the
callback routine sends a message to another task with the event identifier and other context
information. The task that receives this message can then process this information according to
the system requirements. Note: the callback function’s addresses are passed to the driver doing
the suni4x622Init call. If the address of the callback function was passed as a NULL at
initialization no callback will be made.
Prototype void cbackSuni4x622LOH(sSUNI4x622_USR_CTXT usrCtxt,
sSUNI4x622_DPV *pdpv)
Inputs usrCtxt : user context (from suni4x622Add)
pdpv : (pointer to) DPV that describes this event
Outputs None
Returns None
Valid States SUNI4x622_ACTIVE
Side Effects None

Notifying the Application of RPOH Events : cbackSuni4x622RPOH

This callback function is provided by the USER and is used by the DPR to report significant
RPOH section events back to the application. This function should be non-blocking. Typically,
the callback routine sends a message to another task with the event identifier and other context
information. The task that receives this message can then process this information according to
the system requirements. Note: the callback function’s addresses are passed to the driver doing
the suni4x622Init call. If the address of the callback function was passed as a NULL at
initialization no callback will be made.
Prototype void cbackSuni4x622RPOH(sSUNI4x622_USR_CTXT usrCtxt,
sSUNI4x622_DPV *pdpv)
Inputs usrCtxt : user context (from suni4x622Add)
pdpv : (pointer to) DPV that describes this event
Outputs None
Returns None
Valid States SUNI4x622_ACTIVE