/* * Apple Onboard Audio driver for Onyx codec (header) * * Copyright 2006 Johannes Berg * * GPL v2, can be found in COPYING. */ #ifndef __SND_AOA_CODEC_ONYX_H #define __SND_AOA_CODEC_ONYX_H #include #include #include #include /* PCM3052 register definitions */ /* the attenuation registers take values from * -1 (0dB) to -127 (-63.0 dB) or others (muted) */ #define ONYX_REG_DAC_ATTEN_LEFT 65 #define FIRSTREGISTER ONYX_REG_DAC_ATTEN_LEFT #define ONYX_REG_DAC_ATTEN_RIGHT 66 #define ONYX_REG_CONTROL 67 # define ONYX_MRST (1<<7) # define ONYX_SRST (1<<6) # define ONYX_ADPSV (1<<5) # define ONYX_DAPSV (1<<4) # define ONYX_SILICONVERSION (1<<0) /* all others reserved */ #define ONYX_REG_DAC_CONTROL 68 # define ONYX_OVR1 (1<<6) # define ONYX_MUTE_RIGHT (1<<1) # define ONYX_MUTE_LEFT (1<<0) #define ONYX_REG_DAC_DEEMPH 69 # define ONYX_DIGDEEMPH_SHIFT 5 # define ONYX_DIGDEEMPH_MASK (3<
h.c?id=e9ea828f62891ca91e3f80bf4a438f337d59977d&showmsg=1'>Expand)
AgeCommit message (Expand)AuthorFilesLines
AuthorFilesLines