linux/sound/soc/codecs/ak4671.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * ak4671.h  --  audio driver for AK4671
 *
 * Copyright (C) 2009 Samsung Electronics Co.Ltd
 * Author: Joonyoung Shim <[email protected]>
 */

#ifndef _AK4671_H
#define _AK4671_H

#define AK4671_AD_DA_POWER_MANAGEMENT
#define AK4671_PLL_MODE_SELECT0
#define AK4671_PLL_MODE_SELECT1
#define AK4671_FORMAT_SELECT
#define AK4671_MIC_SIGNAL_SELECT
#define AK4671_MIC_AMP_GAIN
#define AK4671_MIXING_POWER_MANAGEMENT0
#define AK4671_MIXING_POWER_MANAGEMENT1
#define AK4671_OUTPUT_VOLUME_CONTROL
#define AK4671_LOUT1_SIGNAL_SELECT
#define AK4671_ROUT1_SIGNAL_SELECT
#define AK4671_LOUT2_SIGNAL_SELECT
#define AK4671_ROUT2_SIGNAL_SELECT
#define AK4671_LOUT3_SIGNAL_SELECT
#define AK4671_ROUT3_SIGNAL_SELECT
#define AK4671_LOUT1_POWER_MANAGERMENT
#define AK4671_LOUT2_POWER_MANAGERMENT
#define AK4671_LOUT3_POWER_MANAGERMENT
#define AK4671_LCH_INPUT_VOLUME_CONTROL
#define AK4671_RCH_INPUT_VOLUME_CONTROL
#define AK4671_ALC_REFERENCE_SELECT
#define AK4671_DIGITAL_MIXING_CONTROL
#define AK4671_ALC_TIMER_SELECT
#define AK4671_ALC_MODE_CONTROL
#define AK4671_MODE_CONTROL1
#define AK4671_MODE_CONTROL2
#define AK4671_LCH_OUTPUT_VOLUME_CONTROL
#define AK4671_RCH_OUTPUT_VOLUME_CONTROL
#define AK4671_SIDETONE_A_CONTROL
#define AK4671_DIGITAL_FILTER_SELECT
#define AK4671_FIL3_COEFFICIENT0
#define AK4671_FIL3_COEFFICIENT1
#define AK4671_FIL3_COEFFICIENT2
#define AK4671_FIL3_COEFFICIENT3
#define AK4671_EQ_COEFFICIENT0
#define AK4671_EQ_COEFFICIENT1
#define AK4671_EQ_COEFFICIENT2
#define AK4671_EQ_COEFFICIENT3
#define AK4671_EQ_COEFFICIENT4
#define AK4671_EQ_COEFFICIENT5
#define AK4671_FIL1_COEFFICIENT0
#define AK4671_FIL1_COEFFICIENT1
#define AK4671_FIL1_COEFFICIENT2
#define AK4671_FIL1_COEFFICIENT3
#define AK4671_FIL2_COEFFICIENT0
#define AK4671_FIL2_COEFFICIENT1
#define AK4671_FIL2_COEFFICIENT2
#define AK4671_FIL2_COEFFICIENT3
#define AK4671_DIGITAL_FILTER_SELECT2
#define AK4671_E1_COEFFICIENT0
#define AK4671_E1_COEFFICIENT1
#define AK4671_E1_COEFFICIENT2
#define AK4671_E1_COEFFICIENT3
#define AK4671_E1_COEFFICIENT4
#define AK4671_E1_COEFFICIENT5
#define AK4671_E2_COEFFICIENT0
#define AK4671_E2_COEFFICIENT1
#define AK4671_E2_COEFFICIENT2
#define AK4671_E2_COEFFICIENT3
#define AK4671_E2_COEFFICIENT4
#define AK4671_E2_COEFFICIENT5
#define AK4671_E3_COEFFICIENT0
#define AK4671_E3_COEFFICIENT1
#define AK4671_E3_COEFFICIENT2
#define AK4671_E3_COEFFICIENT3
#define AK4671_E3_COEFFICIENT4
#define AK4671_E3_COEFFICIENT5
#define AK4671_E4_COEFFICIENT0
#define AK4671_E4_COEFFICIENT1
#define AK4671_E4_COEFFICIENT2
#define AK4671_E4_COEFFICIENT3
#define AK4671_E4_COEFFICIENT4
#define AK4671_E4_COEFFICIENT5
#define AK4671_E5_COEFFICIENT0
#define AK4671_E5_COEFFICIENT1
#define AK4671_E5_COEFFICIENT2
#define AK4671_E5_COEFFICIENT3
#define AK4671_E5_COEFFICIENT4
#define AK4671_E5_COEFFICIENT5
#define AK4671_EQ_CONTROL_250HZ_100HZ
#define AK4671_EQ_CONTROL_3500HZ_1KHZ
#define AK4671_EQ_CONTRO_10KHZ
#define AK4671_PCM_IF_CONTROL0
#define AK4671_PCM_IF_CONTROL1
#define AK4671_PCM_IF_CONTROL2
#define AK4671_DIGITAL_VOLUME_B_CONTROL
#define AK4671_DIGITAL_VOLUME_C_CONTROL
#define AK4671_SIDETONE_VOLUME_CONTROL
#define AK4671_DIGITAL_MIXING_CONTROL2
#define AK4671_SAR_ADC_CONTROL

/* Bitfield Definitions */

/* AK4671_AD_DA_POWER_MANAGEMENT (0x00) Fields */
#define AK4671_PMVCM

/* AK4671_PLL_MODE_SELECT0 (0x01) Fields */
#define AK4671_PLL
#define AK4671_PLL_11_2896MHZ
#define AK4671_PLL_12_288MHZ
#define AK4671_PLL_12MHZ
#define AK4671_PLL_24MHZ
#define AK4671_PLL_19_2MHZ
#define AK4671_PLL_13_5MHZ
#define AK4671_PLL_27MHZ
#define AK4671_PLL_13MHZ
#define AK4671_PLL_26MHZ
#define AK4671_FS
#define AK4671_FS_8KHZ
#define AK4671_FS_12KHZ
#define AK4671_FS_16KHZ
#define AK4671_FS_24KHZ
#define AK4671_FS_11_025KHZ
#define AK4671_FS_22_05KHZ
#define AK4671_FS_32KHZ
#define AK4671_FS_48KHZ
#define AK4671_FS_44_1KHZ

/* AK4671_PLL_MODE_SELECT1 (0x02) Fields */
#define AK4671_PMPLL
#define AK4671_M_S

/* AK4671_FORMAT_SELECT (0x03) Fields */
#define AK4671_DIF
#define AK4671_DIF_DSP_MODE
#define AK4671_DIF_MSB_MODE
#define AK4671_DIF_I2S_MODE
#define AK4671_BCKP
#define AK4671_MSBS
#define AK4671_SDOD

/* AK4671_LOUT2_POWER_MANAGEMENT (0x10) Fields */
#define AK4671_MUTEN

#endif