wm8903.h (695884fb8acd9857e0e7120ccb2150e30f4b8fef) | wm8903.h (8ceed344afab2d89516e6d52634ad81920762993) |
---|---|
1/* 2 * wm8903.h - WM8903 audio codec interface 3 * 4 * Copyright 2008 Wolfson Microelectronics PLC. 5 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 151 unchanged lines hidden (view full) --- 160#define WM8903_VMID_RES_WIDTH 2 /* VMID_RES - [2:1] */ 161#define WM8903_VMID_BUF_ENA 0x0001 /* VMID_BUF_ENA */ 162#define WM8903_VMID_BUF_ENA_MASK 0x0001 /* VMID_BUF_ENA */ 163#define WM8903_VMID_BUF_ENA_SHIFT 0 /* VMID_BUF_ENA */ 164#define WM8903_VMID_BUF_ENA_WIDTH 1 /* VMID_BUF_ENA */ 165 166#define WM8903_VMID_RES_50K 2 167#define WM8903_VMID_RES_250K 3 | 1/* 2 * wm8903.h - WM8903 audio codec interface 3 * 4 * Copyright 2008 Wolfson Microelectronics PLC. 5 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 151 unchanged lines hidden (view full) --- 160#define WM8903_VMID_RES_WIDTH 2 /* VMID_RES - [2:1] */ 161#define WM8903_VMID_BUF_ENA 0x0001 /* VMID_BUF_ENA */ 162#define WM8903_VMID_BUF_ENA_MASK 0x0001 /* VMID_BUF_ENA */ 163#define WM8903_VMID_BUF_ENA_SHIFT 0 /* VMID_BUF_ENA */ 164#define WM8903_VMID_BUF_ENA_WIDTH 1 /* VMID_BUF_ENA */ 165 166#define WM8903_VMID_RES_50K 2 167#define WM8903_VMID_RES_250K 3 |
168#define WM8903_VMID_RES_5K 4 | 168#define WM8903_VMID_RES_5K 6 |
169 170/* 171 * R8 (0x08) - Analogue DAC 0 172 */ 173#define WM8903_DACBIAS_SEL_MASK 0x0018 /* DACBIAS_SEL - [4:3] */ 174#define WM8903_DACBIAS_SEL_SHIFT 3 /* DACBIAS_SEL - [4:3] */ 175#define WM8903_DACBIAS_SEL_WIDTH 2 /* DACBIAS_SEL - [4:3] */ 176#define WM8903_DACVMID_BIAS_SEL_MASK 0x0006 /* DACVMID_BIAS_SEL - [2:1] */ --- 1041 unchanged lines hidden --- | 169 170/* 171 * R8 (0x08) - Analogue DAC 0 172 */ 173#define WM8903_DACBIAS_SEL_MASK 0x0018 /* DACBIAS_SEL - [4:3] */ 174#define WM8903_DACBIAS_SEL_SHIFT 3 /* DACBIAS_SEL - [4:3] */ 175#define WM8903_DACBIAS_SEL_WIDTH 2 /* DACBIAS_SEL - [4:3] */ 176#define WM8903_DACVMID_BIAS_SEL_MASK 0x0006 /* DACVMID_BIAS_SEL - [2:1] */ --- 1041 unchanged lines hidden --- |