linux/sound/pci/ctxfi/ct20k2reg.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.
 */

#ifndef _20K2REGISTERS_H_
#define _20K2REGISTERS_H_


/* Timer Registers */
#define WC
#define TIMR
#define TIMR_IE
#define TIMR_IP
#define GIP
#define GIE

/* I2C Registers */
#define I2C_IF_ADDRESS
#define I2C_IF_WDATA
#define I2C_IF_RDATA
#define I2C_IF_STATUS
#define I2C_IF_WLOCK

/* Global Control Registers */
#define GLOBAL_CNTL_GCTL

/* PLL Registers */
#define PLL_CTL
#define PLL_STAT
#define PLL_ENB

/* SRC Registers */
#define SRC_CTL
#define SRC_CCR
#define SRC_IMAP
#define SRC_CA
#define SRC_CF
#define SRC_SA
#define SRC_LA
#define SRC_CTLSWR
#define SRC_CD
#define SRC_MCTL
#define SRC_IP
#define SRC_ENB
#define SRC_ENBSTAT
#define SRC_ENBSA
#define SRC_DN0Z
#define SRC_DN1Z
#define SRC_UPZ

/* GPIO Registers */
#define GPIO_DATA
#define GPIO_CTRL
#define GPIO_EXT_DATA

/* Virtual memory registers */
#define VMEM_PTPAL
#define VMEM_PTPAH
#define VMEM_CTL

/* Transport Registers */
#define TRANSPORT_ENB
#define TRANSPORT_CTL
#define TRANSPORT_INT

/* Audio IO */
#define AUDIO_IO_AIM
#define AUDIO_IO_TX_CTL
#define AUDIO_IO_TX_CSTAT_L
#define AUDIO_IO_TX_CSTAT_H
#define AUDIO_IO_RX_CTL
#define AUDIO_IO_RX_SRT_CTL
#define AUDIO_IO_MCLK
#define AUDIO_IO_TX_BLRCLK
#define AUDIO_IO_RX_BLRCLK

/* Mixer */
#define MIXER_AMOPLO
#define MIXER_AMOPHI
#define MIXER_PRING_LO_HI
#define MIXER_PMOPLO
#define MIXER_PMOPHI
#define MIXER_AR_ENABLE

#endif