linux/sound/soc/codecs/ad73311.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * File:         sound/soc/codec/ad73311.h
 * Based on:
 * Author:       Cliff Cai <[email protected]>
 *
 * Created:      Thur Sep 25, 2008
 * Description:  definitions for AD73311 registers
 *
 * Modified:
 *               Copyright 2006 Analog Devices Inc.
 *
 * Bugs:         Enter bugs at http://blackfin.uclinux.org/
 */

#ifndef __AD73311_H__
#define __AD73311_H__

#define AD_CONTROL
#define AD_DATA
#define AD_READ
#define AD_WRITE

/* Control register A */
#define CTRL_REG_A

#define REGA_MODE_PRO
#define REGA_MODE_DATA
#define REGA_MODE_MIXED
#define REGA_DLB
#define REGA_SLB
#define REGA_DEVC(x)
#define REGA_RESET

/* Control register B */
#define CTRL_REG_B

#define REGB_DIRATE(x)
#define REGB_SCDIV(x)
#define REGB_MCDIV(x)
#define REGB_CEE

/* Control register C */
#define CTRL_REG_C

#define REGC_PUDEV
#define REGC_PUADC
#define REGC_PUDAC
#define REGC_PUREF
#define REGC_REFUSE

/* Control register D */
#define CTRL_REG_D

#define REGD_IGS(x)
#define REGD_RMOD
#define REGD_OGS(x)
#define REGD_MUTE

/* Control register E */
#define CTRL_REG_E

#define REGE_DA(x)
#define REGE_IBYP

/* Control register F */
#define CTRL_REG_F

#define REGF_SEEN
#define REGF_INV
#define REGF_ALB

#endif