0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _SND_AT73C213_H
0009 #define _SND_AT73C213_H
0010
0011
0012 #define DAC_CTRL 0x00
0013 #define DAC_CTRL_ONPADRV 7
0014 #define DAC_CTRL_ONAUXIN 6
0015 #define DAC_CTRL_ONDACR 5
0016 #define DAC_CTRL_ONDACL 4
0017 #define DAC_CTRL_ONLNOR 3
0018 #define DAC_CTRL_ONLNOL 2
0019 #define DAC_CTRL_ONLNIR 1
0020 #define DAC_CTRL_ONLNIL 0
0021
0022
0023 #define DAC_LLIG 0x01
0024 #define DAC_LLIG_LLIG 0
0025
0026
0027 #define DAC_RLIG 0x02
0028 #define DAC_RLIG_RLIG 0
0029
0030
0031 #define DAC_LMPG 0x03
0032 #define DAC_LMPG_LMPG 0
0033
0034
0035 #define DAC_RMPG 0x04
0036 #define DAC_RMPG_RMPG 0
0037
0038
0039 #define DAC_LLOG 0x05
0040 #define DAC_LLOG_LLOG 0
0041
0042
0043 #define DAC_RLOG 0x06
0044 #define DAC_RLOG_RLOG 0
0045
0046
0047 #define DAC_OLC 0x07
0048 #define DAC_OLC_RSHORT 7
0049 #define DAC_OLC_ROLC 4
0050 #define DAC_OLC_LSHORT 3
0051 #define DAC_OLC_LOLC 0
0052
0053
0054 #define DAC_MC 0x08
0055 #define DAC_MC_INVR 5
0056 #define DAC_MC_INVL 4
0057 #define DAC_MC_RMSMIN2 3
0058 #define DAC_MC_RMSMIN1 2
0059 #define DAC_MC_LMSMIN2 1
0060 #define DAC_MC_LMSMIN1 0
0061
0062
0063 #define DAC_CSFC 0x09
0064 #define DAC_CSFC_OVRSEL 4
0065
0066
0067 #define DAC_MISC 0x0A
0068 #define DAC_MISC_VCMCAPSEL 7
0069 #define DAC_MISC_DINTSEL 4
0070 #define DAC_MISC_DITHEN 3
0071 #define DAC_MISC_DEEMPEN 2
0072 #define DAC_MISC_NBITS 0
0073
0074
0075 #define DAC_PRECH 0x0C
0076 #define DAC_PRECH_PRCHGPDRV 7
0077 #define DAC_PRECH_PRCHGAUX1 6
0078 #define DAC_PRECH_PRCHGLNOR 5
0079 #define DAC_PRECH_PRCHGLNOL 4
0080 #define DAC_PRECH_PRCHGLNIR 3
0081 #define DAC_PRECH_PRCHGLNIL 2
0082 #define DAC_PRECH_PRCHG 1
0083 #define DAC_PRECH_ONMSTR 0
0084
0085
0086 #define DAC_AUXG 0x0D
0087 #define DAC_AUXG_AUXG 0
0088
0089
0090 #define DAC_RST 0x10
0091 #define DAC_RST_RESMASK 2
0092 #define DAC_RST_RESFILZ 1
0093 #define DAC_RST_RSTZ 0
0094
0095
0096 #define PA_CTRL 0x11
0097 #define PA_CTRL_APAON 6
0098 #define PA_CTRL_APAPRECH 5
0099 #define PA_CTRL_APALP 4
0100 #define PA_CTRL_APAGAIN 0
0101
0102 #endif