/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2019-2020. All rights reserved. * Description: errno of the system. */ #ifndef __SOC_ERRNO_H__ #define __SOC_ERRNO_H__ #include "td_type.h" #include "soc_module.h" #include "soc_error.h" #define SOC_ERR_COMMON_RECREATE_ENTRY ERR_NUMBER(SOC_ID_SYS, ERR_TYPE_CREATE, ERR_CODE_RECREATE_ENTRY) #define SOC_ERR_COMMON_RECREATE_DIR ERR_NUMBER(SOC_ID_SYS, ERR_TYPE_CREATE, ERR_CODE_RECREATE_DIR) #define SOC_ERR_MEMORY_ALLOC_FAILED ERR_NUMBER(SOC_ID_MEM, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_MEMORY_MAP_FAILED ERR_NUMBER(SOC_ID_MEM, ERR_TYPE_CONFIG, ERR_CODE_MAP_FAILED) #define SOC_ERR_IFCP_NOT_SUPPORT (td_s32)(0x800C0001) #define SOC_ERR_DISP_DEV_NOT_EXIST (td_s32)(0x80100001) #define SOC_ERR_DISP_NOT_DEV_FILE (td_s32)(0x80100002) #define SOC_ERR_DISP_DEV_OPEN_ERR (td_s32)(0x80100003) #define SOC_ERR_DISP_DEV_CLOSE_ERR (td_s32)(0x80100004) #define SOC_ERR_DISP_NULL_PTR (td_s32)(0x80100005) #define SOC_ERR_DISP_NO_INIT (td_s32)(0x80100006) #define SOC_ERR_DISP_INVALID_PARA (td_s32)(0x80100007) #define SOC_ERR_DISP_CREATE_ERR (td_s32)(0x80100008) #define SOC_ERR_DISP_DESTROY_ERR (td_s32)(0x80100009) #define SOC_ERR_DISP_NOT_EXIST (td_s32)(0x8010000A) #define SOC_ERR_DISP_INVALID_OPT (td_s32)(0x8010000B) #define SOC_ERR_DISP_NOT_SUPPORT_FMT (td_s32)(0x8010000C) #define SOC_ERR_DISP_NOT_OPEN (td_s32)(0x8010000D) #define SOC_ERR_DISP_SRC_UNAVAILABLE (td_s32)(0x8010000E) #define SOC_ERR_DISP_NOT_SUPPORT (td_s32)(0x8010000F) #define SOC_ERR_DISP_MALLOC_FAILED (td_s32)(0x80100010) #define SOC_ERR_DISP_INVALID_LICENSE (td_s32)(0x80100011) #define SOC_ERR_DISP_UNKNOWN (td_s32)(0x801000FF) #define SOC_ERR_DISP_TIMEOUT (td_s32)(0x801000F1) #define SOC_ERR_DISP_MALLOC_MAP_ERR (td_s32)(0x801000F2) #define SOC_ERR_VO_DEV_NOT_EXIST (td_s32)(0x80110001) #define SOC_ERR_VO_NOT_DEV_FILE (td_s32)(0x80110002) #define SOC_ERR_VO_DEV_OPEN_ERR (td_s32)(0x80110003) #define SOC_ERR_VO_DEV_CLOSE_ERR (td_s32)(0x80110004) #define SOC_ERR_VO_NULL_PTR (td_s32)(0x80110005) #define SOC_ERR_VO_NO_INIT (td_s32)(0x80110006) #define SOC_ERR_VO_INVALID_PARA (td_s32)(0x80110007) #define SOC_ERR_VO_CREATE_ERR (td_s32)(0x80110008) #define SOC_ERR_VO_DESTROY_ERR (td_s32)(0x80110009) #define SOC_ERR_VO_NOT_EXIST (td_s32)(0x80110010) #define SOC_ERR_VO_INVALID_OPT (td_s32)(0x80110030) #define SOC_ERR_VO_WIN_NOT_EXIST (td_s32)(0x80110040) #define SOC_ERR_VO_WIN_NOT_ENABLE (td_s32)(0x80110041) #define SOC_ERR_VO_WIN_UNSUPPORT (td_s32)(0x80110042) #define SOC_ERR_VO_TIMEOUT (td_s32)(0x80110043) #define SOC_ERR_VO_OPERATION_DENIED (td_s32)(0x80110044) #define SOC_ERR_VO_SLAVE_WIN_LOST (td_s32)(0x80110045) #define SOC_ERR_VO_FRAME_INFO_ERROR (td_s32)(0x80110046) #define SOC_ERR_VO_FRAME_RELEASE_FAILED (td_s32)(0x80110047) #define SOC_ERR_VO_NO_FRAME_TO_RELEASE (td_s32)(0x80110048) #define SOC_ERR_VO_ADD_PROC_ERR (td_s32)(0x80110049) #define SOC_ERR_VO_MALLOC_FAILED (td_s32)(0x80110050) #define SOC_ERR_VO_DEPEND_DEVICE_NOT_READY (td_s32)(0x80110051) #define SOC_ERR_VO_BUFQUE_FULL (td_s32)(0x80110052) #define SOC_ERR_VO_BUFQUE_EMPTY (td_s32)(0x80110053) #define SOC_ERR_VO_NO_SOURCE (td_s32)(0x80110054) #define SOC_ERR_VDEC_NOT_OPEN (td_s32)(0x80120001) #define SOC_ERR_VDEC_INVALID_PARA (td_s32)(0x80120002) #define SOC_ERR_VDEC_NULL_PTR (td_s32)(0x80120003) #define SOC_ERR_VDEC_NOT_SUPPORT (td_s32)(0x80120004) #define SOC_ERR_VDEC_TIMEOUT (td_s32)(0x80120005) #define SOC_ERR_VDEC_INPUT_CORRUPT (td_s32)(0x80120006) #define SOC_ERR_VDEC_NO_ENOUGH_DATA (td_s32)(0x80120007) #define SOC_ERR_VDEC_UNKNOWN (td_s32)(0x80120008) #define SOC_ERR_VDEC_MALLOC_FAILED (td_s32)(0x80120044) #define SOC_ERR_VDEC_CREATECH_FAILED (td_s32)(0x80120047) #define SOC_ERR_VDEC_DESTROYCH_FAILED (td_s32)(0x80120048) #define SOC_ERR_VDEC_INVALID_CHANID (td_s32)(0x80120049) #define SOC_ERR_VDEC_RESETCH_FAILED (td_s32)(0x80120050) #define SOC_ERR_VDEC_SETATTR_FAILED (td_s32)(0x80120051) #define SOC_ERR_VDEC_GETATTR_FAILED (td_s32)(0x80120052) #define SOC_ERR_VDEC_SENDSTREAM_FAILED (td_s32)(0x80120053) #define SOC_ERR_VDEC_RECEIVE_FAILED (td_s32)(0x80120054) #define SOC_ERR_VDEC_DISCARD_PRIDATA (td_s32)(0x80120055) #define SOC_ERR_VDEC_RELEASEFRAME_FAILED (td_s32)(0x80120056) #define SOC_ERR_VDEC_RELEASEPRI_FAILED (td_s32)(0x80120057) #define SOC_ERR_VDEC_NOT_INIT (td_s32)(0x80120059) #define SOC_ERR_VDEC_USERCOPY_ERR (td_s32)(0x8012005A) #define SOC_ERR_VDEC_LIST_EMPTY (td_s32)(0x8012005B) #define SOC_ERR_VDEC_INVALID_STATE (td_s32)(0x8012005C) #define SOC_ERR_VDEC_NOT_ENABLE (td_s32)(0x80120060) #define SOC_ERR_VDEC_BUFFER_NOT_ATTACH (td_s32)(0x80120061) #define SOC_ERR_VDEC_BUFFER_REQUIRE_INVALID (td_s32)(0x80120062) #define SOC_ERR_VDEC_BUFFER_ATTACHED (td_s32)(0x80120063) #define SOC_ERR_VDEC_BUFFER_FULL (td_s32)(0x80120064) #define SOC_ERR_AO_NOT_INIT (td_s32)(0x80130001) #define SOC_ERR_AO_INVALID_PARA (td_s32)(0x80130002) #define SOC_ERR_AO_NULL_PTR (td_s32)(0x80130003) #define SOC_ERR_AO_INVALID_ID (td_s32)(0x80130004) #define SOC_ERR_AO_USED (td_s32)(0x80130005) #define SOC_ERR_AO_NOTSUPPORT (td_s32)(0x80130006) #define SOC_ERR_AO_USERCOPY_ERR (td_s32)(0x80130007) #define SOC_ERR_AO_SOUND_NOT_OPEN (td_s32)(0x80130008) #define SOC_ERR_AO_INTR (td_s32)(0x80130009) #define SOC_ERR_AO_DEV_NOT_OPEN (td_s32)(0x80130041) #define SOC_ERR_AO_CREATE_FAIL (td_s32)(0x80130042) #define SOC_ERR_AO_OUT_BUF_FULL (td_s32)(0x80130046) #define SOC_ERR_AO_INVALID_OUTFRAME (td_s32)(0x80130047) #define SOC_ERR_AO_DATASIZE_EXCEED (td_s32)(0x80130048) #define SOC_ERR_AO_INVALID_INFRAME (td_s32)(0x80130049) #define SOC_ERR_AO_INBUF_EMPTY (td_s32)(0x8013004A) #define SOC_ERR_AO_INVALID_PORT (td_s32)(0x8013004C) #define SOC_ERR_AO_SENDMUTE (td_s32)(0x8013004D) #define SOC_ERR_AO_VIRTUALBUF_EMPTY (td_s32)(0x8013004E) #define SOC_ERR_AO_PAUSE_STATE (td_s32)(0x8013004F) #define SOC_ERR_AO_OUTPORT_NOT_ATTATCH (td_s32)(0x80130050) #define SOC_ERR_AO_CAST_TIMEOUT (td_s32)(0x80130051) #define SOC_ERR_AO_MALLOC_FAILED (td_s32)(0x80130052) #define SOC_ERR_AO_DEVICE_BUSY (td_s32)(0x80130053) #define SOC_ERR_AO_NOT_ACTIVE (td_s32)(0x80130054) #define SOC_ERR_ADEC_DEV_NOT_OPEN (td_s32)(0x80140001) #define SOC_ERR_ADEC_INVALID_PARA (td_s32)(0x80140002) #define SOC_ERR_ADEC_NULL_PTR (td_s32)(0x80140003) #define SOC_ERR_ADEC_IN_BUF_FULL (td_s32)(0x80140004) #define SOC_ERR_ADEC_OUT_BUF_EMPTY (td_s32)(0x80140005) #define SOC_ERR_ADEC_OUT_VOLUME (td_s32)(0x80140006) #define SOC_ERR_ADEC_IN_PTSBUF_FULL (td_s32)(0x80140007) #define SOC_ERR_ADEC_INSUFFICIENT_RESOURCES (td_s32)(0x80140008) #define SOC_ERR_ADEC_STREAM_CORRUPT (td_s32)(0x80140009) #define SOC_ERR_ADEC_NOT_ENOUGH_DATA (td_s32)(0x8014000a) #define SOC_ERR_ADEC_DECODE_MODE (td_s32)(0x8014000b) #define SOC_ERR_ADEC_NOT_SUPPORT (td_s32)(0x8014000c) #define SOC_ERR_ADEC_ALLOC_MEM_FAILED (td_s32)(0x8014000d) #define SOC_ERR_ADEC_DECODE_CORRUPT (td_s32)(0x8014000e) #define SOC_ERR_DMX_NOT_INIT (td_s32)(0x80150001) #define SOC_ERR_DMX_INVALID_PARA (td_s32)(0x80150002) #define SOC_ERR_DMX_NULL_PTR (td_s32)(0x80150003) #define SOC_ERR_DMX_NOT_SUPPORT (td_s32)(0x80150004) #define SOC_ERR_DMX_TIMEOUT (td_s32)(0x80150005) #define SOC_ERR_DMX_ALLOC_MEM_FAILED (td_s32)(0x80150006) #define SOC_ERR_DMX_BUSY (td_s32)(0x80150007) #define SOC_ERR_DMX_NOATTACH_PORT (td_s32)(0x80150008) #define SOC_ERR_DMX_ATTACHED_PORT (td_s32)(0x80150009) #define SOC_ERR_DMX_RECREAT_TSBUFFER (td_s32)(0x8015000A) #define SOC_ERR_DMX_UNMATCH_CHAN (td_s32)(0x8015000B) #define SOC_ERR_DMX_NOFREE_CHAN (td_s32)(0x8015000C) #define SOC_ERR_DMX_OPENING_CHAN (td_s32)(0x8015000D) #define SOC_ERR_DMX_NOT_OPEN_CHAN (td_s32)(0x8015000E) #define SOC_ERR_DMX_ATTACHED_FILTER (td_s32)(0x8015000F) #define SOC_ERR_DMX_NOATTACH_FILTER (td_s32)(0x80150010) #define SOC_ERR_DMX_UNMATCH_FILTER (td_s32)(0x80150011) #define SOC_ERR_DMX_NOFREE_FILTER (td_s32)(0x80150012) #define SOC_ERR_DMX_NOATTACH_KEY (td_s32)(0x80150013) #define SOC_ERR_DMX_UNMATCH_KEY (td_s32)(0x80150014) #define SOC_ERR_DMX_NOFREE_KEY (td_s32)(0x80150015) #define SOC_ERR_DMX_ATTACHED_KEY (td_s32)(0x80150016) #define SOC_ERR_DMX_NOAVAILABLE_BUF (td_s32)(0x80150017) #define SOC_ERR_DMX_NOAVAILABLE_DATA (td_s32)(0x80150018) #define SOC_ERR_DMX_REACQUIRE_BUF (td_s32)(0x80150019) #define SOC_ERR_DMX_OCCUPIED_PID (td_s32)(0x80150020) #define SOC_ERR_DMX_MMAP_FAILED (td_s32)(0x80150021) #define SOC_ERR_DMX_MUNMAP_FAILED (td_s32)(0x80150022) #define SOC_ERR_DMX_EMPTY_BUFFER (td_s32)(0x80150023) #define SOC_ERR_DMX_OVERFLOW_BUFFER (td_s32)(0x80150024) #define SOC_ERR_DMX_NOT_START_REC_CHAN (td_s32)(0x80150030) #define SOC_ERR_DMX_STARTING_REC_CHAN (td_s32)(0x80150031) #define SOC_ERR_DMX_NOAVAILABLE_EXCLUDEPID (td_s32)(0x80150032) #define SOC_ERR_DMX_NOAVAILABLE_TAG_PORT (td_s32)(0x80150033) #define SOC_ERR_DMX_NOT_SUPPORT_TAGDEAL (td_s32)(0x80150034) #define SOC_ERR_DMX_REC_BUFNOTMATCH (td_s32)(0x80150035) #define SOC_ERR_DMX_INVALID_REC_CHAN (td_s32)(0x80150036) #define SOC_ERR_DMX_BUSY_CHAN (td_s32)(0x80150037) #define SOC_ERR_DMX_BUSY_FILTER (td_s32)(0x80150038) #define SOC_ERR_DMX_BUSY_KEY (td_s32)(0x80150039) #define SOC_ERR_DMX_BUSY_REC (td_s32)(0x8015003A) #define SOC_ERR_DMX_INTR (td_s32)(0x8015003B) #define SOC_ERR_DMX_STALED (td_s32)(0x8015003C) #define SOC_ERR_DMX_NO_RESOURCE (td_s32)(0x8015003D) #define SOC_ERR_DMX_DETACH_FAILED (td_s32)(0x8015003E) #define SOC_ERR_DMX_EMPTY (td_s32)(0x8015003F) #define SOC_ERR_DMX_FATAL (td_s32)(0x80150040) #define SOC_ERR_DMX_PES_HEAD_INVALID (td_s32)(0x80150041) #define SOC_ERR_TSIO_NOT_INIT (td_s32)(0x80160001) #define SOC_ERR_TSIO_INVALID_PARA (td_s32)(0x80160002) #define SOC_ERR_TSIO_NULL_PTR (td_s32)(0x80160003) #define SOC_ERR_TSIO_NO_MEMORY (td_s32)(0x80160004) #define SOC_ERR_TSIO_NO_RESOURCE (td_s32)(0x80160005) #define SOC_ERR_TSIO_BUSY (td_s32)(0x80160006) #define SOC_ERR_TSIO_NOT_READY (td_s32)(0x80160007) #define SOC_ERR_TSIO_NOAVAILABLE_BUF (td_s32)(0x80160008) #define SOC_ERR_TSIO_NOAVAILABLE_DATA (td_s32)(0x80160009) #define SOC_ERR_TSIO_INTR (td_s32)(0x8016000A) #define SOC_ERR_TSIO_TIMEOUT (td_s32)(0x8016000B) #define SOC_ERR_TSIO_NOT_SUPPORT (td_s32)(0x8016000C) #define SOC_ERR_TSIO_CC_ERROR (td_s32)(0x8016000D) #define SOC_ERR_TSIO_DEMUX_NOT_READY (td_s32)(0x8016000E) #define SOC_ERR_TSIO_STALED (td_s32)(0x8016000F) #define SOC_ERR_VI_INVALID_PARA ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_VI_NULL_PTR ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_VI_ID_NOT_EXIST ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_VI_ID_EMPTY ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_ID_EMPTY) #define SOC_ERR_VI_ID_INVALID ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_VI_FILE_NOT_EXIST ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_FILE_NOT_EXIST) #define SOC_ERR_VI_OPEN_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_OPEN_FAILED) #define SOC_ERR_VI_CLOSE_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_CLOSE_FAILED) #define SOC_ERR_VI_WRITE_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_WRITE_FAILED) #define SOC_ERR_VI_READ_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_READ_FAILED) #define SOC_ERR_VI_SEEK_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_SEEK_FAILED) #define SOC_ERR_VI_NOT_SUPPORT ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_VI_MEM_ALLOC_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_VI_MAP_FAILED ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_MAP_FAILED) #define SOC_ERR_VI_BUFFER_EMPTY ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_VI_BUFFER_FULL ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_FULL) #define SOC_ERR_VI_DEVICE_BUSY ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_VI_OPERATION_TIMEOUT ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_OPERATION_TIMEOUT) #define SOC_ERR_VI_NOT_INIT ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_INIT) #define SOC_ERR_VI_NOT_DEINIT ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_DEINIT) #define SOC_ERR_VI_NOT_OPEN ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_OPEN) #define SOC_ERR_VI_NOT_CLOSE ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_CLOSE) #define SOC_ERR_VI_NOT_CREATE ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_ID_EMPTY) #define SOC_ERR_VI_NOT_DESTORY ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_DESTORY) #define SOC_ERR_VI_NOT_CONFIG ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_CONFIG) #define SOC_ERR_VI_NOT_ATTACH ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_ATTACH) #define SOC_ERR_VI_NOT_DETACH ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_DETACH) #define SOC_ERR_VI_NOT_ENABLE ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_ENABLE) #define SOC_ERR_VI_NOT_DISABLE ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_DISABLE) #define SOC_ERR_VI_NOT_START ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_START) #define SOC_ERR_VI_NOT_STOP ERR_NUMBER(SOC_ID_VI, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_STOP) #define SOC_ERR_AI_NOT_INIT (td_s32)(0x801B0001) #define SOC_ERR_AI_INVALID_PARA (td_s32)(0x801B0002) #define SOC_ERR_AI_NULL_PTR (td_s32)(0x801B0003) #define SOC_ERR_AI_INVALID_ID (td_s32)(0x801B0004) #define SOC_ERR_AI_DEV_OPENED (td_s32)(0x801B0005) #define SOC_ERR_AI_NOTSUPPORT (td_s32)(0x801B0006) #define SOC_ERR_AI_USERCOPY (td_s32)(0x801B0007) #define SOC_ERR_AI_BUFEMPTY (td_s32)(0x801B0008) #define SOC_ERR_AI_NOT_ENOUGH_DATA (td_s32)(0x801B0009) #define SOC_ERR_AI_FIND_SYNC_FAILED (td_s32)(0x801B000a) #define SOC_ERR_AI_BITS_INVALID_DATA (td_s32)(0x801B000b) #define SOC_ERR_AI_INSUFFICIENT_RESOURCES (td_s32)(0x801B000c) #define SOC_ERR_AI_BITS_PAUSE_DATA (td_s32)(0x801B000e) #define SOC_ERR_AI_PARSERBUF_EMPTY (td_s32)(0x801B000f) #define SOC_ERR_AI_TIMEOUT (td_s32)(0x801B0010) #define SOC_ERR_AENC_DEV_NOT_OPEN (td_s32)(0x801C0001) #define SOC_ERR_AENC_INVALID_PARA (td_s32)(0x801C0002) #define SOC_ERR_AENC_NULL_PTR (td_s32)(0x801C0003) #define SOC_ERR_AENC_OUT_BUF_FULL (td_s32)(0x801C0006) #define SOC_ERR_AENC_INVALID_OUTFRAME (td_s32)(0x801C0007) #define SOC_ERR_AENC_DATASIZE_EXCEED (td_s32)(0x801C0008) #define SOC_ERR_AENC_CREATECH_FAIL (td_s32)(0x801C0009) #define SOC_ERR_AENC_IN_BUF_FULL (td_s32)(0x801C000A) #define SOC_ERR_AENC_CH_NOT_OPEN (td_s32)(0x801C000B) #define SOC_ERR_AENC_OUT_BUF_EMPTY (td_s32)(0x801C000C) #define SOC_ERR_AENC_OUT_BUF_BAD (td_s32)(0x801C000D) #define SOC_ERR_AENC_IN_BUF_UNEMPTY (td_s32)(0x801C000E) #define SOC_ERR_AENC_CH_NOT_SUPPORT (td_s32)(0x801C000F) #define SOC_ERR_VENC_NO_INIT (td_s32)(0x801D0001) #define SOC_ERR_VENC_INVALID_PARA (td_s32)(0x801D0002) #define SOC_ERR_VENC_NULL_PTR (td_s32)(0x801D0003) #define SOC_ERR_VENC_INVALID_CHNID (td_s32)(0x801D0004) #define SOC_ERR_VENC_DEV_OPENED (td_s32)(0x801D0005) #define SOC_ERR_VENC_DEV_NOT_EXIST (td_s32)(0x801D0006) #define SOC_ERR_VENC_NOT_DEV_FILE (td_s32)(0x801D0007) #define SOC_ERR_VENC_CREATE_ERR (td_s32)(0x801D0008) #define SOC_ERR_VENC_DESTROY_ERR (td_s32)(0x801D0009) #define SOC_ERR_VENC_CHN_NOT_EXIST (td_s32)(0x801D000A) #define SOC_ERR_VENC_CHN_INVALID_STAT (td_s32)(0x801D000B) #define SOC_ERR_VENC_CHN_NO_ATTACH (td_s32)(0x801D000C) #define SOC_ERR_VENC_BUF_EMPTY (td_s32)(0x801D000D) #define SOC_ERR_VENC_CHN_RELEASE_ERR (td_s32)(0x801D000E) #define SOC_ERR_VENC_NOT_SUPPORT (td_s32)(0x801D000F) #define SOC_ERR_SIO_AI_INVALID_DEVID (td_s32)(0x801E0001) #define SOC_ERR_SIO_AI_INVALID_CHNID (td_s32)(0x801E0002) #define SOC_ERR_SIO_AI_ILLEGAL_PARAM (td_s32)(0x801E0003) #define SOC_ERR_SIO_AI_NULL_PTR (td_s32)(0x801E0004) #define SOC_ERR_SIO_AI_NOT_CONFIG (td_s32)(0x801E0005) #define SOC_ERR_SIO_AI_NOT_SURPPORT (td_s32)(0x801E0006) #define SOC_ERR_SIO_AI_NOT_PERM (td_s32)(0x801E0007) #define SOC_ERR_SIO_AI_NOT_ENABLED (td_s32)(0x801E0008) #define SOC_ERR_SIO_AI_NOMEM (td_s32)(0x801E0009) #define SOC_ERR_SIO_AI_NOBUF (td_s32)(0x801E000A) #define SOC_ERR_SIO_AI_BUF_EMPTY (td_s32)(0x801E000B) #define SOC_ERR_SIO_AI_BUF_FULL (td_s32)(0x801E000C) #define SOC_ERR_SIO_AI_SYS_NOTREADY (td_s32)(0x801E000D) #define SOC_ERR_SIO_AI_BUSY (td_s32)(0x801E000E) #define SOC_ERR_SIO_AO_INVALID_DEVID (td_s32)(0x801F0001) #define SOC_ERR_SIO_AO_INVALID_CHNID (td_s32)(0x801F0002) #define SOC_ERR_SIO_AO_ILLEGAL_PARAM (td_s32)(0x801F0003) #define SOC_ERR_SIO_AO_NULL_PTR (td_s32)(0x801F0004) #define SOC_ERR_SIO_AO_NOT_CONFIG (td_s32)(0x801F0005) #define SOC_ERR_SIO_AO_NOT_SURPPORT (td_s32)(0x801F0006) #define SOC_ERR_SIO_AO_NOT_PERM (td_s32)(0x801F0007) #define SOC_ERR_SIO_AO_NOT_ENABLED (td_s32)(0x801F0008) #define SOC_ERR_SIO_AO_NOMEM (td_s32)(0x801F0009) #define SOC_ERR_SIO_AO_NOBUF (td_s32)(0x801F000A) #define SOC_ERR_SIO_AO_BUF_EMPTY (td_s32)(0x801F000B) #define SOC_ERR_SIO_AO_BUF_FULL (td_s32)(0x801F000C) #define SOC_ERR_SIO_AO_SYS_NOTREADY (td_s32)(0x801F000D) #define SOC_ERR_SIO_AO_BUSY (td_s32)(0x801F000E) #define SOC_ERR_AFLT_NOT_INIT (td_s32)(0x80200001) #define SOC_ERR_AFLT_INVALID_PARA (td_s32)(0x80200002) #define SOC_ERR_AFLT_NULL_PTR (td_s32)(0x80200003) #define SOC_ERR_AFLT_INVALID_HANDLE (td_s32)(0x80200004) #define SOC_ERR_AFLT_CHN_NOT_OPEN (td_s32)(0x80200005) #define SOC_ERR_AFLT_INBUF_FULL (td_s32)(0x80200006) #define SOC_ERR_AFLT_OUTBUF_EMPTY (td_s32)(0x80200007) #define SOC_ERR_AFLT_BUFEMPTY (td_s32)(0x80200008) #define SOC_ERR_AFLT_MALLOC_FAILED (td_s32)(0x80200009) #define SOC_ERR_AFLT_INSUFFICIENT_RESOURCES (td_s32)(0x8014000A) #define SOC_ERR_AFLT_NOT_SUPPORT (td_s32)(0x8014000B) #define SOC_ERR_HDMITX_NOT_INIT ERR_NUMBER(SOC_ID_HDMITX, ERR_TYPE_INIT, ERR_CODE_NOT_INIT) #define SOC_ERR_HDMITX_INVALID_PARA ERR_NUMBER(SOC_ID_HDMITX, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_HDMITX_NULL_PTR ERR_NUMBER(SOC_ID_HDMITX, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_HDMITX_DEV_NOT_OPEN ERR_NUMBER(SOC_ID_HDMITX, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_OPEN) #define SOC_ERR_HDMITX_FEATURE_NO_SUPPORT ERR_NUMBER(SOC_ID_HDMITX, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_HDMITX_BUS_BUSY ERR_NUMBER(SOC_ID_HDMITX, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_HDMITX_DEV_NOT_CONNECT (td_s32)(0x80210005) #define SOC_ERR_HDMITX_READ_SINK_FAILED (td_s32)(0x80210006) #define SOC_ERR_HDMITX_INIT_ALREADY (td_s32)(0x80210007) #define SOC_ERR_HDMITX_NO_CALLBACK (td_s32)(0x80210008) #define SOC_ERR_HDMITX_CALLBACK_ALREADY (td_s32)(0x80210009) #define SOC_ERR_HDMITX_INVALID_CALLBACK (td_s32)(0x8021000A) #define SOC_ERR_HDMITX_NO_LOGIC_ADDR (td_s32)(0x8021000D) #define SOC_ERR_HDMITX_MSG_NACK (td_s32)(0x8021000E) #define SOC_ERR_HDMITX_MSG_FAILED (td_s32)(0x8021000F) #define SOC_ERR_HDMIRX_INVALID_PORT ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_HDMIRX_NULL_PTR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_HDMIRX_INVALID_PARA ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_HDMIRX_NOT_ATTACH ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_ATTACH, ERR_CODE_NOT_ATTACH) #define SOC_ERR_HDMIRX_NOT_STABLE ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_STABLE) #define SOC_ERR_HDMIRX_INVALID_HANDLE ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, ERR_CODE_HANDLE_INVALID) #define SOC_ERR_HDMIRX_INVALID_CALLBACK ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_HDMIRX_MALLOC_FAILED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_HDMIRX_NOT_INIT ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_INIT, ERR_CODE_FILE_NOT_EXIST) #define SOC_ERR_HDMIRX_DEV_NOT_OPEN ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_OPEN, ERR_CODE_OPEN_FAILED) #define SOC_ERR_HDMIRX_CEC_NOT_INIT ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_INIT, 0xB0) #define SOC_ERR_HDMIRX_GET_CHIP_VER_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_FIND, 0xB0) #define SOC_ERR_HDMIRX_CEC_NOT_ENABLED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_ENABLE, 0xB0) #define SOC_ERR_HDMIRX_SECURE_FUNC_FAILED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB0) #define SOC_ERR_HDMIRX_KLAD_FUNC_FAILED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB1) #define SOC_ERR_HDMIRX_NOT_CONNECT ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB2) #define SOC_ERR_HDMIRX_VIDEO_NOT_SUPPORT ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB3) #define SOC_ERR_HDMIRX_INCOMPATIBLE_PORT ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB4) #define SOC_ERR_HDMIRX_AUDIO_NOT_ON ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB5) #define SOC_ERR_HDMIRX_CEC_DEQUEUE_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB6) #define SOC_ERR_HDMIRX_EDID_DATA_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB7) #define SOC_ERR_HDMIRX_EDID_TYPE_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB8) #define SOC_ERR_HDMIRX_EDID_NO_PA ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xB9) #define SOC_ERR_HDMIRX_EDID_COUNT_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xBA) #define SOC_ERR_HDMIRX_EDID_LEN_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xBB) #define SOC_ERR_HDMIRX_EDID_MODE_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xBC) #define SOC_ERR_HDMIRX_HDCP_TYPE_ERR ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xBD) #define SOC_ERR_HDMIRX_HDCP_OPERATION_FAILED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xBE) #define SOC_ERR_HDMIRX_CIPHER_FUNC_FAILED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xBF) #define SOC_ERR_HDMIRX_KEYSLOT_FUNC_FAILED ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xC0) #define SOC_ERR_HDMIRX_NO_SPD_INFO ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xC1) #define SOC_ERR_HDMIRX_CEC_NO_FRAME ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xC2) #define SOC_ERR_HDMIRX_CEC_TX_STATUS_NOT_IDLE ERR_NUMBER(SOC_ID_HDMIRX, ERR_TYPE_UNKNOWN, 0xC3) /* Define SIF Error Code */ #define SOC_ERR_SIF_NOT_INIT ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_INIT, ERR_CODE_NOT_INIT) #define SOC_ERR_SIF_INVALID_PARA ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SIF_NULL_PTR ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_SIF_INVALID_ID ERR_NUMBER(SOC_ID_SIF, ERR_CODE_ID_INVALID, ERR_CODE_PARA_INVALID) #define SOC_ERR_SIF_DEV_OPENED ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_FILE, ERR_CODE_NOT_OPEN) #define SOC_ERR_SIF_DEV_CLOSED ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_FILE, ERR_CODE_NOT_CLOSE) #define SOC_ERR_SIF_NOTSUPPORT ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_SIF_INSUFFICIENT_RESOURCES ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_FULL) #define SOC_ERR_SIF_INVALID_OPERATE ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_UNKNOWN, ERR_CODE_OPERATION_TIMEOUT) #define SOC_ERR_SIF_NOT_START ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_START, ERR_CODE_NOT_START) #define SOC_ERR_SIF_NOT_OPEN ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_OPEN, ERR_CODE_NOT_OPEN) #define SOC_ERR_SIF_NOT_STOP ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_CLOSE, ERR_CODE_NOT_STOP) #define SOC_ERR_SIF_USERCOPY ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_OPEN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SIF_DEVICE_BUSY ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_SIF_TIMEOUT ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_CONFIG, ERR_CODE_OPERATION_TIMEOUT) #define SOC_ERR_SIF_MMAP_FAILED ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_ALLOC, ERR_CODE_MAP_FAILED) #define SOC_ERR_SIF_MALLOC_FAILED ERR_NUMBER(SOC_ID_SIF, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_PVR_NOT_INIT (td_s32)(0x80300001) #define SOC_ERR_PVR_INVALID_PARA (td_s32)(0x80300002) #define SOC_ERR_PVR_NUL_PTR (td_s32)(0x80300003) #define SOC_ERR_PVR_CHN_NOT_INIT (td_s32)(0x80300004) #define SOC_ERR_PVR_INVALID_CHNID (td_s32)(0x80300005) #define SOC_ERR_PVR_NO_CHN_LEFT (td_s32)(0x80300006) #define SOC_ERR_PVR_ALREADY (td_s32)(0x80300007) #define SOC_ERR_PVR_BUSY (td_s32)(0x80300008) #define SOC_ERR_PVR_NO_MEM (td_s32)(0x80300009) #define SOC_ERR_PVR_NOT_SUPPORT (td_s32)(0x8030000A) #define SOC_ERR_PVR_RETRY (td_s32)(0x8030000B) #define SOC_ERR_PVR_FILE_EXIST (td_s32)(0x80300011) #define SOC_ERR_PVR_FILE_NOT_EXIST (td_s32)(0x80300012) #define SOC_ERR_PVR_FILE_CANT_OPEN (td_s32)(0x80300013) #define SOC_ERR_PVR_FILE_CANT_CLOSE (td_s32)(0x80300014) #define SOC_ERR_PVR_FILE_CANT_SEEK (td_s32)(0x80300015) #define SOC_ERR_PVR_FILE_CANT_WRITE (td_s32)(0x80300016) #define SOC_ERR_PVR_FILE_CANT_READ (td_s32)(0x80300017) #define SOC_ERR_PVR_FILE_INVALID_FNAME (td_s32)(0x80300018) #define SOC_ERR_PVR_FILE_TILL_START (td_s32)(0x80300019) #define SOC_ERR_PVR_FILE_TILL_END (td_s32)(0x8030001A) #define SOC_ERR_PVR_FILE_DISC_FULL (td_s32)(0x8030001B) #define SOC_ERR_PVR_REC_INVALID_STATE (td_s32)(0x80300021) #define SOC_ERR_PVR_REC_INVALID_DMXID (td_s32)(0x80300022) #define SOC_ERR_PVR_REC_INVALID_FSIZE (td_s32)(0x80300023) #define SOC_ERR_PVR_REC_INVALID_UDSIZE (td_s32)(0x80300024) #define SOC_ERR_PVR_REC_REACH_PLAY (td_s32)(0x80300025) #define SOC_ERR_PVR_PLAY_INVALID_STATE (td_s32)(0x80300031) #define SOC_ERR_PVR_PLAY_INVALID_DMXID (td_s32)(0x80300032) #define SOC_ERR_PVR_PLAY_INVALID_TSBUFFER (td_s32)(0x80300033) #define SOC_ERR_PVR_PLAY_INVALID_PACKETBUFFER (td_s32)(0x80300034) #define SOC_ERR_PVR_PLAY_INDEX_BEYOND_TS (td_s32)(0x80300035) #define SOC_ERR_PVR_SEC_INIT_FAILED (td_s32)(0x80300036) #define SOC_ERR_PVR_SEC_RUNTIME_ERROR (td_s32)(0x80300037) #define SOC_ERR_PVR_INDEX_CANT_MKIDX (td_s32)(0x80300041) #define SOC_ERR_PVR_INDEX_FORMAT_ERR (td_s32)(0x80300042) #define SOC_ERR_PVR_INDEX_DATA_ERR (td_s32)(0x80300043) #define SOC_ERR_PVR_INDEX_INVALID_ENTRY (td_s32)(0x80300044) #define SOC_ERR_PVR_INTF_EVENT_INVAL (td_s32)(0x80300051) #define SOC_ERR_PVR_INTF_EVENT_NOREG (td_s32)(0x80300052) #define SOC_ERR_ADVCA_PVR_KEY_CHECK_FAILED (td_s32)(0x80300053) #define SOC_ERR_ADVCA_PVR_CMAC_CHECK_FAILED (td_s32)(0x80300054) #define SOC_ERR_AVPLAY_DEV_NOT_EXIST ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_FILE, ERR_CODE_FILE_NOT_EXIST) #define SOC_ERR_AVPLAY_NOT_DEV_FILE ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_FILE, ERR_CODE_READ_FAILED) #define SOC_ERR_AVPLAY_DEV_OPEN_ERR ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_FILE, ERR_CODE_OPEN_FAILED) #define SOC_ERR_AVPLAY_DEV_CLOSE_ERR ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_FILE, ERR_CODE_CLOSE_FAILED) #define SOC_ERR_AVPLAY_NULL_PTR ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_AVPLAY_DEV_NO_INIT ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_FILE, ERR_CODE_NOT_INIT) #define SOC_ERR_AVPLAY_INVALID_PARA ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_AVPLAY_CREATE_ERR ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_CREATE, ERR_CODE_ID_EMPTY) #define SOC_ERR_AVPLAY_DESTROY_ERR ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_DESTORY, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_AVPLAY_INVALID_OPT ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_AVPLAY_NOT_SUPPORT ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_AVPLAY_RETRY_OPT ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_AVPLAY_NO_DATA ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_AVPLAY_TIMEOUT ERR_NUMBER(SOC_ID_AVPLAY, ERR_TYPE_UNKNOWN, ERR_CODE_OPERATION_TIMEOUT) #define SOC_ERR_SYNC_DEV_NOT_EXIST ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_FILE, ERR_CODE_FILE_NOT_EXIST) #define SOC_ERR_SYNC_NOT_DEV_FILE ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_FILE, ERR_CODE_READ_FAILED) #define SOC_ERR_SYNC_DEV_OPEN_ERR ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_FILE, ERR_CODE_OPEN_FAILED) #define SOC_ERR_SYNC_DEV_CLOSE_ERR ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_FILE, ERR_CODE_CLOSE_FAILED) #define SOC_ERR_SYNC_NULL_PTR ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_SYNC_DEV_NO_INIT ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_FILE, ERR_CODE_NOT_INIT) #define SOC_ERR_SYNC_INVALID_PARA ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SYNC_CREATE_ERR ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_CREATE, ERR_CODE_ID_EMPTY) #define SOC_ERR_SYNC_DESTROY_ERR ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_DESTORY, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_SYNC_INVALID_OPT ERR_NUMBER(SOC_ID_SYNC, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_VP_PTR_NULL (td_s32)(0x80340001) #define SOC_ERR_VP_NOT_INIT (td_s32)(0x80340002) #define SOC_ERR_VP_DEV_NOT_EXIST (td_s32)(0x80340003) #define SOC_ERR_VP_NOT_DEV_FILE (td_s32)(0x80340004) #define SOC_ERR_VP_DEV_OPEN_ERR (td_s32)(0x80340005) #define SOC_ERR_VP_INVALID_PARA (td_s32)(0x80340006) #define SOC_ERR_VP_NOT_SUPPORT (td_s32)(0x80340007) #define SOC_ERR_VP_INVALID_HANDLE (td_s32)(0x80340008) #define SOC_ERR_VP_HANDLE_NOTEXIST (td_s32)(0x80340009) #define SOC_ERR_VP_NOT_READY (td_s32)(0x8034000A) #define SOC_ERR_VP_ILLEGAL_STATE (td_s32)(0x8034000B) #define SOC_ERR_IR_OPEN_ERR (td_s32)(0x80410001) #define SOC_ERR_IR_CLOSE_ERR (td_s32)(0x80410002) #define SOC_ERR_IR_NOT_INIT (td_s32)(0x80410003) #define SOC_ERR_IR_INVALID_PARA (td_s32)(0x80410004) #define SOC_ERR_IR_NULL_PTR (td_s32)(0x80410005) #define SOC_ERR_IR_READ_FAILED (td_s32)(0x80410006) #define SOC_ERR_IR_ENABLE_FAILED (td_s32)(0x80410007) #define SOC_ERR_IR_SET_BLOCKTIME_FAILED (td_s32)(0x80410008) #define SOC_ERR_IR_SET_FETCHMETHOD_FAILED (td_s32)(0x80410009) #define SOC_ERR_IR_SET_KEYUP_FAILED (td_s32)(0x8041000A) #define SOC_ERR_IR_SET_REPEAT_FAILED (td_s32)(0x8041000B) #define SOC_ERR_IR_SET_REPKEYTIMEOUT_FAILED (td_s32)(0x8041000C) #define SOC_ERR_IR_RESET_FAILED (td_s32)(0x8041000D) #define SOC_ERR_IR_ENABLE_PROT_FAILED (td_s32)(0x8041000E) #define SOC_ERR_IR_DISABLE_PROT_FAILED (td_s32)(0x8041000F) #define SOC_ERR_IR_GET_PROTENABLE_FAILED (td_s32)(0x80410010) #define SOC_ERR_IR_SETFORMAT_FAILED (td_s32)(0x80410011) #define SOC_ERR_IR_UNSUPPORT (td_s32)(0x80410012) #define SOC_ERR_RTC_NOT_INIT (td_s32)(0x80420001) #define SOC_ERR_RTC_REPEAT_INIT (td_s32)(0x80420002) #define SOC_ERR_RTC_INVALID_POINT (td_s32)(0x80420003) #define SOC_ERR_RTC_INVALID_PARA (td_s32)(0x80420004) #define SOC_ERR_RTC_FAILED_INIT (td_s32)(0x80420005) #define SOC_ERR_RTC_FAILED_SETTIME (td_s32)(0x80420006) #define SOC_ERR_RTC_FAILED_GETTIME (td_s32)(0x80420007) #define SOC_ERR_RTC_FAILED_ALARMENABLE (td_s32)(0x80420008) #define SOC_ERR_RTC_FAILED_ALARMDISABLE (td_s32)(0x80420009) #define SOC_ERR_RTC_FAILED_SETALARM (td_s32)(0x8042000A) #define SOC_ERR_RTC_FAILED_GETALARM (td_s32)(0x8042000B) #define SOC_ERR_WDG_NOT_INIT (td_s32)(0x80430001) #define SOC_ERR_WDG_REPEAT_INIT (td_s32)(0x80430002) #define SOC_ERR_WDG_INVALID_POINT (td_s32)(0x80430003) #define SOC_ERR_WDG_INVALID_PARA (td_s32)(0x80430004) #define SOC_ERR_WDG_FAILED_INIT (td_s32)(0x80430005) #define SOC_ERR_WDG_FAILED_SETTIMEOUT (td_s32)(0x80430006) #define SOC_ERR_WDG_FAILED_ENABLE (td_s32)(0x80430007) #define SOC_ERR_WDG_FAILED_DISABLE (td_s32)(0x80430008) #define SOC_ERR_WDG_FAILED_CLEARWDG (td_s32)(0x80430009) #define SOC_ERR_WDG_FAILED_RESET (td_s32)(0x8043000A) #define SOC_ERR_WDG_FAILED_RESMODE (td_s32)(0x8043000B) #define SOC_ERR_WDG_NOT_SUPPORT (td_s32)(0x8043000C) #define SOC_ERR_WDG_FAILED_GETTIMEOUT (td_s32)(0x8043000D) #define SOC_ERR_WDG_FAILED_DEINIT (td_s32)(0x8043000E) #define SOC_ERR_I2C_OPEN_ERR (td_s32)(0x80440001) #define SOC_ERR_I2C_CLOSE_ERR (td_s32)(0x80440002) #define SOC_ERR_I2C_NOT_INIT (td_s32)(0x80440003) #define SOC_ERR_I2C_INVALID_PARA (td_s32)(0x80440004) #define SOC_ERR_I2C_NULL_PTR (td_s32)(0x80440005) #define SOC_ERR_I2C_COPY_DATA_ERR (td_s32)(0x80440006) #define SOC_ERR_I2C_MALLOC_ERR (td_s32)(0x80440007) #define SOC_ERR_I2C_WRITE_TIMEOUT (td_s32)(0x80440008) #define SOC_ERR_I2C_READ_TIMEOUT (td_s32)(0x80440009) #define SOC_ERR_SCI_OPEN_ERR (td_s32)(0x80450001) #define SOC_ERR_SCI_CLOSE_ERR (td_s32)(0x80450002) #define SOC_ERR_SCI_NOT_INIT (td_s32)(0x80450003) #define SOC_ERR_SCI_INVALID_PARA (td_s32)(0x80450004) #define SOC_ERR_SCI_NULL_PTR (td_s32)(0x80450005) #define SOC_ERR_SCI_INVALID_OPT (td_s32)(0x80450006) #define SOC_ERR_SCI_SEND_ERR (td_s32)(0x80450007) #define SOC_ERR_SCI_RECEIVE_ERR (td_s32)(0x80450008) #define SOC_ERR_SCI_NO_ATR (td_s32)(0x80450009) #define SOC_ERR_SCI_PPS_PTYPE_ERR (td_s32)(0x8045000A) #define SOC_ERR_SCI_PPS_FACTOR_ERR (td_s32)(0x8045000B) #define SOC_ERR_SCI_PPS_NOTSUPPORT_ERR (td_s32)(0x8045000C) #define SOC_ERR_SCI_NOTSUPPORT (td_s32)(0x8045000D) #define SOC_ERR_ETH_NOT_INIT (td_s32)(0x80460001) #define SOC_ERR_ETH_REPEAT_INIT (td_s32)(0x80460002) #define SOC_ERR_ETH_INVALID_POINT (td_s32)(0x80460003) #define SOC_ERR_ETH_INVALID_PARA (td_s32)(0x80460004) #define SOC_ERR_ETH_FAILED_INIT (td_s32)(0x80460005) #define SOC_ERR_GPIO_OPEN_ERR (td_s32)(0x80470001) #define SOC_ERR_GPIO_CLOSE_ERR (td_s32)(0x80470002) #define SOC_ERR_GPIO_NOT_INIT (td_s32)(0x80470003) #define SOC_ERR_GPIO_INVALID_PARA (td_s32)(0x80470004) #define SOC_ERR_GPIO_NULL_PTR (td_s32)(0x80470005) #define SOC_ERR_GPIO_INVALID_OPT (td_s32)(0x80470006) #define SOC_ERR_GPIO_FAILED_SETINT (td_s32)(0x80470007) #define SOC_ERR_GPIO_FAILED_SETENABLE (td_s32)(0x80470008) #define SOC_ERR_GPIO_FAILED_GETINT (td_s32)(0x80470009) #define SOC_ERR_GPIO_GETINT_TIMEOUT (td_s32)(0x8047000A) #define SOC_ERR_GPIO_INTTYPE_NOT_SUPPORT (td_s32)(0x8047000B) #define SOC_ERR_GPIO_NOT_SUPPORT (td_s32)(0x8047000C) #define SOC_ERR_GPIO_FAILED_SETOUTPUTTYPE (td_s32)(0x8047000D) #define SOC_ERR_GPIO_FAILED_GETOUTPUTTYPE (td_s32)(0x8047000E) #define SOC_ERR_GPIO_FAILED_SETDIRECT (td_s32)(0x8047000F) #define SOC_ERR_GPIO_FAILED_GETDIRECT (td_s32)(0x80470010) #define SOC_ERR_GPIO_FAILED_SETVALUE (td_s32)(0x80470011) #define SOC_ERR_GPIO_FAILED_GETVALUE (td_s32)(0x80470012) #define SOC_ERR_DMAC_NOT_INIT (td_s32)(0x80480001) #define SOC_ERR_DMAC_REPEAT_INIT (td_s32)(0x80480002) #define SOC_ERR_DMAC_INVALID_POINT (td_s32)(0x80480003) #define SOC_ERR_DMAC_INVALID_PARA (td_s32)(0x80480004) #define SOC_ERR_DMAC_FAILED_INIT (td_s32)(0x80480005) #define SOC_ERR_DMAC_FAILED_GETCHANNEL (td_s32)(0x80480006) #define SOC_ERR_DMAC_FAILED_MEMTRANS (td_s32)(0x80480007) #define SOC_ERR_DMAC_FAILED_PERTRANS (td_s32)(0x80480008) #define SOC_ERR_DMAC_FAILED_GETSTAT (td_s32)(0x80480009) #define SOC_ERR_DMAC_FAILED_LISTRESET (td_s32)(0x8048000A) #define SOC_ERR_DMAC_FAILED_ADDLIST (td_s32)(0x8048000B) #define SOC_ERR_DMAC_FAILED_LISTTRANS (td_s32)(0x8048000C) #define SOC_ERR_PMOC_NOT_INIT (td_s32)(0x80490001) #define SOC_ERR_PMOC_REPEAT_INIT (td_s32)(0x80490002) #define SOC_ERR_PMOC_INVALID_POINT (td_s32)(0x80490003) #define SOC_ERR_PMOC_INVALID_PARA (td_s32)(0x80490004) #define SOC_ERR_PMOC_FAILED_INIT (td_s32)(0x80490005) #define SOC_ERR_PMOC_FAILED_MODE (td_s32)(0x80490006) #define SOC_ERR_PMOC_FAILED_READMODE (td_s32)(0x80490007) #define SOC_ERR_PMOC_FAILED_SETWAKEUPVAL (td_s32)(0x80490008) #define SOC_ERR_PMOC_FAILED_GETWAKEUPVAL (td_s32)(0x80490009) #define SOC_ERR_PMOC_INVALID_MODE (td_s32)(0x8049000A) #define SOC_ERR_PMOC_FAILED_STANDBY (td_s32)(0x8049000B) #define SOC_ERR_PMOC_FAILED_SETDEV (td_s32)(0x8049000C) #define SOC_ERR_PMOC_FAILED_GETPERIOD (td_s32)(0x8049000D) #define SOC_ERR_PMOC_FAILED_IRPOWERVAL (td_s32)(0x8049000E) #define SOC_ERR_PMOC_FAILED_KEYLEDPOWERVAL (td_s32)(0x8049000F) #define SOC_ERR_PMOC_FAILED_GETWAKEUPMODE (td_s32)(0x80490010) #define SOC_ERR_PMOC_FAILED_GETTEMPERATURE (td_s32)(0x80490011) #define SOC_ERR_FRONTEND_NOT_INIT ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_INIT, ERR_CODE_NOT_INIT) #define SOC_ERR_FRONTEND_NOT_OPEN ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_OPEN, ERR_CODE_NOT_OPEN) #define SOC_ERR_FRONTEND_INVALID_POINT ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_ALLOC, ERR_CODE_PTR_NULL) #define SOC_ERR_FRONTEND_INVALID_PARA ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_INIT, ERR_CODE_PARA_INVALID) #define SOC_ERR_FRONTEND_PARA_NOT_SUPPORT ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_INIT, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_FRONTEND_INIT_FAIL ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_INIT, ERR_CODE_NOT_ENABLE) #define SOC_ERR_FRONTEND_CONNECT_FAIL ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_INIT, ERR_CODE_SEEK_FAILED) #define SOC_ERR_FRONTEND_CONNECT_NOT_START ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_INIT, ERR_CODE_NOT_START) #define SOC_ERR_FRONTEND_DISEQC_FAIL ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_CONFIG, ERR_CODE_WRITE_FAILED) #define SOC_ERR_FRONTEND_MEM_ALLOC_FAIL ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_FRONTEND_DISEQC_BUSY ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_CONFIG, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_FRONTEND_MCU_DOWNLOAD_FAIL ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_CONFIG, ERR_CODE_SEEK_FAILED) #define SOC_ERR_FRONTEND_ERR_UNKNOWN ERR_NUMBER(SOC_ID_FRONTEND, ERR_TYPE_CONFIG, ERR_CODE_UNKNOWN) #define SOC_ERR_FRONTEND_FAILED_INIT (td_s32)(0x804A0005) #define SOC_ERR_FRONTEND_FAILED_CONNECT (td_s32)(0x804A0006) #define SOC_ERR_FRONTEND_FAILED_GETSTATUS (td_s32)(0x804A0007) #define SOC_ERR_FRONTEND_FAILED_GETSIGNALSTRENGTH (td_s32)(0x804A0008) #define SOC_ERR_FRONTEND_FAILED_GETBER (td_s32)(0x804A0009) #define SOC_ERR_FRONTEND_FAILED_GETSNR (td_s32)(0x804A000A) #define SOC_ERR_FRONTEND_FAILED_SETTSTYPE (td_s32)(0x804A000B) #define SOC_ERR_FRONTEND_FAILED_SELECTTUNER (td_s32)(0x804A000C) #define SOC_ERR_FRONTEND_FAILED_SELECTI2CCHANNEL (td_s32)(0x804A000D) #define SOC_ERR_FRONTEND_FAILED_LOWCONS (td_s32)(0x804A000E) #define SOC_ERR_FRONTEND_FAILED_NORMALMODE (td_s32)(0x804A000F) #define SOC_ERR_FRONTEND_FAILED_REGRW (td_s32)(0x804A0010) #define SOC_ERR_FRONTEND_FAILED_SETTUNER (td_s32)(0x804A0011) #define SOC_ERR_FRONTEND_NOT_CONNECT (td_s32)(0x804A0012) #define SOC_ERR_FRONTEND_INVALID_PORT (td_s32)(0x804A0013) #define SOC_ERR_FRONTEND_FAILED_SETQAMINSIDE (td_s32)(0x804A0014) #define SOC_ERR_FRONTEND_FAILED_SELECTSYMBOLRATE (td_s32)(0x804A0015) #define SOC_ERR_FRONTEND_FAILED_GETSIGNALQUALITY (td_s32)(0x804A0016) #define SOC_ERR_FRONTEND_FAILED_GETSIGNALINFO (td_s32)(0x804A0017) #define SOC_ERR_FRONTEND_FAILED_BLINDSCAN (td_s32)(0x804A0018) #define SOC_ERR_FRONTEND_FAILED_LNBCTRL (td_s32)(0x804A0019) #define SOC_ERR_FRONTEND_FAILED_SWITCH (td_s32)(0x804A001A) #define SOC_ERR_FRONTEND_FAILED_DISEQC (td_s32)(0x804A001B) #define SOC_ERR_FRONTEND_FAILED_STANDBY (td_s32)(0x804A001C) #define SOC_ERR_FRONTEND_FAILED_WAKEUP (td_s32)(0x804A001D) #define SOC_ERR_FRONTEND_FAILED_DISABLE (td_s32)(0x804A001E) #define SOC_ERR_FRONTEND_FAILED_ENABLE (td_s32)(0x804A001F) #define SOC_ERR_FRONTEND_FAILED_SETPLPID (td_s32)(0x804A0020) #define SOC_ERR_FRONTEND_FAILED_GETPLPNUM (td_s32)(0x804A0021) #define SOC_ERR_FRONTEND_FAILED_GETPLPTYPE (td_s32)(0x804A0022) #define SOC_ERR_FRONTEND_FAILED_SETTSOUT (td_s32)(0x804A0023) #define SOC_ERR_FRONTEND_FAILED_SETSATATTR (td_s32)(0x804A0024) #define SOC_ERR_FRONTEND_FAILED_SAMPLEDATA (td_s32)(0x804A0025) #define SOC_ERR_FRONTEND_FAILED_SETTERATTR (td_s32)(0x804A0026) #define SOC_ERR_FRONTEND_FAILED_SETSTEP (td_s32)(0x804A0027) #define SOC_ERR_FRONTEND_FAILED_GETBANDRANGE (td_s32)(0x804A0028) #define SOC_ERR_FRONTEND_FAILED_SETTOPADJUST (td_s32)(0x804A0029) #define SOC_ERR_FRONTEND_FAILED_GETBAND (td_s32)(0x804A002A) #define SOC_ERR_FRONTEND_FAILED_GETTONE (td_s32)(0x804A002B) #define SOC_ERR_FRONTEND_FAILED_GETAGC (td_s32)(0x804A002C) #define SOC_ERR_FRONTEND_FAILED_TERSCANTIMEOUT (td_s32)(0x804A002D) #define SOC_ERR_FRONTEND_FAILED_ALLOC_MEM (td_s32)(0x804A002E) #define SOC_ERR_FRONTEND_FAILED_SETISIID (td_s32)(0x804A002F) #define SOC_ERR_FRONTEND_FAILED_GETISIID (td_s32)(0x804A0030) #define SOC_ERR_FRONTEND_FAILED_GETTOTALISI (td_s32)(0x804A0031) #define SOC_ERR_FRONTEND_FAILED_MONITORISDBTLAYER (td_s32)(0x804A0032) #define SOC_ERR_FRONTEND_INVALID_SIGTYPE (td_s32)(0x804A0033) #define SOC_ERR_FRONTEND_INVALID_DEMODTYPE (td_s32)(0x804A0034) #define SOC_ERR_FRONTEND_INVALID_TUNERTYPE (td_s32)(0x804A0035) #define SOC_ERR_FRONTEND_INVALID_FREQUENCY (td_s32)(0x804A0036) #define SOC_ERR_FRONTEND_INVALID_SYMBOLRATE (td_s32)(0x804A0037) #define SOC_ERR_FRONTEND_INVALID_FUNCTION (td_s32)(0x804A0038) #define SOC_ERR_FRONTEND_DISEQC_POST_LISTEN (td_s32)(0x804A003A) #define SOC_ERR_FRONTEND_DISEQC_RECV_LENGTH (td_s32)(0x804A003B) #define SOC_ERR_FRONTEND_DISEQC_RECV_TIMEOUT (td_s32)(0x804A003C) #define SOC_ERR_FRONTEND_DISEQC_RECV_STATE (td_s32)(0x804A003D) #define SOC_ERR_FRONTEND_BLINDSAN_TPVERIFY (td_s32)(0x804A003E) #define SOC_ERR_FRONTEND_MCU_DOWNLOAD (td_s32)(0x804A003F) #define SOC_ERR_FRONTEND_CATCH_TIMEOUT (td_s32)(0x804A0040) #define SOC_ERR_FRONTEND_SECURE_CHECK (td_s32)(0x804A0041) #define SOC_ERR_KEYLED_NOT_INIT (td_s32)(0x804B0001) #define SOC_ERR_KEYLED_INVALID_PARA (td_s32)(0x804B0002) #define SOC_ERR_KEYLED_NULL_PTR (td_s32)(0x804B0003) #define SOC_ERR_KEYLED_NO_NEW_KEY (td_s32)(0x804B0004) #define SOC_ERR_KEYLED_TIMEOUT (td_s32)(0x804B0005) #define SOC_ERR_KEYLED_FAILED_SETMODE (td_s32)(0x804B0006) #define SOC_ERR_KEYLED_FAILED_DISPLAY (td_s32)(0x804B0007) #define SOC_ERR_E2PROM_OPEN_ERR (td_s32)(0x804C0001) #define SOC_ERR_E2PROM_CLOSE_ERR (td_s32)(0x804C0002) #define SOC_ERR_E2PROM_NOT_INIT (td_s32)(0x804C0003) #define SOC_ERR_E2PROM_INVALID_PARA (td_s32)(0x804C0004) #define SOC_ERR_E2PROM_NULL_PTR (td_s32)(0x804C0005) #define SOC_ERR_E2PROM_COPY_DATA_ERR (td_s32)(0x804C0006) #define SOC_ERR_E2PROM_MALLOC_ERR (td_s32)(0x804C0007) #define SOC_ERR_CIPHER_NOT_INIT (td_s32)(0x804D0001) #define SOC_ERR_CIPHER_INVALID_HANDLE (td_s32)(0x804D0002) #define SOC_ERR_CIPHER_INVALID_POINT (td_s32)(0x804D0003) #define SOC_ERR_CIPHER_INVALID_PARA (td_s32)(0x804D0004) #define SOC_ERR_CIPHER_FAILED_INIT (td_s32)(0x804D0005) #define SOC_ERR_CIPHER_FAILED_GETHANDLE (td_s32)(0x804D0006) #define SOC_ERR_CIPHER_FAILED_RELEASEHANDLE (td_s32)(0x804D0007) #define SOC_ERR_CIPHER_FAILED_CONFIGAES (td_s32)(0x804D0008) #define SOC_ERR_CIPHER_FAILED_CONFIGDES (td_s32)(0x804D0009) #define SOC_ERR_CIPHER_FAILED_ENCRYPT (td_s32)(0x804D000A) #define SOC_ERR_CIPHER_FAILED_DECRYPT (td_s32)(0x804D000B) #define SOC_ERR_CIPHER_BUSY (td_s32)(0x804D000C) #define SOC_ERR_CIPHER_NO_AVAILABLE_RNG (td_s32)(0x804D000D) #define SOC_ERR_CIPHER_FAILED_MEM (td_s32)(0x804D000E) #define SOC_ERR_CIPHER_UNAVAILABLE (td_s32)(0x804D000F) #define SOC_ERR_CIPHER_OVERFLOW (td_s32)(0x804D0010) #define SOC_ERR_CIPHER_HARD_STATUS (td_s32)(0x804D0011) #define SOC_ERR_CIPHER_TIMEOUT (td_s32)(0x804D0012) #define SOC_ERR_CIPHER_UNSUPPORTED (td_s32)(0x804D0013) #define SOC_ERR_CIPHER_REGISTER_IRQ (td_s32)(0x804D0014) #define SOC_ERR_CIPHER_ILLEGAL_UUID (td_s32)(0x804D0015) #define SOC_ERR_CIPHER_ILLEGAL_KEY (td_s32)(0x804D0016) #define SOC_ERR_CIPHER_INVALID_ADDR (td_s32)(0x804D0017) #define SOC_ERR_CIPHER_INVALID_LENGTH (td_s32)(0x804D0018) #define SOC_ERR_CIPHER_ILLEGAL_DATA (td_s32)(0x804D0019) #define SOC_ERR_CIPHER_RSA_SIGN (td_s32)(0x804D001A) #define SOC_ERR_CIPHER_RSA_VERIFY (td_s32)(0x804D001B) #define SOC_ERR_PM_COPY_DATA_ERR (td_s32)(0x804F0001) #define SOC_ERR_PM_INVALID_PARAM (td_s32)(0x804F0002) #define SOC_ERR_CI_NOT_INIT (td_s32)(0x80500001) #define SOC_ERR_CI_OPEN_ERR (td_s32)(0x80500002) #define SOC_ERR_CI_CLOSE_ERR (td_s32)(0x80500003) #define SOC_ERR_CI_INVALID_PARA (td_s32)(0x80500004) #define SOC_ERR_CI_NO_MEMORY (td_s32)(0x80500005) #define SOC_ERR_CI_TIMEOUT (td_s32)(0x80500006) #define SOC_ERR_CI_REG_READ_ERR (td_s32)(0x80500007) #define SOC_ERR_CI_REG_WRITE_ERR (td_s32)(0x80500008) #define SOC_ERR_CI_IO_READ_ERR (td_s32)(0x80500009) #define SOC_ERR_CI_IO_WRITE_ERR (td_s32)(0x8050000A) #define SOC_ERR_CI_ATTR_READ_ERR (td_s32)(0x8050000B) #define SOC_ERR_CI_ATTR_WRITE_ERR (td_s32)(0x8050000C) #define SOC_ERR_CI_CANNOT_POWEROFF (td_s32)(0x8050000D) #define SOC_ERR_CI_PCCD_DEVICE_BUSY (td_s32)(0x8050000E) #define SOC_ERR_CI_PCCD_CIS_READ (td_s32)(0x8050000F) #define SOC_ERR_CI_UNSUPPORT (td_s32)(0x80500010) #define SOC_ERR_CI_UNKONWN (td_s32)(0x80500011) #define SOC_ERR_CI_DETECT_ERR (td_s32)(0x80500012) #define SOC_ERR_PWM_DEV_NOT_EXIST (td_s32)(0x80510001) #define SOC_ERR_PWM_NOT_INIT (td_s32)(0x80510002) #define SOC_ERR_PWM_OPEN_ERR (td_s32)(0x80510003) #define SOC_ERR_PWM_CLOSE_ERR (td_s32)(0x80510004) #define SOC_ERR_PWM_INVALID_PARA (td_s32)(0x80510005) #define SOC_ERR_PWM_INVALID_OPT (td_s32)(0x80510006) #define SOC_ERR_PWM_UNSUPPORT (td_s32)(0x80510007) #define SOC_ERR_PDM_DEV_NOT_EXIST ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_PDM_NOT_DEVICE ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_OPEN, ERR_CODE_UNKNOWN) #define SOC_ERR_PDM_DEV_OPEN_ERR ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_OPEN, ERR_CODE_OPEN_FAILED) #define SOC_ERR_PDM_DEV_NOT_INIT ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_INIT, ERR_CODE_NOT_INIT) #define SOC_ERR_PDM_PTR_NULL ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_PDM_PARAM_INVALID ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_PDM_GET_MTDINFO_ERR ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_READ_FAILED) #define SOC_ERR_PDM_MTD_OPEN ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_OPEN_FAILED) #define SOC_ERR_PDM_MTD_CLOSE ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_CLOSE_FAILED) #define SOC_ERR_PDM_MTD_READ ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_READ_FAILED) #define SOC_ERR_PDM_MTD_WRITE ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_WRITE_FAILED) #define SOC_ERR_PDM_MTD_GETINFO ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_READ_FAILED) #define SOC_ERR_PDM_MTD_ERASE ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_WRITE_FAILED) #define SOC_ERR_PDM_MEM_ALLC ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_PDM_INVALID_OPT ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_PDM_GET_DEVINFO_ERR ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FILE, ERR_CODE_READ_FAILED) #define SOC_ERR_PDM_GET_HDCP_KEY_ERR ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FIND, ERR_CODE_READ_FAILED) #define SOC_ERR_PDM_KEY_NOT_EXIST ERR_NUMBER(SOC_ID_PDM, ERR_TYPE_FIND, ERR_CODE_READ_FAILED) #define SOC_ERR_UART_OPENED (td_s32)(0x80530000) #define SOC_ERR_UART_NOT_OPEN (td_s32)(0x80530001) #define SOC_ERR_UART_BUFF (td_s32)(0x80530002) #define SOC_ERR_UART_OPEN (td_s32)(0x80530003) #define SOC_ERR_UART_MAP (td_s32)(0x80530004) #define SOC_ERR_UART_UNMAP (td_s32)(0x80530005) #define SOC_ERR_UART_CLOSE (td_s32)(0x80530006) #define SOC_ERR_UART_DEVICE (td_s32)(0x80530007) #define SOC_ERR_UART_CREATE_THREAD (td_s32)(0x80530008) #define SOC_ERR_UART_THREAD_JOIN (td_s32)(0x80530009) #define SOC_ERR_UART_SET_ATTR (td_s32)(0x8053000A) #define SOC_ERR_UART_GET_ATTR (td_s32)(0x8053000B) #define SOC_ERR_UART_SPEED (td_s32)(0x8053000C) #define SOC_ERR_UART_IOSPEED (td_s32)(0x8053000D) #define SOC_ERR_UART_DATABITS (td_s32)(0x8053000E) #define SOC_ERR_UART_PARITY (td_s32)(0x8053000F) #define SOC_ERR_UART_STOPBITS (td_s32)(0x80530010) #define SOC_ERR_UART_WRITE (td_s32)(0x80530011) #define SOC_ERR_UART_GEN (td_s32)(0x80530012) #define SOC_ERR_UART_READ (td_s32)(0x80530013) #define SOC_ERR_UART_INVALID_PARA (td_s32)(0x80530014) #define SOC_ERR_UART_NULL_PTR (td_s32)(0x80530015) /* Define RM Error Code */ #define SOC_ERR_RM_DEV_NOT_EXIST (td_s32)(0x80540001) #define SOC_ERR_RM_DEV_NOT_INIT (td_s32)(0x80540002) #define SOC_ERR_RM_DEV_OPEN_ERR (td_s32)(0x80540003) #define SOC_ERR_RM_DEV_CLOSE_ERR (td_s32)(0x80540004) #define SOC_ERR_RM_NULL_PTR (td_s32)(0x80540005) #define SOC_ERR_RM_DEV_NO_INIT (td_s32)(0x80540006) #define SOC_ERR_RM_INVALID_PARA (td_s32)(0x80540007) #define SOC_ERR_RM_INVALID_OPT (td_s32)(0x80540008) #define SOC_ERR_RM_NOT_SUPPORT (td_s32)(0x80540009) #define SOC_ERR_RM_INVALID_HANDLE (td_s32)(0x8054000A) #define SOC_ERR_RM_INST_OVER_RANGE (td_s32)(0x8054000B) #define SOC_ERR_RM_CMD_NOT_EXIST (td_s32)(0x8054000C) #define SOC_ERR_RM_INIT_LIST_ERR (td_s32)(0x8054000D) #define SOC_ERR_RM_DEINIT_LIST_ERR (td_s32)(0x8054000E) #define SOC_ERR_RM_ENABLE_ERR (td_s32)(0x80540010) #define SOC_ERR_RM_DISABLE_ERR (td_s32)(0x80540011) #define SOC_ERR_RM_CREATE_ERR (td_s32)(0x80540012) #define SOC_ERR_RM_DESTROY_ERR (td_s32)(0x80540013) #define SOC_ERR_RM_NOT_FREE_INST (td_s32)(0x80540014) #define SOC_ERR_RM_NOT_FREE_CB_INST (td_s32)(0x80540015) #define SOC_ERR_RM_NOT_RESOURCE (td_s32)(0x80540016) #define SOC_ERR_PANEL_DEV_NOT_EXIST (td_s32)(0x80550001) #define SOC_ERR_PANEL_DEV_NOT_INIT (td_s32)(0x80550002) #define SOC_ERR_PANEL_DEV_OPEN_ERR (td_s32)(0x80550003) #define SOC_ERR_PANEL_DEV_CLOSE_ERR (td_s32)(0x80550004) #define SOC_ERR_PANEL_NULL_PTR (td_s32)(0x80550005) #define SOC_ERR_PANEL_INVALID_PARA (td_s32)(0x80550006) #define SOC_ERR_PANEL_NOT_SUPPORT (td_s32)(0x80550007) #define SOC_ERR_PANEL_CMD_NOT_EXIST (td_s32)(0x80550008) #define SOC_ERR_PANEL_ENABLE_ERR (td_s32)(0x80550009) #define SOC_ERR_PANEL_DISABLE_ERR (td_s32)(0x8055000A) #define SOC_ERR_PANEL_PARAM_OUTRANGE (td_s32)(0x8055000B) #define SOC_ERR_PANEL_NO_PANEL_CASE (td_s32)(0x8055000C) #define SOC_ERR_LSADC_INVALID_PARA (td_s32)(0x805A0001) #define SOC_ERR_LSADC_FAILED_INIT (td_s32)(0x805A0002) #define SOC_ERR_LSADC_GET_DATA_ERR (td_s32)(0x805A0003) #define SOC_ERR_LSADC_OTHER_ERR (td_s32)(0x805A0004) #define SOC_ERR_LSADC_CLOSE_ERR (td_s32)(0x805A0005) #define SOC_ERR_PQ_DEV_NOT_EXIST (td_s32)(0x80600001) #define SOC_ERR_PQ_NOT_DEV_FILE (td_s32)(0x80600002) #define SOC_ERR_PQ_DEV_OPEN_ERR (td_s32)(0x80600003) #define SOC_ERR_PQ_DEV_CLOSE_ERR (td_s32)(0x80600004) #define SOC_ERR_PQ_NULL_PTR (td_s32)(0x80600005) #define SOC_ERR_PQ_NO_INIT (td_s32)(0x80600006) #define SOC_ERR_PQ_INVALID_PARA (td_s32)(0x80600007) #define SOC_ERR_PQ_PARAM_NOT_BURN (td_s32)(0x80600008) #define SOC_ERR_KLAD_NOT_INIT (td_s32)(0x80610001) #define SOC_ERR_KLAD_NULL_PTR (td_s32)(0x80610002) #define SOC_ERR_KLAD_INVALID_HANDLE (td_s32)(0x80610003) #define SOC_ERR_KLAD_INVALID_ALG (td_s32)(0x80610004) #define SOC_ERR_KLAD_INVALID_TARGET (td_s32)(0x80610005) #define SOC_ERR_KLAD_INVALID_TARGETADDR (td_s32)(0x80610006) #define SOC_ERR_KLAD_NO_MEMORY (td_s32)(0x80610007) #define SOC_ERR_KLAD_WAIT_TIMEOUT (td_s32)(0x80610008) #define SOC_ERR_KLAD_NOT_FIND_KLAD (td_s32)(0x80610009) #define SOC_ERR_KLAD_NOT_FIND_SESSION (td_s32)(0x8061000A) #define SOC_ERR_KLAD_NOT_SET_ATTR (td_s32)(0x8061000B) #define SOC_ERR_KLAD_NOT_FIND_CALLBACK (td_s32)(0x8061000C) #define SOC_ERR_KLAD_KEY_NOT_READY (td_s32)(0x8061000D) #define SOC_ERR_KLAD_ALREADY_SETATTR (td_s32)(0x8061000E) #define SOC_ERR_KLAD_NOT_SET_SESSIONKEY (td_s32)(0x8061000F) #define SOC_ERR_KLAD_NOT_SET_CONTENTKEY (td_s32)(0x80610010) #define SOC_ERR_KLAD_ALREADY_SETTARGET (td_s32)(0x80610011) #define SOC_ERR_KLAD_NOT_SETTARGET (td_s32)(0x80610012) #define SOC_ERR_KLAD_DETACH_ERRTARGET (td_s32)(0x80610013) #define SOC_ERR_KLAD_INVALID_LEVEL (td_s32)(0x80610014) #define SOC_ERR_KLAD_UNAVAILABLE_TARGET (td_s32)(0x80610015) #define SOC_ERR_KLAD_FAILED_SETIV (td_s32)(0x80610016) #define SOC_ERR_KLAD_INVALID_ENGINE (td_s32)(0x80610017) #define SOC_ERR_KLAD_INVALID_EVENORODD (td_s32)(0x80610018) #define SOC_ERR_KLAD_NOT_SUPPORT (td_s32)(0x80610019) #define SOC_ERR_KLAD_INVALID_IVLENGTH (td_s32)(0x8061001A) #define SOC_ERR_KLAD_NO_RESOURCE (td_s32)(0x8061001B) #define SOC_ERR_KLAD_UNKNOWN_CMD (td_s32)(0x8061001C) #define SOC_ERR_KLAD_OPEN_ERR (td_s32)(0x8061001D) #define SOC_ERR_KLAD_INVALID_PARAM (td_s32)(0x8061001E) #define SOC_ERR_KLAD_TASK_ID_MISMATCH (td_s32)(0x8061001F) #define SOC_ERR_KLAD_CHECK_BASE (td_s32)(0x80610020) #define SOC_ERR_KLAD_CHECK_OTP_CONFIG_DISABLE (td_s32)(0x80610021) #define SOC_ERR_KLAD_CHECK_LEVEL (td_s32)(0x80610022) #define SOC_ERR_KLAD_CHECK_DSC_MODE (td_s32)(0x80610023) #define SOC_ERR_KLAD_CHECK_PORT (td_s32)(0x80610024) #define SOC_ERR_KLAD_CHECK_ROOTKEY_NOT_READY (td_s32)(0x80610025) #define SOC_ERR_KLAD_CHECK_LEVEL1_NOT_READY (td_s32)(0x80610026) #define SOC_ERR_KLAD_CHECK_LEVEL2_NOT_READY (td_s32)(0x80610027) #define SOC_ERR_KLAD_CHECK_LEVEL3_NOT_READY (td_s32)(0x80610028) #define SOC_ERR_KLAD_CHECK_LEVEL4_NOT_READY (td_s32)(0x80610029) #define SOC_ERR_KLAD_CHECK_LEVEL5_NOT_READY (td_s32)(0x8061002A) #define SOC_ERR_KLAD_CHECK_DCAS_PROFILE (td_s32)(0x8061002B) #define SOC_ERR_KLAD_CHECK_TDES_KEY (td_s32)(0x8061002C) #define SOC_ERR_KLAD_CHECK_C2_TA_HASH (td_s32)(0x8061002D) #define SOC_ERR_KLAD_CHECK_CLEAR_CW_CONFIG (td_s32)(0x8061002E) #define SOC_ERR_KLAD_CHECK_CW (td_s32)(0x80610032) #define SOC_ERR_KLAD_CHECK_TEE_ENABLE (td_s32)(0x80610034) #define SOC_ERR_KLAD_SECURE_ATTR_UINIT (td_s32)(0x80610040) #define SOC_ERR_KLAD_REQUIRE_IRQ_FAILED (td_s32)(0x80610041) #define SOC_ERR_KLAD_SEC_FAILED (td_s32)(0x80610042) #define SOC_ERR_KLAD_MUTEX (td_s32)(0x80610043) #define SOC_ERR_KLAD_MEM_MAP (td_s32)(0x80610044) #define SOC_ERR_KLAD_IOCTL_CMD_INVALID (td_s32)(0x80610045) #define SOC_ERR_KLAD_LOCK_FAILED (td_s32)(0x80610046) #define SOC_ERR_KLAD_IOCTL_FUNC_NULL (td_s32)(0x80610047) #define SOC_ERR_KLAD_COM_LOCK_FAILED (td_s32)(0x80610050) #define SOC_ERR_KLAD_COM_UNLOCK_FAILED (td_s32)(0x80610051) #define SOC_ERR_KLAD_TA_LOCK_FAILED (td_s32)(0x80610052) #define SOC_ERR_KLAD_TA_UNLOCK_FAILED (td_s32)(0x80610053) #define SOC_ERR_KLAD_CLR_LOCK_FAILED (td_s32)(0x80610054) #define SOC_ERR_KLAD_CLR_UNLOCK_FAILED (td_s32)(0x80610055) #define SOC_ERR_KLAD_FP_LOCK_FAILED (td_s32)(0x80610056) #define SOC_ERR_KLAD_FP_UNLOCK_FAILED (td_s32)(0x80610057) #define SOC_ERR_KLAD_NONCE_LOCK_FAILED (td_s32)(0x80610058) #define SOC_ERR_KLAD_NONCE_UNLOCK_FAILED (td_s32)(0x80610059) #define SOC_ERR_KLAD_UNLOCKED (td_s32)(0x8061005A) #define SOC_ERR_KLAD_LOCKED (td_s32)(0x8061005B) #define SOC_ERR_KLAD_RKP_INVALID_MODULE_ID (td_s32)(0x8061005C) #define SOC_ERR_KLAD_ASYNC_UNFINISHED (td_s32)(0x8061005D) #define SOC_ERR_KLAD_NOT_FIND_MODID (td_s32)(0x8061005E) #define SOC_ERR_KLAD_NOT_FIND_RK_SLOT (td_s32)(0x8061005F) #define SOC_ERR_KLAD_NOT_CREATED (td_s32)(0x80610060) #define SOC_ERR_KLAD_HAVE_CREATED (td_s32)(0x80610061) #define SOC_ERR_CERT_NOT_INIT (td_s32)(0x806A0101) #define SOC_ERR_CERT_INVALID_HANDLE (td_s32)(0x806A0102) #define SOC_ERR_CERT_INVALID_PTR (td_s32)(0x806A0103) #define SOC_ERR_CERT_INVALID_PARA (td_s32)(0x806A0104) #define SOC_ERR_CERT_FAILED_INIT (td_s32)(0x806A0105) #define SOC_ERR_CERT_UNEXPECTED_STA (td_s32)(0x806A0106) #define SOC_ERR_CERT_UNEXPECTED_EMI (td_s32)(0x806A0107) #define SOC_ERR_CERT_KEY_INVALID (td_s32)(0x806A0108) #define SOC_ERR_CERT_TIMEOUT (td_s32)(0x806A0109) #define SOC_ERR_CERT_LOCKED (td_s32)(0x806A010A) #define SOC_ERR_CERT_UNLOCKED (td_s32)(0x806A010B) #define SOC_ERR_CERT_UNEXPECTED_CW (td_s32)(0x806A010C) #define SOC_ERR_CERT_MUTEX_ERR (td_s32)(0x806A010D) #define SOC_ERR_CERT_LOCK_STA_ERR (td_s32)(0x806A010E) #define SOC_ERR_CERT_DBG_ALG_ERR (td_s32)(0x806A010F) #define SOC_ERR_CERT_DBG_PRT_SEL_ERR (td_s32)(0x806A0110) #define SOC_ERR_CERT_DBG_USAGE_ERR (td_s32)(0x806A0111) #define SOC_ERR_CERT_DBG_OTHER_ERR (td_s32)(0x806A0112) #define SOC_ERR_CERT_UNKNOWN_CMD (td_s32)(0x806A0113) #define SOC_ERR_CERT_UNEXPECTED_PORT (td_s32)(0x806A0114) #define SOC_ERR_CERT_REQUIRE_IRQ_FAILED (td_s32)(0x806A0115) #define SOC_ERR_CERT_PV_ACTIVATE (td_s32)(0x806A0116) #define SOC_ERR_CERT_NO_KEY_GENERATION (td_s32)(0x806A0117) #define SOC_ERR_MAILBOX_NOT_INIT (td_s32)(0x806D0001) #define SOC_ERR_MAILBOX_INVALID_HANDLE (td_s32)(0x806D0002) #define SOC_ERR_MAILBOX_INVALID_PTR (td_s32)(0x806D0003) #define SOC_ERR_MAILBOX_INVALID_PARA (td_s32)(0x806D0004) #define SOC_ERR_MAILBOX_INVALID_FLAG (td_s32)(0x806D0005) #define SOC_ERR_MAILBOX_INVALID_RECEIVER (td_s32)(0x806D0006) #define SOC_ERR_MAILBOX_NO_MEMORY (td_s32)(0x806D0007) #define SOC_ERR_MAILBOX_NOT_SUPPORT (td_s32)(0x806D0008) #define SOC_ERR_MAILBOX_ERR_RECEIVE (td_s32)(0x806D0009) #define SOC_ERR_MAILBOX_UNEXPECTED_RECEIVE_LEN (td_s32)(0x806D000A) #define SOC_ERR_MAILBOX_CRC_CHECK_ERROR (td_s32)(0x806D000B) #define SOC_ERR_MAILBOX_UNKNOWN_CMD (td_s32)(0x806D000C) #define SOC_ERR_MAILBOX_NO_SESSION (td_s32)(0x806D000D) #define SOC_ERR_MAILBOX_TIMEOUT (td_s32)(0x806D000E) #define SOC_ERR_MAILBOX_UNKNOWN (td_s32)(0x806D000F) #define SOC_ERR_MAILBOX_PENDING (td_s32)(0x806D0010) #define SOC_ERR_KS_NOT_INIT (td_s32)(0x806F0001) #define SOC_ERR_KS_NOT_SUPPORT (td_s32)(0x806F0002) #define SOC_ERR_KS_INVALID_PARAM (td_s32)(0x806F0003) #define SOC_ERR_KS_PTR_NULL (td_s32)(0x806F0004) #define SOC_ERR_KS_CHECK_FAILED (td_s32)(0x806F0005) #define SOC_ERR_KS_SYSCALL_FAILED (td_s32)(0x806F0006) #define SOC_ERR_KS_MALLOC_ERR (td_s32)(0x806F0007) #define SOC_ERR_KS_NOT_FOUND (td_s32)(0x806F0008) #define SOC_ERR_KS_MEM_MAP (td_s32)(0x806F0009) #define SOC_ERR_KS_IOCTL_CMD_INVALID (td_s32)(0x806F000A) #define SOC_ERR_KS_LOCK_FAILED (td_s32)(0x806F000B) #define SOC_ERR_KS_IOCTL_FUNC_NULL (td_s32)(0x806F000C) #define SOC_ERR_KS_AUTO_LOCK_FAILED (td_s32)(0x806F000D) #define SOC_ERR_KS_STAT_TIME_OUT (td_s32)(0x806F000E) #define SOC_ERR_KS_FLUSH_TIME_OUT (td_s32)(0x806F000F) /* LOCKED_CPUX last 4 bit means the cpu type */ #define SOC_ERR_KS_LOCKED_CPUX (td_s32)(0x806F0010) #define SOC_ERR_KS_MUTEX (td_s32)(0x806F0021) #define SOC_ERR_KS_OPEN_ERR (td_s32)(0x806F0022) #define SOC_ERR_KS_BUSY (td_s32)(0x806F0023) #define SOC_ERR_SPI_OPEN_ERR (td_s32)(0x80700001) #define SOC_ERR_SPI_CLOSE_ERR (td_s32)(0x80700002) #define SOC_ERR_SPI_NOT_INIT (td_s32)(0x80700003) #define SOC_ERR_SPI_INVALID_PARA (td_s32)(0x80700004) #define SOC_ERR_SPI_NULL_PTR (td_s32)(0x80700005) #define SOC_ERR_SPI_COPY_DATA_ERR (td_s32)(0x80700006) #define SOC_ERR_SPI_MALLOC_ERR (td_s32)(0x80700007) #define SOC_ERR_SPI_WRITE_TIMEOUT (td_s32)(0x80700008) #define SOC_ERR_SPI_READ_TIMEOUT (td_s32)(0x80700009) #define SOC_ERR_TSR2RCIPHER_NOT_INIT (td_s32)(0x808D0001) #define SOC_ERR_TSR2RCIPHER_INVALID_HANDLE (td_s32)(0x808D0002) #define SOC_ERR_TSR2RCIPHER_NULL_PTR (td_s32)(0x808D0003) #define SOC_ERR_TSR2RCIPHER_INVALID_PTR (td_s32)(0x808D0004) #define SOC_ERR_TSR2RCIPHER_INVALID_PARA (td_s32)(0x808D0005) #define SOC_ERR_TSR2RCIPHER_ALLOC_MEM_FAILED (td_s32)(0x808D0006) #define SOC_ERR_TSR2RCIPHER_NOT_SUPPORT (td_s32)(0x808D0007) #define SOC_ERR_TSR2RCIPHER_FAILED_GETHANDLE (td_s32)(0x808D0008) #define SOC_ERR_TSR2RCIPHER_FAILED_RELEASEHANDLE (td_s32)(0x808D0009) #define SOC_ERR_TSR2RCIPHER_FAILED_CONFIGAES (td_s32)(0x808D000A) #define SOC_ERR_TSR2RCIPHER_FAILED_CONFIGDES (td_s32)(0x808D000B) #define SOC_ERR_TSR2RCIPHER_FAILED_ENCRYPT (td_s32)(0x808D000C) #define SOC_ERR_TSR2RCIPHER_FAILED_DECRYPT (td_s32)(0x808D000D) #define SOC_ERR_TSR2RCIPHER_BUSY (td_s32)(0x808D000E) #define SOC_ERR_TSR2RCIPHER_NO_AVAILABLE_RNG (td_s32)(0x808D000F) #define SOC_ERR_TSR2RCIPHER_STALED (td_s32)(0x808D0010) #define SOC_ERR_TSR2RCIPHER_NO_RESOURCE (td_s32)(0x808D0011) #define SOC_ERR_TSR2RCIPHER_TIMEOUT (td_s32)(0x808D0012) #define SOC_ERR_OTP_NOT_INIT (td_s32)(0x808F0001) #define SOC_ERR_OTP_NOT_SUPPORT_INTERFACE (td_s32)(0x808F0002) #define SOC_ERR_OTP_INVALID_PARA (td_s32)(0x808F0003) #define SOC_ERR_OTP_PTR_NULL (td_s32)(0x808F0004) #define SOC_ERR_OTP_CHECK_FAILED (td_s32)(0x808F0005) #define SOC_ERR_OTP_SYSCALL_FAILED (td_s32)(0x808F0006) #define SOC_ERR_OTP_MALLOC_ERR (td_s32)(0x808F0007) #define SOC_ERR_OTP_NOT_FOUND (td_s32)(0x808F0008) #define SOC_ERR_OTP_NOT_SUPPORT (td_s32)(0x808F0009) #define SOC_ERR_OTP_MEM_MAP (td_s32)(0x808F0010) #define SOC_ERR_OTP_NOT_INITRDY (td_s32)(0x808F0011) #define SOC_ERR_OTP_READABLE_FUSE_VERIFY (td_s32)(0x808F0012) #define SOC_ERR_OTP_TIMEOUT (td_s32)(0x808F0013) #define SOC_ERR_OTP_PROG_PERM (td_s32)(0x808F0017) #define SOC_ERR_OTP_FAIL_PRMRD (td_s32)(0x808F0018) #define SOC_ERR_OTP_FAIL_RD (td_s32)(0x808F0019) #define SOC_ERR_OTP_DISABLE_PROG (td_s32)(0x808F001A) #define SOC_ERR_OTP_FULL_VERSION (td_s32)(0x808F001B) #define SOC_ERR_OTP_FAILED_CHECKVERSION (td_s32)(0x808F001C) #define SOC_ERR_OTP_FAILED_AUTH (td_s32)(0x808F001D) #define SOC_ERR_OTP_TAID_SETED (td_s32)(0x808F001F) #define SOC_ERR_OTP_INVALID_TAID (td_s32)(0x808F0020) #define SOC_ERR_OTP_DUPLICATE_TAID (td_s32)(0x808F0021) #define SOC_ERR_OTP_NO_AVAILABLE_INDEX (td_s32)(0x808F0022) #define SOC_ERR_OTP_FUSE_LOCKED (td_s32)(0x808F0023) #define SOC_ERR_OTP_DATA_BUILD_FAILED (td_s32)(0x808F0024) #define SOC_ERR_OTP_DATA_VERIFY_FAILED (td_s32)(0x808F0025) #define SOC_ERR_OTP_DATA_VERIFY_NULL (td_s32)(0x808F0026) #define SOC_ERR_OTP_SEC_FAILED (td_s32)(0x808F0027) #define SOC_ERR_OTP_NOT_TEE_SEC_INIT (td_s32)(0x808F0028) #define SOC_ERR_OTP_OPEN_FILE_FAILED (td_s32)(0x808F0029) #define SOC_ERR_OTP_INVALID_LENGTH (td_s32)(0x808F002A) #define SOC_ERR_OTP_NOT_EXPECTED_VALUE (td_s32)(0x808F002B) #define SOC_ERR_OTP_DATA_IS_LOCKED (td_s32)(0x808F002C) #define SOC_ERR_OTP_CHIPSET_IS_SEC (td_s32)(0x808F002D) #define SOC_ERR_OTP_INVALID_OFFSET (td_s32)(0x808F002E) #define SOC_ERR_OTP_MALLOC_FAILED (td_s32)(0x808F002F) #define SOC_ERR_OTP_NO_SUCH_OPTION (td_s32)(0x808F0030) #define SOC_ERR_OTP_INVAILED_STRLEN (td_s32)(0x808F0031) #define SOC_ERR_OTP_INVAILED_ADDR (td_s32)(0x808F0032) #define SOC_ERR_OTP_INVAILED_INPUT (td_s32)(0x808F0033) #define SOC_ERR_OTP_LOCK_FAILED (td_s32)(0x808F0034) #define SOC_ERR_OTP_REG_UMAP_FAILED (td_s32)(0x808F0035) #define SOC_ERR_OTP_INVA_CIPHER_FUNC (td_s32)(0x808F0036) #define SOC_ERR_OTP_INVAILED_POS (td_s32)(0x808F0037) #define SOC_ERR_OTP_ALREADY_PROGRAM (td_s32)(0x808F0038) #define SOC_ERR_OTP_ALREADY_LOCKED (td_s32)(0x808F0039) #define SOC_ERR_OTP_WRITE_FAILED (td_s32)(0x808F0040) #define SOC_ERR_OTP_LOCK_UNEXPECT (td_s32)(0x808F0041) #define SOC_ERR_OTP_KEY_LOCKED (td_s32)(0x808F0042) #define SOC_ERR_OTP_CRC_LOCKED (td_s32)(0x808F0043) #define SOC_ERR_OTP_NOT_ENOUGH_MEMORY (td_s32)(0x808F0044) #define SOC_ERR_OTP_IOREMAP_FAILED (td_s32)(0x808F0045) #define SOC_ERR_OTP_FAKE_ACCESS_FAILED (td_s32)(0x808F0046) #define SOC_ERR_OTP_INAVLIED_PRIORITY (td_s32)(0x808F0047) #define SOC_ERR_OTP_IOCTL_CMD_INVALID (td_s32)(0x808F0048) #define SOC_ERR_OTP_IOCTL_FUNC_NULL (td_s32)(0x808F0049) #define SOC_ERR_OTP_NON_FAKE_MODE (td_s32)(0x808F0050) #define SOC_ERR_OTP_NOT_SET_JTAG_SLOT (td_s32)(0x808F0051) #define SOC_ERR_SSM_NULL_PTR ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_SSM_NO_SESSION_FOUND ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_FIND, ERR_CODE_SEEK_FAILED) #define SOC_ERR_SSM_INVALID_HANDLE ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SSM_INVALID_INTENT ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_UNKNOWN) #define SOC_ERR_SSM_INVALID_MODULEID ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_UNKNOWN) #define SOC_ERR_SSM_NO_MEMORY ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_UNKNOWN) #define SOC_ERR_SSM_INVALID_LINKRULES ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_SSM_INVALID_INTENTRULES ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_SSM_NO_HANDLE_ADD ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_CONFIG, ERR_CODE_UNKNOWN) #define SOC_ERR_SSM_CONFLICT_SET ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_CONFIG, ERR_CODE_UNKNOWN) #define SOC_ERR_SSM_NOT_SUPPORT ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_SSM_INVALID_CMD ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SSM_INVALID_SIZE ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SSM_INVALID_ACCESS ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SSM_INVALID_RESOURCE_NUM ERR_NUMBER(SOC_ID_SSM, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_TDE_DEV_NOT_OPEN (td_s32)(0x80910001) #define SOC_ERR_TDE_DEV_OPEN_FAILED (td_s32)(0x80910002) #define SOC_ERR_TDE_NULL_PTR (td_s32)(0x80910003) #define SOC_ERR_TDE_NO_MEM (td_s32)(0x80910004) #define SOC_ERR_TDE_INVALID_HANDLE (td_s32)(0x80910005) #define SOC_ERR_TDE_INVALID_PARA (td_s32)(0x80910006) #define SOC_ERR_TDE_NOT_ALIGNED (td_s32)(0x80910007) #define SOC_ERR_TDE_MINIFICATION (td_s32)(0x80910008) #define SOC_ERR_TDE_CLIP_AREA (td_s32)(0x80910009) #define SOC_ERR_TDE_JOB_TIMEOUT (td_s32)(0x8091000A) #define SOC_ERR_TDE_UNSUPPORTED_OPERATION (td_s32)(0x8091000B) #define SOC_ERR_TDE_QUERY_TIMEOUT (td_s32)(0x8091000C) #define SOC_ERR_TDE_INTERRUPT (td_s32)(0x8091000D) #define SOC_ERR_MIPI_NOT_INIT (td_s32)(0x80920001) #define SOC_ERR_MIPI_INVALID_PARA (td_s32)(0x80920002) #define SOC_ERR_MIPI_NULL_PTR (td_s32)(0x80920003) #define SOC_ERR_MIPI_NOT_SUPPORT (td_s32)(0x80920004) #define SOC_ERR_MIPI_TIMEOUT (td_s32)(0x80920005) #define SOC_ERR_MIPI_ALLOC_MEM_FAILED (td_s32)(0x80920006) #define SOC_ERR_MIPI_UNKNOWN_IOCTL_TYPE (td_s32)(0x80920007) #define SOC_ERR_ADSP_NOT_INIT (td_s32)(0x80940001) #define SOC_ERR_ADSP_INVALID_PARA (td_s32)(0x80940002) #define SOC_ERR_ADSP_NULL_PTR (td_s32)(0x80940003) #define SOC_ERR_ADSP_NOT_SUPPORT (td_s32)(0x80940004) #define SOC_ERR_ADSP_ALLOC_MEM_FAILED (td_s32)(0x80940005) #define SOC_ERR_GFX2D_DEV_NOT_OPEN (td_s32)(0x80950001) #define SOC_ERR_GFX2D_DEV_OPEN_FAILED (td_s32)(0x80950002) #define SOC_ERR_GFX2D_INVALID_DEVID (td_s32)(0x80950003) #define SOC_ERR_GFX2D_NULL_PTR (td_s32)(0x80950004) #define SOC_ERR_GFX2D_NO_MEM (td_s32)(0x80950005) #define SOC_ERR_GFX2D_INVALID_HANDLE (td_s32)(0x80950006) #define SOC_ERR_GFX2D_INVALID_PARA (td_s32)(0x80950007) #define SOC_ERR_GFX2D_NOT_ALIGNED (td_s32)(0x80950008) #define SOC_ERR_GFX2D_MINIFICATION (td_s32)(0x80950009) #define SOC_ERR_GFX2D_CLIP_AREA (td_s32)(0x8095000A) #define SOC_ERR_GFX2D_JOB_TIMEOUT (td_s32)(0x8095000B) #define SOC_ERR_GFX2D_UNSUPPORTED_OPERATION (td_s32)(0x8095000C) #define SOC_ERR_GFX2D_QUERY_TIMEOUT (td_s32)(0x8095000D) #define SOC_ERR_GFX2D_INTERRUPT (td_s32)(0x8095000E) #define SOC_ERR_GFX2D_INVALID_OPS (td_s32)(0x8095000F) #define SOC_ERR_GFX2D_INVALID_COMPOSECNT (td_s32)(0x80950010) #define SOC_ERR_GFX2D_LOCK_FAILED (td_s32)(0x80950011) #define SOC_ERR_GFX2D_INVALID_FENCE (td_s32)(0x80950012) #define SOC_ERR_GFX2D_INVALID_SURFACE_TYPE (td_s32)(0x80950013) #define SOC_ERR_GFX2D_INVALID_SURFACE_RESO (td_s32)(0x80950014) #define SOC_ERR_GFX2D_INVALID_SURFACE_FMT (td_s32)(0x80950015) #define SOC_ERR_GFX2D_INVALID_SURFACE_ADDR (td_s32)(0x80950016) #define SOC_ERR_GFX2D_INVALID_SURFACE_STRIDE (td_s32)(0x80950017) #define SOC_ERR_GFX2D_INVALID_SURFACE_CMPTYPE (td_s32)(0x80950018) #define SOC_ERR_GFX2D_INVALID_RECT (td_s32)(0x80950019) #define SOC_ERR_GFX2D_INVALID_RESIZE_FILTERMODE (td_s32)(0x8095001A) #define SOC_ERR_GFX2D_INVALID_RESIZE_RATIO (td_s32)(0x8095001B) #define SOC_ERR_GFX2D_INVALID_CLIP_MODE (td_s32)(0x8095001C) #define SOC_ERR_GFX2D_INVALID_CLIP_RECT (td_s32)(0x8095001D) #define SOC_ERR_GFX2D_SYS (td_s32)(0x8095001E) /* Define VPLUGIN Error Code */ #define SOC_ERR_VPLUGIN_DEV_OPEN_ERR (td_s32)(0x80960001) #define SOC_ERR_VPLUGIN_FIFO_FULL (td_s32)(0x80960002) #define SOC_ERR_VPLUGIN_FIFO_EMPTY (td_s32)(0x80960003) #define SOC_ERR_VPLUGIN_NOT_ENABLE (td_s32)(0x80960004) #define SOC_ERR_VPLUGIN_INSTANCE_NOT_START (td_s32)(0x80960005) #define SOC_ERR_VPLUGIN_BUF_USING (td_s32)(0x80960006) #define SOC_ERR_VPLUGIN_BUF_NOT_IN_QUEUE (td_s32)(0x80960007) #define SOC_ERR_VPLUGIN_BUF_ALREADY_IN_QUEUE (td_s32)(0x80960008) #define SOC_ERR_VPLUGIN_INVALID_ID (td_s32)(0x80960009) #define SOC_ERR_VPLUGIN_NOT_SUPPORT_CHANGE_PARAM (td_s32)(0x8096000A) #define SOC_ERR_VPLUGIN_NOT_CREATE_INSTANCE (td_s32)(0x8096000B) #define SOC_ERR_VPLUGIN_PARAM_INVALID (td_s32)(0x8096000C) #define SOC_ERR_VPLUGIN_WORKING_CNT_IS_MAX (td_s32)(0x8096000D) #define SOC_ERR_AMP_NOT_INIT ERR_NUMBER(SOC_ID_AMP, ERR_TYPE_INIT, ERR_CODE_OPEN_FAILED) #define SOC_ERR_AMP_INVALID_PARA ERR_NUMBER(SOC_ID_AMP, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_AMP_NULL_PTR ERR_NUMBER(SOC_ID_AMP, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_AMP_NOT_SUPPORT ERR_NUMBER(SOC_ID_AMP, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_AMP_ALLOC_MEM_FAILED ERR_NUMBER(SOC_ID_AMP, ERR_TYPE_UNKNOWN, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_AMP_INTR ERR_NUMBER(SOC_ID_AMP, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_VB_NOMEM ERR_NUMBER(SOC_ID_VB, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_VB_NOBUF ERR_NUMBER(SOC_ID_VB, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_VB_UNEXIST ERR_NUMBER(SOC_ID_VB, ERR_TYPE_CREATE, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_VB_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_VB, ERR_TYPE_CONFIG, ERR_CODE_PARA_INVALID) #define SOC_ERR_VB_NOTREADY ERR_NUMBER(SOC_ID_VB, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_OPEN) #define SOC_ERR_VB_BUSY ERR_NUMBER(SOC_ID_VB, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_VB_NOT_PERM ERR_NUMBER(SOC_ID_VB, ERR_TYPE_UNKNOWN, ERR_TYPE_UNKNOWN) #define SOC_ERR_VB_ALLOC_MEM_FAILED ERR_NUMBER(SOC_ID_VB, ERR_TYPE_UNKNOWN, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_VB_NULL_PTR ERR_NUMBER(SOC_ID_VB, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_VB_SIZE_NOT_ENOUGH ERR_NUMBER(SOC_ID_VB, ERR_TYPE_FIND, ERR_CODE_PARA_INVALID) #define SOC_ERR_SCM_NOMEM ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_SCM_UNEXIST ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_INIT, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_SCM_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SCM_NOTREADY ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_OPEN) #define SOC_ERR_SCM_NOT_PERM ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_UNKNOWN, ERR_CODE_UNKNOWN) #define SOC_ERR_SCM_ALLOC_MEM_FAILED ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_UNKNOWN, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_SCM_NULL_PTR ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_SCM_NOT_SUPPORT ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_SCM_INIT_FAILED ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_INIT, ERR_CODE_PARA_INVALID) #define SOC_ERR_SCM_NOT_BIND ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_ATTACH, ERR_CODE_NOT_ATTACH) #define SOC_ERR_SCM_NOT_REGIST ERR_NUMBER(SOC_ID_SCM, ERR_TYPE_CONFIG, ERR_CODE_NOT_CONFIG) #define SOC_ERR_VGS_MEM_FAILED ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_VGS_MEM_ERROR ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_ALLOC, ERR_CODE_MAP_FAILED) #define SOC_ERR_VGS_BUF_EMPTY ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_VGS_BUF_FULL ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_FULL) #define SOC_ERR_VGS_NULL_PTR ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_VGS_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_VGS_SYS_NOTREADY ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_START) #define SOC_ERR_VGS_NOT_SUPPORT ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_VGS_INVALID_HANDLE ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_UNKNOWN, ERR_CODE_HANDLE_INVALID) #define SOC_ERR_VGS_NOT_CREATE ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_UNKNOWN, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_VGS_CHN_UNEXIST ERR_NUMBER(SOC_ID_VGS, ERR_TYPE_ENABLE, ERR_CODE_NOT_ENABLE) #define SOC_ERR_GDC_MEM_FAILED ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_GDC_MEM_ERROR ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_ALLOC, ERR_CODE_MAP_FAILED) #define SOC_ERR_GDC_BUF_EMPTY ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_GDC_BUF_FULL ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_FULL) #define SOC_ERR_GDC_NULL_PTR ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_GDC_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_GDC_SYS_NOTREADY ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_START) #define SOC_ERR_GDC_NOT_SUPPORT ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_GDC_BUSY ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_GDC_INVALID_CHNID ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_UNKNOWN, ERR_CODE_HANDLE_INVALID) #define SOC_ERR_GDC_CHN_UNEXIST ERR_NUMBER(SOC_ID_GDC, ERR_TYPE_ENABLE, ERR_CODE_NOT_ENABLE) #define SOC_ERR_DIS_MEM_FAILED ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_DIS_BUF_EMPTY ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_DIS_BUF_FULL ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_FULL) #define SOC_ERR_DIS_NULL_PTR ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_DIS_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_DIS_SYS_NOTREADY ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_START) #define SOC_ERR_DIS_NOT_SUPPORT ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_DIS_BUSY ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_DIS_INVALID_CHNID ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_UNKNOWN, ERR_CODE_HANDLE_INVALID) #define SOC_ERR_DIS_CHN_UNEXIST ERR_NUMBER(SOC_ID_DIS, ERR_TYPE_ENABLE, ERR_CODE_NOT_ENABLE) #define SOC_ERR_PPU_NULL_PTR ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_PPU_NOT_READY ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_OPEN) #define SOC_ERR_PPU_NOT_SUPPORT ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_PPU_NOT_PERM ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_UNKNOWN) #define SOC_ERR_PPU_NOMEM ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_ALLOC, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_PPU_NOBUF ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_ALLOC, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_PPU_SIZE_NOT_ENOUGH ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_FIND, ERR_CODE_PARA_INVALID) #define SOC_ERR_PPU_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_PPU_BUSY ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_PPU_BUF_EMPTY ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_PPU_INVALID_DEVID ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_PPU_INVALID_CHNID ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_PPU_UNEXIST ERR_NUMBER(SOC_ID_PPU, ERR_TYPE_UNKNOWN, ERR_CODE_FILE_NOT_EXIST) #define SOC_ERR_VIU_INVALID_PARA ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_VIU_INVALID_DEVID ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #define SOC_ERR_VIU_INVALID_PIPEID ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_ID_EMPTY) #define SOC_ERR_VIU_INVALID_CHNID ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_ID_NOT_EXIST) #define SOC_ERR_VIU_INVALID_NULL_PTR ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_VIU_FAILED_NOTCONFIG ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_CONFIG) #define SOC_ERR_VIU_SYS_NOTREADY ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_STABLE) #define SOC_ERR_VIU_BUF_EMPTY ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_EMPTY) #define SOC_ERR_VIU_BUF_FULL ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_BUFFER_FULL) #define SOC_ERR_VIU_NOMEM ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_VIU_NOT_SUPPORT ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_VIU_BUSY ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_DEVICE_BUSY) #define SOC_ERR_VIU_NOT_PERM ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_HANDLE_INVALID) #define SOC_ERR_VIU_FAILED_NOTENABLE ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_ENABLE) #define SOC_ERR_VIU_FAILED_NOTDISABLE ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_DISABLE) #define SOC_ERR_VIU_CFG_TIMEOUT ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_OPERATION_TIMEOUT) #define SOC_ERR_VIU_PIPE_EXIST ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_UNKNOWN) #define SOC_ERR_VIU_PIPE_UNEXIST ERR_NUMBER(SOC_ID_VIU, ERR_TYPE_UNKNOWN, ERR_CODE_FILE_NOT_EXIST) #define SOC_ERR_ISP_NULL_PTR ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_ISP_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_ISP_NOT_SUPPORT ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_ISP_NOT_INIT ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_INIT) #define SOC_ERR_ISP_MEM_NOT_INIT ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_ALLOC, ERR_CODE_NOT_INIT) #define SOC_ERR_ISP_ATTR_NOT_CFG ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_CONFIG) #define SOC_ERR_ISP_SNS_UNREGISTER ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_STABLE) #define SOC_ERR_ISP_INVALID_ADDR ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_FIND, ERR_CODE_ID_INVALID) #define SOC_ERR_ISP_NOMEM ERR_NUMBER(SOC_ID_ISP, ERR_TYPE_UNKNOWN, ERR_CODE_MEM_ALLOC_FAILED) #define SOC_ERR_CIS_NULL_PTR ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_CIS_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_CIS_NOT_SUPPORT ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_CIS_NOT_INIT ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_INIT) #define SOC_ERR_CIS_ATTR_NOT_CFG ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_CONFIG) #define SOC_ERR_CIS_SNS_UNREGISTER ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_STABLE) #define SOC_ERR_CIS_INVALID_ADDR ERR_NUMBER(SOC_ID_CIS, ERR_TYPE_FIND, ERR_CODE_ID_INVALID) #define SOC_ERR_SH_NULL_PTR ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_UNKNOWN, ERR_CODE_PTR_NULL) #define SOC_ERR_SH_ILLEGAL_PARAM ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_UNKNOWN, ERR_CODE_PARA_INVALID) #define SOC_ERR_SH_NOT_SUPPORT ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_SUPPORT) #define SOC_ERR_SH_NOT_INIT ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_INIT) #define SOC_ERR_SH_ATTR_NOT_CFG ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_UNKNOWN, ERR_CODE_NOT_CONFIG) #define SOC_ERR_SH_INVALID_ADDR ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_FIND, ERR_CODE_ID_INVALID) #define SOC_ERR_SH_ERR_ACK ERR_NUMBER(SOC_ID_SENSORHUB, ERR_TYPE_UNKNOWN, ERR_CODE_ID_INVALID) #endif /* End of __SOC_ERRNO_H__ */