linux/sound/pci/aw2/saa7146.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*****************************************************************************
 *
 * Copyright (C) 2008 Cedric Bregardis <[email protected]> and
 * Jean-Christian Hassler <[email protected]>
 *
 * This file is part of the Audiowerk2 ALSA driver
 *
 *****************************************************************************/

/* SAA7146 registers */
#define PCI_BT_A
#define IICTFR
#define IICSTA
#define BaseA1_in
#define ProtA1_in
#define PageA1_in
#define BaseA1_out
#define ProtA1_out
#define PageA1_out
#define BaseA2_in
#define ProtA2_in
#define PageA2_in
#define BaseA2_out
#define ProtA2_out
#define PageA2_out
#define IER
#define GPIO_CTRL
#define ACON1
#define ACON2
#define MC1
#define MC2
#define ISR
#define PSR
#define SSR
#define PCI_ADP1
#define PCI_ADP2
#define PCI_ADP3
#define PCI_ADP4
#define LEVEL_REP
#define FB_BUFFER1
#define FB_BUFFER2
#define TSL1
#define TSL2

#define ME
#define LIMIT
#define PV

/* PSR/ISR/IER */
#define PPEF
#define PABO
#define IIC_S
#define IIC_E
#define A2_in
#define A2_out
#define A1_in
#define A1_out
#define AFOU
#define PIN3
#define PIN2
#define PIN1
#define PIN0
#define ECS
#define EC3S
#define EC0S

/* SSR */
#define PRQ
#define PMA
#define IIC_EA
#define IIC_EW
#define IIC_ER
#define IIC_EL
#define IIC_EF
#define AF2_in
#define AF2_out
#define AF1_in
#define AF1_out
#define EC5S
#define EC4S
#define EC2S
#define EC1S

/* PCI_BT_A */
#define BurstA1_in
#define ThreshA1_in
#define BurstA1_out
#define ThreshA1_out
#define BurstA2_in
#define ThreshA2_in
#define BurstA2_out
#define ThreshA2_out

/* MC1 */
#define MRST_N
#define EAP
#define EI2C
#define TR_E_A2_OUT
#define TR_E_A2_IN
#define TR_E_A1_OUT
#define TR_E_A1_IN

/* MC2 */
#define UPLD_IIC

/* ACON1 */
#define AUDIO_MODE
#define MAXLEVEL
#define A1_SWAP
#define A2_SWAP
#define WS0_CTRL
#define WS0_SYNC
#define WS1_CTRL
#define WS1_SYNC
#define WS2_CTRL
#define WS2_SYNC
#define WS3_CTRL
#define WS3_SYNC
#define WS4_CTRL
#define WS4_SYNC

/* ACON2 */
#define A1_CLKSRC
#define A2_CLKSRC
#define INVERT_BCLK1
#define INVERT_BCLK2
#define BCLK1_OEN
#define BCLK2_OEN

/* IICSTA */
#define IICCC
#define ABORT
#define SPERR
#define APERR
#define DTERR
#define DRERR
#define AL
#define ERR
#define BUSY

/* IICTFR */
#define BYTE2
#define BYTE1
#define BYTE0
#define ATRR2
#define ATRR1
#define ATRR0
#define ERR
#define BUSY

#define START
#define CONT
#define STOP
#define NOP