Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: sound/soc/codecs/tpa6130a2.h

Issue 6577007: CHROMIUM: ASoC: Import entire upstream ASoC tree (Closed)
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sound/soc/codecs/tlv320dac33.c ('k') | sound/soc/codecs/tpa6130a2.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * ALSA SoC TPA6130A2 amplifier driver 2 * ALSA SoC TPA6130A2 amplifier driver
3 * 3 *
4 * Copyright (C) Nokia Corporation 4 * Copyright (C) Nokia Corporation
5 * 5 *
6 * Author: Peter Ujfalusi <peter.ujfalusi@nokia.com> 6 * Author: Peter Ujfalusi <peter.ujfalusi@nokia.com>
7 * 7 *
8 * This program is free software; you can redistribute it and/or 8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License 9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation. 10 * version 2 as published by the Free Software Foundation.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #define TPA6130A2_MUTE_L (0x01 << 7) 50 #define TPA6130A2_MUTE_L (0x01 << 7)
51 51
52 /* TPA6130A2_REG_OUT_IMPEDANCE (0x03) */ 52 /* TPA6130A2_REG_OUT_IMPEDANCE (0x03) */
53 #define TPA6130A2_HIZ_R (0x01 << 0) 53 #define TPA6130A2_HIZ_R (0x01 << 0)
54 #define TPA6130A2_HIZ_L (0x01 << 1) 54 #define TPA6130A2_HIZ_L (0x01 << 1)
55 55
56 /* TPA6130A2_REG_VERSION (0x04) */ 56 /* TPA6130A2_REG_VERSION (0x04) */
57 #define TPA6130A2_VERSION_MASK (0x0f) 57 #define TPA6130A2_VERSION_MASK (0x0f)
58 58
59 extern int tpa6130a2_add_controls(struct snd_soc_codec *codec); 59 extern int tpa6130a2_add_controls(struct snd_soc_codec *codec);
60 extern int tpa6130a2_stereo_enable(struct snd_soc_codec *codec, int enable);
60 61
61 #endif /* __TPA6130A2_H__ */ 62 #endif /* __TPA6130A2_H__ */
OLDNEW
« no previous file with comments | « sound/soc/codecs/tlv320dac33.c ('k') | sound/soc/codecs/tpa6130a2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698