PM5358 S/UNI-4x622 Driver Manual

Application Programming Interface

Side Effects Changes the DEVICE state to SUNI4x622_PRESENT

Activating a Device: suni4x622Activate

This function restores the state of a device after a de-activate. Interrupts may be re-enabled.

Prototype

Inputs

Outputs

Returns

Valid States Side Effects

INT4 suni4x622Activate(sSUNI4x622_HNDL deviceHandle)

deviceHandle

: device handle (from suni4x622Add)

None

Success = SUNI4x622_SUCCESS

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

SUNI4x622_ERR_INVALID_DEV

SUNI4x622_INACTIVE

Changes the DEVICE state to SUNI4x622_ACTIVE

De-Activating a Device: suni4x622DeActivate

This function de-activates the device from operation. Interrupts are masked and the device is put into a quiet state via enable bits.

Prototype

INT4 suni4x622DeActivate(sSUNI4x622_HNDL

 

deviceHandle)

 

Inputs

deviceHandle

: device handle (from suni4x622Add)

Outputs

None

 

Returns

Success = SUNI4x622_SUCCESS

 

Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE

 

SUNI4x622_ERR_INVALID_DEV

Valid States

SUNI4x622_ACTIVE

Side Effects

Changes the DEVICE state to SUNI4x622_INACTIVE

Proprietary and Confidential to PMC-Sierra, Inc.

58

Document ID: PMC-2010419, Issue 1

 

Page 58
Image 58
PMC-Sierra PM5358 S/UNI 4x622 manual Activating a Device suni4x622Activate, De-Activating a Device suni4x622DeActivate