linux/sound/soc/codecs/cs4265.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * cs4265.h -- CS4265 ALSA SoC audio driver
 *
 * Copyright 2014 Cirrus Logic, Inc.
 *
 * Author: Paul Handrigan <[email protected]>
 */

#ifndef __CS4265_H__
#define __CS4265_H__

#define CS4265_CHIP_ID
#define CS4265_CHIP_ID_VAL
#define CS4265_CHIP_ID_MASK
#define CS4265_REV_ID_MASK

#define CS4265_PWRCTL
#define CS4265_PWRCTL_PDN

#define CS4265_DAC_CTL
#define CS4265_DAC_CTL_MUTE
#define CS4265_DAC_CTL_DIF

#define CS4265_ADC_CTL
#define CS4265_ADC_MASTER
#define CS4265_ADC_DIF
#define CS4265_ADC_FM

#define CS4265_MCLK_FREQ
#define CS4265_MCLK_FREQ_MASK

#define CS4265_SIG_SEL
#define CS4265_SIG_SEL_LOOP

#define CS4265_CHB_PGA_CTL
#define CS4265_CHA_PGA_CTL

#define CS4265_ADC_CTL2

#define CS4265_DAC_CHA_VOL
#define CS4265_DAC_CHB_VOL

#define CS4265_DAC_CTL2

#define CS4265_INT_STATUS
#define CS4265_INT_MASK
#define CS4265_STATUS_MODE_MSB
#define CS4265_STATUS_MODE_LSB

#define CS4265_SPDIF_CTL1

#define CS4265_SPDIF_CTL2
#define CS4265_SPDIF_CTL2_MUTE
#define CS4265_SPDIF_CTL2_DIF

#define CS4265_C_DATA_BUFF
#define CS4265_MAX_REGISTER

#endif