PM5358 S/UNI-4x622 Driver Manual
Application Programming Interface
Proprietary and Confidential to PMC-Sierra, Inc. 71
Document ID: PMC-2010419, Issue 1

Writing SS Bits: suni4x622TPOHWriteSS

This function writes the passed SS bits (SS[1:0]) in the SS bit positions.
Prototype INT4 suni4x622TPOHWriteSS(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, UINT1 ss)
Inputs deviceHandle : device handle (from suni4x622Add)
channel : channel number
ss : SS bits value(bit 0 and bit 1)
Outputs None
Returns Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
SUNI4x622_ERR_INVALID_ARG
Valid States SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects None

Inserting a Pointer Value: suni4x622TPOHInsertTxPtr

This function enables the insertion of the pointer value passed in argument into the H1 and H2
bytes of the transmit stream. As a result, the upstream payload mapping circuitry and a valid SPE
can continue functioning and generating normally.
Prototype INT4 suni4x622TPOHInsertTxPtr(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, UINT2 aptr)
Inputs deviceHandle : device handle (from suni4x622Add)
channel : channel number
aptr : pointer value to insert in (H1, H2)
Outputs None
Returns Success = SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
SUNI4x622_ERR_INVALID_ARG
Valid States SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects None

Force Path BIP-8 Errors: suni4x622TPOHForceB3

This function forces the B3 error in the transmit stream.