diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/tlv320.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h index d07b0a199c..c4599f02b2 100644 --- a/firmware/export/tlv320.h +++ b/firmware/export/tlv320.h | |||
@@ -41,25 +41,25 @@ extern void tlv320_disable_recording(void); | |||
41 | #define REG_LLIV 0x0 | 41 | #define REG_LLIV 0x0 |
42 | #define LLIV_LRS (0 << 8) /* simultaneous volume/mute update */ | 42 | #define LLIV_LRS (0 << 8) /* simultaneous volume/mute update */ |
43 | #define LLIV_LIM (1 << 7) /* Left line input mute */ | 43 | #define LLIV_LIM (1 << 7) /* Left line input mute */ |
44 | #define LLIV_LIV ((x) & 0x1f)/* Left line input volume control */ | 44 | #define LLIV_LIV(x) ((x) & 0x1f)/* Left line input volume control */ |
45 | 45 | ||
46 | /* REG_RLIV: Right line input channel volume control */ | 46 | /* REG_RLIV: Right line input channel volume control */ |
47 | #define REG_RLIV 0x1 | 47 | #define REG_RLIV 0x1 |
48 | #define RLIV_RLS (0 << 8) /* simultaneous volume/mute update */ | 48 | #define RLIV_RLS (0 << 8) /* simultaneous volume/mute update */ |
49 | #define RLIV_RIM (0 << 7) /* Right line input mute */ | 49 | #define RLIV_RIM (0 << 7) /* Right line input mute */ |
50 | #define RLIV_LIV ((x) & 0x1f)/* Right line input volume control */ | 50 | #define RLIV_RIV(x) ((x) & 0x1f)/* Right line input volume control */ |
51 | 51 | ||
52 | /* REG_LHV: Left Channel Headphone Volume Control */ | 52 | /* REG_LHV: Left Channel Headphone Volume Control */ |
53 | #define REG_LHV 0x2 | 53 | #define REG_LHV 0x2 |
54 | #define LHV_LRS (0 << 8) /* simultaneous volume/mute update */ | 54 | #define LHV_LRS (0 << 8) /* simultaneous volume/mute update */ |
55 | #define LHV_LZC (0 << 7) /* Left-channel zero-cross detect */ | 55 | #define LHV_LZC (0 << 7) /* Left-channel zero-cross detect */ |
56 | #define LHV_LHV ((x) & 0x7f)/* Left headphone volume control */ | 56 | #define LHV_LHV(x) ((x) & 0x7f)/* Left headphone volume control */ |
57 | 57 | ||
58 | /* REG_RHV: Right Channel Headphone Volume Control */ | 58 | /* REG_RHV: Right Channel Headphone Volume Control */ |
59 | #define REG_RHV 0x3 | 59 | #define REG_RHV 0x3 |
60 | #define RHV_LRS (0 << 8) /* simultaneous volume/mute update */ | 60 | #define RHV_LRS (0 << 8) /* simultaneous volume/mute update */ |
61 | #define RHV_RZC (0 << 7) /* Right-channel zero-cross detect */ | 61 | #define RHV_RZC (0 << 7) /* Right-channel zero-cross detect */ |
62 | #define RHV_LHV ((x) & 0x7f)/* Right headphone volume control */ | 62 | #define RHV_RHV(x) ((x) & 0x7f)/* Right headphone volume control */ |
63 | 63 | ||
64 | /* REG_AAP: Analog Audio Path Control */ | 64 | /* REG_AAP: Analog Audio Path Control */ |
65 | #define REG_AAP 0x4 | 65 | #define REG_AAP 0x4 |