tas5720.h (c24a62be09d8a0c7ede1c209055a4ac6760a45ee) | tas5720.h (88f748e38b283702a620e635820f1864bf32db0e) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * tas5720.h - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 4 * 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 6 * 7 * Author: Andreas Dannenberg <dannenberg@ti.com> 8 */ --- 67 unchanged lines hidden (view full) --- 76#define TAS5720_ANALOG_GAIN_19_2DBV (0x0 << 2) 77#define TAS5720_ANALOG_GAIN_20_7DBV (0x1 << 2) 78#define TAS5720_ANALOG_GAIN_23_5DBV (0x2 << 2) 79#define TAS5720_ANALOG_GAIN_26_3DBV (0x3 << 2) 80#define TAS5720_ANALOG_GAIN_MASK GENMASK(3, 2) 81#define TAS5720_ANALOG_GAIN_SHIFT (0x2) 82 83/* TAS5720_Q1_ANALOG_CTRL_REG */ | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * tas5720.h - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 4 * 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 6 * 7 * Author: Andreas Dannenberg <dannenberg@ti.com> 8 */ --- 67 unchanged lines hidden (view full) --- 76#define TAS5720_ANALOG_GAIN_19_2DBV (0x0 << 2) 77#define TAS5720_ANALOG_GAIN_20_7DBV (0x1 << 2) 78#define TAS5720_ANALOG_GAIN_23_5DBV (0x2 << 2) 79#define TAS5720_ANALOG_GAIN_26_3DBV (0x3 << 2) 80#define TAS5720_ANALOG_GAIN_MASK GENMASK(3, 2) 81#define TAS5720_ANALOG_GAIN_SHIFT (0x2) 82 83/* TAS5720_Q1_ANALOG_CTRL_REG */ |
84#define TAS5720_Q1_RESERVED7_BIT BIT(7) |
|
84#define TAS5720_Q1_CHAN_SEL BIT(1) 85 86/* TAS5720_FAULT_REG */ 87#define TAS5720_OC_THRESH_100PCT (0x0 << 4) 88#define TAS5720_OC_THRESH_75PCT (0x1 << 4) 89#define TAS5720_OC_THRESH_50PCT (0x2 << 4) 90#define TAS5720_OC_THRESH_25PCT (0x3 << 4) 91#define TAS5720_OC_THRESH_MASK GENMASK(5, 4) --- 35 unchanged lines hidden --- | 85#define TAS5720_Q1_CHAN_SEL BIT(1) 86 87/* TAS5720_FAULT_REG */ 88#define TAS5720_OC_THRESH_100PCT (0x0 << 4) 89#define TAS5720_OC_THRESH_75PCT (0x1 << 4) 90#define TAS5720_OC_THRESH_50PCT (0x2 << 4) 91#define TAS5720_OC_THRESH_25PCT (0x3 << 4) 92#define TAS5720_OC_THRESH_MASK GENMASK(5, 4) --- 35 unchanged lines hidden --- |