linux/sound/pci/ctxfi/ct20k1reg.h

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

#ifndef CT20K1REG_H
#define CT20K1REG_H

/* 20k1 registers */
#define DSPXRAM_START
#define DSPXRAM_END
#define DSPAXRAM_START
#define DSPAXRAM_END
#define DSPYRAM_START
#define DSPYRAM_END
#define DSPAYRAM_START
#define DSPAYRAM_END
#define DSPMICRO_START
#define DSPMICRO_END
#define DSP0IO_START
#define DSP0IO_END
#define AUDIORINGIPDSP0_START
#define AUDIORINGIPDSP0_END
#define AUDIORINGOPDSP0_START
#define AUDIORINGOPDSP0_END
#define AUDPARARINGIODSP0_START
#define AUDPARARINGIODSP0_END
#define DSP0LOCALHWREG_START
#define DSP0LOCALHWREG_END
#define DSP0XYRAMAGINDEX_START
#define DSP0XYRAMAGINDEX_END
#define DSP0XYRAMAGMDFR_START
#define DSP0XYRAMAGMDFR_END
#define DSP0INTCONTLVEC_START
#define DSP0INTCONTLVEC_END
#define INTCONTLGLOBALREG_START
#define INTCONTLGLOBALREG_END
#define HOSTINTFPORTADDRCONTDSP0
#define HOSTINTFPORTDATADSP0
#define TIME0PERENBDSP0
#define TIME0COUNTERDSP0
#define TIME1PERENBDSP0
#define TIME1COUNTERDSP0
#define TIME2PERENBDSP0
#define TIME2COUNTERDSP0
#define TIME3PERENBDSP0
#define TIME3COUNTERDSP0
#define XRAMINDOPERREFNOUP_STARTDSP0
#define XRAMINDOPERREFNOUP_ENDDSP0
#define XRAMINDOPERREFUP_STARTDSP0
#define XRAMINDOPERREFUP_ENDDSP0
#define YRAMINDOPERREFNOUP_STARTDSP0
#define YRAMINDOPERREFNOUP_ENDDSP0
#define YRAMINDOPERREFUP_STARTDSP0
#define YRAMINDOPERREFUP_ENDDSP0
#define DSP0CONDCODE
#define DSP0STACKFLAG
#define DSP0PROGCOUNTSTACKPTREG
#define DSP0PROGCOUNTSTACKDATAREG
#define DSP0CURLOOPADDRREG
#define DSP0CURLOOPCOUNT
#define DSP0TOPLOOPCOUNTSTACK
#define DSP0TOPLOOPADDRSTACK
#define DSP0LOOPSTACKPTR
#define DSP0STASSTACKDATAREG
#define DSP0STASSTACKPTR
#define DSP0PROGCOUNT
#define GLOBDSPDEBGREG
#define GLOBDSPBREPTRREG
#define DSP0XYRAMBASE_START
#define DSP0XYRAMBASE_END
#define DSP0XYRAMLENG_START
#define DSP0XYRAMLENG_END
#define SEMAPHOREREGDSP0
#define DSP0INTCONTMASKREG
#define DSP0INTCONTPENDREG
#define DSP0INTCONTSERVINT
#define DSPINTCONTEXTINTMODREG
#define GPIODSP0
#define DMADSPBASEADDRREG_STARTDSP0
#define DMADSPBASEADDRREG_ENDDSP0
#define DMAHOSTBASEADDRREG_STARTDSP0
#define DMAHOSTBASEADDRREG_ENDDSP0
#define DMADSPCURADDRREG_STARTDSP0
#define DMADSPCURADDRREG_ENDDSP0
#define DMAHOSTCURADDRREG_STARTDSP0
#define DMAHOSTCURADDRREG_ENDDSP0
#define DMATANXCOUNTREG_STARTDSP0
#define DMATANXCOUNTREG_ENDDSP0
#define DMATIMEBUGREG_STARTDSP0
#define DMATIMEBUGREG_ENDDSP0
#define DMACNTLMODFREG_STARTDSP0
#define DMACNTLMODFREG_ENDDSP0

#define DMAGLOBSTATSREGDSP0
#define DSP0XGPRAM_START
#define DSP0XGPRAM_END
#define DSP0YGPRAM_START
#define DSP0YGPRAM_END




#define AUDIORINGIPDSP1_START
#define AUDIORINGIPDSP1_END
#define AUDIORINGOPDSP1_START
#define AUDIORINGOPDSP1_END
#define AUDPARARINGIODSP1_START
#define AUDPARARINGIODSP1_END
#define DSP1LOCALHWREG_START
#define DSP1LOCALHWREG_END
#define DSP1XYRAMAGINDEX_START
#define DSP1XYRAMAGINDEX_END
#define DSP1XYRAMAGMDFR_START
#define DSP1XYRAMAGMDFR_END
#define DSP1INTCONTLVEC_START
#define DSP1INTCONTLVEC_END
#define HOSTINTFPORTADDRCONTDSP1
#define HOSTINTFPORTDATADSP1
#define TIME0PERENBDSP1
#define TIME0COUNTERDSP1
#define TIME1PERENBDSP1
#define TIME1COUNTERDSP1
#define TIME2PERENBDSP1
#define TIME2COUNTERDSP1
#define TIME3PERENBDSP1
#define TIME3COUNTERDSP1
#define XRAMINDOPERREFNOUP_STARTDSP1
#define XRAMINDOPERREFNOUP_ENDDSP1
#define XRAMINDOPERREFUP_STARTDSP1
#define XRAMINDOPERREFUP_ENDDSP1
#define YRAMINDOPERREFNOUP_STARTDSP1
#define YRAMINDOPERREFNOUP_ENDDSP1
#define YRAMINDOPERREFUP_STARTDSP1
#define YRAMINDOPERREFUP_ENDDSP1

#define DSP1CONDCODE
#define DSP1STACKFLAG
#define DSP1PROGCOUNTSTACKPTREG
#define DSP1PROGCOUNTSTACKDATAREG
#define DSP1CURLOOPADDRREG
#define DSP1CURLOOPCOUNT
#define DSP1TOPLOOPCOUNTSTACK
#define DSP1TOPLOOPADDRSTACK
#define DSP1LOOPSTACKPTR
#define DSP1STASSTACKDATAREG
#define DSP1STASSTACKPTR
#define DSP1PROGCOUNT
#define DSP1XYRAMBASE_START
#define DSP1XYRAMBASE_END
#define DSP1XYRAMLENG_START
#define DSP1XYRAMLENG_END
#define SEMAPHOREREGDSP1
#define DSP1INTCONTMASKREG
#define DSP1INTCONTPENDREG
#define DSP1INTCONTSERVINT
#define GPIODSP1
#define DMADSPBASEADDRREG_STARTDSP1
#define DMADSPBASEADDRREG_ENDDSP1
#define DMAHOSTBASEADDRREG_STARTDSP1
#define DMAHOSTBASEADDRREG_ENDDSP1
#define DMADSPCURADDRREG_STARTDSP1
#define DMADSPCURADDRREG_ENDDSP1
#define DMAHOSTCURADDRREG_STARTDSP1
#define DMAHOSTCURADDRREG_ENDDSP1
#define DMATANXCOUNTREG_STARTDSP1
#define DMATANXCOUNTREG_ENDDSP1
#define DMATIMEBUGREG_STARTDSP1
#define DMATIMEBUGREG_ENDDSP1
#define DMACNTLMODFREG_STARTDSP1
#define DMACNTLMODFREG_ENDDSP1

#define DMAGLOBSTATSREGDSP1
#define DSP1XGPRAM_START
#define DSP1XGPRAM_END
#define DSP1YGPRAM_START
#define DSP1YGPRAM_END



#define AUDIORINGIPDSP2_START
#define AUDIORINGIPDSP2_END
#define AUDIORINGOPDSP2_START
#define AUDIORINGOPDSP2_END
#define AUDPARARINGIODSP2_START
#define AUDPARARINGIODSP2_END
#define DSP2LOCALHWREG_START
#define DSP2LOCALHWREG_END
#define DSP2XYRAMAGINDEX_START
#define DSP2XYRAMAGINDEX_END
#define DSP2XYRAMAGMDFR_START
#define DSP2XYRAMAGMDFR_END
#define DSP2INTCONTLVEC_START
#define DSP2INTCONTLVEC_END
#define HOSTINTFPORTADDRCONTDSP2
#define HOSTINTFPORTDATADSP2
#define TIME0PERENBDSP2
#define TIME0COUNTERDSP2
#define TIME1PERENBDSP2
#define TIME1COUNTERDSP2
#define TIME2PERENBDSP2
#define TIME2COUNTERDSP2
#define TIME3PERENBDSP2
#define TIME3COUNTERDSP2
#define XRAMINDOPERREFNOUP_STARTDSP2
#define XRAMINDOPERREFNOUP_ENDDSP2
#define XRAMINDOPERREFUP_STARTDSP2
#define XRAMINDOPERREFUP_ENDDSP2
#define YRAMINDOPERREFNOUP_STARTDSP2
#define YRAMINDOPERREFNOUP_ENDDSP2
#define YRAMINDOPERREFUP_STARTDSP2
#define YRAMINDOPERREFUP_ENDDSP2
#define DSP2CONDCODE
#define DSP2STACKFLAG
#define DSP2PROGCOUNTSTACKPTREG
#define DSP2PROGCOUNTSTACKDATAREG
#define DSP2CURLOOPADDRREG
#define DSP2CURLOOPCOUNT
#define DSP2TOPLOOPCOUNTSTACK
#define DSP2TOPLOOPADDRSTACK
#define DSP2LOOPSTACKPTR
#define DSP2STASSTACKDATAREG
#define DSP2STASSTACKPTR
#define DSP2PROGCOUNT
#define DSP2XYRAMBASE_START
#define DSP2XYRAMBASE_END
#define DSP2XYRAMLENG_START
#define DSP2XYRAMLENG_END
#define SEMAPHOREREGDSP2
#define DSP2INTCONTMASKREG
#define DSP2INTCONTPENDREG
#define DSP2INTCONTSERVINT
#define GPIODSP2
#define DMADSPBASEADDRREG_STARTDSP2
#define DMADSPBASEADDRREG_ENDDSP2
#define DMAHOSTBASEADDRREG_STARTDSP2
#define DMAHOSTBASEADDRREG_ENDDSP2
#define DMADSPCURADDRREG_STARTDSP2
#define DMADSPCURADDRREG_ENDDSP2
#define DMAHOSTCURADDRREG_STARTDSP2
#define DMAHOSTCURADDRREG_ENDDSP2
#define DMATANXCOUNTREG_STARTDSP2
#define DMATANXCOUNTREG_ENDDSP2
#define DMATIMEBUGREG_STARTDSP2
#define DMATIMEBUGREG_ENDDSP2
#define DMACNTLMODFREG_STARTDSP2
#define DMACNTLMODFREG_ENDDSP2

#define DMAGLOBSTATSREGDSP2
#define DSP2XGPRAM_START
#define DSP2XGPRAM_END
#define DSP2YGPRAM_START
#define DSP2YGPRAM_END



#define AUDIORINGIPDSP3_START
#define AUDIORINGIPDSP3_END
#define AUDIORINGOPDSP3_START
#define AUDIORINGOPDSP3_END
#define AUDPARARINGIODSP3_START
#define AUDPARARINGIODSP3_END
#define DSP3LOCALHWREG_START
#define DSP3LOCALHWREG_END
#define DSP3XYRAMAGINDEX_START
#define DSP3XYRAMAGINDEX_END
#define DSP3XYRAMAGMDFR_START
#define DSP3XYRAMAGMDFR_END
#define DSP3INTCONTLVEC_START
#define DSP3INTCONTLVEC_END
#define HOSTINTFPORTADDRCONTDSP3
#define HOSTINTFPORTDATADSP3
#define TIME0PERENBDSP3
#define TIME0COUNTERDSP3
#define TIME1PERENBDSP3
#define TIME1COUNTERDSP3
#define TIME2PERENBDSP3
#define TIME2COUNTERDSP3
#define TIME3PERENBDSP3
#define TIME3COUNTERDSP3
#define XRAMINDOPERREFNOUP_STARTDSP3
#define XRAMINDOPERREFNOUP_ENDDSP3
#define XRAMINDOPERREFUP_STARTDSP3
#define XRAMINDOPERREFUP_ENDDSP3
#define YRAMINDOPERREFNOUP_STARTDSP3
#define YRAMINDOPERREFNOUP_ENDDSP3
#define YRAMINDOPERREFUP_STARTDSP3
#define YRAMINDOPERREFUP_ENDDSP3

#define DSP3CONDCODE
#define DSP3STACKFLAG
#define DSP3PROGCOUNTSTACKPTREG
#define DSP3PROGCOUNTSTACKDATAREG
#define DSP3CURLOOPADDRREG
#define DSP3CURLOOPCOUNT
#define DSP3TOPLOOPCOUNTSTACK
#define DSP3TOPLOOPADDRSTACK
#define DSP3LOOPSTACKPTR
#define DSP3STASSTACKDATAREG
#define DSP3STASSTACKPTR
#define DSP3PROGCOUNT
#define DSP3XYRAMBASE_START
#define DSP3XYRAMBASE_END
#define DSP3XYRAMLENG_START
#define DSP3XYRAMLENG_END
#define SEMAPHOREREGDSP3
#define DSP3INTCONTMASKREG
#define DSP3INTCONTPENDREG
#define DSP3INTCONTSERVINT
#define GPIODSP3
#define DMADSPBASEADDRREG_STARTDSP3
#define DMADSPBASEADDRREG_ENDDSP3
#define DMAHOSTBASEADDRREG_STARTDSP3
#define DMAHOSTBASEADDRREG_ENDDSP3
#define DMADSPCURADDRREG_STARTDSP3
#define DMADSPCURADDRREG_ENDDSP3
#define DMAHOSTCURADDRREG_STARTDSP3
#define DMAHOSTCURADDRREG_ENDDSP3
#define DMATANXCOUNTREG_STARTDSP3
#define DMATANXCOUNTREG_ENDDSP3
#define DMATIMEBUGREG_STARTDSP3
#define DMATIMEBUGREG_ENDDSP3
#define DMACNTLMODFREG_STARTDSP3
#define DMACNTLMODFREG_ENDDSP3

#define DMAGLOBSTATSREGDSP3
#define DSP3XGPRAM_START
#define DSP3XGPRAM_END
#define DSP3YGPRAM_START
#define DSP3YGPRAM_END

/* end of DSP reg definitions */

#define DSPAIMAP_START
#define DSPAIMAP_END
#define DSPPIMAP_START
#define DSPPIMAP_END
#define DSPPOMAP_START
#define DSPPOMAP_END
#define DSPPOCTL
#define TKCTL_START
#define TKCTL_END
#define TKCC_START
#define TKCC_END
#define TKIMAP_START
#define TKIMAP_END
#define TKDCTR16
#define TKPB16
#define TKBS16
#define TKDCTR32
#define TKPB32
#define TKBS32
#define ICDCTR16
#define ITBS16
#define ICDCTR32
#define ITBS32
#define ITSTART
#define TKSQ

#define TKSCCTL_START
#define TKSCCTL_END
#define TKSCADR_START
#define TKSCADR_END
#define TKSCDATAX_START
#define TKSCDATAX_END
#define TKPCDATAX_START
#define TKPCDATAX_END

#define MALSA
#define MAPPHA
#define MAPPLA
#define MALSB
#define MAPPHB
#define MAPPLB

#define TANSPORTMAPABREGS_START
#define TANSPORTMAPABREGS_END

#define PTPAHX
#define PTPALX

#define TANSPPAGETABLEPHYADDR015_START
#define TANSPPAGETABLEPHYADDR015_END
#define TRNQADRX_START
#define TRNQADRX_END
#define TRNQTIMX_START
#define TRNQTIMX_END
#define TRNQAPARMX_START
#define TRNQAPARMX_END

#define TRNQCNT
#define TRNCTL
#define TRNIS
#define TRNCURTS

#define AMOP_START
#define AMOPLO
#define AMOPHI
#define AMOP_END
#define PMOP_START
#define PMOPLO
#define PMOPHI
#define PMOP_END
#define PCURR_START
#define PCURR_END
#define PTRAG_START
#define PTRAG_END
#define PSR_START
#define PSR_END

#define PFSTAT4SEG_START
#define PFSTAT4SEG_END
#define PFSTAT2SEG_START
#define PFSTAT2SEG_END
#define PFTARG4SEG_START
#define PFTARG4SEG_END
#define PFTARG2SEG_START
#define PFTARG2SEG_END
#define PFSR4SEG_START
#define PFSR4SEG_END
#define PFSR2SEG_START
#define PFSR2SEG_END
#define PCURRMS4SEG_START
#define PCURRMS4SEG_END
#define PCURRMS2SEG_START
#define PCURRMS2SEG_END
#define PTARGMS4SEG_START
#define PTARGMS4SEG_END
#define PTARGMS2SEG_START
#define PTARGMS2SEG_END
#define PSRMS4SEG_START
#define PSRMS4SEG_END
#define PSRMS2SEG_START
#define PSRMS2SEG_END

#define PRING_LO_START
#define PRING_LO_END
#define PRING_HI_START
#define PRING_HI_END
#define PRING_LO_HI_START
#define PRING_LO_HI
#define PRING_LO_HI_END

#define PINTFIFO
#define SRCCTL
#define SRCCCR
#define SRCIMAP
#define SRCODDC
#define SRCCA
#define SRCCF
#define SRCSA
#define SRCLA
#define SRCCTLSWR

/* SRC HERE */
#define SRCALBA
#define SRCMCTL
#define SRCCERR
#define SRCITB
#define SRCIPM
#define SRCIP
#define SRCENBSTAT
#define SRCENBLO
#define SRCENBHI
#define SRCENBS
#define SRCENB
#define SRCENB07
#define SRCENBS07

#define SRCDN0Z
#define SRCDN0Z0
#define SRCDN0Z1
#define SRCDN0Z2
#define SRCDN0Z3
#define SRCDN1Z
#define SRCDN1Z0
#define SRCDN1Z1
#define SRCDN1Z2
#define SRCDN1Z3
#define SRCDN1Z4
#define SRCDN1Z5
#define SRCDN1Z6
#define SRCDN1Z7
#define SRCUPZ
#define SRCUPZ0
#define SRCUPZ1
#define SRCUPZ2
#define SRCUPZ3
#define SRCUPZ4
#define SRCUPZ5
#define SRCUPZ6
#define SRCUPZ7
#define SRCCD0
#define SRCCD1
#define SRCCD2
#define SRCCD3
#define SRCCD4
#define SRCCD5
#define SRCCD6
#define SRCCD7
#define SRCCD8
#define SRCCD9
#define SRCCDA
#define SRCCDB
#define SRCCDC
#define SRCCDD
#define SRCCDE
#define SRCCDF
#define SRCCD10
#define SRCCD11
#define SRCCD12
#define SRCCD13
#define SRCCD14
#define SRCCD15
#define SRCCD16
#define SRCCD17
#define SRCCD18
#define SRCCD19
#define SRCCD1A
#define SRCCD1B
#define SRCCD1C
#define SRCCD1D
#define SRCCD1E
#define SRCCD1F

#define SRCCONTRBLOCK_START
#define SRCCONTRBLOCK_END
#define FILTOP_START
#define FILTOP_END
#define FILTIMAP_START
#define FILTIMAP_END
#define FILTZ1_START
#define FILTZ1_END
#define FILTZ2_START
#define FILTZ2_END
#define DAOIMAP_START
#define DAOIMAP
#define DAOIMAP_END

#define AC97D
#define AC97A
#define AC97CTL
#define I2SCTL

#define SPOS
#define SPOSA
#define SPOSB
#define SPOSC
#define SPOSD

#define SPISA
#define SPISB
#define SPISC
#define SPISD

#define SPFSCTL

#define SPFS0
#define SPFS1
#define SPFS2
#define SPFS3
#define SPFS4
#define SPFS5

#define SPOCTL
#define SPICTL
#define SPISTS
#define SPINTP
#define SPINTE
#define SPUTCTLAB
#define SPUTCTLCD

#define SRTSPA
#define SRTSPB
#define SRTSPC
#define SRTSPD

#define SRTSCTL
#define SRTSCTLA
#define SRTSCTLB
#define SRTSCTLC
#define SRTSCTLD

#define SRTI2S
#define SRTICTL

#define WC
#define TIMR
#define TIMR_IE
#define TIMR_IP

#define GIP
#define GIE
#define DIE
#define DIC
#define GPIO
#define GPIOCTL
#define GPIP
#define GPIE
#define DSPINT0
#define DSPEIOC
#define MUADAT
#define MUACMD
#define MUASTAT
#define MUBDAT
#define MUBCMD
#define MUBSTAT
#define UARTCMA
#define UARTCMB
#define UARTIP
#define UARTIE
#define PLLCTL
#define PLLDCD
#define GCTL
#define ID0
#define ID1
#define ID2
#define ID3
#define SDRCTL


#define I2SA_L
#define I2SA_R
#define I2SB_L
#define I2SB_R
#define I2SC_L
#define I2SC_R
#define I2SD_L
#define I2SD_R

#endif /* CT20K1REG_H */