0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef __MB86A16_PRIV_H
0010 #define __MB86A16_PRIV_H
0011
0012 #define MB86A16_TSOUT 0x00
0013 #define MB86A16_TSOUT_HIZSEL (0x01 << 5)
0014 #define MB86A16_TSOUT_HIZCNTI (0x01 << 4)
0015 #define MB86A16_TSOUT_MODE (0x01 << 3)
0016 #define MB86A16_TSOUT_ORDER (0x01 << 2)
0017 #define MB86A16_TSOUT_ERROR (0x01 << 1)
0018 #define Mb86A16_TSOUT_EDGE (0x01 << 0)
0019
0020 #define MB86A16_FEC 0x01
0021 #define MB86A16_FEC_FSYNC (0x01 << 5)
0022 #define MB86A16_FEC_PCKB8 (0x01 << 4)
0023 #define MB86A16_FEC_DVDS (0x01 << 3)
0024 #define MB86A16_FEC_EREN (0x01 << 2)
0025 #define Mb86A16_FEC_RSEN (0x01 << 1)
0026 #define MB86A16_FEC_DIEN (0x01 << 0)
0027
0028 #define MB86A16_AGC 0x02
0029 #define MB86A16_AGC_AGMD (0x01 << 6)
0030 #define MB86A16_AGC_AGCW (0x0f << 2)
0031 #define MB86A16_AGC_AGCP (0x01 << 1)
0032 #define MB86A16_AGC_AGCR (0x01 << 0)
0033
0034 #define MB86A16_SRATE1 0x03
0035 #define MB86A16_SRATE1_DECI (0x07 << 2)
0036 #define MB86A16_SRATE1_CSEL (0x01 << 1)
0037 #define MB86A16_SRATE1_RSEL (0x01 << 0)
0038
0039 #define MB86A16_SRATE2 0x04
0040 #define MB86A16_SRATE2_STOFSL (0xff << 0)
0041
0042 #define MB86A16_SRATE3 0x05
0043 #define MB86A16_SRATE2_STOFSH (0xff << 0)
0044
0045 #define MB86A16_VITERBI 0x06
0046 #define MB86A16_FRAMESYNC 0x07
0047 #define MB86A16_CRLFILTCOEF1 0x08
0048 #define MB86A16_CRLFILTCOEF2 0x09
0049 #define MB86A16_STRFILTCOEF1 0x0a
0050 #define MB86A16_STRFILTCOEF2 0x0b
0051 #define MB86A16_RESET 0x0c
0052 #define MB86A16_STATUS 0x0d
0053 #define MB86A16_AFCML 0x0e
0054 #define MB86A16_AFCMH 0x0f
0055 #define MB86A16_BERMON 0x10
0056 #define MB86A16_BERTAB 0x11
0057 #define MB86A16_BERLSB 0x12
0058 #define MB86A16_BERMID 0x13
0059 #define MB86A16_BERMSB 0x14
0060 #define MB86A16_AGCM 0x15
0061
0062 #define MB86A16_DCC1 0x16
0063 #define MB86A16_DCC1_DISTA (0x01 << 7)
0064 #define MB86A16_DCC1_PRTY (0x01 << 6)
0065 #define MB86A16_DCC1_CTOE (0x01 << 5)
0066 #define MB86A16_DCC1_TBEN (0x01 << 4)
0067 #define MB86A16_DCC1_TBO (0x01 << 3)
0068 #define MB86A16_DCC1_NUM (0x07 << 0)
0069
0070 #define MB86A16_DCC2 0x17
0071 #define MB86A16_DCC2_DCBST (0x01 << 0)
0072
0073 #define MB86A16_DCC3 0x18
0074 #define MB86A16_DCC3_CODE0 (0xff << 0)
0075
0076 #define MB86A16_DCC4 0x19
0077 #define MB86A16_DCC4_CODE1 (0xff << 0)
0078
0079 #define MB86A16_DCC5 0x1a
0080 #define MB86A16_DCC5_CODE2 (0xff << 0)
0081
0082 #define MB86A16_DCC6 0x1b
0083 #define MB86A16_DCC6_CODE3 (0xff << 0)
0084
0085 #define MB86A16_DCC7 0x1c
0086 #define MB86A16_DCC7_CODE4 (0xff << 0)
0087
0088 #define MB86A16_DCC8 0x1d
0089 #define MB86A16_DCC8_CODE5 (0xff << 0)
0090
0091 #define MB86A16_DCCOUT 0x1e
0092 #define MB86A16_DCCOUT_DISEN (0x01 << 0)
0093
0094 #define MB86A16_TONEOUT1 0x1f
0095 #define MB86A16_TONE_TDIVL (0xff << 0)
0096
0097 #define MB86A16_TONEOUT2 0x20
0098 #define MB86A16_TONE_TMD (0x03 << 2)
0099 #define MB86A16_TONE_TDIVH (0x03 << 0)
0100
0101 #define MB86A16_FREQ1 0x21
0102 #define MB86A16_FREQ2 0x22
0103 #define MB86A16_FREQ3 0x23
0104 #define MB86A16_FREQ4 0x24
0105 #define MB86A16_FREQSET 0x25
0106 #define MB86A16_CNM 0x26
0107 #define MB86A16_PORT0 0x27
0108 #define MB86A16_PORT1 0x28
0109 #define MB86A16_DRCFILT 0x29
0110 #define MB86A16_AFC 0x2a
0111 #define MB86A16_AFCEXL 0x2b
0112 #define MB86A16_AFCEXH 0x2c
0113 #define MB86A16_DAGC 0x2d
0114 #define MB86A16_SEQMODE 0x32
0115 #define MB86A16_S0S1T 0x33
0116 #define MB86A16_S2S3T 0x34
0117 #define MB86A16_S4S5T 0x35
0118 #define MB86A16_CNTMR 0x36
0119 #define MB86A16_SIG1 0x37
0120 #define MB86A16_SIG2 0x38
0121 #define MB86A16_VIMAG 0x39
0122 #define MB86A16_VISET1 0x3a
0123 #define MB86A16_VISET2 0x3b
0124 #define MB86A16_VISET3 0x3c
0125 #define MB86A16_FAGCS1 0x3d
0126 #define MB86A16_FAGCS2 0x3e
0127 #define MB86A16_FAGCS3 0x3f
0128 #define MB86A16_FAGCS4 0x40
0129 #define MB86A16_FAGCS5 0x41
0130 #define MB86A16_FAGCS6 0x42
0131 #define MB86A16_CRM 0x43
0132 #define MB86A16_STRM 0x44
0133 #define MB86A16_DAGCML 0x45
0134 #define MB86A16_DAGCMH 0x46
0135 #define MB86A16_QPSKTST 0x49
0136 #define MB86A16_DISTMON 0x52
0137 #define MB86A16_VERSION 0x7f
0138
0139 #endif