Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.7 55 lines 1.7 kB view raw
1/* 2 * TAS571x amplifier audio driver 3 * 4 * Copyright (C) 2015 Google, Inc. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 */ 11 12#ifndef _TAS571X_H 13#define _TAS571X_H 14 15/* device registers */ 16#define TAS571X_CLK_CTRL_REG 0x00 17#define TAS571X_DEV_ID_REG 0x01 18#define TAS571X_ERR_STATUS_REG 0x02 19#define TAS571X_SYS_CTRL_1_REG 0x03 20#define TAS571X_SDI_REG 0x04 21#define TAS571X_SDI_FMT_MASK 0x0f 22 23#define TAS571X_SYS_CTRL_2_REG 0x05 24#define TAS571X_SYS_CTRL_2_SDN_MASK 0x40 25 26#define TAS571X_SOFT_MUTE_REG 0x06 27#define TAS571X_SOFT_MUTE_CH1_SHIFT 0 28#define TAS571X_SOFT_MUTE_CH2_SHIFT 1 29#define TAS571X_SOFT_MUTE_CH3_SHIFT 2 30 31#define TAS571X_MVOL_REG 0x07 32#define TAS571X_CH1_VOL_REG 0x08 33#define TAS571X_CH2_VOL_REG 0x09 34#define TAS571X_CH3_VOL_REG 0x0a 35#define TAS571X_VOL_CFG_REG 0x0e 36#define TAS571X_MODULATION_LIMIT_REG 0x10 37#define TAS571X_IC_DELAY_CH1_REG 0x11 38#define TAS571X_IC_DELAY_CH2_REG 0x12 39#define TAS571X_IC_DELAY_CH3_REG 0x13 40#define TAS571X_IC_DELAY_CH4_REG 0x14 41 42#define TAS571X_PWM_CH_SDN_GROUP_REG 0x19 /* N/A on TAS5717, TAS5719 */ 43#define TAS571X_PWM_CH1_SDN_MASK (1<<0) 44#define TAS571X_PWM_CH2_SDN_SHIFT (1<<1) 45#define TAS571X_PWM_CH3_SDN_SHIFT (1<<2) 46#define TAS571X_PWM_CH4_SDN_SHIFT (1<<3) 47 48#define TAS571X_START_STOP_PERIOD_REG 0x1a 49#define TAS571X_OSC_TRIM_REG 0x1b 50#define TAS571X_BKND_ERR_REG 0x1c 51#define TAS571X_INPUT_MUX_REG 0x20 52#define TAS571X_CH4_SRC_SELECT_REG 0x21 53#define TAS571X_PWM_MUX_REG 0x25 54 55#endif /* _TAS571X_H */