PM5358 S/UNI-4x622 Driver Manual

Appendix B: Error Codes

APPENDIX B: ERROR CODES

The following describes the error codes used in the S/UNI 4x622 device driver

SUNI4x622_SUCCESS

Success

 

 

SUNI4x622_FAILURE

Failure

 

 

SUNI4x622_ERR_MEM_ALLOC

Memory allocation failure

 

 

SUNI4x622_ERR_INVALID_ARG

Invalid argument

 

 

SUNI4x622_ERR_INVALID_CHAN

Invalid channel number

 

 

SUNI4x622_ERR_INVALID_MODULE_STATE

Invalid module state

 

 

SUNI4x622_ERR_INVALID_MIV

Invalid Module Initialization Vector

 

 

SUNI4x622_ERR_PROFILES_FULL

Maximum number of profiles already added

 

 

SUNI4x622_ERR_INVALID_PROFILE

Invalid profile

 

 

SUNI4x622_ERR_INVALID_PROFILE_NUM

Invalid profile number

 

 

SUNI4x622_ERR_INVALID_DEVICE_STATE

Invalid device state

 

 

SUNI4x622_ERR_DEVS_FULL

Maximum number of devices already added

 

 

SUNI4x622_ERR_DEV_ALREADY_ADDED

Device already added

 

 

SUNI4x622_ERR_INVALID_DEV

Invalid device handle

 

 

SUNI4x622_ERR_INVALID_DIV

Invalid Device Initialization Vector

 

 

SUNI4x622_ERR_INT_INSTALL

Error while installing interrupts

 

 

SUNI4x622_ERR_INVALID_MODE

Invalid ISR/polling mode

 

 

SUNI4x622_ERR_INVALID_REG

Invalid register number

 

 

SUNI4x622_ERR_POLL_TIMEOUT

Time-out while polling

 

 

Proprietary and Confidential to PMC-Sierra, Inc.

125

Document ID: PMC-2010419, Issue 1

 

Page 125
Image 125
PMC-Sierra PM5358 S/UNI 4x622 manual Success, Failure, Memory allocation failure, Invalid argument, Invalid channel number