Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ab8500-codec.h File Reference

Go to the source code of this file.

Macros

#define AB8500_SUPPORTED_RATE   (SNDRV_PCM_RATE_48000)
 
#define AB8500_SUPPORTED_FMT   (SNDRV_PCM_FMTBIT_S16_LE)
 
#define AB8500_POWERUP   0x00
 
#define AB8500_AUDSWRESET   0x01
 
#define AB8500_ADPATHENA   0x02
 
#define AB8500_DAPATHENA   0x03
 
#define AB8500_ANACONF1   0x04
 
#define AB8500_ANACONF2   0x05
 
#define AB8500_DIGMICCONF   0x06
 
#define AB8500_ANACONF3   0x07
 
#define AB8500_ANACONF4   0x08
 
#define AB8500_DAPATHCONF   0x09
 
#define AB8500_MUTECONF   0x0A
 
#define AB8500_SHORTCIRCONF   0x0B
 
#define AB8500_ANACONF5   0x0C
 
#define AB8500_ENVCPCONF   0x0D
 
#define AB8500_SIGENVCONF   0x0E
 
#define AB8500_PWMGENCONF1   0x0F
 
#define AB8500_PWMGENCONF2   0x10
 
#define AB8500_PWMGENCONF3   0x11
 
#define AB8500_PWMGENCONF4   0x12
 
#define AB8500_PWMGENCONF5   0x13
 
#define AB8500_ANAGAIN1   0x14
 
#define AB8500_ANAGAIN2   0x15
 
#define AB8500_ANAGAIN3   0x16
 
#define AB8500_ANAGAIN4   0x17
 
#define AB8500_DIGLINHSLGAIN   0x18
 
#define AB8500_DIGLINHSRGAIN   0x19
 
#define AB8500_ADFILTCONF   0x1A
 
#define AB8500_DIGIFCONF1   0x1B
 
#define AB8500_DIGIFCONF2   0x1C
 
#define AB8500_DIGIFCONF3   0x1D
 
#define AB8500_DIGIFCONF4   0x1E
 
#define AB8500_ADSLOTSEL1   0x1F
 
#define AB8500_ADSLOTSEL2   0x20
 
#define AB8500_ADSLOTSEL3   0x21
 
#define AB8500_ADSLOTSEL4   0x22
 
#define AB8500_ADSLOTSEL5   0x23
 
#define AB8500_ADSLOTSEL6   0x24
 
#define AB8500_ADSLOTSEL7   0x25
 
#define AB8500_ADSLOTSEL8   0x26
 
#define AB8500_ADSLOTSEL9   0x27
 
#define AB8500_ADSLOTSEL10   0x28
 
#define AB8500_ADSLOTSEL11   0x29
 
#define AB8500_ADSLOTSEL12   0x2A
 
#define AB8500_ADSLOTSEL13   0x2B
 
#define AB8500_ADSLOTSEL14   0x2C
 
#define AB8500_ADSLOTSEL15   0x2D
 
#define AB8500_ADSLOTSEL16   0x2E
 
#define AB8500_ADSLOTHIZCTRL1   0x2F
 
#define AB8500_ADSLOTHIZCTRL2   0x30
 
#define AB8500_ADSLOTHIZCTRL3   0x31
 
#define AB8500_ADSLOTHIZCTRL4   0x32
 
#define AB8500_DASLOTCONF1   0x33
 
#define AB8500_DASLOTCONF2   0x34
 
#define AB8500_DASLOTCONF3   0x35
 
#define AB8500_DASLOTCONF4   0x36
 
#define AB8500_DASLOTCONF5   0x37
 
#define AB8500_DASLOTCONF6   0x38
 
#define AB8500_DASLOTCONF7   0x39
 
#define AB8500_DASLOTCONF8   0x3A
 
#define AB8500_CLASSDCONF1   0x3B
 
#define AB8500_CLASSDCONF2   0x3C
 
#define AB8500_CLASSDCONF3   0x3D
 
#define AB8500_DMICFILTCONF   0x3E
 
#define AB8500_DIGMULTCONF1   0x3F
 
#define AB8500_DIGMULTCONF2   0x40
 
#define AB8500_ADDIGGAIN1   0x41
 
#define AB8500_ADDIGGAIN2   0x42
 
#define AB8500_ADDIGGAIN3   0x43
 
#define AB8500_ADDIGGAIN4   0x44
 
#define AB8500_ADDIGGAIN5   0x45
 
#define AB8500_ADDIGGAIN6   0x46
 
#define AB8500_DADIGGAIN1   0x47
 
#define AB8500_DADIGGAIN2   0x48
 
#define AB8500_DADIGGAIN3   0x49
 
#define AB8500_DADIGGAIN4   0x4A
 
#define AB8500_DADIGGAIN5   0x4B
 
#define AB8500_DADIGGAIN6   0x4C
 
#define AB8500_ADDIGLOOPGAIN1   0x4D
 
#define AB8500_ADDIGLOOPGAIN2   0x4E
 
#define AB8500_HSLEARDIGGAIN   0x4F
 
#define AB8500_HSRDIGGAIN   0x50
 
#define AB8500_SIDFIRGAIN1   0x51
 
#define AB8500_SIDFIRGAIN2   0x52
 
#define AB8500_ANCCONF1   0x53
 
#define AB8500_ANCCONF2   0x54
 
#define AB8500_ANCCONF3   0x55
 
#define AB8500_ANCCONF4   0x56
 
#define AB8500_ANCCONF5   0x57
 
#define AB8500_ANCCONF6   0x58
 
#define AB8500_ANCCONF7   0x59
 
#define AB8500_ANCCONF8   0x5A
 
#define AB8500_ANCCONF9   0x5B
 
#define AB8500_ANCCONF10   0x5C
 
#define AB8500_ANCCONF11   0x5D
 
#define AB8500_ANCCONF12   0x5E
 
#define AB8500_ANCCONF13   0x5F
 
#define AB8500_ANCCONF14   0x60
 
#define AB8500_SIDFIRADR   0x61
 
#define AB8500_SIDFIRCOEF1   0x62
 
#define AB8500_SIDFIRCOEF2   0x63
 
#define AB8500_SIDFIRCONF   0x64
 
#define AB8500_AUDINTMASK1   0x65
 
#define AB8500_AUDINTSOURCE1   0x66
 
#define AB8500_AUDINTMASK2   0x67
 
#define AB8500_AUDINTSOURCE2   0x68
 
#define AB8500_FIFOCONF1   0x69
 
#define AB8500_FIFOCONF2   0x6A
 
#define AB8500_FIFOCONF3   0x6B
 
#define AB8500_FIFOCONF4   0x6C
 
#define AB8500_FIFOCONF5   0x6D
 
#define AB8500_FIFOCONF6   0x6E
 
#define AB8500_AUDREV   0x6F
 
#define AB8500_FIRST_REG   AB8500_POWERUP
 
#define AB8500_LAST_REG   AB8500_AUDREV
 
#define AB8500_CACHEREGNUM   (AB8500_LAST_REG + 1)
 
#define AB8500_MASK_ALL   0xFF
 
#define AB8500_MASK_NONE   0x00
 
#define AB8500_POWERUP_POWERUP   7
 
#define AB8500_POWERUP_ENANA   3
 
#define AB8500_AUDSWRESET_SWRESET   7
 
#define AB8500_ADPATHENA_ENAD12   7
 
#define AB8500_ADPATHENA_ENAD34   5
 
#define AB8500_ADPATHENA_ENAD5768   3
 
#define AB8500_DAPATHENA_ENDA1   7
 
#define AB8500_DAPATHENA_ENDA2   6
 
#define AB8500_DAPATHENA_ENDA3   5
 
#define AB8500_DAPATHENA_ENDA4   4
 
#define AB8500_DAPATHENA_ENDA5   3
 
#define AB8500_DAPATHENA_ENDA6   2
 
#define AB8500_ANACONF1_HSLOWPOW   7
 
#define AB8500_ANACONF1_DACLOWPOW1   6
 
#define AB8500_ANACONF1_DACLOWPOW0   5
 
#define AB8500_ANACONF1_EARDACLOWPOW   4
 
#define AB8500_ANACONF1_EARSELCM   2
 
#define AB8500_ANACONF1_HSHPEN   1
 
#define AB8500_ANACONF1_EARDRVLOWPOW   0
 
#define AB8500_ANACONF2_ENMIC1   7
 
#define AB8500_ANACONF2_ENMIC2   6
 
#define AB8500_ANACONF2_ENLINL   5
 
#define AB8500_ANACONF2_ENLINR   4
 
#define AB8500_ANACONF2_MUTMIC1   3
 
#define AB8500_ANACONF2_MUTMIC2   2
 
#define AB8500_ANACONF2_MUTLINL   1
 
#define AB8500_ANACONF2_MUTLINR   0
 
#define AB8500_DIGMICCONF_ENDMIC1   7
 
#define AB8500_DIGMICCONF_ENDMIC2   6
 
#define AB8500_DIGMICCONF_ENDMIC3   5
 
#define AB8500_DIGMICCONF_ENDMIC4   4
 
#define AB8500_DIGMICCONF_ENDMIC5   3
 
#define AB8500_DIGMICCONF_ENDMIC6   2
 
#define AB8500_DIGMICCONF_HSFADSPEED   0
 
#define AB8500_ANACONF3_MIC1SEL   7
 
#define AB8500_ANACONF3_LINRSEL   6
 
#define AB8500_ANACONF3_ENDRVHSL   5
 
#define AB8500_ANACONF3_ENDRVHSR   4
 
#define AB8500_ANACONF3_ENADCMIC   2
 
#define AB8500_ANACONF3_ENADCLINL   1
 
#define AB8500_ANACONF3_ENADCLINR   0
 
#define AB8500_ANACONF4_DISPDVSS   7
 
#define AB8500_ANACONF4_ENEAR   6
 
#define AB8500_ANACONF4_ENHSL   5
 
#define AB8500_ANACONF4_ENHSR   4
 
#define AB8500_ANACONF4_ENHFL   3
 
#define AB8500_ANACONF4_ENHFR   2
 
#define AB8500_ANACONF4_ENVIB1   1
 
#define AB8500_ANACONF4_ENVIB2   0
 
#define AB8500_DAPATHCONF_ENDACEAR   6
 
#define AB8500_DAPATHCONF_ENDACHSL   5
 
#define AB8500_DAPATHCONF_ENDACHSR   4
 
#define AB8500_DAPATHCONF_ENDACHFL   3
 
#define AB8500_DAPATHCONF_ENDACHFR   2
 
#define AB8500_DAPATHCONF_ENDACVIB1   1
 
#define AB8500_DAPATHCONF_ENDACVIB2   0
 
#define AB8500_MUTECONF_MUTEAR   6
 
#define AB8500_MUTECONF_MUTHSL   5
 
#define AB8500_MUTECONF_MUTHSR   4
 
#define AB8500_MUTECONF_MUTDACEAR   2
 
#define AB8500_MUTECONF_MUTDACHSL   1
 
#define AB8500_MUTECONF_MUTDACHSR   0
 
#define AB8500_SHORTCIRCONF_ENSHORTPWD   7
 
#define AB8500_SHORTCIRCONF_EARSHORTDIS   6
 
#define AB8500_SHORTCIRCONF_HSSHORTDIS   5
 
#define AB8500_SHORTCIRCONF_HSPULLDEN   4
 
#define AB8500_SHORTCIRCONF_HSOSCEN   2
 
#define AB8500_SHORTCIRCONF_HSFADDIS   1
 
#define AB8500_SHORTCIRCONF_HSZCDDIS   0
 
#define AB8500_ANACONF5_ENCPHS   7
 
#define AB8500_ANACONF5_HSLDACTOLOL   5
 
#define AB8500_ANACONF5_HSRDACTOLOR   4
 
#define AB8500_ANACONF5_ENLOL   3
 
#define AB8500_ANACONF5_ENLOR   2
 
#define AB8500_ANACONF5_HSAUTOEN   0
 
#define AB8500_ENVCPCONF_ENVDETHTHRE   4
 
#define AB8500_ENVCPCONF_ENVDETLTHRE   0
 
#define AB8500_ENVCPCONF_ENVDETHTHRE_MAX   0x0F
 
#define AB8500_ENVCPCONF_ENVDETLTHRE_MAX   0x0F
 
#define AB8500_SIGENVCONF_CPLVEN   5
 
#define AB8500_SIGENVCONF_ENVDETCPEN   4
 
#define AB8500_SIGENVCONF_ENVDETTIME   0
 
#define AB8500_SIGENVCONF_ENVDETTIME_MAX   0x0F
 
#define AB8500_PWMGENCONF1_PWMTOVIB1   7
 
#define AB8500_PWMGENCONF1_PWMTOVIB2   6
 
#define AB8500_PWMGENCONF1_PWM1CTRL   5
 
#define AB8500_PWMGENCONF1_PWM2CTRL   4
 
#define AB8500_PWMGENCONF1_PWM1NCTRL   3
 
#define AB8500_PWMGENCONF1_PWM1PCTRL   2
 
#define AB8500_PWMGENCONF1_PWM2NCTRL   1
 
#define AB8500_PWMGENCONF1_PWM2PCTRL   0
 
#define AB8500_PWMGENCONFX_PWMVIBXPOL   7
 
#define AB8500_PWMGENCONFX_PWMVIBXDUTCYC   0
 
#define AB8500_PWMGENCONFX_PWMVIBXDUTCYC_MAX   0x64
 
#define AB8500_ANAGAINX_ENSEMICX   7
 
#define AB8500_ANAGAINX_LOWPOWMICX   6
 
#define AB8500_ANAGAINX_MICXGAIN   0
 
#define AB8500_ANAGAINX_MICXGAIN_MAX   0x1F
 
#define AB8500_ANAGAIN3_HSLGAIN   4
 
#define AB8500_ANAGAIN3_HSRGAIN   0
 
#define AB8500_ANAGAIN3_HSXGAIN_MAX   0x0F
 
#define AB8500_ANAGAIN4_LINLGAIN   4
 
#define AB8500_ANAGAIN4_LINRGAIN   0
 
#define AB8500_ANAGAIN4_LINXGAIN_MAX   0x0F
 
#define AB8500_DIGLINHSXGAIN_LINTOHSXGAIN   0
 
#define AB8500_DIGLINHSXGAIN_LINTOHSXGAIN_MAX   0x13
 
#define AB8500_ADFILTCONF_AD1NH   7
 
#define AB8500_ADFILTCONF_AD2NH   6
 
#define AB8500_ADFILTCONF_AD3NH   5
 
#define AB8500_ADFILTCONF_AD4NH   4
 
#define AB8500_ADFILTCONF_AD1VOICE   3
 
#define AB8500_ADFILTCONF_AD2VOICE   2
 
#define AB8500_ADFILTCONF_AD3VOICE   1
 
#define AB8500_ADFILTCONF_AD4VOICE   0
 
#define AB8500_DIGIFCONF1_ENMASTGEN   7
 
#define AB8500_DIGIFCONF1_IF1BITCLKOS1   6
 
#define AB8500_DIGIFCONF1_IF1BITCLKOS0   5
 
#define AB8500_DIGIFCONF1_ENFSBITCLK1   4
 
#define AB8500_DIGIFCONF1_IF0BITCLKOS1   2
 
#define AB8500_DIGIFCONF1_IF0BITCLKOS0   1
 
#define AB8500_DIGIFCONF1_ENFSBITCLK0   0
 
#define AB8500_DIGIFCONF2_FSYNC0P   6
 
#define AB8500_DIGIFCONF2_BITCLK0P   5
 
#define AB8500_DIGIFCONF2_IF0DEL   4
 
#define AB8500_DIGIFCONF2_IF0FORMAT1   3
 
#define AB8500_DIGIFCONF2_IF0FORMAT0   2
 
#define AB8500_DIGIFCONF2_IF0WL1   1
 
#define AB8500_DIGIFCONF2_IF0WL0   0
 
#define AB8500_DIGIFCONF3_IF0DATOIF1AD   7
 
#define AB8500_DIGIFCONF3_IF0CLKTOIF1CLK   6
 
#define AB8500_DIGIFCONF3_IF1MASTER   5
 
#define AB8500_DIGIFCONF3_IF1DATOIF0AD   3
 
#define AB8500_DIGIFCONF3_IF1CLKTOIF0CLK   2
 
#define AB8500_DIGIFCONF3_IF0MASTER   1
 
#define AB8500_DIGIFCONF3_IF0BFIFOEN   0
 
#define AB8500_DIGIFCONF4_FSYNC1P   6
 
#define AB8500_DIGIFCONF4_BITCLK1P   5
 
#define AB8500_DIGIFCONF4_IF1DEL   4
 
#define AB8500_DIGIFCONF4_IF1FORMAT1   3
 
#define AB8500_DIGIFCONF4_IF1FORMAT0   2
 
#define AB8500_DIGIFCONF4_IF1WL1   1
 
#define AB8500_DIGIFCONF4_IF1WL0   0
 
#define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_ODD   0x00
 
#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_ODD   0x01
 
#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_ODD   0x02
 
#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_ODD   0x03
 
#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_ODD   0x04
 
#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_ODD   0x05
 
#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_ODD   0x06
 
#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_ODD   0x07
 
#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_ODD   0x08
 
#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_ODD   0x0F
 
#define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_EVEN   0x00
 
#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_EVEN   0x10
 
#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_EVEN   0x20
 
#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_EVEN   0x30
 
#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_EVEN   0x40
 
#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_EVEN   0x50
 
#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_EVEN   0x60
 
#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_EVEN   0x70
 
#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_EVEN   0x80
 
#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_EVEN   0xF0
 
#define AB8500_ADSLOTSELX_EVEN_SHIFT   0
 
#define AB8500_ADSLOTSELX_ODD_SHIFT   4
 
#define AB8500_DASLOTCONF1_DA12VOICE   7
 
#define AB8500_DASLOTCONF1_SWAPDA12_34   6
 
#define AB8500_DASLOTCONF1_DAI7TOADO1   5
 
#define AB8500_DASLOTCONF2_DAI8TOADO2   5
 
#define AB8500_DASLOTCONF3_DA34VOICE   7
 
#define AB8500_DASLOTCONF3_DAI7TOADO3   5
 
#define AB8500_DASLOTCONF4_DAI8TOADO4   5
 
#define AB8500_DASLOTCONF5_DA56VOICE   7
 
#define AB8500_DASLOTCONF5_DAI7TOADO5   5
 
#define AB8500_DASLOTCONF6_DAI8TOADO6   5
 
#define AB8500_DASLOTCONF7_DAI8TOADO7   5
 
#define AB8500_DASLOTCONF8_DAI7TOADO8   5
 
#define AB8500_DASLOTCONFX_SLTODAX_SHIFT   0
 
#define AB8500_DASLOTCONFX_SLTODAX_MASK   0x1F
 
#define AB8500_CLASSDCONF1_PARLHF   7
 
#define AB8500_CLASSDCONF1_PARLVIB   6
 
#define AB8500_CLASSDCONF1_VIB1SWAPEN   3
 
#define AB8500_CLASSDCONF1_VIB2SWAPEN   2
 
#define AB8500_CLASSDCONF1_HFLSWAPEN   1
 
#define AB8500_CLASSDCONF1_HFRSWAPEN   0
 
#define AB8500_CLASSDCONF2_FIRBYP3   7
 
#define AB8500_CLASSDCONF2_FIRBYP2   6
 
#define AB8500_CLASSDCONF2_FIRBYP1   5
 
#define AB8500_CLASSDCONF2_FIRBYP0   4
 
#define AB8500_CLASSDCONF2_HIGHVOLEN3   3
 
#define AB8500_CLASSDCONF2_HIGHVOLEN2   2
 
#define AB8500_CLASSDCONF2_HIGHVOLEN1   1
 
#define AB8500_CLASSDCONF2_HIGHVOLEN0   0
 
#define AB8500_CLASSDCONF3_DITHHPGAIN   4
 
#define AB8500_CLASSDCONF3_DITHHPGAIN_MAX   0x0A
 
#define AB8500_CLASSDCONF3_DITHWGAIN   0
 
#define AB8500_CLASSDCONF3_DITHWGAIN_MAX   0x0A
 
#define AB8500_DMICFILTCONF_ANCINSEL   7
 
#define AB8500_DMICFILTCONF_DA3TOEAR   6
 
#define AB8500_DMICFILTCONF_DMIC1SINC3   5
 
#define AB8500_DMICFILTCONF_DMIC2SINC3   4
 
#define AB8500_DMICFILTCONF_DMIC3SINC3   3
 
#define AB8500_DMICFILTCONF_DMIC4SINC3   2
 
#define AB8500_DMICFILTCONF_DMIC5SINC3   1
 
#define AB8500_DMICFILTCONF_DMIC6SINC3   0
 
#define AB8500_DIGMULTCONF1_DATOHSLEN   7
 
#define AB8500_DIGMULTCONF1_DATOHSREN   6
 
#define AB8500_DIGMULTCONF1_AD1SEL   5
 
#define AB8500_DIGMULTCONF1_AD2SEL   4
 
#define AB8500_DIGMULTCONF1_AD3SEL   3
 
#define AB8500_DIGMULTCONF1_AD5SEL   2
 
#define AB8500_DIGMULTCONF1_AD6SEL   1
 
#define AB8500_DIGMULTCONF1_ANCSEL   0
 
#define AB8500_DIGMULTCONF2_DATOHFREN   7
 
#define AB8500_DIGMULTCONF2_DATOHFLEN   6
 
#define AB8500_DIGMULTCONF2_HFRSEL   5
 
#define AB8500_DIGMULTCONF2_HFLSEL   4
 
#define AB8500_DIGMULTCONF2_FIRSID1SEL   2
 
#define AB8500_DIGMULTCONF2_FIRSID2SEL   0
 
#define AB8500_ADDIGGAINX_FADEDISADX   6
 
#define AB8500_ADDIGGAINX_ADXGAIN_MAX   0x3F
 
#define AB8500_DADIGGAINX_FADEDISDAX   6
 
#define AB8500_DADIGGAINX_DAXGAIN_MAX   0x3F
 
#define AB8500_ADDIGLOOPGAINX_FADEDISADXL   6
 
#define AB8500_ADDIGLOOPGAINX_ADXLBGAIN_MAX   0x3F
 
#define AB8500_HSLEARDIGGAIN_HSSINC1   7
 
#define AB8500_HSLEARDIGGAIN_FADEDISHSL   4
 
#define AB8500_HSLEARDIGGAIN_HSLDGAIN_MAX   0x09
 
#define AB8500_HSRDIGGAIN_FADESPEED   6
 
#define AB8500_HSRDIGGAIN_FADEDISHSR   4
 
#define AB8500_HSRDIGGAIN_HSRDGAIN_MAX   0x09
 
#define AB8500_SIDFIRGAINX_FIRSIDXGAIN_MAX   0x1F
 
#define AB8500_ANCCONF1_ANCIIRUPDATE   3
 
#define AB8500_ANCCONF1_ENANC   2
 
#define AB8500_ANCCONF1_ANCIIRINIT   1
 
#define AB8500_ANCCONF1_ANCFIRUPDATE   0
 
#define AB8500_ANCCONF2_SHIFT   5
 
#define AB8500_ANCCONF2_MIN   -0x10
 
#define AB8500_ANCCONF2_MAX   0xF
 
#define AB8500_ANCCONF3_SHIFT   5
 
#define AB8500_ANCCONF3_MIN   -0x10
 
#define AB8500_ANCCONF3_MAX   0xF
 
#define AB8500_ANCCONF4_SHIFT   5
 
#define AB8500_ANCCONF4_MIN   -0x10
 
#define AB8500_ANCCONF4_MAX   0xF
 
#define AB8500_ANC_FIR_COEFF_MIN   -0x8000
 
#define AB8500_ANC_FIR_COEFF_MAX   0x7FFF
 
#define AB8500_ANC_FIR_COEFFS   15
 
#define AB8500_ANC_IIR_COEFF_MIN   -0x800000
 
#define AB8500_ANC_IIR_COEFF_MAX   0x7FFFFF
 
#define AB8500_ANC_IIR_COEFFS   24
 
#define AB8500_ANC_WARP_DELAY_SHIFT   16
 
#define AB8500_ANC_WARP_DELAY_MIN   0x0000
 
#define AB8500_ANC_WARP_DELAY_MAX   0xFFFF
 
#define AB8500_SIDFIRADR_FIRSIDSET   7
 
#define AB8500_SIDFIRADR_ADDRESS_SHIFT   0
 
#define AB8500_SIDFIRADR_ADDRESS_MAX   0x7F
 
#define AB8500_SID_FIR_COEFF_MIN   0
 
#define AB8500_SID_FIR_COEFF_MAX   0xFFFF
 
#define AB8500_SID_FIR_COEFFS   128
 
#define AB8500_SIDFIRCONF_ENFIRSIDS   2
 
#define AB8500_SIDFIRCONF_FIRSIDSTOIF1   1
 
#define AB8500_SIDFIRCONF_FIRSIDBUSY   0
 
#define AB8500_FIFOCONF1_BFIFOMASK   0x80
 
#define AB8500_FIFOCONF1_BFIFO19M2   0x40
 
#define AB8500_FIFOCONF1_BFIFOINT_SHIFT   0
 
#define AB8500_FIFOCONF1_BFIFOINT_MAX   0x3F
 
#define AB8500_FIFOCONF2_BFIFOTX_SHIFT   0
 
#define AB8500_FIFOCONF2_BFIFOTX_MAX   0xFF
 
#define AB8500_FIFOCONF3_BFIFOEXSL_SHIFT   5
 
#define AB8500_FIFOCONF3_BFIFOEXSL_MAX   0x5
 
#define AB8500_FIFOCONF3_PREBITCLK0_SHIFT   2
 
#define AB8500_FIFOCONF3_PREBITCLK0_MAX   0x7
 
#define AB8500_FIFOCONF3_BFIFOMAST_SHIFT   1
 
#define AB8500_FIFOCONF3_BFIFORUN_SHIFT   0
 
#define AB8500_FIFOCONF4_BFIFOFRAMSW_SHIFT   0
 
#define AB8500_FIFOCONF4_BFIFOFRAMSW_MAX   0xFF
 
#define AB8500_FIFOCONF5_BFIFOWAKEUP_SHIFT   0
 
#define AB8500_FIFOCONF5_BFIFOWAKEUP_MAX   0xFF
 
#define AB8500_FIFOCONF6_BFIFOSAMPLE_SHIFT   0
 
#define AB8500_FIFOCONF6_BFIFOSAMPLE_MAX   0xFF
 

Macro Definition Documentation

#define AB8500_ADDIGGAIN1   0x41

Definition at line 94 of file ab8500-codec.h.

#define AB8500_ADDIGGAIN2   0x42

Definition at line 95 of file ab8500-codec.h.

#define AB8500_ADDIGGAIN3   0x43

Definition at line 96 of file ab8500-codec.h.

#define AB8500_ADDIGGAIN4   0x44

Definition at line 97 of file ab8500-codec.h.

#define AB8500_ADDIGGAIN5   0x45

Definition at line 98 of file ab8500-codec.h.

#define AB8500_ADDIGGAIN6   0x46

Definition at line 99 of file ab8500-codec.h.

#define AB8500_ADDIGGAINX_ADXGAIN_MAX   0x3F

Definition at line 467 of file ab8500-codec.h.

#define AB8500_ADDIGGAINX_FADEDISADX   6

Definition at line 466 of file ab8500-codec.h.

#define AB8500_ADDIGLOOPGAIN1   0x4D

Definition at line 106 of file ab8500-codec.h.

#define AB8500_ADDIGLOOPGAIN2   0x4E

Definition at line 107 of file ab8500-codec.h.

#define AB8500_ADDIGLOOPGAINX_ADXLBGAIN_MAX   0x3F

Definition at line 481 of file ab8500-codec.h.

#define AB8500_ADDIGLOOPGAINX_FADEDISADXL   6

Definition at line 480 of file ab8500-codec.h.

#define AB8500_ADFILTCONF   0x1A

Definition at line 55 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD1NH   7

Definition at line 304 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD1VOICE   3

Definition at line 308 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD2NH   6

Definition at line 305 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD2VOICE   2

Definition at line 309 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD3NH   5

Definition at line 306 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD3VOICE   1

Definition at line 310 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD4NH   4

Definition at line 307 of file ab8500-codec.h.

#define AB8500_ADFILTCONF_AD4VOICE   0

Definition at line 311 of file ab8500-codec.h.

#define AB8500_ADPATHENA   0x02

Definition at line 31 of file ab8500-codec.h.

#define AB8500_ADPATHENA_ENAD12   7

Definition at line 157 of file ab8500-codec.h.

#define AB8500_ADPATHENA_ENAD34   5

Definition at line 158 of file ab8500-codec.h.

#define AB8500_ADPATHENA_ENAD5768   3

Definition at line 159 of file ab8500-codec.h.

#define AB8500_ADSLOTHIZCTRL1   0x2F

Definition at line 76 of file ab8500-codec.h.

#define AB8500_ADSLOTHIZCTRL2   0x30

Definition at line 77 of file ab8500-codec.h.

#define AB8500_ADSLOTHIZCTRL3   0x31

Definition at line 78 of file ab8500-codec.h.

#define AB8500_ADSLOTHIZCTRL4   0x32

Definition at line 79 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL1   0x1F

Definition at line 60 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL10   0x28

Definition at line 69 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL11   0x29

Definition at line 70 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL12   0x2A

Definition at line 71 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL13   0x2B

Definition at line 72 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL14   0x2C

Definition at line 73 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL15   0x2D

Definition at line 74 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL16   0x2E

Definition at line 75 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL2   0x20

Definition at line 61 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL3   0x21

Definition at line 62 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL4   0x22

Definition at line 63 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL5   0x23

Definition at line 64 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL6   0x24

Definition at line 65 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL7   0x25

Definition at line 66 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL8   0x26

Definition at line 67 of file ab8500-codec.h.

#define AB8500_ADSLOTSEL9   0x27

Definition at line 68 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_EVEN   0x00

Definition at line 360 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT1_TO_SLOT_ODD   0x00

Definition at line 350 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_EVEN   0x10

Definition at line 361 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT2_TO_SLOT_ODD   0x01

Definition at line 351 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_EVEN   0x20

Definition at line 362 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT3_TO_SLOT_ODD   0x02

Definition at line 352 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_EVEN   0x30

Definition at line 363 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT4_TO_SLOT_ODD   0x03

Definition at line 353 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_EVEN   0x40

Definition at line 364 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT5_TO_SLOT_ODD   0x04

Definition at line 354 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_EVEN   0x50

Definition at line 365 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT6_TO_SLOT_ODD   0x05

Definition at line 355 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_EVEN   0x60

Definition at line 366 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT7_TO_SLOT_ODD   0x06

Definition at line 356 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_EVEN   0x70

Definition at line 367 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_AD_OUT8_TO_SLOT_ODD   0x07

Definition at line 357 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_EVEN_SHIFT   0

Definition at line 370 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_ODD_SHIFT   4

Definition at line 371 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_EVEN   0xF0

Definition at line 369 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_TRISTATE_TO_SLOT_ODD   0x0F

Definition at line 359 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_EVEN   0x80

Definition at line 368 of file ab8500-codec.h.

#define AB8500_ADSLOTSELX_ZEROES_TO_SLOT_ODD   0x08

Definition at line 358 of file ab8500-codec.h.

#define AB8500_ANACONF1   0x04

Definition at line 33 of file ab8500-codec.h.

#define AB8500_ANACONF1_DACLOWPOW0   5

Definition at line 172 of file ab8500-codec.h.

#define AB8500_ANACONF1_DACLOWPOW1   6

Definition at line 171 of file ab8500-codec.h.

#define AB8500_ANACONF1_EARDACLOWPOW   4

Definition at line 173 of file ab8500-codec.h.

#define AB8500_ANACONF1_EARDRVLOWPOW   0

Definition at line 176 of file ab8500-codec.h.

#define AB8500_ANACONF1_EARSELCM   2

Definition at line 174 of file ab8500-codec.h.

#define AB8500_ANACONF1_HSHPEN   1

Definition at line 175 of file ab8500-codec.h.

#define AB8500_ANACONF1_HSLOWPOW   7

Definition at line 170 of file ab8500-codec.h.

#define AB8500_ANACONF2   0x05

Definition at line 34 of file ab8500-codec.h.

#define AB8500_ANACONF2_ENLINL   5

Definition at line 181 of file ab8500-codec.h.

#define AB8500_ANACONF2_ENLINR   4

Definition at line 182 of file ab8500-codec.h.

#define AB8500_ANACONF2_ENMIC1   7

Definition at line 179 of file ab8500-codec.h.

#define AB8500_ANACONF2_ENMIC2   6

Definition at line 180 of file ab8500-codec.h.

#define AB8500_ANACONF2_MUTLINL   1

Definition at line 185 of file ab8500-codec.h.

#define AB8500_ANACONF2_MUTLINR   0

Definition at line 186 of file ab8500-codec.h.

#define AB8500_ANACONF2_MUTMIC1   3

Definition at line 183 of file ab8500-codec.h.

#define AB8500_ANACONF2_MUTMIC2   2

Definition at line 184 of file ab8500-codec.h.

#define AB8500_ANACONF3   0x07

Definition at line 36 of file ab8500-codec.h.

#define AB8500_ANACONF3_ENADCLINL   1

Definition at line 203 of file ab8500-codec.h.

#define AB8500_ANACONF3_ENADCLINR   0

Definition at line 204 of file ab8500-codec.h.

#define AB8500_ANACONF3_ENADCMIC   2

Definition at line 202 of file ab8500-codec.h.

#define AB8500_ANACONF3_ENDRVHSL   5

Definition at line 200 of file ab8500-codec.h.

#define AB8500_ANACONF3_ENDRVHSR   4

Definition at line 201 of file ab8500-codec.h.

#define AB8500_ANACONF3_LINRSEL   6

Definition at line 199 of file ab8500-codec.h.

#define AB8500_ANACONF3_MIC1SEL   7

Definition at line 198 of file ab8500-codec.h.

#define AB8500_ANACONF4   0x08

Definition at line 37 of file ab8500-codec.h.

#define AB8500_ANACONF4_DISPDVSS   7

Definition at line 207 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENEAR   6

Definition at line 208 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENHFL   3

Definition at line 211 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENHFR   2

Definition at line 212 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENHSL   5

Definition at line 209 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENHSR   4

Definition at line 210 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENVIB1   1

Definition at line 213 of file ab8500-codec.h.

#define AB8500_ANACONF4_ENVIB2   0

Definition at line 214 of file ab8500-codec.h.

#define AB8500_ANACONF5   0x0C

Definition at line 41 of file ab8500-codec.h.

#define AB8500_ANACONF5_ENCPHS   7

Definition at line 244 of file ab8500-codec.h.

#define AB8500_ANACONF5_ENLOL   3

Definition at line 247 of file ab8500-codec.h.

#define AB8500_ANACONF5_ENLOR   2

Definition at line 248 of file ab8500-codec.h.

#define AB8500_ANACONF5_HSAUTOEN   0

Definition at line 249 of file ab8500-codec.h.

#define AB8500_ANACONF5_HSLDACTOLOL   5

Definition at line 245 of file ab8500-codec.h.

#define AB8500_ANACONF5_HSRDACTOLOR   4

Definition at line 246 of file ab8500-codec.h.

#define AB8500_ANAGAIN1   0x14

Definition at line 49 of file ab8500-codec.h.

#define AB8500_ANAGAIN2   0x15

Definition at line 50 of file ab8500-codec.h.

#define AB8500_ANAGAIN3   0x16

Definition at line 51 of file ab8500-codec.h.

#define AB8500_ANAGAIN3_HSLGAIN   4

Definition at line 289 of file ab8500-codec.h.

#define AB8500_ANAGAIN3_HSRGAIN   0

Definition at line 290 of file ab8500-codec.h.

#define AB8500_ANAGAIN3_HSXGAIN_MAX   0x0F

Definition at line 291 of file ab8500-codec.h.

#define AB8500_ANAGAIN4   0x17

Definition at line 52 of file ab8500-codec.h.

#define AB8500_ANAGAIN4_LINLGAIN   4

Definition at line 294 of file ab8500-codec.h.

#define AB8500_ANAGAIN4_LINRGAIN   0

Definition at line 295 of file ab8500-codec.h.

#define AB8500_ANAGAIN4_LINXGAIN_MAX   0x0F

Definition at line 296 of file ab8500-codec.h.

#define AB8500_ANAGAINX_ENSEMICX   7

Definition at line 283 of file ab8500-codec.h.

#define AB8500_ANAGAINX_LOWPOWMICX   6

Definition at line 284 of file ab8500-codec.h.

#define AB8500_ANAGAINX_MICXGAIN   0

Definition at line 285 of file ab8500-codec.h.

#define AB8500_ANAGAINX_MICXGAIN_MAX   0x1F

Definition at line 286 of file ab8500-codec.h.

#define AB8500_ANC_FIR_COEFF_MAX   0x7FFF

Definition at line 520 of file ab8500-codec.h.

#define AB8500_ANC_FIR_COEFF_MIN   -0x8000

Definition at line 519 of file ab8500-codec.h.

#define AB8500_ANC_FIR_COEFFS   15

Definition at line 521 of file ab8500-codec.h.

#define AB8500_ANC_IIR_COEFF_MAX   0x7FFFFF

Definition at line 525 of file ab8500-codec.h.

#define AB8500_ANC_IIR_COEFF_MIN   -0x800000

Definition at line 524 of file ab8500-codec.h.

#define AB8500_ANC_IIR_COEFFS   24

Definition at line 526 of file ab8500-codec.h.

#define AB8500_ANC_WARP_DELAY_MAX   0xFFFF

Definition at line 530 of file ab8500-codec.h.

#define AB8500_ANC_WARP_DELAY_MIN   0x0000

Definition at line 529 of file ab8500-codec.h.

#define AB8500_ANC_WARP_DELAY_SHIFT   16

Definition at line 528 of file ab8500-codec.h.

#define AB8500_ANCCONF1   0x53

Definition at line 112 of file ab8500-codec.h.

#define AB8500_ANCCONF10   0x5C

Definition at line 121 of file ab8500-codec.h.

#define AB8500_ANCCONF11   0x5D

Definition at line 122 of file ab8500-codec.h.

#define AB8500_ANCCONF12   0x5E

Definition at line 123 of file ab8500-codec.h.

#define AB8500_ANCCONF13   0x5F

Definition at line 124 of file ab8500-codec.h.

#define AB8500_ANCCONF14   0x60

Definition at line 125 of file ab8500-codec.h.

#define AB8500_ANCCONF1_ANCFIRUPDATE   0

Definition at line 501 of file ab8500-codec.h.

#define AB8500_ANCCONF1_ANCIIRINIT   1

Definition at line 500 of file ab8500-codec.h.

#define AB8500_ANCCONF1_ANCIIRUPDATE   3

Definition at line 498 of file ab8500-codec.h.

#define AB8500_ANCCONF1_ENANC   2

Definition at line 499 of file ab8500-codec.h.

#define AB8500_ANCCONF2   0x54

Definition at line 113 of file ab8500-codec.h.

#define AB8500_ANCCONF2_MAX   0xF

Definition at line 506 of file ab8500-codec.h.

#define AB8500_ANCCONF2_MIN   -0x10

Definition at line 505 of file ab8500-codec.h.

#define AB8500_ANCCONF2_SHIFT   5

Definition at line 504 of file ab8500-codec.h.

#define AB8500_ANCCONF3   0x55

Definition at line 114 of file ab8500-codec.h.

#define AB8500_ANCCONF3_MAX   0xF

Definition at line 511 of file ab8500-codec.h.

#define AB8500_ANCCONF3_MIN   -0x10

Definition at line 510 of file ab8500-codec.h.

#define AB8500_ANCCONF3_SHIFT   5

Definition at line 509 of file ab8500-codec.h.

#define AB8500_ANCCONF4   0x56

Definition at line 115 of file ab8500-codec.h.

#define AB8500_ANCCONF4_MAX   0xF

Definition at line 516 of file ab8500-codec.h.

#define AB8500_ANCCONF4_MIN   -0x10

Definition at line 515 of file ab8500-codec.h.

#define AB8500_ANCCONF4_SHIFT   5

Definition at line 514 of file ab8500-codec.h.

#define AB8500_ANCCONF5   0x57

Definition at line 116 of file ab8500-codec.h.

#define AB8500_ANCCONF6   0x58

Definition at line 117 of file ab8500-codec.h.

#define AB8500_ANCCONF7   0x59

Definition at line 118 of file ab8500-codec.h.

#define AB8500_ANCCONF8   0x5A

Definition at line 119 of file ab8500-codec.h.

#define AB8500_ANCCONF9   0x5B

Definition at line 120 of file ab8500-codec.h.

#define AB8500_AUDINTMASK1   0x65

Definition at line 130 of file ab8500-codec.h.

#define AB8500_AUDINTMASK2   0x67

Definition at line 132 of file ab8500-codec.h.

#define AB8500_AUDINTSOURCE1   0x66

Definition at line 131 of file ab8500-codec.h.

#define AB8500_AUDINTSOURCE2   0x68

Definition at line 133 of file ab8500-codec.h.

#define AB8500_AUDREV   0x6F

Definition at line 140 of file ab8500-codec.h.

#define AB8500_AUDSWRESET   0x01

Definition at line 30 of file ab8500-codec.h.

#define AB8500_AUDSWRESET_SWRESET   7

Definition at line 154 of file ab8500-codec.h.

#define AB8500_CACHEREGNUM   (AB8500_LAST_REG + 1)

Definition at line 144 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1   0x3B

Definition at line 88 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1_HFLSWAPEN   1

Definition at line 413 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1_HFRSWAPEN   0

Definition at line 414 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1_PARLHF   7

Definition at line 409 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1_PARLVIB   6

Definition at line 410 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1_VIB1SWAPEN   3

Definition at line 411 of file ab8500-codec.h.

#define AB8500_CLASSDCONF1_VIB2SWAPEN   2

Definition at line 412 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2   0x3C

Definition at line 89 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_FIRBYP0   4

Definition at line 420 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_FIRBYP1   5

Definition at line 419 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_FIRBYP2   6

Definition at line 418 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_FIRBYP3   7

Definition at line 417 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_HIGHVOLEN0   0

Definition at line 424 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_HIGHVOLEN1   1

Definition at line 423 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_HIGHVOLEN2   2

Definition at line 422 of file ab8500-codec.h.

#define AB8500_CLASSDCONF2_HIGHVOLEN3   3

Definition at line 421 of file ab8500-codec.h.

#define AB8500_CLASSDCONF3   0x3D

Definition at line 90 of file ab8500-codec.h.

#define AB8500_CLASSDCONF3_DITHHPGAIN   4

Definition at line 427 of file ab8500-codec.h.

#define AB8500_CLASSDCONF3_DITHHPGAIN_MAX   0x0A

Definition at line 428 of file ab8500-codec.h.

#define AB8500_CLASSDCONF3_DITHWGAIN   0

Definition at line 429 of file ab8500-codec.h.

#define AB8500_CLASSDCONF3_DITHWGAIN_MAX   0x0A

Definition at line 430 of file ab8500-codec.h.

#define AB8500_DADIGGAIN1   0x47

Definition at line 100 of file ab8500-codec.h.

#define AB8500_DADIGGAIN2   0x48

Definition at line 101 of file ab8500-codec.h.

#define AB8500_DADIGGAIN3   0x49

Definition at line 102 of file ab8500-codec.h.

#define AB8500_DADIGGAIN4   0x4A

Definition at line 103 of file ab8500-codec.h.

#define AB8500_DADIGGAIN5   0x4B

Definition at line 104 of file ab8500-codec.h.

#define AB8500_DADIGGAIN6   0x4C

Definition at line 105 of file ab8500-codec.h.

#define AB8500_DADIGGAINX_DAXGAIN_MAX   0x3F

Definition at line 476 of file ab8500-codec.h.

#define AB8500_DADIGGAINX_FADEDISDAX   6

Definition at line 475 of file ab8500-codec.h.

#define AB8500_DAPATHCONF   0x09

Definition at line 38 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACEAR   6

Definition at line 217 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACHFL   3

Definition at line 220 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACHFR   2

Definition at line 221 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACHSL   5

Definition at line 218 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACHSR   4

Definition at line 219 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACVIB1   1

Definition at line 222 of file ab8500-codec.h.

#define AB8500_DAPATHCONF_ENDACVIB2   0

Definition at line 223 of file ab8500-codec.h.

#define AB8500_DAPATHENA   0x03

Definition at line 32 of file ab8500-codec.h.

#define AB8500_DAPATHENA_ENDA1   7

Definition at line 162 of file ab8500-codec.h.

#define AB8500_DAPATHENA_ENDA2   6

Definition at line 163 of file ab8500-codec.h.

#define AB8500_DAPATHENA_ENDA3   5

Definition at line 164 of file ab8500-codec.h.

#define AB8500_DAPATHENA_ENDA4   4

Definition at line 165 of file ab8500-codec.h.

#define AB8500_DAPATHENA_ENDA5   3

Definition at line 166 of file ab8500-codec.h.

#define AB8500_DAPATHENA_ENDA6   2

Definition at line 167 of file ab8500-codec.h.

#define AB8500_DASLOTCONF1   0x33

Definition at line 80 of file ab8500-codec.h.

#define AB8500_DASLOTCONF1_DA12VOICE   7

Definition at line 378 of file ab8500-codec.h.

#define AB8500_DASLOTCONF1_DAI7TOADO1   5

Definition at line 380 of file ab8500-codec.h.

#define AB8500_DASLOTCONF1_SWAPDA12_34   6

Definition at line 379 of file ab8500-codec.h.

#define AB8500_DASLOTCONF2   0x34

Definition at line 81 of file ab8500-codec.h.

#define AB8500_DASLOTCONF2_DAI8TOADO2   5

Definition at line 383 of file ab8500-codec.h.

#define AB8500_DASLOTCONF3   0x35

Definition at line 82 of file ab8500-codec.h.

#define AB8500_DASLOTCONF3_DA34VOICE   7

Definition at line 386 of file ab8500-codec.h.

#define AB8500_DASLOTCONF3_DAI7TOADO3   5

Definition at line 387 of file ab8500-codec.h.

#define AB8500_DASLOTCONF4   0x36

Definition at line 83 of file ab8500-codec.h.

#define AB8500_DASLOTCONF4_DAI8TOADO4   5

Definition at line 390 of file ab8500-codec.h.

#define AB8500_DASLOTCONF5   0x37

Definition at line 84 of file ab8500-codec.h.

#define AB8500_DASLOTCONF5_DA56VOICE   7

Definition at line 393 of file ab8500-codec.h.

#define AB8500_DASLOTCONF5_DAI7TOADO5   5

Definition at line 394 of file ab8500-codec.h.

#define AB8500_DASLOTCONF6   0x38

Definition at line 85 of file ab8500-codec.h.

#define AB8500_DASLOTCONF6_DAI8TOADO6   5

Definition at line 397 of file ab8500-codec.h.

#define AB8500_DASLOTCONF7   0x39

Definition at line 86 of file ab8500-codec.h.

#define AB8500_DASLOTCONF7_DAI8TOADO7   5

Definition at line 400 of file ab8500-codec.h.

#define AB8500_DASLOTCONF8   0x3A

Definition at line 87 of file ab8500-codec.h.

#define AB8500_DASLOTCONF8_DAI7TOADO8   5

Definition at line 403 of file ab8500-codec.h.

#define AB8500_DASLOTCONFX_SLTODAX_MASK   0x1F

Definition at line 406 of file ab8500-codec.h.

#define AB8500_DASLOTCONFX_SLTODAX_SHIFT   0

Definition at line 405 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1   0x1B

Definition at line 56 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_ENFSBITCLK0   0

Definition at line 320 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_ENFSBITCLK1   4

Definition at line 317 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_ENMASTGEN   7

Definition at line 314 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_IF0BITCLKOS0   1

Definition at line 319 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_IF0BITCLKOS1   2

Definition at line 318 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_IF1BITCLKOS0   5

Definition at line 316 of file ab8500-codec.h.

#define AB8500_DIGIFCONF1_IF1BITCLKOS1   6

Definition at line 315 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2   0x1C

Definition at line 57 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_BITCLK0P   5

Definition at line 324 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_FSYNC0P   6

Definition at line 323 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_IF0DEL   4

Definition at line 325 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_IF0FORMAT0   2

Definition at line 327 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_IF0FORMAT1   3

Definition at line 326 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_IF0WL0   0

Definition at line 329 of file ab8500-codec.h.

#define AB8500_DIGIFCONF2_IF0WL1   1

Definition at line 328 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3   0x1D

Definition at line 58 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF0BFIFOEN   0

Definition at line 338 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF0CLKTOIF1CLK   6

Definition at line 333 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF0DATOIF1AD   7

Definition at line 332 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF0MASTER   1

Definition at line 337 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF1CLKTOIF0CLK   2

Definition at line 336 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF1DATOIF0AD   3

Definition at line 335 of file ab8500-codec.h.

#define AB8500_DIGIFCONF3_IF1MASTER   5

Definition at line 334 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4   0x1E

Definition at line 59 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_BITCLK1P   5

Definition at line 342 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_FSYNC1P   6

Definition at line 341 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_IF1DEL   4

Definition at line 343 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_IF1FORMAT0   2

Definition at line 345 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_IF1FORMAT1   3

Definition at line 344 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_IF1WL0   0

Definition at line 347 of file ab8500-codec.h.

#define AB8500_DIGIFCONF4_IF1WL1   1

Definition at line 346 of file ab8500-codec.h.

#define AB8500_DIGLINHSLGAIN   0x18

Definition at line 53 of file ab8500-codec.h.

#define AB8500_DIGLINHSRGAIN   0x19

Definition at line 54 of file ab8500-codec.h.

#define AB8500_DIGLINHSXGAIN_LINTOHSXGAIN   0

Definition at line 300 of file ab8500-codec.h.

#define AB8500_DIGLINHSXGAIN_LINTOHSXGAIN_MAX   0x13

Definition at line 301 of file ab8500-codec.h.

#define AB8500_DIGMICCONF   0x06

Definition at line 35 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_ENDMIC1   7

Definition at line 189 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_ENDMIC2   6

Definition at line 190 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_ENDMIC3   5

Definition at line 191 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_ENDMIC4   4

Definition at line 192 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_ENDMIC5   3

Definition at line 193 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_ENDMIC6   2

Definition at line 194 of file ab8500-codec.h.

#define AB8500_DIGMICCONF_HSFADSPEED   0

Definition at line 195 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1   0x3F

Definition at line 92 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_AD1SEL   5

Definition at line 445 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_AD2SEL   4

Definition at line 446 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_AD3SEL   3

Definition at line 447 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_AD5SEL   2

Definition at line 448 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_AD6SEL   1

Definition at line 449 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_ANCSEL   0

Definition at line 450 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_DATOHSLEN   7

Definition at line 443 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF1_DATOHSREN   6

Definition at line 444 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2   0x40

Definition at line 93 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2_DATOHFLEN   6

Definition at line 454 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2_DATOHFREN   7

Definition at line 453 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2_FIRSID1SEL   2

Definition at line 457 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2_FIRSID2SEL   0

Definition at line 458 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2_HFLSEL   4

Definition at line 456 of file ab8500-codec.h.

#define AB8500_DIGMULTCONF2_HFRSEL   5

Definition at line 455 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF   0x3E

Definition at line 91 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_ANCINSEL   7

Definition at line 433 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DA3TOEAR   6

Definition at line 434 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DMIC1SINC3   5

Definition at line 435 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DMIC2SINC3   4

Definition at line 436 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DMIC3SINC3   3

Definition at line 437 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DMIC4SINC3   2

Definition at line 438 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DMIC5SINC3   1

Definition at line 439 of file ab8500-codec.h.

#define AB8500_DMICFILTCONF_DMIC6SINC3   0

Definition at line 440 of file ab8500-codec.h.

#define AB8500_ENVCPCONF   0x0D

Definition at line 42 of file ab8500-codec.h.

#define AB8500_ENVCPCONF_ENVDETHTHRE   4

Definition at line 252 of file ab8500-codec.h.

#define AB8500_ENVCPCONF_ENVDETHTHRE_MAX   0x0F

Definition at line 254 of file ab8500-codec.h.

#define AB8500_ENVCPCONF_ENVDETLTHRE   0

Definition at line 253 of file ab8500-codec.h.

#define AB8500_ENVCPCONF_ENVDETLTHRE_MAX   0x0F

Definition at line 255 of file ab8500-codec.h.

#define AB8500_FIFOCONF1   0x69

Definition at line 134 of file ab8500-codec.h.

#define AB8500_FIFOCONF1_BFIFO19M2   0x40

Definition at line 560 of file ab8500-codec.h.

#define AB8500_FIFOCONF1_BFIFOINT_MAX   0x3F

Definition at line 562 of file ab8500-codec.h.

#define AB8500_FIFOCONF1_BFIFOINT_SHIFT   0

Definition at line 561 of file ab8500-codec.h.

#define AB8500_FIFOCONF1_BFIFOMASK   0x80

Definition at line 559 of file ab8500-codec.h.

#define AB8500_FIFOCONF2   0x6A

Definition at line 135 of file ab8500-codec.h.

#define AB8500_FIFOCONF2_BFIFOTX_MAX   0xFF

Definition at line 566 of file ab8500-codec.h.

#define AB8500_FIFOCONF2_BFIFOTX_SHIFT   0

Definition at line 565 of file ab8500-codec.h.

#define AB8500_FIFOCONF3   0x6B

Definition at line 136 of file ab8500-codec.h.

#define AB8500_FIFOCONF3_BFIFOEXSL_MAX   0x5

Definition at line 570 of file ab8500-codec.h.

#define AB8500_FIFOCONF3_BFIFOEXSL_SHIFT   5

Definition at line 569 of file ab8500-codec.h.

#define AB8500_FIFOCONF3_BFIFOMAST_SHIFT   1

Definition at line 573 of file ab8500-codec.h.

#define AB8500_FIFOCONF3_BFIFORUN_SHIFT   0

Definition at line 574 of file ab8500-codec.h.

#define AB8500_FIFOCONF3_PREBITCLK0_MAX   0x7

Definition at line 572 of file ab8500-codec.h.

#define AB8500_FIFOCONF3_PREBITCLK0_SHIFT   2

Definition at line 571 of file ab8500-codec.h.

#define AB8500_FIFOCONF4   0x6C

Definition at line 137 of file ab8500-codec.h.

#define AB8500_FIFOCONF4_BFIFOFRAMSW_MAX   0xFF

Definition at line 578 of file ab8500-codec.h.

#define AB8500_FIFOCONF4_BFIFOFRAMSW_SHIFT   0

Definition at line 577 of file ab8500-codec.h.

#define AB8500_FIFOCONF5   0x6D

Definition at line 138 of file ab8500-codec.h.

#define AB8500_FIFOCONF5_BFIFOWAKEUP_MAX   0xFF

Definition at line 582 of file ab8500-codec.h.

#define AB8500_FIFOCONF5_BFIFOWAKEUP_SHIFT   0

Definition at line 581 of file ab8500-codec.h.

#define AB8500_FIFOCONF6   0x6E

Definition at line 139 of file ab8500-codec.h.

#define AB8500_FIFOCONF6_BFIFOSAMPLE_MAX   0xFF

Definition at line 586 of file ab8500-codec.h.

#define AB8500_FIFOCONF6_BFIFOSAMPLE_SHIFT   0

Definition at line 585 of file ab8500-codec.h.

#define AB8500_FIRST_REG   AB8500_POWERUP

Definition at line 142 of file ab8500-codec.h.

#define AB8500_HSLEARDIGGAIN   0x4F

Definition at line 108 of file ab8500-codec.h.

#define AB8500_HSLEARDIGGAIN_FADEDISHSL   4

Definition at line 485 of file ab8500-codec.h.

#define AB8500_HSLEARDIGGAIN_HSLDGAIN_MAX   0x09

Definition at line 486 of file ab8500-codec.h.

#define AB8500_HSLEARDIGGAIN_HSSINC1   7

Definition at line 484 of file ab8500-codec.h.

#define AB8500_HSRDIGGAIN   0x50

Definition at line 109 of file ab8500-codec.h.

#define AB8500_HSRDIGGAIN_FADEDISHSR   4

Definition at line 490 of file ab8500-codec.h.

#define AB8500_HSRDIGGAIN_FADESPEED   6

Definition at line 489 of file ab8500-codec.h.

#define AB8500_HSRDIGGAIN_HSRDGAIN_MAX   0x09

Definition at line 491 of file ab8500-codec.h.

#define AB8500_LAST_REG   AB8500_AUDREV

Definition at line 143 of file ab8500-codec.h.

#define AB8500_MASK_ALL   0xFF

Definition at line 146 of file ab8500-codec.h.

#define AB8500_MASK_NONE   0x00

Definition at line 147 of file ab8500-codec.h.

#define AB8500_MUTECONF   0x0A

Definition at line 39 of file ab8500-codec.h.

#define AB8500_MUTECONF_MUTDACEAR   2

Definition at line 229 of file ab8500-codec.h.

#define AB8500_MUTECONF_MUTDACHSL   1

Definition at line 230 of file ab8500-codec.h.

#define AB8500_MUTECONF_MUTDACHSR   0

Definition at line 231 of file ab8500-codec.h.

#define AB8500_MUTECONF_MUTEAR   6

Definition at line 226 of file ab8500-codec.h.

#define AB8500_MUTECONF_MUTHSL   5

Definition at line 227 of file ab8500-codec.h.

#define AB8500_MUTECONF_MUTHSR   4

Definition at line 228 of file ab8500-codec.h.

#define AB8500_POWERUP   0x00

Definition at line 29 of file ab8500-codec.h.

#define AB8500_POWERUP_ENANA   3

Definition at line 151 of file ab8500-codec.h.

#define AB8500_POWERUP_POWERUP   7

Definition at line 150 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1   0x0F

Definition at line 44 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWM1CTRL   5

Definition at line 266 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWM1NCTRL   3

Definition at line 268 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWM1PCTRL   2

Definition at line 269 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWM2CTRL   4

Definition at line 267 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWM2NCTRL   1

Definition at line 270 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWM2PCTRL   0

Definition at line 271 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWMTOVIB1   7

Definition at line 264 of file ab8500-codec.h.

#define AB8500_PWMGENCONF1_PWMTOVIB2   6

Definition at line 265 of file ab8500-codec.h.

#define AB8500_PWMGENCONF2   0x10

Definition at line 45 of file ab8500-codec.h.

#define AB8500_PWMGENCONF3   0x11

Definition at line 46 of file ab8500-codec.h.

#define AB8500_PWMGENCONF4   0x12

Definition at line 47 of file ab8500-codec.h.

#define AB8500_PWMGENCONF5   0x13

Definition at line 48 of file ab8500-codec.h.

#define AB8500_PWMGENCONFX_PWMVIBXDUTCYC   0

Definition at line 278 of file ab8500-codec.h.

#define AB8500_PWMGENCONFX_PWMVIBXDUTCYC_MAX   0x64

Definition at line 279 of file ab8500-codec.h.

#define AB8500_PWMGENCONFX_PWMVIBXPOL   7

Definition at line 277 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF   0x0B

Definition at line 40 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_EARSHORTDIS   6

Definition at line 235 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_ENSHORTPWD   7

Definition at line 234 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_HSFADDIS   1

Definition at line 239 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_HSOSCEN   2

Definition at line 238 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_HSPULLDEN   4

Definition at line 237 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_HSSHORTDIS   5

Definition at line 236 of file ab8500-codec.h.

#define AB8500_SHORTCIRCONF_HSZCDDIS   0

Definition at line 240 of file ab8500-codec.h.

#define AB8500_SID_FIR_COEFF_MAX   0xFFFF

Definition at line 545 of file ab8500-codec.h.

#define AB8500_SID_FIR_COEFF_MIN   0

Definition at line 544 of file ab8500-codec.h.

#define AB8500_SID_FIR_COEFFS   128

Definition at line 546 of file ab8500-codec.h.

#define AB8500_SIDFIRADR   0x61

Definition at line 126 of file ab8500-codec.h.

#define AB8500_SIDFIRADR_ADDRESS_MAX   0x7F

Definition at line 540 of file ab8500-codec.h.

#define AB8500_SIDFIRADR_ADDRESS_SHIFT   0

Definition at line 539 of file ab8500-codec.h.

#define AB8500_SIDFIRADR_FIRSIDSET   7

Definition at line 538 of file ab8500-codec.h.

#define AB8500_SIDFIRCOEF1   0x62

Definition at line 127 of file ab8500-codec.h.

#define AB8500_SIDFIRCOEF2   0x63

Definition at line 128 of file ab8500-codec.h.

#define AB8500_SIDFIRCONF   0x64

Definition at line 129 of file ab8500-codec.h.

#define AB8500_SIDFIRCONF_ENFIRSIDS   2

Definition at line 549 of file ab8500-codec.h.

#define AB8500_SIDFIRCONF_FIRSIDBUSY   0

Definition at line 551 of file ab8500-codec.h.

#define AB8500_SIDFIRCONF_FIRSIDSTOIF1   1

Definition at line 550 of file ab8500-codec.h.

#define AB8500_SIDFIRGAIN1   0x51

Definition at line 110 of file ab8500-codec.h.

#define AB8500_SIDFIRGAIN2   0x52

Definition at line 111 of file ab8500-codec.h.

#define AB8500_SIDFIRGAINX_FIRSIDXGAIN_MAX   0x1F

Definition at line 495 of file ab8500-codec.h.

#define AB8500_SIGENVCONF   0x0E

Definition at line 43 of file ab8500-codec.h.

#define AB8500_SIGENVCONF_CPLVEN   5

Definition at line 258 of file ab8500-codec.h.

#define AB8500_SIGENVCONF_ENVDETCPEN   4

Definition at line 259 of file ab8500-codec.h.

#define AB8500_SIGENVCONF_ENVDETTIME   0

Definition at line 260 of file ab8500-codec.h.

#define AB8500_SIGENVCONF_ENVDETTIME_MAX   0x0F

Definition at line 261 of file ab8500-codec.h.

#define AB8500_SUPPORTED_FMT   (SNDRV_PCM_FMTBIT_S16_LE)

Definition at line 25 of file ab8500-codec.h.

#define AB8500_SUPPORTED_RATE   (SNDRV_PCM_RATE_48000)

Definition at line 24 of file ab8500-codec.h.