/* * 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<diff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-29 10:56:56 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-29 10:56:56 -0800
commit2c5d9555d6d937966d79d4c6529a5f7b9206e405 (patch)
tree4f3d220ea3aeaadcae0796c5456e0ef9a908071d /sound/soc/amd/Kconfig
parent53cd1ad1a68fd10f677445e04ed63aa9ce39b36b (diff)
parent2ad5d52d42810bed95100a3d912679d8864421ec (diff)
Merge branch 'parisc-4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull two parisc fixes from Helge Deller: "One fix to avoid usage of BITS_PER_LONG in user-space exported swab.h header which breaks compiling qemu, and one trivial fix for printk continuation in the parisc parport driver" * 'parisc-4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header parisc, parport_gsc: Fixes for printk continuation lines
Diffstat (limited to 'sound/soc/amd/Kconfig')