| 1 | /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ |
| 2 | |
| 3 | File: oct6100_chip_stats_inst.h |
| 4 | |
| 5 | Copyright (c) 2001-2007 Octasic Inc. |
| 6 | |
| 7 | Description: |
| 8 | |
| 9 | File containing all defines, macros, and structures pertaining to the file |
| 10 | oct6100_chip_stats.c. All elements defined in this file are for public |
| 11 | usage of the API. All private elements are defined in the |
| 12 | oct6100_chip_stats_priv.h file. |
| 13 | |
| 14 | This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is |
| 15 | free software; you can redistribute it and/or modify it under the terms of |
| 16 | the GNU General Public License as published by the Free Software Foundation; |
| 17 | either version 2 of the License, or (at your option) any later version. |
| 18 | |
| 19 | The OCT6100 GPL API is distributed in the hope that it will be useful, but |
| 20 | WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 21 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 22 | for more details. |
| 23 | |
| 24 | You should have received a copy of the GNU General Public License |
| 25 | along with the OCT6100 GPL API; if not, write to the Free Software |
| 26 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
| 27 | |
| 28 | $Octasic_Release: OCT612xAPI-01.00-PR49 $ |
| 29 | |
| 30 | $Octasic_Revision: 21 $ |
| 31 | |
| 32 | \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ |
| 33 | |
| 34 | #ifndef __OCT6100_CHIP_STATS_INST_H__ |
| 35 | #define __OCT6100_CHIP_STATS_INST_H__ |
| 36 | |
| 37 | /***************************** INCLUDE FILES *******************************/ |
| 38 | |
| 39 | |
| 40 | /***************************** DEFINES *************************************/ |
| 41 | |
| 42 | |
| 43 | /***************************** TYPES ***************************************/ |
| 44 | |
| 45 | typedef struct _OCT6100_API_CHIP_ERROR_STATS_ |
| 46 | { |
| 47 | UINT8 fFatalChipError; |
| 48 | |
| 49 | UINT32 ulInternalReadTimeoutCnt; |
| 50 | UINT32 ulSdramRefreshTooLateCnt; |
| 51 | UINT32 ulPllJitterErrorCnt; |
| 52 | |
| 53 | /* Internal tone detector error counter. */ |
| 54 | UINT32 ulToneDetectorErrorCnt; |
| 55 | |
| 56 | UINT32 ulOverflowToneEventsCnt; |
| 57 | |
| 58 | UINT32 ulH100OutOfSyncCnt; |
| 59 | UINT32 ulH100ClkABadCnt; |
| 60 | UINT32 ulH100ClkBBadCnt; |
| 61 | UINT32 ulH100FrameABadCnt; |
| 62 | |
| 63 | |
| 64 | |
| 65 | } tOCT6100_API_CHIP_ERROR_STATS, *tPOCT6100_API_CHIP_ERROR_STATS; |
| 66 | |
| 67 | typedef struct _OCT6100_API_CHIP_STATS_ |
| 68 | { |
| 69 | UINT16 usNumberChannels; |
| 70 | UINT16 usNumberBiDirChannels; |
| 71 | UINT16 usNumberTsiCncts; |
| 72 | UINT16 usNumberConfBridges; |
| 73 | UINT16 usNumberPlayoutBuffers; |
| 74 | UINT16 usNumEcChanUsingMixer; |
| 75 | |
| 76 | UINT32 ulPlayoutMemUsed; |
| 77 | UINT16 usNumberActiveBufPlayoutPorts; |
| 78 | |
| 79 | UINT16 usNumberPhasingTssts; |
| 80 | UINT16 usNumberAdpcmChans; |
| 81 | |
| 82 | } tOCT6100_API_CHIP_STATS, *tPOCT6100_API_CHIP_STATS; |
| 83 | |
| 84 | #endif /* __OCT6100_CHIP_STATS_INST_H__ */ |