Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
aic94xx_reg_def.h File Reference

Go to the source code of this file.

Macros

#define CSEQ_MODE_PAGE_SIZE   0x200 /* CSEQ mode page size */
 
#define LmSEQ_MODE_PAGE_SIZE   0x200 /* LmSEQ mode page size */
 
#define LmSEQ_HOST_REG_SIZE   0x4000 /* LmSEQ Host Register size */
 
#define COMBIST   (REG_BASE_ADDR + 0x00)
 
#define L7BLKRST   0x80000000
 
#define L6BLKRST   0x40000000
 
#define L5BLKRST   0x20000000
 
#define L4BLKRST   0x10000000
 
#define L3BLKRST   0x08000000
 
#define L2BLKRST   0x04000000
 
#define L1BLKRST   0x02000000
 
#define L0BLKRST   0x01000000
 
#define LmBLKRST   0xFF000000
 
#define LmBLKRST_COMBIST(phyid)   (1 << (24 + phyid))
 
#define OCMBLKRST   0x00400000
 
#define CTXMEMBLKRST   0x00200000
 
#define CSEQBLKRST   0x00100000
 
#define EXSIBLKRST   0x00040000
 
#define DPIBLKRST   0x00020000
 
#define DFIFBLKRST   0x00010000
 
#define HARDRST   0x00000200
 
#define COMBLKRST   0x00000100
 
#define FRCDFPERR   0x00000080
 
#define FRCCIOPERR   0x00000020
 
#define FRCBISTERR   0x00000010
 
#define COMBISTEN   0x00000004
 
#define COMBISTDONE   0x00000002 /* ro */
 
#define COMBISTFAIL   0x00000001 /* ro */
 
#define COMSTAT   (REG_BASE_ADDR + 0x04)
 
#define REQMBXREAD   0x00000040
 
#define RSPMBXAVAIL   0x00000020
 
#define CSBUFPERR   0x00000008
 
#define OVLYERR   0x00000004
 
#define CSERR   0x00000002
 
#define OVLYDMADONE   0x00000001
 
#define COMSTAT_MASK
 
#define COMSTATEN   (REG_BASE_ADDR + 0x08)
 
#define EN_REQMBXREAD   0x00000040
 
#define EN_RSPMBXAVAIL   0x00000020
 
#define EN_CSBUFPERR   0x00000008
 
#define EN_OVLYERR   0x00000004
 
#define EN_CSERR   0x00000002
 
#define EN_OVLYDONE   0x00000001
 
#define SCBPRO   (REG_BASE_ADDR + 0x0C)
 
#define SCBCONS_MASK   0xFFFF0000
 
#define SCBPRO_MASK   0x0000FFFF
 
#define CHIMREQMBX   (REG_BASE_ADDR + 0x10)
 
#define CHIMRSPMBX   (REG_BASE_ADDR + 0x14)
 
#define CHIMINT   (REG_BASE_ADDR + 0x18)
 
#define EXT_INT0   0x00000800
 
#define EXT_INT1   0x00000400
 
#define PORRSTDET   0x00000200
 
#define HARDRSTDET   0x00000100
 
#define DLAVAILQ   0x00000080 /* ro */
 
#define HOSTERR   0x00000040
 
#define INITERR   0x00000020
 
#define DEVINT   0x00000010
 
#define COMINT   0x00000008
 
#define DEVTIMER2   0x00000004
 
#define DEVTIMER1   0x00000002
 
#define DLAVAIL   0x00000001
 
#define CHIMINT_MASK
 
#define DEVEXCEPT_MASK   (HOSTERR | INITERR | DEVINT | COMINT)
 
#define CHIMINTEN   (REG_BASE_ADDR + 0x1C)
 
#define RST_EN_EXT_INT1   0x01000000
 
#define RST_EN_EXT_INT0   0x00800000
 
#define RST_EN_HOSTERR   0x00400000
 
#define RST_EN_INITERR   0x00200000
 
#define RST_EN_DEVINT   0x00100000
 
#define RST_EN_COMINT   0x00080000
 
#define RST_EN_DEVTIMER2   0x00040000
 
#define RST_EN_DEVTIMER1   0x00020000
 
#define RST_EN_DLAVAIL   0x00010000
 
#define SET_EN_EXT_INT1   0x00000100
 
#define SET_EN_EXT_INT0   0x00000080
 
#define SET_EN_HOSTERR   0x00000040
 
#define SET_EN_INITERR   0x00000020
 
#define SET_EN_DEVINT   0x00000010
 
#define SET_EN_COMINT   0x00000008
 
#define SET_EN_DEVTIMER2   0x00000004
 
#define SET_EN_DEVTIMER1   0x00000002
 
#define SET_EN_DLAVAIL   0x00000001
 
#define RST_CHIMINTEN
 
#define SET_CHIMINTEN
 
#define OVLYDMACTL   (REG_BASE_ADDR + 0x20)
 
#define OVLYADR_MASK   0x07FF0000
 
#define OVLYLSEQ_MASK   0x0000FF00
 
#define OVLYCSEQ   0x00000080
 
#define OVLYHALTERR   0x00000040
 
#define PIOCMODE   0x00000020
 
#define RESETOVLYDMA   0x00000008 /* wo */
 
#define STARTOVLYDMA   0x00000004
 
#define STOPOVLYDMA   0x00000002 /* wo */
 
#define OVLYDMAACT   0x00000001 /* ro */
 
#define OVLYDMACNT   (REG_BASE_ADDR + 0x24)
 
#define OVLYDOMAIN1   0x20000000 /* ro */
 
#define OVLYDOMAIN0   0x10000000
 
#define OVLYBUFADR_MASK   0x007F0000
 
#define OVLYDMACNT_MASK   0x00003FFF
 
#define OVLYDMAADR   (REG_BASE_ADDR + 0x28)
 
#define DMAERR   (REG_BASE_ADDR + 0x30)
 
#define OVLYERRSTAT_MASK   0x0000FF00 /* ro */
 
#define CSERRSTAT_MASK   0x000000FF /* ro */
 
#define SPIODATA   (REG_BASE_ADDR + 0x34)
 
#define T1CNTRLR   (REG_BASE_ADDR + 0x40)
 
#define T1DONE   0x00010000 /* ro */
 
#define TIMER64   0x00000400
 
#define T1ENABLE   0x00000200
 
#define T1RELOAD   0x00000100
 
#define T1PRESCALER_MASK   0x00000003
 
#define T1CMPR   (REG_BASE_ADDR + 0x44)
 
#define T1CNTR   (REG_BASE_ADDR + 0x48)
 
#define T2CNTRLR   (REG_BASE_ADDR + 0x4C)
 
#define T2DONE   0x00010000 /* ro */
 
#define T2ENABLE   0x00000200
 
#define T2RELOAD   0x00000100
 
#define T2PRESCALER_MASK   0x00000003
 
#define T2CMPR   (REG_BASE_ADDR + 0x50)
 
#define T2CNTR   (REG_BASE_ADDR + 0x54)
 
#define CMDCTXBASE   (REG_BASE_ADDR + 0x800)
 
#define DEVCTXBASE   (REG_BASE_ADDR + 0x808)
 
#define CTXDOMAIN   (REG_BASE_ADDR + 0x810)
 
#define DEVCTXDOMAIN1   0x00000008 /* ro */
 
#define DEVCTXDOMAIN0   0x00000004
 
#define CMDCTXDOMAIN1   0x00000002 /* ro */
 
#define CMDCTXDOMAIN0   0x00000001
 
#define DCHCTL   (REG_BASE_ADDR + 0x814)
 
#define OCMBISTREPAIR   0x00080000
 
#define OCMBISTEN   0x00040000
 
#define OCMBISTDN   0x00020000 /* ro */
 
#define OCMBISTFAIL   0x00010000 /* ro */
 
#define DDBBISTEN   0x00004000
 
#define DDBBISTDN   0x00002000 /* ro */
 
#define DDBBISTFAIL   0x00001000 /* ro */
 
#define SCBBISTEN   0x00000400
 
#define SCBBISTDN   0x00000200 /* ro */
 
#define SCBBISTFAIL   0x00000100 /* ro */
 
#define MEMSEL_MASK   0x000000E0
 
#define MEMSEL_CCM_LSEQ   0x00000000
 
#define MEMSEL_CCM_IOP   0x00000020
 
#define MEMSEL_CCM_SASCTL   0x00000040
 
#define MEMSEL_DCM_LSEQ   0x00000060
 
#define MEMSEL_DCM_IOP   0x00000080
 
#define MEMSEL_OCM   0x000000A0
 
#define FRCERR   0x00000010
 
#define AUTORLS   0x00000001
 
#define DCHREVISION   (REG_BASE_ADDR + 0x818)
 
#define DCHREVISION_MASK   0x000000FF
 
#define DCHSTATUS   (REG_BASE_ADDR + 0x81C)
 
#define EN_CFIFTOERR   0x00020000
 
#define CFIFTOERR   0x00000200
 
#define CSEQINT   0x00000100 /* ro */
 
#define LSEQ7INT   0x00000080 /* ro */
 
#define LSEQ6INT   0x00000040 /* ro */
 
#define LSEQ5INT   0x00000020 /* ro */
 
#define LSEQ4INT   0x00000010 /* ro */
 
#define LSEQ3INT   0x00000008 /* ro */
 
#define LSEQ2INT   0x00000004 /* ro */
 
#define LSEQ1INT   0x00000002 /* ro */
 
#define LSEQ0INT   0x00000001 /* ro */
 
#define LSEQINT_MASK
 
#define DCHDFIFDEBUG   (REG_BASE_ADDR + 0x820)
 
#define ENFAIRMST   0x00FF0000
 
#define DISWRMST9   0x00000200
 
#define DISWRMST8   0x00000100
 
#define DISRDMST   0x000000FF
 
#define ATOMICSTATCTL   (REG_BASE_ADDR + 0x824)
 
#define AUTOINC   0x80
 
#define ATOMICERR   0x04
 
#define ATOMICWIN   0x02
 
#define ATOMICDONE   0x01
 
#define ALTCIOADR   (REG_BASE_ADDR + 0x828)
 
#define ASCBPTR   (REG_BASE_ADDR + 0x82C)
 
#define ADDBPTR   (REG_BASE_ADDR + 0x82E)
 
#define ANEWDATA   (REG_BASE_ADDR + 0x830)
 
#define AOLDDATA   (REG_BASE_ADDR + 0x834)
 
#define CTXACCESS   (REG_BASE_ADDR + 0x838)
 
#define ARP2CTL   0x00
 
#define FRCSCRPERR   0x00040000
 
#define FRCARP2PERR   0x00020000
 
#define FRCARP2ILLOPC   0x00010000
 
#define ENWAITTO   0x00008000
 
#define PERRORDIS   0x00004000
 
#define FAILDIS   0x00002000
 
#define CIOPERRDIS   0x00001000
 
#define BREAKEN3   0x00000800
 
#define BREAKEN2   0x00000400
 
#define BREAKEN1   0x00000200
 
#define BREAKEN0   0x00000100
 
#define EPAUSE   0x00000008
 
#define PAUSED   0x00000004 /* ro */
 
#define STEP   0x00000002
 
#define ARP2RESET   0x00000001 /* wo */
 
#define ARP2INT   0x04
 
#define HALTCODE_MASK   0x00FF0000 /* ro */
 
#define ARP2WAITTO   0x00000100
 
#define ARP2HALTC   0x00000080
 
#define ARP2ILLOPC   0x00000040
 
#define ARP2PERR   0x00000020
 
#define ARP2CIOPERR   0x00000010
 
#define ARP2BREAK3   0x00000008
 
#define ARP2BREAK2   0x00000004
 
#define ARP2BREAK1   0x00000002
 
#define ARP2BREAK0   0x00000001
 
#define ARP2INTEN   0x08
 
#define EN_ARP2WAITTO   0x00000100
 
#define EN_ARP2HALTC   0x00000080
 
#define EN_ARP2ILLOPC   0x00000040
 
#define EN_ARP2PERR   0x00000020
 
#define EN_ARP2CIOPERR   0x00000010
 
#define EN_ARP2BREAK3   0x00000008
 
#define EN_ARP2BREAK2   0x00000004
 
#define EN_ARP2BREAK1   0x00000002
 
#define EN_ARP2BREAK0   0x00000001
 
#define ARP2BREAKADR01   0x0C
 
#define BREAKADR1_MASK   0x0FFF0000
 
#define BREAKADR0_MASK   0x00000FFF
 
#define ARP2BREAKADR23   0x10
 
#define BREAKADR3_MASK   0x0FFF0000
 
#define BREAKADR2_MASK   0x00000FFF
 
#define MODEPTR   0x00
 
#define DSTMODE   0xF0
 
#define SRCMODE   0x0F
 
#define ALTMODE   0x01
 
#define ALTDMODE   0xF0
 
#define ALTSMODE   0x0F
 
#define ATOMICXCHG   0x02
 
#define FLAG   0x04
 
#define INTCODE_MASK   0xF0
 
#define ALTMODEV2   0x04
 
#define CARRY_INT   0x02
 
#define CARRY   0x01
 
#define ARP2INTCTL   0x05
 
#define PAUSEDIS   0x80
 
#define RSTINTCTL   0x40
 
#define POPALTMODE   0x08
 
#define ALTMODEV   0x04
 
#define INTMASK   0x02
 
#define IRET   0x01
 
#define STACK   0x06
 
#define FUNCTION1   0x07
 
#define PRGMCNT   0x08
 
#define ACCUM   0x0A
 
#define SINDEX   0x0C
 
#define DINDEX   0x0E
 
#define ALLONES   0x10
 
#define ALLZEROS   0x11
 
#define SINDIR   0x12
 
#define DINDIR   0x13
 
#define JUMLDIR   0x14
 
#define ARP2HALTCODE   0x15
 
#define CURRADDR   0x16
 
#define LASTADDR   0x18
 
#define NXTLADDR   0x1A
 
#define DBGPORTPTR   0x1C
 
#define DBGPORT   0x1D
 
#define MnSCBPTR   0x20
 
#define MnDDBPTR   0x22
 
#define SCRATCHPAGE   0x24
 
#define MnSCRATCHPAGE   0x25
 
#define SCRATCHPAGESV   0x26
 
#define MnSCRATCHPAGESV   0x27
 
#define MnDMAERRS   0x46
 
#define MnSGDMAERRS   0x47
 
#define MnSGBUF   0x53
 
#define MnSGDMASTAT   0x5b
 
#define MnDDMACTL   0x5c /* RAZOR.rspec.fm rev 1.5 is wrong */
 
#define MnDDMASTAT   0x5d /* RAZOR.rspec.fm rev 1.5 is wrong */
 
#define MnDDMAMODE   0x5e /* RAZOR.rspec.fm rev 1.5 is wrong */
 
#define MnDMAENG   0x60
 
#define MnPIPECTL   0x61
 
#define MnSGBADR   0x65
 
#define MnSCB_SITE   0x100
 
#define MnDDB_SITE   0x180
 
#define BISTCTL0   0x4C
 
#define BISTCTL1   0x50
 
#define MAPPEDSCR   0x800
 
#define CSEQ_HOST_REG_BASE_ADR   0xB8001000
 
#define CARP2CTL   (CSEQ_HOST_REG_BASE_ADR + ARP2CTL)
 
#define CARP2INT   (CSEQ_HOST_REG_BASE_ADR + ARP2INT)
 
#define CARP2INTEN   (CSEQ_HOST_REG_BASE_ADR + ARP2INTEN)
 
#define CARP2BREAKADR01   (CSEQ_HOST_REG_BASE_ADR+ARP2BREAKADR01)
 
#define CARP2BREAKADR23   (CSEQ_HOST_REG_BASE_ADR+ARP2BREAKADR23)
 
#define CBISTCTL   (CSEQ_HOST_REG_BASE_ADR + BISTCTL1)
 
#define CSEQRAMBISTEN   0x00000040
 
#define CSEQRAMBISTDN   0x00000020 /* ro */
 
#define CSEQRAMBISTFAIL   0x00000010 /* ro */
 
#define CSEQSCRBISTEN   0x00000004
 
#define CSEQSCRBISTDN   0x00000002 /* ro */
 
#define CSEQSCRBISTFAIL   0x00000001 /* ro */
 
#define CMAPPEDSCR   (CSEQ_HOST_REG_BASE_ADR + MAPPEDSCR)
 
#define CSEQ_CIO_REG_BASE_ADR   REG_BASE_ADDR_CSEQCIO
 
#define CSEQm_CIO_REG(Mode, Reg)
 
#define CMODEPTR   (CSEQ_CIO_REG_BASE_ADR + MODEPTR)
 
#define CALTMODE   (CSEQ_CIO_REG_BASE_ADR + ALTMODE)
 
#define CATOMICXCHG   (CSEQ_CIO_REG_BASE_ADR + ATOMICXCHG)
 
#define CFLAG   (CSEQ_CIO_REG_BASE_ADR + FLAG)
 
#define CARP2INTCTL   (CSEQ_CIO_REG_BASE_ADR + ARP2INTCTL)
 
#define CSTACK   (CSEQ_CIO_REG_BASE_ADR + STACK)
 
#define CFUNCTION1   (CSEQ_CIO_REG_BASE_ADR + FUNCTION1)
 
#define CPRGMCNT   (CSEQ_CIO_REG_BASE_ADR + PRGMCNT)
 
#define CACCUM   (CSEQ_CIO_REG_BASE_ADR + ACCUM)
 
#define CSINDEX   (CSEQ_CIO_REG_BASE_ADR + SINDEX)
 
#define CDINDEX   (CSEQ_CIO_REG_BASE_ADR + DINDEX)
 
#define CALLONES   (CSEQ_CIO_REG_BASE_ADR + ALLONES)
 
#define CALLZEROS   (CSEQ_CIO_REG_BASE_ADR + ALLZEROS)
 
#define CSINDIR   (CSEQ_CIO_REG_BASE_ADR + SINDIR)
 
#define CDINDIR   (CSEQ_CIO_REG_BASE_ADR + DINDIR)
 
#define CJUMLDIR   (CSEQ_CIO_REG_BASE_ADR + JUMLDIR)
 
#define CARP2HALTCODE   (CSEQ_CIO_REG_BASE_ADR + ARP2HALTCODE)
 
#define CCURRADDR   (CSEQ_CIO_REG_BASE_ADR + CURRADDR)
 
#define CLASTADDR   (CSEQ_CIO_REG_BASE_ADR + LASTADDR)
 
#define CNXTLADDR   (CSEQ_CIO_REG_BASE_ADR + NXTLADDR)
 
#define CDBGPORTPTR   (CSEQ_CIO_REG_BASE_ADR + DBGPORTPTR)
 
#define CDBGPORT   (CSEQ_CIO_REG_BASE_ADR + DBGPORT)
 
#define CSCRATCHPAGE   (CSEQ_CIO_REG_BASE_ADR + SCRATCHPAGE)
 
#define CMnSCBPTR(Mode)   CSEQm_CIO_REG(Mode, MnSCBPTR)
 
#define CMnDDBPTR(Mode)   CSEQm_CIO_REG(Mode, MnDDBPTR)
 
#define CMnSCRATCHPAGE(Mode)   CSEQm_CIO_REG(Mode, MnSCRATCHPAGE)
 
#define CLINKCON   (CSEQ_CIO_REG_BASE_ADR + 0x28)
 
#define CCIOAACESS   (CSEQ_CIO_REG_BASE_ADR + 0x2C)
 
#define MnREQMBX   0x30
 
#define CMnREQMBX(Mode)   CSEQm_CIO_REG(Mode, 0x30)
 
#define CSEQCON   CSEQm_CIO_REG(8, 0x30)
 
#define MnRSPMBX   0x34
 
#define CMnRSPMBX(Mode)   CSEQm_CIO_REG(Mode, 0x34)
 
#define CSEQCOMCTL   CSEQm_CIO_REG(8, 0x34)
 
#define CSEQCOMSTAT   CSEQm_CIO_REG(8, 0x35)
 
#define CSEQCOMINTEN   CSEQm_CIO_REG(8, 0x36)
 
#define CSEQCOMDMACTL   CSEQm_CIO_REG(8, 0x37)
 
#define CSHALTERR   0x10
 
#define RESETCSDMA   0x08 /* wo */
 
#define STARTCSDMA   0x04
 
#define STOPCSDMA   0x02 /* wo */
 
#define CSDMAACT   0x01 /* ro */
 
#define MnINT   0x38
 
#define CMnINT(Mode)   CSEQm_CIO_REG(Mode, 0x38)
 
#define CMnREQMBXE   0x02
 
#define CMnRSPMBXF   0x01
 
#define CMnINT_MASK   0x00000003
 
#define CSEQREQMBX   CSEQm_CIO_REG(8, 0x38)
 
#define MnINTEN   0x3C
 
#define CMnINTEN(Mode)   CSEQm_CIO_REG(Mode, 0x3C)
 
#define EN_CMnRSPMBXF   0x01
 
#define CSEQRSPMBX   CSEQm_CIO_REG(8, 0x3C)
 
#define CSDMAADR   CSEQm_CIO_REG(8, 0x40)
 
#define CSDMACNT   CSEQm_CIO_REG(8, 0x48)
 
#define CSEQDLCTL   CSEQm_CIO_REG(8, 0x4D)
 
#define DONELISTEND   0x10
 
#define DONELISTSIZE_MASK   0x0F
 
#define DONELISTSIZE_8ELEM   0x01
 
#define DONELISTSIZE_16ELEM   0x02
 
#define DONELISTSIZE_32ELEM   0x03
 
#define DONELISTSIZE_64ELEM   0x04
 
#define DONELISTSIZE_128ELEM   0x05
 
#define DONELISTSIZE_256ELEM   0x06
 
#define DONELISTSIZE_512ELEM   0x07
 
#define DONELISTSIZE_1024ELEM   0x08
 
#define DONELISTSIZE_2048ELEM   0x09
 
#define DONELISTSIZE_4096ELEM   0x0A
 
#define DONELISTSIZE_8192ELEM   0x0B
 
#define DONELISTSIZE_16384ELEM   0x0C
 
#define CSEQDLOFFS   CSEQm_CIO_REG(8, 0x4E)
 
#define CM11INTVEC0   CSEQm_CIO_REG(11, 0x50)
 
#define CM11INTVEC1   CSEQm_CIO_REG(11, 0x52)
 
#define CM11INTVEC2   CSEQm_CIO_REG(11, 0x54)
 
#define CCONMSK   (CSEQ_CIO_REG_BASE_ADR + 0x60)
 
#define CCONEXIST   (CSEQ_CIO_REG_BASE_ADR + 0x61)
 
#define CCONMODE   (CSEQ_CIO_REG_BASE_ADR + 0x62)
 
#define CTIMERCALC   (CSEQ_CIO_REG_BASE_ADR + 0x64)
 
#define CINTDIS   (CSEQ_CIO_REG_BASE_ADR + 0x68)
 
#define CSBUFFER   CSEQm_CIO_REG(8, 0x80)
 
#define CSCRATCH   (CSEQ_CIO_REG_BASE_ADR + 0x1C0)
 
#define CMnSCRATCH(Mode)   CSEQm_CIO_REG(Mode, 0x1E0)
 
#define CSEQ_RAM_REG_BASE_ADR   0xB8004000
 
#define MODECTL   0x40
 
#define DBGMODE   0x44
 
#define CONTROL   0x48
 
#define LEDTIMER   0x00010000
 
#define LEDTIMERS_10us   0x00000000
 
#define LEDTIMERS_1ms   0x00000800
 
#define LEDTIMERS_100ms   0x00001000
 
#define LEDMODE_TXRX   0x00000000
 
#define LEDMODE_CONNECTED   0x00000200
 
#define LEDPOL   0x00000100
 
#define LSEQRAM   0x1000
 
#define LSEQ0_HOST_REG_BASE_ADR   0xB8020000
 
#define LSEQ1_HOST_REG_BASE_ADR   0xB8024000
 
#define LSEQ2_HOST_REG_BASE_ADR   0xB8028000
 
#define LSEQ3_HOST_REG_BASE_ADR   0xB802C000
 
#define LSEQ4_HOST_REG_BASE_ADR   0xB8030000
 
#define LSEQ5_HOST_REG_BASE_ADR   0xB8034000
 
#define LSEQ6_HOST_REG_BASE_ADR   0xB8038000
 
#define LSEQ7_HOST_REG_BASE_ADR   0xB803C000
 
#define LmARP2CTL(LinkNum)
 
#define LmARP2INT(LinkNum)
 
#define LmARP2INTEN(LinkNum)
 
#define LmDBGMODE(LinkNum)
 
#define LmCONTROL(LinkNum)
 
#define LmARP2BREAKADR01(LinkNum)
 
#define LmARP2BREAKADR23(LinkNum)
 
#define LmMODECTL(LinkNum)
 
#define LmAUTODISCI   0x08000000
 
#define LmDSBLBITLT   0x04000000
 
#define LmDSBLANTT   0x02000000
 
#define LmDSBLCRTT   0x01000000
 
#define LmDSBLCONT   0x00000100
 
#define LmPRIMODE   0x00000080
 
#define LmDSBLHOLD   0x00000040
 
#define LmDISACK   0x00000020
 
#define LmBLIND48   0x00000010
 
#define LmRCVMODE_MASK   0x0000000C
 
#define LmRCVMODE_PLD   0x00000000
 
#define LmRCVMODE_HPC   0x00000004
 
#define LmDBGMODE(LinkNum)
 
#define LmFRCPERR   0x80000000
 
#define LmMEMSEL_MASK   0x30000000
 
#define LmFRCRBPERR   0x00000000
 
#define LmFRCTBPERR   0x10000000
 
#define LmFRCSGBPERR   0x20000000
 
#define LmFRCARBPERR   0x30000000
 
#define LmRCVIDW   0x00080000
 
#define LmINVDWERR   0x00040000
 
#define LmRCVDISP   0x00004000
 
#define LmDISPERR   0x00002000
 
#define LmDSBLDSCR   0x00000800
 
#define LmDSBLSCR   0x00000400
 
#define LmFRCNAK   0x00000200
 
#define LmFRCROFS   0x00000100
 
#define LmFRCCRC   0x00000080
 
#define LmFRMTYPE_MASK   0x00000070
 
#define LmSG_DATA   0x00000000
 
#define LmSG_COMMAND   0x00000010
 
#define LmSG_TASK   0x00000020
 
#define LmSG_TGTXFER   0x00000030
 
#define LmSG_RESPONSE   0x00000040
 
#define LmSG_IDENADDR   0x00000050
 
#define LmSG_OPENADDR   0x00000060
 
#define LmDISCRCGEN   0x00000008
 
#define LmDISCRCCHK   0x00000004
 
#define LmSSXMTFRM   0x00000002
 
#define LmSSRCVFRM   0x00000001
 
#define LmCONTROL(LinkNum)
 
#define LmSTEPXMTFRM   0x00000002
 
#define LmSTEPRCVFRM   0x00000001
 
#define LmBISTCTL0(LinkNum)
 
#define ARBBISTEN   0x40000000
 
#define ARBBISTDN   0x20000000 /* ro */
 
#define ARBBISTFAIL   0x10000000 /* ro */
 
#define TBBISTEN   0x00000400
 
#define TBBISTDN   0x00000200 /* ro */
 
#define TBBISTFAIL   0x00000100 /* ro */
 
#define RBBISTEN   0x00000040
 
#define RBBISTDN   0x00000020 /* ro */
 
#define RBBISTFAIL   0x00000010 /* ro */
 
#define SGBISTEN   0x00000004
 
#define SGBISTDN   0x00000002 /* ro */
 
#define SGBISTFAIL   0x00000001 /* ro */
 
#define LmBISTCTL1(LinkNum)
 
#define LmRAMPAGE1   0x00000200
 
#define LmRAMPAGE0   0x00000100
 
#define LmIMEMBISTEN   0x00000040
 
#define LmIMEMBISTDN   0x00000020 /* ro */
 
#define LmIMEMBISTFAIL   0x00000010 /* ro */
 
#define LmSCRBISTEN   0x00000004
 
#define LmSCRBISTDN   0x00000002 /* ro */
 
#define LmSCRBISTFAIL   0x00000001 /* ro */
 
#define LmRAMPAGE   (LmRAMPAGE1 + LmRAMPAGE0)
 
#define LmRAMPAGE_LSHIFT   0x8
 
#define LmSCRATCH(LinkNum)
 
#define LmSEQRAM(LinkNum)
 
#define LmSEQ_CIOBUS_REG_BASE   0x2000
 
#define LmSEQ_PHY_BASE(Mode, LinkNum)
 
#define LmSEQ_PHY_REG(Mode, LinkNum, Reg)   (LmSEQ_PHY_BASE(Mode, LinkNum) + (u32) (Reg))
 
#define LmMODEPTR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, MODEPTR)
 
#define LmALTMODE(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ALTMODE)
 
#define LmATOMICXCHG(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ATOMICXCHG)
 
#define LmFLAG(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, FLAG)
 
#define LmARP2INTCTL(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ARP2INTCTL)
 
#define LmSTACK(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, STACK)
 
#define LmFUNCTION1(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, FUNCTION1)
 
#define LmPRGMCNT(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, PRGMCNT)
 
#define LmACCUM(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ACCUM)
 
#define LmSINDEX(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, SINDEX)
 
#define LmDINDEX(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, DINDEX)
 
#define LmALLONES(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ALLONES)
 
#define LmALLZEROS(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ALLZEROS)
 
#define LmSINDIR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, SINDIR)
 
#define LmDINDIR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, DINDIR)
 
#define LmJUMLDIR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, JUMLDIR)
 
#define LmARP2HALTCODE(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, ARP2HALTCODE)
 
#define LmCURRADDR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, CURRADDR)
 
#define LmLASTADDR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, LASTADDR)
 
#define LmNXTLADDR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, NXTLADDR)
 
#define LmDBGPORTPTR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, DBGPORTPTR)
 
#define LmDBGPORT(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, DBGPORT)
 
#define LmSCRATCHPAGE(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, SCRATCHPAGE)
 
#define LmMnSCRATCHPAGE(LinkNum, Mode)
 
#define LmTIMERCALC(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x28)
 
#define LmREQMBX(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x30)
 
#define LmRSPMBX(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x34)
 
#define LmMnINT(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x38)
 
#define CTXMEMSIZE   0x80000000 /* ro */
 
#define LmACKREQ   0x08000000
 
#define LmNAKREQ   0x04000000
 
#define LmMnXMTERR   0x02000000
 
#define LmM5OOBSVC   0x01000000
 
#define LmHWTINT   0x00800000
 
#define LmMnCTXDONE   0x00100000
 
#define LmM2REQMBXF   0x00080000
 
#define LmM2RSPMBXE   0x00040000
 
#define LmMnDMAERR   0x00020000
 
#define LmRCVPRIM   0x00010000
 
#define LmRCVERR   0x00008000
 
#define LmADDRRCV   0x00004000
 
#define LmMnHDRMISS   0x00002000
 
#define LmMnWAITSCB   0x00001000
 
#define LmMnRLSSCB   0x00000800
 
#define LmMnSAVECTX   0x00000400
 
#define LmMnFETCHSG   0x00000200
 
#define LmMnLOADCTX   0x00000100
 
#define LmMnCFGICL   0x00000080
 
#define LmMnCFGSATA   0x00000040
 
#define LmMnCFGEXPSATA   0x00000020
 
#define LmMnCFGCMPLT   0x00000010
 
#define LmMnCFGRBUF   0x00000008
 
#define LmMnSAVETTR   0x00000004
 
#define LmMnCFGRDAT   0x00000002
 
#define LmMnCFGHDR   0x00000001
 
#define LmMnINTEN(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x3C)
 
#define EN_LmACKREQ   0x08000000
 
#define EN_LmNAKREQ   0x04000000
 
#define EN_LmMnXMTERR   0x02000000
 
#define EN_LmM5OOBSVC   0x01000000
 
#define EN_LmHWTINT   0x00800000
 
#define EN_LmMnCTXDONE   0x00100000
 
#define EN_LmM2REQMBXF   0x00080000
 
#define EN_LmM2RSPMBXE   0x00040000
 
#define EN_LmMnDMAERR   0x00020000
 
#define EN_LmRCVPRIM   0x00010000
 
#define EN_LmRCVERR   0x00008000
 
#define EN_LmADDRRCV   0x00004000
 
#define EN_LmMnHDRMISS   0x00002000
 
#define EN_LmMnWAITSCB   0x00001000
 
#define EN_LmMnRLSSCB   0x00000800
 
#define EN_LmMnSAVECTX   0x00000400
 
#define EN_LmMnFETCHSG   0x00000200
 
#define EN_LmMnLOADCTX   0x00000100
 
#define EN_LmMnCFGICL   0x00000080
 
#define EN_LmMnCFGSATA   0x00000040
 
#define EN_LmMnCFGEXPSATA   0x00000020
 
#define EN_LmMnCFGCMPLT   0x00000010
 
#define EN_LmMnCFGRBUF   0x00000008
 
#define EN_LmMnSAVETTR   0x00000004
 
#define EN_LmMnCFGRDAT   0x00000002
 
#define EN_LmMnCFGHDR   0x00000001
 
#define LmM0INTEN_MASK
 
#define LmM1INTEN_MASK
 
#define LmM2INTEN_MASK
 
#define LmM5INTEN_MASK
 
#define LmXMTPRIMD(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x40)
 
#define LmXMTPRIMCS(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x44)
 
#define LmCONSTAT(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x45)
 
#define LmMnDMAERRS(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x46)
 
#define LmMnSGDMAERRS(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x47)
 
#define LmM0EXPHDRP(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x48)
 
#define LmM1SASALIGN(LinkNum)   LmSEQ_PHY_REG(1, LinkNum, 0x48)
 
#define SAS_ALIGN_DEFAULT   0xFF
 
#define LmM0MSKHDRP(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x49)
 
#define LmM1STPALIGN(LinkNum)   LmSEQ_PHY_REG(1, LinkNum, 0x49)
 
#define STP_ALIGN_DEFAULT   0x1F
 
#define LmM0RCVHDRP(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x4A)
 
#define LmM1XMTHDRP(LinkNum)   LmSEQ_PHY_REG(1, LinkNum, 0x4A)
 
#define LmM0ICLADR(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x4B)
 
#define LmM1ALIGNMODE(LinkNum)   LmSEQ_PHY_REG(1, LinkNum, 0x4B)
 
#define LmDISALIGN   0x20
 
#define LmROTSTPALIGN   0x10
 
#define LmSTPALIGN   0x08
 
#define LmROTNOTIFY   0x04
 
#define LmDUALALIGN   0x02
 
#define LmROTALIGN   0x01
 
#define LmM0EXPRCVNT(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x4C)
 
#define LmM1XMTCNT(LinkNum)   LmSEQ_PHY_REG(1, LinkNum, 0x4C)
 
#define LmMnBUFSTAT(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x4E)
 
#define LmMnBUFPERR   0x01
 
#define LmMnXFRLVL(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x59)
 
#define LmMnXFRLVL_128   0x05
 
#define LmMnXFRLVL_256   0x04
 
#define LmMnXFRLVL_512   0x03
 
#define LmMnXFRLVL_1024   0x02
 
#define LmMnXFRLVL_1536   0x01
 
#define LmMnXFRLVL_2048   0x00
 
#define LmMnSGDMACTL(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x5A)
 
#define LmMnRESETSG   0x04
 
#define LmMnSTOPSG   0x02
 
#define LmMnSTARTSG   0x01
 
#define LmMnSGDMASTAT(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x5B)
 
#define LmMnDDMACTL(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x5C)
 
#define LmMnFLUSH   0x40 /* wo */
 
#define LmMnRLSRTRY   0x20 /* wo */
 
#define LmMnDISCARD   0x10 /* wo */
 
#define LmMnRESETDAT   0x08 /* wo */
 
#define LmMnSUSDAT   0x04 /* wo */
 
#define LmMnSTOPDAT   0x02 /* wo */
 
#define LmMnSTARTDAT   0x01 /* wo */
 
#define LmMnDDMASTAT(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x5D)
 
#define LmMnDPEMPTY   0x80
 
#define LmMnFLUSHING   0x40
 
#define LmMnDDMAREQ   0x20
 
#define LmMnHDMAREQ   0x10
 
#define LmMnDATFREE   0x08
 
#define LmMnDATSUS   0x04
 
#define LmMnDATACT   0x02
 
#define LmMnDATEN   0x01
 
#define LmMnDDMAMODE(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x5E)
 
#define LmMnDMATYPE_NORMAL   0x0000
 
#define LmMnDMATYPE_HOST_ONLY_TX   0x0001
 
#define LmMnDMATYPE_DEVICE_ONLY_TX   0x0002
 
#define LmMnDMATYPE_INVALID   0x0003
 
#define LmMnDMATYPE_MASK   0x0003
 
#define LmMnDMAWRAP   0x0004
 
#define LmMnBITBUCKET   0x0008
 
#define LmMnDISHDR   0x0010
 
#define LmMnSTPCRC   0x0020
 
#define LmXTEST   0x0040
 
#define LmMnDISCRC   0x0080
 
#define LmMnENINTLK   0x0100
 
#define LmMnADDRFRM   0x0400
 
#define LmMnENXMTCRC   0x0800
 
#define LmMnXFRCNT(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x70)
 
#define LmMnDPSEL(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x7B)
 
#define LmMnDPSEL_MASK   0x07
 
#define LmMnEOLPRE   0x40
 
#define LmMnEOSPRE   0x80
 
#define LmMnHRADDR   0x00
 
#define LmMnHBYTECNT   0x01
 
#define LmMnHREWIND   0x02
 
#define LmMnDWADDR   0x03
 
#define LmMnDSPACECNT   0x04
 
#define LmMnDFRMSIZE   0x05
 
#define LmMnHWADDR   0x00
 
#define LmMnHSPACECNT   0x01
 
#define LmMnDRADDR   0x03
 
#define LmMnDBYTECNT   0x04
 
#define LmMnDPACC(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x78)
 
#define LmMnDPACC_MASK   0x00FFFFFF
 
#define LmMnHOLDLVL(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x7D)
 
#define LmPRMSTAT0(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x80)
 
#define LmPRMSTAT0BYTE0   0x80
 
#define LmPRMSTAT0BYTE1   0x81
 
#define LmPRMSTAT0BYTE2   0x82
 
#define LmPRMSTAT0BYTE3   0x83
 
#define LmFRAMERCVD   0x80000000
 
#define LmXFRRDYRCVD   0x40000000
 
#define LmUNKNOWNP   0x20000000
 
#define LmBREAK   0x10000000
 
#define LmDONE   0x08000000
 
#define LmOPENACPT   0x04000000
 
#define LmOPENRJCT   0x02000000
 
#define LmOPENRTRY   0x01000000
 
#define LmCLOSERV1   0x00800000
 
#define LmCLOSERV0   0x00400000
 
#define LmCLOSENORM   0x00200000
 
#define LmCLOSECLAF   0x00100000
 
#define LmNOTIFYRV2   0x00080000
 
#define LmNOTIFYRV1   0x00040000
 
#define LmNOTIFYRV0   0x00020000
 
#define LmNOTIFYSPIN   0x00010000
 
#define LmBROADRV4   0x00008000
 
#define LmBROADRV3   0x00004000
 
#define LmBROADRV2   0x00002000
 
#define LmBROADRV1   0x00001000
 
#define LmBROADSES   0x00000800
 
#define LmBROADRVCH1   0x00000400
 
#define LmBROADRVCH0   0x00000200
 
#define LmBROADCH   0x00000100
 
#define LmAIPRVWP   0x00000080
 
#define LmAIPWP   0x00000040
 
#define LmAIPWD   0x00000020
 
#define LmAIPWC   0x00000010
 
#define LmAIPRV2   0x00000008
 
#define LmAIPRV1   0x00000004
 
#define LmAIPRV0   0x00000002
 
#define LmAIPNRML   0x00000001
 
#define LmBROADCAST_MASK
 
#define LmPRMSTAT1(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0x84)
 
#define LmPRMSTAT1BYTE0   0x84
 
#define LmPRMSTAT1BYTE1   0x85
 
#define LmPRMSTAT1BYTE2   0x86
 
#define LmPRMSTAT1BYTE3   0x87
 
#define LmFRMRCVDSTAT   0x80000000
 
#define LmBREAK_DET   0x04000000
 
#define LmCLOSE_DET   0x02000000
 
#define LmDONE_DET   0x01000000
 
#define LmXRDY   0x00040000
 
#define LmSYNCSRST   0x00020000
 
#define LmSYNC   0x00010000
 
#define LmXHOLD   0x00008000
 
#define LmRRDY   0x00004000
 
#define LmHOLD   0x00002000
 
#define LmROK   0x00001000
 
#define LmRIP   0x00000800
 
#define LmCRBLK   0x00000400
 
#define LmACK   0x00000200
 
#define LmNAK   0x00000100
 
#define LmHARDRST   0x00000080
 
#define LmERROR   0x00000040
 
#define LmRERR   0x00000020
 
#define LmPMREQP   0x00000010
 
#define LmPMREQS   0x00000008
 
#define LmPMACK   0x00000004
 
#define LmPMNAK   0x00000002
 
#define LmDMAT   0x00000001
 
#define LmMnSATAFS(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x7E)
 
#define LmMnXMTSIZE(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0x93)
 
#define LmMnFRMERR(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0xB0)
 
#define LmACRCERR   0x00000800
 
#define LmPHYOVRN   0x00000400
 
#define LmOBOVRN   0x00000200
 
#define LmMnZERODATA   0x00000100
 
#define LmSATAINTLK   0x00000080
 
#define LmMnCRCERR   0x00000020
 
#define LmRRDYOVRN   0x00000010
 
#define LmMISSSOAF   0x00000008
 
#define LmMISSSOF   0x00000004
 
#define LmMISSEOAF   0x00000002
 
#define LmMISSEOF   0x00000001
 
#define LmFRMERREN(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xB4)
 
#define EN_LmACRCERR   0x00000800
 
#define EN_LmPHYOVRN   0x00000400
 
#define EN_LmOBOVRN   0x00000200
 
#define EN_LmMnZERODATA   0x00000100
 
#define EN_LmSATAINTLK   0x00000080
 
#define EN_LmFRMBAD   0x00000040
 
#define EN_LmMnCRCERR   0x00000020
 
#define EN_LmRRDYOVRN   0x00000010
 
#define EN_LmMISSSOAF   0x00000008
 
#define EN_LmMISSSOF   0x00000004
 
#define EN_LmMISSEOAF   0x00000002
 
#define EN_LmMISSEOF   0x00000001
 
#define LmFRMERREN_MASK
 
#define LmHWTSTATEN(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xC5)
 
#define EN_LmDONETO   0x80
 
#define EN_LmINVDISP   0x40
 
#define EN_LmINVDW   0x20
 
#define EN_LmDWSEVENT   0x08
 
#define EN_LmCRTTTO   0x04
 
#define EN_LmANTTTO   0x02
 
#define EN_LmBITLTTO   0x01
 
#define LmHWTSTATEN_MASK
 
#define LmHWTSTAT(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xC7)
 
#define LmDONETO   0x80
 
#define LmINVDISP   0x40
 
#define LmINVDW   0x20
 
#define LmDWSEVENT   0x08
 
#define LmCRTTTO   0x04
 
#define LmANTTTO   0x02
 
#define LmBITLTTO   0x01
 
#define LmMnDATABUFADR(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0xC8)
 
#define LmDATABUFADR_MASK   0x0FFF
 
#define LmMnDATABUF(LinkNum, Mode)   LmSEQ_PHY_REG(Mode, LinkNum, 0xCA)
 
#define LmPRIMSTAT0EN(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xE0)
 
#define EN_LmUNKNOWNP   0x20000000
 
#define EN_LmBREAK   0x10000000
 
#define EN_LmDONE   0x08000000
 
#define EN_LmOPENACPT   0x04000000
 
#define EN_LmOPENRJCT   0x02000000
 
#define EN_LmOPENRTRY   0x01000000
 
#define EN_LmCLOSERV1   0x00800000
 
#define EN_LmCLOSERV0   0x00400000
 
#define EN_LmCLOSENORM   0x00200000
 
#define EN_LmCLOSECLAF   0x00100000
 
#define EN_LmNOTIFYRV2   0x00080000
 
#define EN_LmNOTIFYRV1   0x00040000
 
#define EN_LmNOTIFYRV0   0x00020000
 
#define EN_LmNOTIFYSPIN   0x00010000
 
#define EN_LmBROADRV4   0x00008000
 
#define EN_LmBROADRV3   0x00004000
 
#define EN_LmBROADRV2   0x00002000
 
#define EN_LmBROADRV1   0x00001000
 
#define EN_LmBROADRV0   0x00000800
 
#define EN_LmBROADRVCH1   0x00000400
 
#define EN_LmBROADRVCH0   0x00000200
 
#define EN_LmBROADCH   0x00000100
 
#define EN_LmAIPRVWP   0x00000080
 
#define EN_LmAIPWP   0x00000040
 
#define EN_LmAIPWD   0x00000020
 
#define EN_LmAIPWC   0x00000010
 
#define EN_LmAIPRV2   0x00000008
 
#define EN_LmAIPRV1   0x00000004
 
#define EN_LmAIPRV0   0x00000002
 
#define EN_LmAIPNRML   0x00000001
 
#define LmPRIMSTAT0EN_MASK
 
#define LmPRIMSTAT1EN(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xE4)
 
#define EN_LmXRDY   0x00040000
 
#define EN_LmSYNCSRST   0x00020000
 
#define EN_LmSYNC   0x00010000
 
#define EN_LmXHOLD   0x00008000
 
#define EN_LmRRDY   0x00004000
 
#define EN_LmHOLD   0x00002000
 
#define EN_LmROK   0x00001000
 
#define EN_LmRIP   0x00000800
 
#define EN_LmCRBLK   0x00000400
 
#define EN_LmACK   0x00000200
 
#define EN_LmNAK   0x00000100
 
#define EN_LmHARDRST   0x00000080
 
#define EN_LmERROR   0x00000040
 
#define EN_LmRERR   0x00000020
 
#define EN_LmPMREQP   0x00000010
 
#define EN_LmPMREQS   0x00000008
 
#define EN_LmPMACK   0x00000004
 
#define EN_LmPMNAK   0x00000002
 
#define EN_LmDMAT   0x00000001
 
#define LmPRIMSTAT1EN_MASK
 
#define LmSMSTATE(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xE8)
 
#define LmSMSTATEBRK(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xEC)
 
#define LmSMDBGCTL(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xF0)
 
#define LmM3SATATIMER(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x48)
 
#define LmM3INTVEC0(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x90)
 
#define LmM3INTVEC1(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x92)
 
#define LmM3INTVEC2(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x94)
 
#define LmM3INTVEC3(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x96)
 
#define LmM3INTVEC4(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x98)
 
#define LmM3INTVEC5(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x9A)
 
#define LmM3INTVEC6(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x9C)
 
#define LmM3INTVEC7(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0x9E)
 
#define LmM3INTVEC8(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0xA4)
 
#define LmM3INTVEC9(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0xA6)
 
#define LmM3INTVEC10(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0xB0)
 
#define LmM3FRMGAP(LinkNum)   LmSEQ_PHY_REG(3, LinkNum, 0xB4)
 
#define LmBITL_TIMER(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xA2)
 
#define LmWWN(LinkNum)   LmSEQ_PHY_REG(0, LinkNum, 0xA8)
 
#define LmSEQ_OOB_REG(phy_id, reg)   LmSEQ_PHY_REG(5, (phy_id), (reg))
 
#define OOB_BFLTR   0x100
 
#define BFLTR_THR_MASK   0xF0
 
#define BFLTR_TC_MASK   0x0F
 
#define OOB_INIT_MIN   0x102
 
#define OOB_INIT_MAX   0x104
 
#define OOB_INIT_NEG   0x106
 
#define OOB_SAS_MIN   0x108
 
#define OOB_SAS_MAX   0x10A
 
#define OOB_SAS_NEG   0x10C
 
#define OOB_WAKE_MIN   0x10E
 
#define OOB_WAKE_MAX   0x110
 
#define OOB_WAKE_NEG   0x112
 
#define OOB_IDLE_MAX   0x114
 
#define OOB_BURST_MAX   0x116
 
#define OOB_DATA_KBITS   0x126
 
#define OOB_ALIGN_0_DATA   0x12C
 
#define OOB_ALIGN_1_DATA   0x130
 
#define D10_2_DATA_k   0x00
 
#define SYNC_DATA_k   0x02
 
#define ALIGN_1_DATA_k   0x04
 
#define ALIGN_0_DATA_k   0x08
 
#define BURST_DATA_k   0x10
 
#define OOB_PHY_RESET_COUNT   0x13C
 
#define OOB_SIG_GEN   0x140
 
#define START_OOB   0x80
 
#define START_DWS   0x40
 
#define ALIGN_CNT3   0x30
 
#define ALIGN_CNT2   0x20
 
#define ALIGN_CNT1   0x10
 
#define ALIGN_CNT4   0x00
 
#define STOP_DWS   0x08
 
#define SEND_COMSAS   0x04
 
#define SEND_COMINIT   0x02
 
#define SEND_COMWAKE   0x01
 
#define OOB_XMIT   0x141
 
#define TX_ENABLE   0x80
 
#define XMIT_OOB_BURST   0x10
 
#define XMIT_D10_2   0x08
 
#define XMIT_SYNC   0x04
 
#define XMIT_ALIGN_1   0x02
 
#define XMIT_ALIGN_0   0x01
 
#define FUNCTION_MASK   0x142
 
#define SAS_MODE_DIS   0x80
 
#define SATA_MODE_DIS   0x40
 
#define SPINUP_HOLD_DIS   0x20
 
#define HOT_PLUG_DIS   0x10
 
#define SATA_PS_DIS   0x08
 
#define FUNCTION_MASK_DEFAULT   (SPINUP_HOLD_DIS | SATA_PS_DIS)
 
#define OOB_MODE   0x143
 
#define SAS_MODE   0x80
 
#define SATA_MODE   0x40
 
#define SLOW_CLK   0x20
 
#define FORCE_XMIT_15   0x08
 
#define PHY_SPEED_60   0x04
 
#define PHY_SPEED_30   0x02
 
#define PHY_SPEED_15   0x01
 
#define CURRENT_STATUS   0x144
 
#define CURRENT_OOB_DONE   0x80
 
#define CURRENT_LOSS_OF_SIGNAL   0x40
 
#define CURRENT_SPINUP_HOLD   0x20
 
#define CURRENT_HOT_PLUG_CNCT   0x10
 
#define CURRENT_GTO_TIMEOUT   0x08
 
#define CURRENT_OOB_TIMEOUT   0x04
 
#define CURRENT_DEVICE_PRESENT   0x02
 
#define CURRENT_OOB_ERROR   0x01
 
#define CURRENT_OOB1_ERROR
 
#define CURRENT_OOB2_ERROR
 
#define DEVICE_ADDED_W_CNT
 
#define DEVICE_ADDED_WO_CNT
 
#define DEVICE_REMOVED   CURRENT_LOSS_OF_SIGNAL
 
#define CURRENT_PHY_MASK
 
#define CURRENT_ERR_MASK
 
#define SPEED_MASK   0x145
 
#define SATA_SPEED_30_DIS   0x10
 
#define SATA_SPEED_15_DIS   0x08
 
#define SAS_SPEED_60_DIS   0x04
 
#define SAS_SPEED_30_DIS   0x02
 
#define SAS_SPEED_15_DIS   0x01
 
#define SAS_SPEED_MASK_DEFAULT   0x00
 
#define OOB_TIMER_ENABLE   0x14D
 
#define HOT_PLUG_EN   0x80
 
#define RCD_EN   0x40
 
#define COMTIMER_EN   0x20
 
#define SNTT_EN   0x10
 
#define SNLT_EN   0x04
 
#define SNWT_EN   0x02
 
#define ALIGN_EN   0x01
 
#define OOB_STATUS   0x14E
 
#define OOB_DONE   0x80
 
#define LOSS_OF_SIGNAL   0x40 /* ro */
 
#define SPINUP_HOLD   0x20
 
#define HOT_PLUG_CNCT   0x10 /* ro */
 
#define GTO_TIMEOUT   0x08 /* ro */
 
#define OOB_TIMEOUT   0x04 /* ro */
 
#define DEVICE_PRESENT   0x02 /* ro */
 
#define OOB_ERROR   0x01 /* ro */
 
#define OOB_STATUS_ERROR_MASK
 
#define OOB_STATUS_CLEAR   0x14F
 
#define OOB_DONE_CLR   0x80
 
#define LOSS_OF_SIGNAL_CLR   0x40
 
#define SPINUP_HOLD_CLR   0x20
 
#define HOT_PLUG_CNCT_CLR   0x10
 
#define GTO_TIMEOUT_CLR   0x08
 
#define OOB_TIMEOUT_CLR   0x04
 
#define OOB_ERROR_CLR   0x01
 
#define HOT_PLUG_DELAY   0x150
 
#define HOTPLUG_DELAY_TIMEOUT   20
 
#define INT_ENABLE_2   0x15A
 
#define OOB_DONE_EN   0x80
 
#define LOSS_OF_SIGNAL_EN   0x40
 
#define SPINUP_HOLD_EN   0x20
 
#define HOT_PLUG_CNCT_EN   0x10
 
#define GTO_TIMEOUT_EN   0x08
 
#define OOB_TIMEOUT_EN   0x04
 
#define DEVICE_PRESENT_EN   0x02
 
#define OOB_ERROR_EN   0x01
 
#define PHY_CONTROL_0   0x160
 
#define PHY_LOWPWREN_TX   0x80
 
#define PHY_LOWPWREN_RX   0x40
 
#define SPARE_REG_160_B5   0x20
 
#define OFFSET_CANCEL_RX   0x10
 
#define PHY_RXCOMCENTER_60V   0x00
 
#define PHY_RXCOMCENTER_70V   0x04
 
#define PHY_RXCOMCENTER_80V   0x08
 
#define PHY_RXCOMCENTER_90V   0x0C
 
#define PHY_RXCOMCENTER_MASK   0x0C
 
#define PHY_RESET   0x02
 
#define SAS_DEFAULT_SEL   0x01
 
#define PHY_CONTROL_1   0x161
 
#define SATA_PHY_DETLEVEL_50mv   0x00
 
#define SATA_PHY_DETLEVEL_75mv   0x01
 
#define SATA_PHY_DETLEVEL_100mv   0x02
 
#define SATA_PHY_DETLEVEL_125mv   0x03
 
#define SATA_PHY_DETLEVEL_150mv   0x04
 
#define SATA_PHY_DETLEVEL_175mv   0x05
 
#define SATA_PHY_DETLEVEL_200mv   0x06
 
#define SATA_PHY_DETLEVEL_225mv   0x07
 
#define SATA_PHY_DETLEVEL_MASK   0x07
 
#define SAS_PHY_DETLEVEL_50mv   0x00
 
#define SAS_PHY_DETLEVEL_75mv   0x08
 
#define SAS_PHY_DETLEVEL_100mv   0x10
 
#define SAS_PHY_DETLEVEL_125mv   0x11
 
#define SAS_PHY_DETLEVEL_150mv   0x20
 
#define SAS_PHY_DETLEVEL_175mv   0x21
 
#define SAS_PHY_DETLEVEL_200mv   0x30
 
#define SAS_PHY_DETLEVEL_225mv   0x31
 
#define SAS_PHY_DETLEVEL_MASK   0x38
 
#define PHY_CONTROL_2   0x162
 
#define SATA_PHY_DRV_400mv   0x00
 
#define SATA_PHY_DRV_450mv   0x20
 
#define SATA_PHY_DRV_500mv   0x40
 
#define SATA_PHY_DRV_550mv   0x60
 
#define SATA_PHY_DRV_600mv   0x80
 
#define SATA_PHY_DRV_650mv   0xA0
 
#define SATA_PHY_DRV_725mv   0xC0
 
#define SATA_PHY_DRV_800mv   0xE0
 
#define SATA_PHY_DRV_MASK   0xE0
 
#define SATA_PREEMP_0   0x00
 
#define SATA_PREEMP_1   0x08
 
#define SATA_PREEMP_2   0x10
 
#define SATA_PREEMP_3   0x18
 
#define SATA_PREEMP_MASK   0x18
 
#define SATA_CMSH1P5   0x04
 
#define SATA_SLEW_0   0x00
 
#define SATA_SLEW_1   0x01
 
#define SATA_SLEW_2   0x02
 
#define SATA_SLEW_3   0x03
 
#define SATA_SLEW_MASK   0x03
 
#define PHY_CONTROL_3   0x163
 
#define SAS_PHY_DRV_400mv   0x00
 
#define SAS_PHY_DRV_450mv   0x20
 
#define SAS_PHY_DRV_500mv   0x40
 
#define SAS_PHY_DRV_550mv   0x60
 
#define SAS_PHY_DRV_600mv   0x80
 
#define SAS_PHY_DRV_650mv   0xA0
 
#define SAS_PHY_DRV_725mv   0xC0
 
#define SAS_PHY_DRV_800mv   0xE0
 
#define SAS_PHY_DRV_MASK   0xE0
 
#define SAS_PREEMP_0   0x00
 
#define SAS_PREEMP_1   0x08
 
#define SAS_PREEMP_2   0x10
 
#define SAS_PREEMP_3   0x18
 
#define SAS_PREEMP_MASK   0x18
 
#define SAS_CMSH1P5   0x04
 
#define SAS_SLEW_0   0x00
 
#define SAS_SLEW_1   0x01
 
#define SAS_SLEW_2   0x02
 
#define SAS_SLEW_3   0x03
 
#define SAS_SLEW_MASK   0x03
 
#define PHY_CONTROL_4   0x168
 
#define PHY_DONE_CAL_TX   0x80
 
#define PHY_DONE_CAL_RX   0x40
 
#define RX_TERM_LOAD_DIS   0x20
 
#define TX_TERM_LOAD_DIS   0x10
 
#define AUTO_TERM_CAL_DIS   0x08
 
#define PHY_SIGDET_FLTR_EN   0x04
 
#define OSC_FREQ   0x02
 
#define PHY_START_CAL   0x01
 
#define PCIX_REG_BASE_ADR   0xB8040000
 
#define PCIC_VENDOR_ID   0x00
 
#define PCIC_DEVICE_ID   0x02
 
#define PCIC_COMMAND   0x04
 
#define INT_DIS   0x0400
 
#define FBB_EN   0x0200 /* ro */
 
#define SERR_EN   0x0100
 
#define STEP_EN   0x0080 /* ro */
 
#define PERR_EN   0x0040
 
#define VGA_EN   0x0020 /* ro */
 
#define MWI_EN   0x0010
 
#define SPC_EN   0x0008
 
#define MST_EN   0x0004
 
#define MEM_EN   0x0002
 
#define IO_EN   0x0001
 
#define PCIC_STATUS   0x06
 
#define PERR_DET   0x8000
 
#define SERR_GEN   0x4000
 
#define MABT_DET   0x2000
 
#define TABT_DET   0x1000
 
#define TABT_GEN   0x0800
 
#define DPERR_DET   0x0100
 
#define CAP_LIST   0x0010
 
#define INT_STAT   0x0008
 
#define PCIC_DEVREV_ID   0x08
 
#define PCIC_CLASS_CODE   0x09
 
#define PCIC_CACHELINE_SIZE   0x0C
 
#define PCIC_MBAR0   0x10
 
#define PCIC_MBAR0_OFFSET   0
 
#define PCIC_MBAR1   0x18
 
#define PCIC_MBAR1_OFFSET   2
 
#define PCIC_IOBAR   0x20
 
#define PCIC_IOBAR_OFFSET   4
 
#define PCIC_SUBVENDOR_ID   0x2C
 
#define PCIC_SUBSYTEM_ID   0x2E
 
#define PCIX_STATUS   0x44
 
#define RCV_SCE   0x20000000
 
#define UNEXP_SC   0x00080000
 
#define SC_DISCARD   0x00040000
 
#define ECC_CTRL_STAT   0x48
 
#define UNCOR_ECCERR   0x00000008
 
#define PCIC_PM_CSR   0x5C
 
#define PWR_STATE_D0   0
 
#define PWR_STATE_D1   1 /* not supported */
 
#define PWR_STATE_D2   2 /* not supported */
 
#define PWR_STATE_D3   3
 
#define PCIC_BASE1   0x6C /* internal use only */
 
#define BASE1_RSVD   0xFFFFFFF8
 
#define PCIC_BASEA   0x70 /* internal use only */
 
#define BASEA_RSVD   0xFFFFFFC0
 
#define BASEA_START   0
 
#define PCIC_BASEB   0x74 /* internal use only */
 
#define BASEB_RSVD   0xFFFFFF80
 
#define BASEB_IOMAP_MASK   0x7F
 
#define BASEB_START   0x80
 
#define PCIC_BASEC   0x78 /* internal use only */
 
#define BASEC_RSVD   0xFFFFFFFC
 
#define BASEC_MASK   0x03
 
#define BASEC_START   0x58
 
#define PCIC_MBAR_KEY   0x7C /* internal use only */
 
#define MBAR_KEY_MASK   0xFFFFFFFF
 
#define PCIC_HSTPCIX_CNTRL   0xA0
 
#define REWIND_DIS   0x0800
 
#define SC_TMR_DIS   0x04000000
 
#define PCIC_MBAR0_MASK   0xA8
 
#define PCIC_MBAR0_SIZE_MASK   0x1FFFE000
 
#define PCIC_MBAR0_SIZE_SHIFT   13
 
#define PCIC_MBAR0_SIZE(val)   (((val) & PCIC_MBAR0_SIZE_MASK) >> PCIC_MBAR0_SIZE_SHIFT)
 
#define PCIC_FLASH_MBAR   0xB8
 
#define PCIC_INTRPT_STAT   0xD4
 
#define PCIC_TP_CTRL   0xFC
 
#define EXSI_REG_BASE_ADR   REG_BASE_ADDR_EXSI
 
#define EXSICNFGR   (EXSI_REG_BASE_ADR + 0x00)
 
#define OCMINITIALIZED   0x80000000
 
#define ASIEN   0x00400000
 
#define HCMODE   0x00200000
 
#define PCIDEF   0x00100000
 
#define COMSTOCK   0x00080000
 
#define SEEPROMEND   0x00040000
 
#define MSTTIMEN   0x00020000
 
#define XREGEX   0x00000200
 
#define NVRAMW   0x00000100
 
#define NVRAMEX   0x00000080
 
#define SRAMW   0x00000040
 
#define SRAMEX   0x00000020
 
#define FLASHW   0x00000010
 
#define FLASHEX   0x00000008
 
#define SEEPROMCFG   0x00000004
 
#define SEEPROMTYP   0x00000002
 
#define SEEPROMEX   0x00000001
 
#define EXSICNTRLR   (EXSI_REG_BASE_ADR + 0x04)
 
#define MODINT_EN   0x00000001
 
#define PMSTATR   (EXSI_REG_BASE_ADR + 0x10)
 
#define FLASHRST   0x00000002
 
#define FLASHRDY   0x00000001
 
#define FLCNFGR   (EXSI_REG_BASE_ADR + 0x14)
 
#define FLWEH_MASK   0x30000000
 
#define FLWESU_MASK   0x0C000000
 
#define FLWEPW_MASK   0x03F00000
 
#define FLOEH_MASK   0x000C0000
 
#define FLOESU_MASK   0x00030000
 
#define FLOEPW_MASK   0x0000FC00
 
#define FLCSH_MASK   0x00000300
 
#define FLCSSU_MASK   0x000000C0
 
#define FLCSPW_MASK   0x0000003F
 
#define SRCNFGR   (EXSI_REG_BASE_ADR + 0x18)
 
#define SRWEH_MASK   0x30000000
 
#define SRWESU_MASK   0x0C000000
 
#define SRWEPW_MASK   0x03F00000
 
#define SROEH_MASK   0x000C0000
 
#define SROESU_MASK   0x00030000
 
#define SROEPW_MASK   0x0000FC00
 
#define SRCSH_MASK   0x00000300
 
#define SRCSSU_MASK   0x000000C0
 
#define SRCSPW_MASK   0x0000003F
 
#define NVCNFGR   (EXSI_REG_BASE_ADR + 0x1C)
 
#define NVWEH_MASK   0x30000000
 
#define NVWESU_MASK   0x0C000000
 
#define NVWEPW_MASK   0x03F00000
 
#define NVOEH_MASK   0x000C0000
 
#define NVOESU_MASK   0x00030000
 
#define NVOEPW_MASK   0x0000FC00
 
#define NVCSH_MASK   0x00000300
 
#define NVCSSU_MASK   0x000000C0
 
#define NVCSPW_MASK   0x0000003F
 
#define XRCNFGR   (EXSI_REG_BASE_ADR + 0x20)
 
#define XRWEH_MASK   0x30000000
 
#define XRWESU_MASK   0x0C000000
 
#define XRWEPW_MASK   0x03F00000
 
#define XROEH_MASK   0x000C0000
 
#define XROESU_MASK   0x00030000
 
#define XROEPW_MASK   0x0000FC00
 
#define XRCSH_MASK   0x00000300
 
#define XRCSSU_MASK   0x000000C0
 
#define XRCSPW_MASK   0x0000003F
 
#define XREGADDR   (EXSI_REG_BASE_ADR + 0x24)
 
#define XRADDRINCEN   0x80000000
 
#define XREGADD_MASK   0x007FFFFF
 
#define XREGDATAR   (EXSI_REG_BASE_ADR + 0x28)
 
#define XREGDATA_MASK   0x0000FFFF
 
#define GPIOOER   (EXSI_REG_BASE_ADR + 0x40)
 
#define GPIOODENR   (EXSI_REG_BASE_ADR + 0x44)
 
#define GPIOINVR   (EXSI_REG_BASE_ADR + 0x48)
 
#define GPIODATAOR   (EXSI_REG_BASE_ADR + 0x4C)
 
#define GPIODATAIR   (EXSI_REG_BASE_ADR + 0x50)
 
#define GPIOCNFGR   (EXSI_REG_BASE_ADR + 0x54)
 
#define GPIO_EXTSRC   0x00000001
 
#define SCNTRLR   (EXSI_REG_BASE_ADR + 0xA0)
 
#define SXFERDONE   0x00000100
 
#define SXFERCNT_MASK   0x000000E0
 
#define SCMDTYP_MASK   0x0000001C
 
#define SXFERSTART   0x00000002
 
#define SXFEREN   0x00000001
 
#define SRATER   (EXSI_REG_BASE_ADR + 0xA4)
 
#define SADDRR   (EXSI_REG_BASE_ADR + 0xA8)
 
#define SADDR_MASK   0x0000FFFF
 
#define SDATAOR   (EXSI_REG_BASE_ADR + 0xAC)
 
#define SDATAOR0   (EXSI_REG_BASE_ADR + 0xAC)
 
#define SDATAOR1   (EXSI_REG_BASE_ADR + 0xAD)
 
#define SDATAOR2   (EXSI_REG_BASE_ADR + 0xAE)
 
#define SDATAOR3   (EXSI_REG_BASE_ADR + 0xAF)
 
#define SDATAIR   (EXSI_REG_BASE_ADR + 0xB0)
 
#define SDATAIR0   (EXSI_REG_BASE_ADR + 0xB0)
 
#define SDATAIR1   (EXSI_REG_BASE_ADR + 0xB1)
 
#define SDATAIR2   (EXSI_REG_BASE_ADR + 0xB2)
 
#define SDATAIR3   (EXSI_REG_BASE_ADR + 0xB3)
 
#define ASISTAT0R   (EXSI_REG_BASE_ADR + 0xD0)
 
#define ASIFMTERR   0x00000400
 
#define ASISEECHKERR   0x00000200
 
#define ASIERR   0x00000100
 
#define ASISTAT1R   (EXSI_REG_BASE_ADR + 0xD4)
 
#define CHECKSUM_MASK   0x0000FFFF
 
#define ASIERRADDR   (EXSI_REG_BASE_ADR + 0xD8)
 
#define ASIERRDATAR   (EXSI_REG_BASE_ADR + 0xDC)
 
#define ASIERRSTATR   (EXSI_REG_BASE_ADR + 0xE0)
 
#define CPI2ASIBYTECNT_MASK   0x00070000
 
#define CPI2ASIBYTEEN_MASK   0x0000F000
 
#define CPI2ASITARGERR_MASK   0x00000F00
 
#define CPI2ASITARGMID_MASK   0x000000F0
 
#define CPI2ASIMSTERR_MASK   0x0000000F
 
#define XSRAM_REG_BASE_ADDR   0xB8100000
 
#define XSRAM_SIZE   0x100000
 
#define NVRAM_REG_BASE_ADR   0xBF800000
 
#define NVRAM_MAX_BASE_ADR   0x003FFFFF
 
#define OCM_BASE_ADDR   0xA0000000
 
#define OCM_MAX_SIZE   0x20000
 
#define CSEQ_PAGE_SIZE   32 /* Scratch page size (in bytes) */
 
#define CSEQ_LRM_SAVE_SINDEX   (CMAPPEDSCR + 0x0000)
 
#define CSEQ_LRM_SAVE_SCBPTR   (CMAPPEDSCR + 0x0002)
 
#define CSEQ_Q_LINK_HEAD   (CMAPPEDSCR + 0x0004)
 
#define CSEQ_Q_LINK_TAIL   (CMAPPEDSCR + 0x0006)
 
#define CSEQ_LRM_SAVE_SCRPAGE   (CMAPPEDSCR + 0x0008)
 
#define CSEQ_RET_ADDR   (CMAPPEDSCR + 0x0200)
 
#define CSEQ_RET_SCBPTR   (CMAPPEDSCR + 0x0202)
 
#define CSEQ_SAVE_SCBPTR   (CMAPPEDSCR + 0x0204)
 
#define CSEQ_EMPTY_TRANS_CTX   (CMAPPEDSCR + 0x0206)
 
#define CSEQ_RESP_LEN   (CMAPPEDSCR + 0x0208)
 
#define CSEQ_TMF_SCBPTR   (CMAPPEDSCR + 0x020A)
 
#define CSEQ_GLOBAL_PREV_SCB   (CMAPPEDSCR + 0x020C)
 
#define CSEQ_GLOBAL_HEAD   (CMAPPEDSCR + 0x020E)
 
#define CSEQ_CLEAR_LU_HEAD   (CMAPPEDSCR + 0x0210)
 
#define CSEQ_TMF_OPCODE   (CMAPPEDSCR + 0x0212)
 
#define CSEQ_SCRATCH_FLAGS   (CMAPPEDSCR + 0x0213)
 
#define CSEQ_HSB_SITE   (CMAPPEDSCR + 0x021A)
 
#define CSEQ_FIRST_INV_SCB_SITE   (CMAPPEDSCR + 0x021C)
 
#define CSEQ_FIRST_INV_DDB_SITE   (CMAPPEDSCR + 0x021E)
 
#define CSEQ_LUN_TO_CLEAR   (CMAPPEDSCR + 0x0220)
 
#define CSEQ_LUN_TO_CHECK   (CMAPPEDSCR + 0x0228)
 
#define CSEQ_HQ_NEW_POINTER   (CMAPPEDSCR + 0x0240)
 
#define CSEQ_HQ_DONE_BASE   (CMAPPEDSCR + 0x0248)
 
#define CSEQ_HQ_DONE_POINTER   (CMAPPEDSCR + 0x0250)
 
#define CSEQ_HQ_DONE_PASS   (CMAPPEDSCR + 0x0254)
 
#define CSEQ_Q_EXE_HEAD   (CMAPPEDSCR + 0x0280)
 
#define CSEQ_Q_EXE_TAIL   (CMAPPEDSCR + 0x0282)
 
#define CSEQ_Q_DONE_HEAD   (CMAPPEDSCR + 0x0284)
 
#define CSEQ_Q_DONE_TAIL   (CMAPPEDSCR + 0x0286)
 
#define CSEQ_Q_SEND_HEAD   (CMAPPEDSCR + 0x0288)
 
#define CSEQ_Q_SEND_TAIL   (CMAPPEDSCR + 0x028A)
 
#define CSEQ_Q_DMA2CHIM_HEAD   (CMAPPEDSCR + 0x028C)
 
#define CSEQ_Q_DMA2CHIM_TAIL   (CMAPPEDSCR + 0x028E)
 
#define CSEQ_Q_COPY_HEAD   (CMAPPEDSCR + 0x0290)
 
#define CSEQ_Q_COPY_TAIL   (CMAPPEDSCR + 0x0292)
 
#define CSEQ_REG0   (CMAPPEDSCR + 0x0294)
 
#define CSEQ_REG1   (CMAPPEDSCR + 0x0296)
 
#define CSEQ_REG2   (CMAPPEDSCR + 0x0298)
 
#define CSEQ_LINK_CTL_Q_MAP   (CMAPPEDSCR + 0x029C)
 
#define CSEQ_MAX_CSEQ_MODE   (CMAPPEDSCR + 0x029D)
 
#define CSEQ_FREE_LIST_HACK_COUNT   (CMAPPEDSCR + 0x029E)
 
#define CSEQ_EST_NEXUS_REQ_QUEUE   (CMAPPEDSCR + 0x02A0)
 
#define CSEQ_EST_NEXUS_REQ_COUNT   (CMAPPEDSCR + 0x02A8)
 
#define CSEQ_Q_EST_NEXUS_HEAD   (CMAPPEDSCR + 0x02B0)
 
#define CSEQ_Q_EST_NEXUS_TAIL   (CMAPPEDSCR + 0x02B2)
 
#define CSEQ_NEED_EST_NEXUS_SCB   (CMAPPEDSCR + 0x02B4)
 
#define CSEQ_EST_NEXUS_REQ_HEAD   (CMAPPEDSCR + 0x02B6)
 
#define CSEQ_EST_NEXUS_REQ_TAIL   (CMAPPEDSCR + 0x02B7)
 
#define CSEQ_EST_NEXUS_SCB_OFFSET   (CMAPPEDSCR + 0x02B8)
 
#define CSEQ_INT_ROUT_RET_ADDR0   (CMAPPEDSCR + 0x02C0)
 
#define CSEQ_INT_ROUT_RET_ADDR1   (CMAPPEDSCR + 0x02C2)
 
#define CSEQ_INT_ROUT_SCBPTR   (CMAPPEDSCR + 0x02C4)
 
#define CSEQ_INT_ROUT_MODE   (CMAPPEDSCR + 0x02C6)
 
#define CSEQ_ISR_SCRATCH_FLAGS   (CMAPPEDSCR + 0x02C7)
 
#define CSEQ_ISR_SAVE_SINDEX   (CMAPPEDSCR + 0x02C8)
 
#define CSEQ_ISR_SAVE_DINDEX   (CMAPPEDSCR + 0x02CA)
 
#define CSEQ_Q_MONIRTT_HEAD   (CMAPPEDSCR + 0x02D0)
 
#define CSEQ_Q_MONIRTT_TAIL   (CMAPPEDSCR + 0x02D2)
 
#define CSEQ_FREE_SCB_MASK   (CMAPPEDSCR + 0x02D5)
 
#define CSEQ_BUILTIN_FREE_SCB_HEAD   (CMAPPEDSCR + 0x02D6)
 
#define CSEQ_BUILTIN_FREE_SCB_TAIL   (CMAPPEDSCR + 0x02D8)
 
#define CSEQ_EXTENDED_FREE_SCB_HEAD   (CMAPPEDSCR + 0x02DA)
 
#define CSEQ_EXTENDED_FREE_SCB_TAIL   (CMAPPEDSCR + 0x02DC)
 
#define CSEQ_EMPTY_REQ_QUEUE   (CMAPPEDSCR + 0x02E0)
 
#define CSEQ_EMPTY_REQ_COUNT   (CMAPPEDSCR + 0x02E8)
 
#define CSEQ_Q_EMPTY_HEAD   (CMAPPEDSCR + 0x02F0)
 
#define CSEQ_Q_EMPTY_TAIL   (CMAPPEDSCR + 0x02F2)
 
#define CSEQ_NEED_EMPTY_SCB   (CMAPPEDSCR + 0x02F4)
 
#define CSEQ_EMPTY_REQ_HEAD   (CMAPPEDSCR + 0x02F6)
 
#define CSEQ_EMPTY_REQ_TAIL   (CMAPPEDSCR + 0x02F7)
 
#define CSEQ_EMPTY_SCB_OFFSET   (CMAPPEDSCR + 0x02F8)
 
#define CSEQ_PRIMITIVE_DATA   (CMAPPEDSCR + 0x02FA)
 
#define CSEQ_TIMEOUT_CONST   (CMAPPEDSCR + 0x02FC)
 
#define LSEQ_MODE_SCRATCH_SIZE   0x80 /* Size of scratch RAM per mode */
 
#define LSEQ_PAGE_SIZE   0x20 /* Scratch page size (in bytes) */
 
#define LSEQ_MODE5_PAGE0_OFFSET   0x60
 
#define LmSEQ_RET_ADDR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0000)
 
#define LmSEQ_REG0_MODE(LinkNum)   (LmSCRATCH(LinkNum) + 0x0002)
 
#define LmSEQ_MODE_FLAGS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0004)
 
#define SAS_SAVECTX_OCCURRED   0x80
 
#define SAS_OOBSVC_OCCURRED   0x40
 
#define SAS_OOB_DEVICE_PRESENT   0x20
 
#define SAS_CFGHDR_OCCURRED   0x10
 
#define SAS_RCV_INTS_ARE_DISABLED   0x08
 
#define SAS_OOB_HOT_PLUG_CNCT   0x04
 
#define SAS_AWAIT_OPEN_CONNECTION   0x02
 
#define SAS_CFGCMPLT_OCCURRED   0x01
 
#define SAS_RLSSCB_OCCURRED   0x80
 
#define SAS_FORCED_HEADER_MISS   0x40
 
#define LmSEQ_RET_ADDR2(LinkNum)   (LmSCRATCH(LinkNum) + 0x0006)
 
#define LmSEQ_RET_ADDR1(LinkNum)   (LmSCRATCH(LinkNum) + 0x0008)
 
#define LmSEQ_OPCODE_TO_CSEQ(LinkNum)   (LmSCRATCH(LinkNum) + 0x000B)
 
#define LmSEQ_DATA_TO_CSEQ(LinkNum)   (LmSCRATCH(LinkNum) + 0x000C)
 
#define LmSEQ_FIRST_INV_DDB_SITE(LinkNum)   (LmSCRATCH(LinkNum) + 0x000E)
 
#define LmSEQ_EMPTY_TRANS_CTX(LinkNum)   (LmSCRATCH(LinkNum) + 0x0010)
 
#define LmSEQ_RESP_LEN(LinkNum)   (LmSCRATCH(LinkNum) + 0x0012)
 
#define LmSEQ_FIRST_INV_SCB_SITE(LinkNum)   (LmSCRATCH(LinkNum) + 0x0014)
 
#define LmSEQ_INTEN_SAVE(LinkNum)   (LmSCRATCH(LinkNum) + 0x0016)
 
#define LmSEQ_LINK_RST_FRM_LEN(LinkNum)   (LmSCRATCH(LinkNum) + 0x001A)
 
#define LmSEQ_LINK_RST_PROTOCOL(LinkNum)   (LmSCRATCH(LinkNum) + 0x001B)
 
#define LmSEQ_RESP_STATUS(LinkNum)   (LmSCRATCH(LinkNum) + 0x001C)
 
#define LmSEQ_LAST_LOADED_SGE(LinkNum)   (LmSCRATCH(LinkNum) + 0x001D)
 
#define LmSEQ_SAVE_SCBPTR(LinkNum)   (LmSCRATCH(LinkNum) + 0x001E)
 
#define LmSEQ_Q_XMIT_HEAD(LinkNum)   (LmSCRATCH(LinkNum) + 0x008E)
 
#define LmSEQ_M1_EMPTY_TRANS_CTX(LinkNum)   (LmSCRATCH(LinkNum) + 0x0090)
 
#define LmSEQ_INI_CONN_TAG(LinkNum)   (LmSCRATCH(LinkNum) + 0x0092)
 
#define LmSEQ_FAILED_OPEN_STATUS(LinkNum)   (LmSCRATCH(LinkNum) + 0x009A)
 
#define LmSEQ_XMIT_REQUEST_TYPE(LinkNum)   (LmSCRATCH(LinkNum) + 0x009B)
 
#define LmSEQ_M1_RESP_STATUS(LinkNum)   (LmSCRATCH(LinkNum) + 0x009C)
 
#define LmSEQ_M1_LAST_LOADED_SGE(LinkNum)   (LmSCRATCH(LinkNum) + 0x009D)
 
#define LmSEQ_M1_SAVE_SCBPTR(LinkNum)   (LmSCRATCH(LinkNum) + 0x009E)
 
#define LmSEQ_PORT_COUNTER(LinkNum)   (LmSCRATCH(LinkNum) + 0x010E)
 
#define LmSEQ_PM_TABLE_PTR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0110)
 
#define LmSEQ_SATA_INTERLOCK_TMR_SAVE(LinkNum)   (LmSCRATCH(LinkNum) + 0x0112)
 
#define LmSEQ_IP_BITL(LinkNum)   (LmSCRATCH(LinkNum) + 0x0114)
 
#define LmSEQ_COPY_SMP_CONN_TAG(LinkNum)   (LmSCRATCH(LinkNum) + 0x0116)
 
#define LmSEQ_P0M2_OFFS1AH(LinkNum)   (LmSCRATCH(LinkNum) + 0x011A)
 
#define LmSEQ_SAVED_OOB_STATUS(LinkNum)   (LmSCRATCH(LinkNum) + 0x006E)
 
#define LmSEQ_SAVED_OOB_MODE(LinkNum)   (LmSCRATCH(LinkNum) + 0x006F)
 
#define LmSEQ_Q_LINK_HEAD(LinkNum)   (LmSCRATCH(LinkNum) + 0x0070)
 
#define LmSEQ_LINK_RST_ERR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0072)
 
#define LmSEQ_SAVED_OOB_SIGNALS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0073)
 
#define LmSEQ_SAS_RESET_MODE(LinkNum)   (LmSCRATCH(LinkNum) + 0x0074)
 
#define LmSEQ_LINK_RESET_RETRY_COUNT(LinkNum)   (LmSCRATCH(LinkNum) + 0x0075)
 
#define LmSEQ_NUM_LINK_RESET_RETRIES(LinkNum)   (LmSCRATCH(LinkNum) + 0x0076)
 
#define LmSEQ_OOB_INT_ENABLES(LinkNum)   (LmSCRATCH(LinkNum) + 0x0078)
 
#define LmSEQ_NOTIFY_TIMER_DOWN_COUNT(LinkNum)   (LmSCRATCH(LinkNum) + 0x007A)
 
#define LmSEQ_NOTIFY_TIMER_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x007C)
 
#define LmSEQ_NOTIFY_TIMER_INITIAL_COUNT(LinkNum)   (LmSCRATCH(LinkNum) + 0x007E)
 
#define LmSEQ_SG_LIST_PTR_ADDR0(LinkNum)   (LmSCRATCH(LinkNum) + 0x0020)
 
#define LmSEQ_SG_LIST_PTR_ADDR1(LinkNum)   (LmSCRATCH(LinkNum) + 0x0030)
 
#define LmSEQ_M1_SG_LIST_PTR_ADDR0(LinkNum)   (LmSCRATCH(LinkNum) + 0x00A0)
 
#define LmSEQ_M1_SG_LIST_PTR_ADDR1(LinkNum)   (LmSCRATCH(LinkNum) + 0x00B0)
 
#define LmSEQ_INVALID_DWORD_COUNT(LinkNum)   (LmSCRATCH(LinkNum) + 0x0120)
 
#define LmSEQ_DISPARITY_ERROR_COUNT(LinkNum)   (LmSCRATCH(LinkNum) + 0x0124)
 
#define LmSEQ_LOSS_OF_SYNC_COUNT(LinkNum)   (LmSCRATCH(LinkNum) + 0x0128)
 
#define LmSEQ_FRAME_TYPE_MASK(LinkNum)   (LmSCRATCH(LinkNum) + 0x00E0)
 
#define LmSEQ_HASHED_DEST_ADDR_MASK(LinkNum)   (LmSCRATCH(LinkNum) + 0x00E1)
 
#define LmSEQ_HASHED_SRC_ADDR_MASK_PRINT(LinkNum)   (LmSCRATCH(LinkNum) + 0x00E4)
 
#define LmSEQ_HASHED_SRC_ADDR_MASK(LinkNum)   (LmSCRATCH(LinkNum) + 0x00E5)
 
#define LmSEQ_NUM_FILL_BYTES_MASK(LinkNum)   (LmSCRATCH(LinkNum) + 0x00EB)
 
#define LmSEQ_TAG_MASK(LinkNum)   (LmSCRATCH(LinkNum) + 0x00F0)
 
#define LmSEQ_TARGET_PORT_XFER_TAG(LinkNum)   (LmSCRATCH(LinkNum) + 0x00F2)
 
#define LmSEQ_DATA_OFFSET(LinkNum)   (LmSCRATCH(LinkNum) + 0x00F4)
 
#define LmSEQ_SMP_RCV_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0040)
 
#define LmSEQ_DEVICE_BITS(LinkNum)   (LmSCRATCH(LinkNum) + 0x005B)
 
#define LmSEQ_SDB_DDB(LinkNum)   (LmSCRATCH(LinkNum) + 0x005C)
 
#define LmSEQ_SDB_NUM_TAGS(LinkNum)   (LmSCRATCH(LinkNum) + 0x005E)
 
#define LmSEQ_SDB_CURR_TAG(LinkNum)   (LmSCRATCH(LinkNum) + 0x005F)
 
#define LmSEQ_TX_ID_ADDR_FRAME(LinkNum)   (LmSCRATCH(LinkNum) + 0x00C0)
 
#define LmSEQ_OPEN_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x00C8)
 
#define LmSEQ_SRST_AS_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x00CC)
 
#define LmSEQ_LAST_LOADED_SG_EL(LinkNum)   (LmSCRATCH(LinkNum) + 0x00D4)
 
#define LmSEQ_STP_SHUTDOWN_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0140)
 
#define LmSEQ_CLOSE_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0144)
 
#define LmSEQ_BREAK_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0148)
 
#define LmSEQ_DWS_RESET_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x014C)
 
#define LmSEQ_SATA_INTERLOCK_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0150)
 
#define LmSEQ_MCTL_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0154)
 
#define LmSEQ_COMINIT_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0160)
 
#define LmSEQ_RCV_ID_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0164)
 
#define LmSEQ_RCV_FIS_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0168)
 
#define LmSEQ_DEV_PRES_TIMER_TERM_TS(LinkNum)   (LmSCRATCH(LinkNum) + 0x016C)
 
#define LmSEQ_Q_TGTXFR_HEAD(LinkNum)   (LmSCRATCH(LinkNum) + 0x0180)
 
#define LmSEQ_Q_TGTXFR_TAIL(LinkNum)   (LmSCRATCH(LinkNum) + 0x0182)
 
#define LmSEQ_LINK_NUMBER(LinkNum)   (LmSCRATCH(LinkNum) + 0x0186)
 
#define LmSEQ_SCRATCH_FLAGS(LinkNum)   (LmSCRATCH(LinkNum) + 0x0187)
 
#define SAS_DWSAQD
 
#define LmSEQ_CONNECTION_STATE(LinkNum)   (LmSCRATCH(LinkNum) + 0x0188)
 
#define SAS_WE_OPENED_CS   0x01
 
#define SAS_DEVICE_OPENED_CS   0x02
 
#define SAS_WE_SENT_DONE_CS   0x04
 
#define SAS_DEVICE_SENT_DONE_CS   0x08
 
#define SAS_WE_SENT_CLOSE_CS   0x10
 
#define SAS_DEVICE_SENT_CLOSE_CS   0x20
 
#define SAS_WE_SENT_BREAK_CS   0x40
 
#define SAS_DEVICE_SENT_BREAK_CS   0x80
 
#define SAS_OPN_TIMEOUT_OR_OPN_RJCT_CS   0x01
 
#define SAS_AIP_RECEIVED_CS   0x02
 
#define SAS_CREDIT_TIMEOUT_OCCURRED_CS   0x04
 
#define SAS_ACKNAK_TIMEOUT_OCCURRED_CS   0x08
 
#define SAS_SMPRSP_TIMEOUT_OCCURRED_CS   0x10
 
#define SAS_DONE_TIMEOUT_OCCURRED_CS   0x20
 
#define SAS_SMP_RESPONSE_RECEIVED_CS   0x01
 
#define SAS_INTLK_TIMEOUT_OCCURRED_CS   0x02
 
#define SAS_DEVICE_SENT_DMAT_CS   0x04
 
#define SAS_DEVICE_SENT_SYNCSRST_CS   0x08
 
#define SAS_CLEARING_AFFILIATION_CS   0x20
 
#define SAS_RXTASK_ACTIVE_CS   0x40
 
#define SAS_TXTASK_ACTIVE_CS   0x80
 
#define SAS_PHY_LOSS_OF_SIGNAL_CS   0x01
 
#define SAS_DWS_TIMER_EXPIRED_CS   0x02
 
#define SAS_LINK_RESET_NOT_COMPLETE_CS   0x04
 
#define SAS_PHY_DISABLED_CS   0x08
 
#define SAS_LINK_CTL_TASK_ACTIVE_CS   0x10
 
#define SAS_PHY_EVENT_TASK_ACTIVE_CS   0x20
 
#define SAS_DEVICE_SENT_ID_FRAME_CS   0x40
 
#define SAS_DEVICE_SENT_REG_FIS_CS   0x40
 
#define SAS_DEVICE_SENT_HARD_RESET_CS   0x80
 
#define SAS_PHY_IS_DOWN_FLAGS
 
#define SAS_LINK_CTL_PHY_EVENT_FLAGS
 
#define LmSEQ_CONCTL(LinkNum)   (LmSCRATCH(LinkNum) + 0x018C)
 
#define LmSEQ_CONSTAT(LinkNum)   (LmSCRATCH(LinkNum) + 0x018E)
 
#define LmSEQ_CONNECTION_MODES(LinkNum)   (LmSCRATCH(LinkNum) + 0x018F)
 
#define LmSEQ_REG1_ISR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0192)
 
#define LmSEQ_REG2_ISR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0194)
 
#define LmSEQ_REG3_ISR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0196)
 
#define LmSEQ_REG0_ISR(LinkNum)   (LmSCRATCH(LinkNum) + 0x0198)
 
#define LmSEQ_EST_NEXUS_SCBPTR0(LinkNum)   (LmSCRATCH(LinkNum) + 0x01A0)
 
#define LmSEQ_EST_NEXUS_SCBPTR1(LinkNum)   (LmSCRATCH(LinkNum) + 0x01A2)
 
#define LmSEQ_EST_NEXUS_SCBPTR2(LinkNum)   (LmSCRATCH(LinkNum) + 0x01A4)
 
#define LmSEQ_EST_NEXUS_SCBPTR3(LinkNum)   (LmSCRATCH(LinkNum) + 0x01A6)
 
#define LmSEQ_EST_NEXUS_SCB_OPCODE0(LinkNum)   (LmSCRATCH(LinkNum) + 0x01A8)
 
#define LmSEQ_EST_NEXUS_SCB_OPCODE1(LinkNum)   (LmSCRATCH(LinkNum) + 0x01A9)
 
#define LmSEQ_EST_NEXUS_SCB_OPCODE2(LinkNum)   (LmSCRATCH(LinkNum) + 0x01AA)
 
#define LmSEQ_EST_NEXUS_SCB_OPCODE3(LinkNum)   (LmSCRATCH(LinkNum) + 0x01AB)
 
#define LmSEQ_EST_NEXUS_SCB_HEAD(LinkNum)   (LmSCRATCH(LinkNum) + 0x01AC)
 
#define LmSEQ_EST_NEXUS_SCB_TAIL(LinkNum)   (LmSCRATCH(LinkNum) + 0x01AD)
 
#define LmSEQ_EST_NEXUS_BUF_AVAIL(LinkNum)   (LmSCRATCH(LinkNum) + 0x01AE)
 
#define LmSEQ_TIMEOUT_CONST(LinkNum)   (LmSCRATCH(LinkNum) + 0x01B8)
 
#define LmSEQ_ISR_SAVE_SINDEX(LinkNum)   (LmSCRATCH(LinkNum) + 0x01BC)
 
#define LmSEQ_ISR_SAVE_DINDEX(LinkNum)   (LmSCRATCH(LinkNum) + 0x01BE)
 
#define LmSEQ_EMPTY_SCB_PTR0(LinkNum)   (LmSCRATCH(LinkNum) + 0x01C0)
 
#define LmSEQ_EMPTY_SCB_PTR1(LinkNum)   (LmSCRATCH(LinkNum) + 0x01C2)
 
#define LmSEQ_EMPTY_SCB_PTR2(LinkNum)   (LmSCRATCH(LinkNum) + 0x01C4)
 
#define LmSEQ_EMPTY_SCB_PTR3(LinkNum)   (LmSCRATCH(LinkNum) + 0x01C6)
 
#define LmSEQ_EMPTY_SCB_OPCD0(LinkNum)   (LmSCRATCH(LinkNum) + 0x01C8)
 
#define LmSEQ_EMPTY_SCB_OPCD1(LinkNum)   (LmSCRATCH(LinkNum) + 0x01C9)
 
#define LmSEQ_EMPTY_SCB_OPCD2(LinkNum)   (LmSCRATCH(LinkNum) + 0x01CA)
 
#define LmSEQ_EMPTY_SCB_OPCD3(LinkNum)   (LmSCRATCH(LinkNum) + 0x01CB)
 
#define LmSEQ_EMPTY_SCB_HEAD(LinkNum)   (LmSCRATCH(LinkNum) + 0x01CC)
 
#define LmSEQ_EMPTY_SCB_TAIL(LinkNum)   (LmSCRATCH(LinkNum) + 0x01CD)
 
#define LmSEQ_EMPTY_BUFS_AVAIL(LinkNum)   (LmSCRATCH(LinkNum) + 0x01CE)
 
#define LmSEQ_ATA_SCR_REGS(LinkNum)   (LmSCRATCH(LinkNum) + 0x01D4)
 
#define LmSEQ_DEV_PRES_TMR_TOUT_CONST(LinkNum)   (LmSCRATCH(LinkNum) + 0x01E0)
 
#define LmSEQ_SATA_INTERLOCK_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01E4)
 
#define LmSEQ_STP_SHUTDOWN_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01E8)
 
#define LmSEQ_SRST_ASSERT_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01EC)
 
#define LmSEQ_RCV_FIS_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01F0)
 
#define LmSEQ_ONE_MILLISEC_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01F4)
 
#define LmSEQ_TEN_MS_COMINIT_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01F8)
 
#define LmSEQ_SMP_RCV_TIMEOUT(LinkNum)   (LmSCRATCH(LinkNum) + 0x01FC)
 

Macro Definition Documentation

#define ACCUM   0x0A

Definition at line 408 of file aic94xx_reg_def.h.

#define ADDBPTR   (REG_BASE_ADDR + 0x82E)

Definition at line 297 of file aic94xx_reg_def.h.

#define ALIGN_0_DATA_k   0x08

Definition at line 1437 of file aic94xx_reg_def.h.

#define ALIGN_1_DATA_k   0x04

Definition at line 1436 of file aic94xx_reg_def.h.

#define ALIGN_CNT1   0x10

Definition at line 1448 of file aic94xx_reg_def.h.

#define ALIGN_CNT2   0x20

Definition at line 1447 of file aic94xx_reg_def.h.

#define ALIGN_CNT3   0x30

Definition at line 1446 of file aic94xx_reg_def.h.

#define ALIGN_CNT4   0x00

Definition at line 1449 of file aic94xx_reg_def.h.

#define ALIGN_EN   0x01

Definition at line 1539 of file aic94xx_reg_def.h.

#define ALLONES   0x10

Definition at line 414 of file aic94xx_reg_def.h.

#define ALLZEROS   0x11

Definition at line 416 of file aic94xx_reg_def.h.

#define ALTCIOADR   (REG_BASE_ADDR + 0x828)

Definition at line 291 of file aic94xx_reg_def.h.

#define ALTDMODE   0xF0

Definition at line 381 of file aic94xx_reg_def.h.

#define ALTMODE   0x01

Definition at line 379 of file aic94xx_reg_def.h.

#define ALTMODEV   0x04

Definition at line 398 of file aic94xx_reg_def.h.

#define ALTMODEV2   0x04

Definition at line 389 of file aic94xx_reg_def.h.

#define ALTSMODE   0x0F

Definition at line 382 of file aic94xx_reg_def.h.

#define ANEWDATA   (REG_BASE_ADDR + 0x830)

Definition at line 300 of file aic94xx_reg_def.h.

#define AOLDDATA   (REG_BASE_ADDR + 0x834)

Definition at line 303 of file aic94xx_reg_def.h.

#define ARBBISTDN   0x20000000 /* ro */

Definition at line 808 of file aic94xx_reg_def.h.

#define ARBBISTEN   0x40000000

Definition at line 807 of file aic94xx_reg_def.h.

#define ARBBISTFAIL   0x10000000 /* ro */

Definition at line 809 of file aic94xx_reg_def.h.

#define ARP2BREAK0   0x00000001

Definition at line 343 of file aic94xx_reg_def.h.

#define ARP2BREAK1   0x00000002

Definition at line 342 of file aic94xx_reg_def.h.

#define ARP2BREAK2   0x00000004

Definition at line 341 of file aic94xx_reg_def.h.

#define ARP2BREAK3   0x00000008

Definition at line 340 of file aic94xx_reg_def.h.

#define ARP2BREAKADR01   0x0C

Definition at line 357 of file aic94xx_reg_def.h.

#define ARP2BREAKADR23   0x10

Definition at line 362 of file aic94xx_reg_def.h.

#define ARP2CIOPERR   0x00000010

Definition at line 339 of file aic94xx_reg_def.h.

#define ARP2CTL   0x00

Definition at line 314 of file aic94xx_reg_def.h.

#define ARP2HALTC   0x00000080

Definition at line 336 of file aic94xx_reg_def.h.

#define ARP2HALTCODE   0x15

Definition at line 424 of file aic94xx_reg_def.h.

#define ARP2ILLOPC   0x00000040

Definition at line 337 of file aic94xx_reg_def.h.

#define ARP2INT   0x04

Definition at line 332 of file aic94xx_reg_def.h.

#define ARP2INTCTL   0x05

Definition at line 393 of file aic94xx_reg_def.h.

#define ARP2INTEN   0x08

Definition at line 345 of file aic94xx_reg_def.h.

#define ARP2PERR   0x00000020

Definition at line 338 of file aic94xx_reg_def.h.

#define ARP2RESET   0x00000001 /* wo */

Definition at line 330 of file aic94xx_reg_def.h.

#define ARP2WAITTO   0x00000100

Definition at line 335 of file aic94xx_reg_def.h.

#define ASCBPTR   (REG_BASE_ADDR + 0x82C)

Definition at line 294 of file aic94xx_reg_def.h.

#define ASIEN   0x00400000

Definition at line 1812 of file aic94xx_reg_def.h.

#define ASIERR   0x00000100

Definition at line 1945 of file aic94xx_reg_def.h.

#define ASIERRADDR   (EXSI_REG_BASE_ADR + 0xD8)

Definition at line 1950 of file aic94xx_reg_def.h.

#define ASIERRDATAR   (EXSI_REG_BASE_ADR + 0xDC)

Definition at line 1951 of file aic94xx_reg_def.h.

#define ASIERRSTATR   (EXSI_REG_BASE_ADR + 0xE0)

Definition at line 1952 of file aic94xx_reg_def.h.

#define ASIFMTERR   0x00000400

Definition at line 1943 of file aic94xx_reg_def.h.

#define ASISEECHKERR   0x00000200

Definition at line 1944 of file aic94xx_reg_def.h.

#define ASISTAT0R   (EXSI_REG_BASE_ADR + 0xD0)

Definition at line 1942 of file aic94xx_reg_def.h.

#define ASISTAT1R   (EXSI_REG_BASE_ADR + 0xD4)

Definition at line 1947 of file aic94xx_reg_def.h.

#define ATOMICDONE   0x01

Definition at line 288 of file aic94xx_reg_def.h.

#define ATOMICERR   0x04

Definition at line 286 of file aic94xx_reg_def.h.

#define ATOMICSTATCTL   (REG_BASE_ADDR + 0x824)

Definition at line 283 of file aic94xx_reg_def.h.

#define ATOMICWIN   0x02

Definition at line 287 of file aic94xx_reg_def.h.

#define ATOMICXCHG   0x02

Definition at line 384 of file aic94xx_reg_def.h.

#define AUTO_TERM_CAL_DIS   0x08

Definition at line 1686 of file aic94xx_reg_def.h.

#define AUTOINC   0x80

Definition at line 285 of file aic94xx_reg_def.h.

#define AUTORLS   0x00000001

Definition at line 253 of file aic94xx_reg_def.h.

#define BASE1_RSVD   0xFFFFFFF8

Definition at line 1764 of file aic94xx_reg_def.h.

#define BASEA_RSVD   0xFFFFFFC0

Definition at line 1768 of file aic94xx_reg_def.h.

#define BASEA_START   0

Definition at line 1769 of file aic94xx_reg_def.h.

#define BASEB_IOMAP_MASK   0x7F

Definition at line 1774 of file aic94xx_reg_def.h.

#define BASEB_RSVD   0xFFFFFF80

Definition at line 1773 of file aic94xx_reg_def.h.

#define BASEB_START   0x80

Definition at line 1775 of file aic94xx_reg_def.h.

#define BASEC_MASK   0x03

Definition at line 1780 of file aic94xx_reg_def.h.

#define BASEC_RSVD   0xFFFFFFFC

Definition at line 1779 of file aic94xx_reg_def.h.

#define BASEC_START   0x58

Definition at line 1781 of file aic94xx_reg_def.h.

#define BFLTR_TC_MASK   0x0F

Definition at line 1404 of file aic94xx_reg_def.h.

#define BFLTR_THR_MASK   0xF0

Definition at line 1403 of file aic94xx_reg_def.h.

#define BISTCTL0   0x4C

Definition at line 481 of file aic94xx_reg_def.h.

#define BISTCTL1   0x50

Definition at line 483 of file aic94xx_reg_def.h.

#define BREAKADR0_MASK   0x00000FFF

Definition at line 360 of file aic94xx_reg_def.h.

#define BREAKADR1_MASK   0x0FFF0000

Definition at line 359 of file aic94xx_reg_def.h.

#define BREAKADR2_MASK   0x00000FFF

Definition at line 365 of file aic94xx_reg_def.h.

#define BREAKADR3_MASK   0x0FFF0000

Definition at line 364 of file aic94xx_reg_def.h.

#define BREAKEN0   0x00000100

Definition at line 326 of file aic94xx_reg_def.h.

#define BREAKEN1   0x00000200

Definition at line 325 of file aic94xx_reg_def.h.

#define BREAKEN2   0x00000400

Definition at line 324 of file aic94xx_reg_def.h.

#define BREAKEN3   0x00000800

Definition at line 323 of file aic94xx_reg_def.h.

#define BURST_DATA_k   0x10

Definition at line 1438 of file aic94xx_reg_def.h.

#define CACCUM   (CSEQ_CIO_REG_BASE_ADR + ACCUM)

Definition at line 540 of file aic94xx_reg_def.h.

#define CALLONES   (CSEQ_CIO_REG_BASE_ADR + ALLONES)

Definition at line 546 of file aic94xx_reg_def.h.

#define CALLZEROS   (CSEQ_CIO_REG_BASE_ADR + ALLZEROS)

Definition at line 548 of file aic94xx_reg_def.h.

#define CALTMODE   (CSEQ_CIO_REG_BASE_ADR + ALTMODE)

Definition at line 526 of file aic94xx_reg_def.h.

#define CAP_LIST   0x0010

Definition at line 1722 of file aic94xx_reg_def.h.

#define CARP2BREAKADR01   (CSEQ_HOST_REG_BASE_ADR+ARP2BREAKADR01)

Definition at line 498 of file aic94xx_reg_def.h.

#define CARP2BREAKADR23   (CSEQ_HOST_REG_BASE_ADR+ARP2BREAKADR23)

Definition at line 500 of file aic94xx_reg_def.h.

#define CARP2CTL   (CSEQ_HOST_REG_BASE_ADR + ARP2CTL)

Definition at line 492 of file aic94xx_reg_def.h.

#define CARP2HALTCODE   (CSEQ_CIO_REG_BASE_ADR + ARP2HALTCODE)

Definition at line 556 of file aic94xx_reg_def.h.

#define CARP2INT   (CSEQ_HOST_REG_BASE_ADR + ARP2INT)

Definition at line 494 of file aic94xx_reg_def.h.

#define CARP2INTCTL   (CSEQ_CIO_REG_BASE_ADR + ARP2INTCTL)

Definition at line 532 of file aic94xx_reg_def.h.

#define CARP2INTEN   (CSEQ_HOST_REG_BASE_ADR + ARP2INTEN)

Definition at line 496 of file aic94xx_reg_def.h.

#define CARRY   0x01

Definition at line 391 of file aic94xx_reg_def.h.

#define CARRY_INT   0x02

Definition at line 390 of file aic94xx_reg_def.h.

#define CATOMICXCHG   (CSEQ_CIO_REG_BASE_ADR + ATOMICXCHG)

Definition at line 528 of file aic94xx_reg_def.h.

#define CBISTCTL   (CSEQ_HOST_REG_BASE_ADR + BISTCTL1)

Definition at line 502 of file aic94xx_reg_def.h.

#define CCIOAACESS   (CSEQ_CIO_REG_BASE_ADR + 0x2C)

Definition at line 578 of file aic94xx_reg_def.h.

#define CCONEXIST   (CSEQ_CIO_REG_BASE_ADR + 0x61)

Definition at line 667 of file aic94xx_reg_def.h.

#define CCONMODE   (CSEQ_CIO_REG_BASE_ADR + 0x62)

Definition at line 669 of file aic94xx_reg_def.h.

#define CCONMSK   (CSEQ_CIO_REG_BASE_ADR + 0x60)

Definition at line 665 of file aic94xx_reg_def.h.

#define CCURRADDR   (CSEQ_CIO_REG_BASE_ADR + CURRADDR)

Definition at line 558 of file aic94xx_reg_def.h.

#define CDBGPORT   (CSEQ_CIO_REG_BASE_ADR + DBGPORT)

Definition at line 566 of file aic94xx_reg_def.h.

#define CDBGPORTPTR   (CSEQ_CIO_REG_BASE_ADR + DBGPORTPTR)

Definition at line 564 of file aic94xx_reg_def.h.

#define CDINDEX   (CSEQ_CIO_REG_BASE_ADR + DINDEX)

Definition at line 544 of file aic94xx_reg_def.h.

#define CDINDIR   (CSEQ_CIO_REG_BASE_ADR + DINDIR)

Definition at line 552 of file aic94xx_reg_def.h.

#define CFIFTOERR   0x00000200

Definition at line 262 of file aic94xx_reg_def.h.

#define CFLAG   (CSEQ_CIO_REG_BASE_ADR + FLAG)

Definition at line 530 of file aic94xx_reg_def.h.

#define CFUNCTION1   (CSEQ_CIO_REG_BASE_ADR + FUNCTION1)

Definition at line 536 of file aic94xx_reg_def.h.

#define CHECKSUM_MASK   0x0000FFFF

Definition at line 1948 of file aic94xx_reg_def.h.

#define CHIMINT   (REG_BASE_ADDR + 0x18)

Definition at line 112 of file aic94xx_reg_def.h.

#define CHIMINT_MASK
Value:
DEVTIMER2 | DEVTIMER1 | DLAVAIL)

Definition at line 127 of file aic94xx_reg_def.h.

#define CHIMINTEN   (REG_BASE_ADDR + 0x1C)

Definition at line 132 of file aic94xx_reg_def.h.

#define CHIMREQMBX   (REG_BASE_ADDR + 0x10)

Definition at line 108 of file aic94xx_reg_def.h.

#define CHIMRSPMBX   (REG_BASE_ADDR + 0x14)

Definition at line 110 of file aic94xx_reg_def.h.

#define CINTDIS   (CSEQ_CIO_REG_BASE_ADR + 0x68)

Definition at line 673 of file aic94xx_reg_def.h.

#define CIOPERRDIS   0x00001000

Definition at line 322 of file aic94xx_reg_def.h.

#define CJUMLDIR   (CSEQ_CIO_REG_BASE_ADR + JUMLDIR)

Definition at line 554 of file aic94xx_reg_def.h.

#define CLASTADDR   (CSEQ_CIO_REG_BASE_ADR + LASTADDR)

Definition at line 560 of file aic94xx_reg_def.h.

#define CLINKCON   (CSEQ_CIO_REG_BASE_ADR + 0x28)

Definition at line 576 of file aic94xx_reg_def.h.

#define CM11INTVEC0   CSEQm_CIO_REG(11, 0x50)

Definition at line 657 of file aic94xx_reg_def.h.

#define CM11INTVEC1   CSEQm_CIO_REG(11, 0x52)

Definition at line 660 of file aic94xx_reg_def.h.

#define CM11INTVEC2   CSEQm_CIO_REG(11, 0x54)

Definition at line 663 of file aic94xx_reg_def.h.

#define CMAPPEDSCR   (CSEQ_HOST_REG_BASE_ADR + MAPPEDSCR)

Definition at line 511 of file aic94xx_reg_def.h.

#define CMDCTXBASE   (REG_BASE_ADDR + 0x800)

Definition at line 220 of file aic94xx_reg_def.h.

#define CMDCTXDOMAIN0   0x00000001

Definition at line 229 of file aic94xx_reg_def.h.

#define CMDCTXDOMAIN1   0x00000002 /* ro */

Definition at line 228 of file aic94xx_reg_def.h.

#define CMnDDBPTR (   Mode)    CSEQm_CIO_REG(Mode, MnDDBPTR)

Definition at line 572 of file aic94xx_reg_def.h.

#define CMnINT (   Mode)    CSEQm_CIO_REG(Mode, 0x38)

Definition at line 611 of file aic94xx_reg_def.h.

#define CMnINT_MASK   0x00000003

Definition at line 615 of file aic94xx_reg_def.h.

#define CMnINTEN (   Mode)    CSEQm_CIO_REG(Mode, 0x3C)

Definition at line 622 of file aic94xx_reg_def.h.

#define CMnREQMBX (   Mode)    CSEQm_CIO_REG(Mode, 0x30)

Definition at line 582 of file aic94xx_reg_def.h.

#define CMnREQMBXE   0x02

Definition at line 613 of file aic94xx_reg_def.h.

#define CMnRSPMBX (   Mode)    CSEQm_CIO_REG(Mode, 0x34)

Definition at line 589 of file aic94xx_reg_def.h.

#define CMnRSPMBXF   0x01

Definition at line 614 of file aic94xx_reg_def.h.

#define CMnSCBPTR (   Mode)    CSEQm_CIO_REG(Mode, MnSCBPTR)

Definition at line 570 of file aic94xx_reg_def.h.

#define CMnSCRATCH (   Mode)    CSEQm_CIO_REG(Mode, 0x1E0)

Definition at line 681 of file aic94xx_reg_def.h.

#define CMnSCRATCHPAGE (   Mode)    CSEQm_CIO_REG(Mode, MnSCRATCHPAGE)

Definition at line 574 of file aic94xx_reg_def.h.

#define CMODEPTR   (CSEQ_CIO_REG_BASE_ADR + MODEPTR)

Definition at line 524 of file aic94xx_reg_def.h.

#define CNXTLADDR   (CSEQ_CIO_REG_BASE_ADR + NXTLADDR)

Definition at line 562 of file aic94xx_reg_def.h.

#define COMBIST   (REG_BASE_ADDR + 0x00)

Definition at line 52 of file aic94xx_reg_def.h.

#define COMBISTDONE   0x00000002 /* ro */

Definition at line 78 of file aic94xx_reg_def.h.

#define COMBISTEN   0x00000004

Definition at line 77 of file aic94xx_reg_def.h.

#define COMBISTFAIL   0x00000001 /* ro */

Definition at line 79 of file aic94xx_reg_def.h.

#define COMBLKRST   0x00000100

Definition at line 73 of file aic94xx_reg_def.h.

#define COMINT   0x00000008

Definition at line 122 of file aic94xx_reg_def.h.

#define COMSTAT   (REG_BASE_ADDR + 0x04)

Definition at line 81 of file aic94xx_reg_def.h.

#define COMSTAT_MASK
Value:
CSBUFPERR | OVLYERR | CSERR |\
OVLYDMADONE)

Definition at line 90 of file aic94xx_reg_def.h.

#define COMSTATEN   (REG_BASE_ADDR + 0x08)

Definition at line 94 of file aic94xx_reg_def.h.

#define COMSTOCK   0x00080000

Definition at line 1815 of file aic94xx_reg_def.h.

#define COMTIMER_EN   0x20

Definition at line 1535 of file aic94xx_reg_def.h.

#define CONTROL   0x48

Definition at line 696 of file aic94xx_reg_def.h.

#define CPI2ASIBYTECNT_MASK   0x00070000

Definition at line 1953 of file aic94xx_reg_def.h.

#define CPI2ASIBYTEEN_MASK   0x0000F000

Definition at line 1954 of file aic94xx_reg_def.h.

#define CPI2ASIMSTERR_MASK   0x0000000F

Definition at line 1957 of file aic94xx_reg_def.h.

#define CPI2ASITARGERR_MASK   0x00000F00

Definition at line 1955 of file aic94xx_reg_def.h.

#define CPI2ASITARGMID_MASK   0x000000F0

Definition at line 1956 of file aic94xx_reg_def.h.

#define CPRGMCNT   (CSEQ_CIO_REG_BASE_ADR + PRGMCNT)

Definition at line 538 of file aic94xx_reg_def.h.

#define CSBUFFER   CSEQm_CIO_REG(8, 0x80)

Definition at line 676 of file aic94xx_reg_def.h.

#define CSBUFPERR   0x00000008

Definition at line 85 of file aic94xx_reg_def.h.

#define CSCRATCH   (CSEQ_CIO_REG_BASE_ADR + 0x1C0)

Definition at line 678 of file aic94xx_reg_def.h.

#define CSCRATCHPAGE   (CSEQ_CIO_REG_BASE_ADR + SCRATCHPAGE)

Definition at line 568 of file aic94xx_reg_def.h.

#define CSDMAACT   0x01 /* ro */

Definition at line 607 of file aic94xx_reg_def.h.

#define CSDMAADR   CSEQm_CIO_REG(8, 0x40)

Definition at line 630 of file aic94xx_reg_def.h.

#define CSDMACNT   CSEQm_CIO_REG(8, 0x48)

Definition at line 633 of file aic94xx_reg_def.h.

#define CSEQ_BUILTIN_FREE_SCB_HEAD   (CMAPPEDSCR + 0x02D6)

Definition at line 2109 of file aic94xx_reg_def.h.

#define CSEQ_BUILTIN_FREE_SCB_TAIL   (CMAPPEDSCR + 0x02D8)

Definition at line 2110 of file aic94xx_reg_def.h.

#define CSEQ_CIO_REG_BASE_ADR   REG_BASE_ADDR_CSEQCIO

Definition at line 518 of file aic94xx_reg_def.h.

#define CSEQ_CLEAR_LU_HEAD   (CMAPPEDSCR + 0x0210)

Definition at line 2053 of file aic94xx_reg_def.h.

#define CSEQ_EMPTY_REQ_COUNT   (CMAPPEDSCR + 0x02E8)

Definition at line 2116 of file aic94xx_reg_def.h.

#define CSEQ_EMPTY_REQ_HEAD   (CMAPPEDSCR + 0x02F6)

Definition at line 2120 of file aic94xx_reg_def.h.

#define CSEQ_EMPTY_REQ_QUEUE   (CMAPPEDSCR + 0x02E0)

Definition at line 2115 of file aic94xx_reg_def.h.

#define CSEQ_EMPTY_REQ_TAIL   (CMAPPEDSCR + 0x02F7)

Definition at line 2121 of file aic94xx_reg_def.h.

#define CSEQ_EMPTY_SCB_OFFSET   (CMAPPEDSCR + 0x02F8)

Definition at line 2122 of file aic94xx_reg_def.h.

#define CSEQ_EMPTY_TRANS_CTX   (CMAPPEDSCR + 0x0206)

Definition at line 2048 of file aic94xx_reg_def.h.

#define CSEQ_EST_NEXUS_REQ_COUNT   (CMAPPEDSCR + 0x02A8)

Definition at line 2090 of file aic94xx_reg_def.h.

#define CSEQ_EST_NEXUS_REQ_HEAD   (CMAPPEDSCR + 0x02B6)

Definition at line 2094 of file aic94xx_reg_def.h.

#define CSEQ_EST_NEXUS_REQ_QUEUE   (CMAPPEDSCR + 0x02A0)

Definition at line 2089 of file aic94xx_reg_def.h.

#define CSEQ_EST_NEXUS_REQ_TAIL   (CMAPPEDSCR + 0x02B7)

Definition at line 2095 of file aic94xx_reg_def.h.

#define CSEQ_EST_NEXUS_SCB_OFFSET   (CMAPPEDSCR + 0x02B8)

Definition at line 2096 of file aic94xx_reg_def.h.

#define CSEQ_EXTENDED_FREE_SCB_HEAD   (CMAPPEDSCR + 0x02DA)

Definition at line 2111 of file aic94xx_reg_def.h.

#define CSEQ_EXTENDED_FREE_SCB_TAIL   (CMAPPEDSCR + 0x02DC)

Definition at line 2112 of file aic94xx_reg_def.h.

#define CSEQ_FIRST_INV_DDB_SITE   (CMAPPEDSCR + 0x021E)

Definition at line 2058 of file aic94xx_reg_def.h.

#define CSEQ_FIRST_INV_SCB_SITE   (CMAPPEDSCR + 0x021C)

Definition at line 2057 of file aic94xx_reg_def.h.

#define CSEQ_FREE_LIST_HACK_COUNT   (CMAPPEDSCR + 0x029E)

Definition at line 2086 of file aic94xx_reg_def.h.

#define CSEQ_FREE_SCB_MASK   (CMAPPEDSCR + 0x02D5)

Definition at line 2108 of file aic94xx_reg_def.h.

#define CSEQ_GLOBAL_HEAD   (CMAPPEDSCR + 0x020E)

Definition at line 2052 of file aic94xx_reg_def.h.

#define CSEQ_GLOBAL_PREV_SCB   (CMAPPEDSCR + 0x020C)

Definition at line 2051 of file aic94xx_reg_def.h.

#define CSEQ_HOST_REG_BASE_ADR   0xB8001000

Definition at line 490 of file aic94xx_reg_def.h.

#define CSEQ_HQ_DONE_BASE   (CMAPPEDSCR + 0x0248)

Definition at line 2066 of file aic94xx_reg_def.h.

#define CSEQ_HQ_DONE_PASS   (CMAPPEDSCR + 0x0254)

Definition at line 2068 of file aic94xx_reg_def.h.

#define CSEQ_HQ_DONE_POINTER   (CMAPPEDSCR + 0x0250)

Definition at line 2067 of file aic94xx_reg_def.h.

#define CSEQ_HQ_NEW_POINTER   (CMAPPEDSCR + 0x0240)

Definition at line 2065 of file aic94xx_reg_def.h.

#define CSEQ_HSB_SITE   (CMAPPEDSCR + 0x021A)

Definition at line 2056 of file aic94xx_reg_def.h.

#define CSEQ_INT_ROUT_MODE   (CMAPPEDSCR + 0x02C6)

Definition at line 2102 of file aic94xx_reg_def.h.

#define CSEQ_INT_ROUT_RET_ADDR0   (CMAPPEDSCR + 0x02C0)

Definition at line 2099 of file aic94xx_reg_def.h.

#define CSEQ_INT_ROUT_RET_ADDR1   (CMAPPEDSCR + 0x02C2)

Definition at line 2100 of file aic94xx_reg_def.h.

#define CSEQ_INT_ROUT_SCBPTR   (CMAPPEDSCR + 0x02C4)

Definition at line 2101 of file aic94xx_reg_def.h.

#define CSEQ_ISR_SAVE_DINDEX   (CMAPPEDSCR + 0x02CA)

Definition at line 2105 of file aic94xx_reg_def.h.

#define CSEQ_ISR_SAVE_SINDEX   (CMAPPEDSCR + 0x02C8)

Definition at line 2104 of file aic94xx_reg_def.h.

#define CSEQ_ISR_SCRATCH_FLAGS   (CMAPPEDSCR + 0x02C7)

Definition at line 2103 of file aic94xx_reg_def.h.

#define CSEQ_LINK_CTL_Q_MAP   (CMAPPEDSCR + 0x029C)

Definition at line 2084 of file aic94xx_reg_def.h.

#define CSEQ_LRM_SAVE_SCBPTR   (CMAPPEDSCR + 0x0002)

Definition at line 2039 of file aic94xx_reg_def.h.

#define CSEQ_LRM_SAVE_SCRPAGE   (CMAPPEDSCR + 0x0008)

Definition at line 2042 of file aic94xx_reg_def.h.

#define CSEQ_LRM_SAVE_SINDEX   (CMAPPEDSCR + 0x0000)

Definition at line 2038 of file aic94xx_reg_def.h.

#define CSEQ_LUN_TO_CHECK   (CMAPPEDSCR + 0x0228)

Definition at line 2062 of file aic94xx_reg_def.h.

#define CSEQ_LUN_TO_CLEAR   (CMAPPEDSCR + 0x0220)

Definition at line 2061 of file aic94xx_reg_def.h.

#define CSEQ_MAX_CSEQ_MODE   (CMAPPEDSCR + 0x029D)

Definition at line 2085 of file aic94xx_reg_def.h.

#define CSEQ_MODE_PAGE_SIZE   0x200 /* CSEQ mode page size */

Definition at line 40 of file aic94xx_reg_def.h.

#define CSEQ_NEED_EMPTY_SCB   (CMAPPEDSCR + 0x02F4)

Definition at line 2119 of file aic94xx_reg_def.h.

#define CSEQ_NEED_EST_NEXUS_SCB   (CMAPPEDSCR + 0x02B4)

Definition at line 2093 of file aic94xx_reg_def.h.

#define CSEQ_PAGE_SIZE   32 /* Scratch page size (in bytes) */

Definition at line 2033 of file aic94xx_reg_def.h.

#define CSEQ_PRIMITIVE_DATA   (CMAPPEDSCR + 0x02FA)

Definition at line 2123 of file aic94xx_reg_def.h.

#define CSEQ_Q_COPY_HEAD   (CMAPPEDSCR + 0x0290)

Definition at line 2079 of file aic94xx_reg_def.h.

#define CSEQ_Q_COPY_TAIL   (CMAPPEDSCR + 0x0292)

Definition at line 2080 of file aic94xx_reg_def.h.

#define CSEQ_Q_DMA2CHIM_HEAD   (CMAPPEDSCR + 0x028C)

Definition at line 2077 of file aic94xx_reg_def.h.

#define CSEQ_Q_DMA2CHIM_TAIL   (CMAPPEDSCR + 0x028E)

Definition at line 2078 of file aic94xx_reg_def.h.

#define CSEQ_Q_DONE_HEAD   (CMAPPEDSCR + 0x0284)

Definition at line 2073 of file aic94xx_reg_def.h.

#define CSEQ_Q_DONE_TAIL   (CMAPPEDSCR + 0x0286)

Definition at line 2074 of file aic94xx_reg_def.h.

#define CSEQ_Q_EMPTY_HEAD   (CMAPPEDSCR + 0x02F0)

Definition at line 2117 of file aic94xx_reg_def.h.

#define CSEQ_Q_EMPTY_TAIL   (CMAPPEDSCR + 0x02F2)

Definition at line 2118 of file aic94xx_reg_def.h.

#define CSEQ_Q_EST_NEXUS_HEAD   (CMAPPEDSCR + 0x02B0)

Definition at line 2091 of file aic94xx_reg_def.h.

#define CSEQ_Q_EST_NEXUS_TAIL   (CMAPPEDSCR + 0x02B2)

Definition at line 2092 of file aic94xx_reg_def.h.

#define CSEQ_Q_EXE_HEAD   (CMAPPEDSCR + 0x0280)

Definition at line 2071 of file aic94xx_reg_def.h.

#define CSEQ_Q_EXE_TAIL   (CMAPPEDSCR + 0x0282)

Definition at line 2072 of file aic94xx_reg_def.h.

#define CSEQ_Q_LINK_HEAD   (CMAPPEDSCR + 0x0004)

Definition at line 2040 of file aic94xx_reg_def.h.

#define CSEQ_Q_LINK_TAIL   (CMAPPEDSCR + 0x0006)

Definition at line 2041 of file aic94xx_reg_def.h.

#define CSEQ_Q_MONIRTT_HEAD   (CMAPPEDSCR + 0x02D0)

Definition at line 2106 of file aic94xx_reg_def.h.

#define CSEQ_Q_MONIRTT_TAIL   (CMAPPEDSCR + 0x02D2)

Definition at line 2107 of file aic94xx_reg_def.h.

#define CSEQ_Q_SEND_HEAD   (CMAPPEDSCR + 0x0288)

Definition at line 2075 of file aic94xx_reg_def.h.

#define CSEQ_Q_SEND_TAIL   (CMAPPEDSCR + 0x028A)

Definition at line 2076 of file aic94xx_reg_def.h.

#define CSEQ_RAM_REG_BASE_ADR   0xB8004000

Definition at line 686 of file aic94xx_reg_def.h.

#define CSEQ_REG0   (CMAPPEDSCR + 0x0294)

Definition at line 2081 of file aic94xx_reg_def.h.

#define CSEQ_REG1   (CMAPPEDSCR + 0x0296)

Definition at line 2082 of file aic94xx_reg_def.h.

#define CSEQ_REG2   (CMAPPEDSCR + 0x0298)

Definition at line 2083 of file aic94xx_reg_def.h.

#define CSEQ_RESP_LEN   (CMAPPEDSCR + 0x0208)

Definition at line 2049 of file aic94xx_reg_def.h.

#define CSEQ_RET_ADDR   (CMAPPEDSCR + 0x0200)

Definition at line 2045 of file aic94xx_reg_def.h.

#define CSEQ_RET_SCBPTR   (CMAPPEDSCR + 0x0202)

Definition at line 2046 of file aic94xx_reg_def.h.

#define CSEQ_SAVE_SCBPTR   (CMAPPEDSCR + 0x0204)

Definition at line 2047 of file aic94xx_reg_def.h.

#define CSEQ_SCRATCH_FLAGS   (CMAPPEDSCR + 0x0213)

Definition at line 2055 of file aic94xx_reg_def.h.

#define CSEQ_TIMEOUT_CONST   (CMAPPEDSCR + 0x02FC)

Definition at line 2124 of file aic94xx_reg_def.h.

#define CSEQ_TMF_OPCODE   (CMAPPEDSCR + 0x0212)

Definition at line 2054 of file aic94xx_reg_def.h.

#define CSEQ_TMF_SCBPTR   (CMAPPEDSCR + 0x020A)

Definition at line 2050 of file aic94xx_reg_def.h.

#define CSEQBLKRST   0x00100000

Definition at line 68 of file aic94xx_reg_def.h.

#define CSEQCOMCTL   CSEQm_CIO_REG(8, 0x34)

Definition at line 592 of file aic94xx_reg_def.h.

#define CSEQCOMDMACTL   CSEQm_CIO_REG(8, 0x37)

Definition at line 601 of file aic94xx_reg_def.h.

#define CSEQCOMINTEN   CSEQm_CIO_REG(8, 0x36)

Definition at line 598 of file aic94xx_reg_def.h.

#define CSEQCOMSTAT   CSEQm_CIO_REG(8, 0x35)

Definition at line 595 of file aic94xx_reg_def.h.

#define CSEQCON   CSEQm_CIO_REG(8, 0x30)

Definition at line 585 of file aic94xx_reg_def.h.

#define CSEQDLCTL   CSEQm_CIO_REG(8, 0x4D)

Definition at line 636 of file aic94xx_reg_def.h.

#define CSEQDLOFFS   CSEQm_CIO_REG(8, 0x4E)

Definition at line 654 of file aic94xx_reg_def.h.

#define CSEQINT   0x00000100 /* ro */

Definition at line 263 of file aic94xx_reg_def.h.

#define CSEQm_CIO_REG (   Mode,
  Reg 
)
Value:

Definition at line 520 of file aic94xx_reg_def.h.

#define CSEQRAMBISTDN   0x00000020 /* ro */

Definition at line 505 of file aic94xx_reg_def.h.

#define CSEQRAMBISTEN   0x00000040

Definition at line 504 of file aic94xx_reg_def.h.

#define CSEQRAMBISTFAIL   0x00000010 /* ro */

Definition at line 506 of file aic94xx_reg_def.h.

#define CSEQREQMBX   CSEQm_CIO_REG(8, 0x38)

Definition at line 618 of file aic94xx_reg_def.h.

#define CSEQRSPMBX   CSEQm_CIO_REG(8, 0x3C)

Definition at line 627 of file aic94xx_reg_def.h.

#define CSEQSCRBISTDN   0x00000002 /* ro */

Definition at line 508 of file aic94xx_reg_def.h.

#define CSEQSCRBISTEN   0x00000004

Definition at line 507 of file aic94xx_reg_def.h.

#define CSEQSCRBISTFAIL   0x00000001 /* ro */

Definition at line 509 of file aic94xx_reg_def.h.

#define CSERR   0x00000002

Definition at line 87 of file aic94xx_reg_def.h.

#define CSERRSTAT_MASK   0x000000FF /* ro */

Definition at line 186 of file aic94xx_reg_def.h.

#define CSHALTERR   0x10

Definition at line 603 of file aic94xx_reg_def.h.

#define CSINDEX   (CSEQ_CIO_REG_BASE_ADR + SINDEX)

Definition at line 542 of file aic94xx_reg_def.h.

#define CSINDIR   (CSEQ_CIO_REG_BASE_ADR + SINDIR)

Definition at line 550 of file aic94xx_reg_def.h.

#define CSTACK   (CSEQ_CIO_REG_BASE_ADR + STACK)

Definition at line 534 of file aic94xx_reg_def.h.

#define CTIMERCALC   (CSEQ_CIO_REG_BASE_ADR + 0x64)

Definition at line 671 of file aic94xx_reg_def.h.

#define CTXACCESS   (REG_BASE_ADDR + 0x838)

Definition at line 306 of file aic94xx_reg_def.h.

#define CTXDOMAIN   (REG_BASE_ADDR + 0x810)

Definition at line 224 of file aic94xx_reg_def.h.

#define CTXMEMBLKRST   0x00200000

Definition at line 67 of file aic94xx_reg_def.h.

#define CTXMEMSIZE   0x80000000 /* ro */

Definition at line 916 of file aic94xx_reg_def.h.

#define CURRADDR   0x16

Definition at line 426 of file aic94xx_reg_def.h.

#define CURRENT_DEVICE_PRESENT   0x02

Definition at line 1491 of file aic94xx_reg_def.h.

#define CURRENT_ERR_MASK
Value:
CURRENT_GTO_TIMEOUT | \
CURRENT_OOB_TIMEOUT | \
CURRENT_OOB_ERROR )

Definition at line 1517 of file aic94xx_reg_def.h.

#define CURRENT_GTO_TIMEOUT   0x08

Definition at line 1489 of file aic94xx_reg_def.h.

#define CURRENT_HOT_PLUG_CNCT   0x10

Definition at line 1488 of file aic94xx_reg_def.h.

#define CURRENT_LOSS_OF_SIGNAL   0x40

Definition at line 1486 of file aic94xx_reg_def.h.

#define CURRENT_OOB1_ERROR
Value:
CURRENT_GTO_TIMEOUT)

Definition at line 1494 of file aic94xx_reg_def.h.

#define CURRENT_OOB2_ERROR
Value:
CURRENT_OOB_ERROR)

Definition at line 1497 of file aic94xx_reg_def.h.

#define CURRENT_OOB_DONE   0x80

Definition at line 1485 of file aic94xx_reg_def.h.

#define CURRENT_OOB_ERROR   0x01

Definition at line 1492 of file aic94xx_reg_def.h.

#define CURRENT_OOB_TIMEOUT   0x04

Definition at line 1490 of file aic94xx_reg_def.h.

#define CURRENT_PHY_MASK
Value:
CURRENT_LOSS_OF_SIGNAL | \
CURRENT_SPINUP_HOLD | \
CURRENT_HOT_PLUG_CNCT | \
CURRENT_GTO_TIMEOUT | \
CURRENT_DEVICE_PRESENT | \
CURRENT_OOB_ERROR )

Definition at line 1509 of file aic94xx_reg_def.h.

#define CURRENT_SPINUP_HOLD   0x20

Definition at line 1487 of file aic94xx_reg_def.h.

#define CURRENT_STATUS   0x144

Definition at line 1483 of file aic94xx_reg_def.h.

#define D10_2_DATA_k   0x00

Definition at line 1434 of file aic94xx_reg_def.h.

#define DBGMODE   0x44

Definition at line 694 of file aic94xx_reg_def.h.

#define DBGPORT   0x1D

Definition at line 434 of file aic94xx_reg_def.h.

#define DBGPORTPTR   0x1C

Definition at line 432 of file aic94xx_reg_def.h.

#define DCHCTL   (REG_BASE_ADDR + 0x814)

Definition at line 231 of file aic94xx_reg_def.h.

#define DCHDFIFDEBUG   (REG_BASE_ADDR + 0x820)

Definition at line 277 of file aic94xx_reg_def.h.

#define DCHREVISION   (REG_BASE_ADDR + 0x818)

Definition at line 255 of file aic94xx_reg_def.h.

#define DCHREVISION_MASK   0x000000FF

Definition at line 257 of file aic94xx_reg_def.h.

#define DCHSTATUS   (REG_BASE_ADDR + 0x81C)

Definition at line 259 of file aic94xx_reg_def.h.

#define DDBBISTDN   0x00002000 /* ro */

Definition at line 238 of file aic94xx_reg_def.h.

#define DDBBISTEN   0x00004000

Definition at line 237 of file aic94xx_reg_def.h.

#define DDBBISTFAIL   0x00001000 /* ro */

Definition at line 239 of file aic94xx_reg_def.h.

#define DEVCTXBASE   (REG_BASE_ADDR + 0x808)

Definition at line 222 of file aic94xx_reg_def.h.

#define DEVCTXDOMAIN0   0x00000004

Definition at line 227 of file aic94xx_reg_def.h.

#define DEVCTXDOMAIN1   0x00000008 /* ro */

Definition at line 226 of file aic94xx_reg_def.h.

#define DEVEXCEPT_MASK   (HOSTERR | INITERR | DEVINT | COMINT)

Definition at line 130 of file aic94xx_reg_def.h.

#define DEVICE_ADDED_W_CNT
Value:
CURRENT_HOT_PLUG_CNCT | \
CURRENT_DEVICE_PRESENT)

Definition at line 1500 of file aic94xx_reg_def.h.

#define DEVICE_ADDED_WO_CNT
Value:
CURRENT_DEVICE_PRESENT)

Definition at line 1504 of file aic94xx_reg_def.h.

#define DEVICE_PRESENT   0x02 /* ro */

Definition at line 1549 of file aic94xx_reg_def.h.

#define DEVICE_PRESENT_EN   0x02

Definition at line 1578 of file aic94xx_reg_def.h.

#define DEVICE_REMOVED   CURRENT_LOSS_OF_SIGNAL

Definition at line 1507 of file aic94xx_reg_def.h.

#define DEVINT   0x00000010

Definition at line 121 of file aic94xx_reg_def.h.

#define DEVTIMER1   0x00000002

Definition at line 124 of file aic94xx_reg_def.h.

#define DEVTIMER2   0x00000004

Definition at line 123 of file aic94xx_reg_def.h.

#define DFIFBLKRST   0x00010000

Definition at line 71 of file aic94xx_reg_def.h.

#define DINDEX   0x0E

Definition at line 412 of file aic94xx_reg_def.h.

#define DINDIR   0x13

Definition at line 420 of file aic94xx_reg_def.h.

#define DISRDMST   0x000000FF

Definition at line 281 of file aic94xx_reg_def.h.

#define DISWRMST8   0x00000100

Definition at line 280 of file aic94xx_reg_def.h.

#define DISWRMST9   0x00000200

Definition at line 279 of file aic94xx_reg_def.h.

#define DLAVAIL   0x00000001

Definition at line 125 of file aic94xx_reg_def.h.

#define DLAVAILQ   0x00000080 /* ro */

Definition at line 118 of file aic94xx_reg_def.h.

#define DMAERR   (REG_BASE_ADDR + 0x30)

Definition at line 183 of file aic94xx_reg_def.h.

#define DONELISTEND   0x10

Definition at line 638 of file aic94xx_reg_def.h.

#define DONELISTSIZE_1024ELEM   0x08

Definition at line 647 of file aic94xx_reg_def.h.

#define DONELISTSIZE_128ELEM   0x05

Definition at line 644 of file aic94xx_reg_def.h.

#define DONELISTSIZE_16384ELEM   0x0C

Definition at line 651 of file aic94xx_reg_def.h.

#define DONELISTSIZE_16ELEM   0x02

Definition at line 641 of file aic94xx_reg_def.h.

#define DONELISTSIZE_2048ELEM   0x09

Definition at line 648 of file aic94xx_reg_def.h.

#define DONELISTSIZE_256ELEM   0x06

Definition at line 645 of file aic94xx_reg_def.h.

#define DONELISTSIZE_32ELEM   0x03

Definition at line 642 of file aic94xx_reg_def.h.

#define DONELISTSIZE_4096ELEM   0x0A

Definition at line 649 of file aic94xx_reg_def.h.

#define DONELISTSIZE_512ELEM   0x07

Definition at line 646 of file aic94xx_reg_def.h.

#define DONELISTSIZE_64ELEM   0x04

Definition at line 643 of file aic94xx_reg_def.h.

#define DONELISTSIZE_8192ELEM   0x0B

Definition at line 650 of file aic94xx_reg_def.h.

#define DONELISTSIZE_8ELEM   0x01

Definition at line 640 of file aic94xx_reg_def.h.

#define DONELISTSIZE_MASK   0x0F

Definition at line 639 of file aic94xx_reg_def.h.

#define DPERR_DET   0x0100

Definition at line 1721 of file aic94xx_reg_def.h.

#define DPIBLKRST   0x00020000

Definition at line 70 of file aic94xx_reg_def.h.

#define DSTMODE   0xF0

Definition at line 376 of file aic94xx_reg_def.h.

#define ECC_CTRL_STAT   0x48

Definition at line 1752 of file aic94xx_reg_def.h.

#define EN_ARP2BREAK0   0x00000001

Definition at line 355 of file aic94xx_reg_def.h.

#define EN_ARP2BREAK1   0x00000002

Definition at line 354 of file aic94xx_reg_def.h.

#define EN_ARP2BREAK2   0x00000004

Definition at line 353 of file aic94xx_reg_def.h.

#define EN_ARP2BREAK3   0x00000008

Definition at line 352 of file aic94xx_reg_def.h.

#define EN_ARP2CIOPERR   0x00000010

Definition at line 351 of file aic94xx_reg_def.h.

#define EN_ARP2HALTC   0x00000080

Definition at line 348 of file aic94xx_reg_def.h.

#define EN_ARP2ILLOPC   0x00000040

Definition at line 349 of file aic94xx_reg_def.h.

#define EN_ARP2PERR   0x00000020

Definition at line 350 of file aic94xx_reg_def.h.

#define EN_ARP2WAITTO   0x00000100

Definition at line 347 of file aic94xx_reg_def.h.

#define EN_CFIFTOERR   0x00020000

Definition at line 261 of file aic94xx_reg_def.h.

#define EN_CMnRSPMBXF   0x01

Definition at line 624 of file aic94xx_reg_def.h.

#define EN_CSBUFPERR   0x00000008

Definition at line 98 of file aic94xx_reg_def.h.

#define EN_CSERR   0x00000002

Definition at line 100 of file aic94xx_reg_def.h.

#define EN_LmACK   0x00000200

Definition at line 1337 of file aic94xx_reg_def.h.

#define EN_LmACKREQ   0x08000000

Definition at line 946 of file aic94xx_reg_def.h.

#define EN_LmACRCERR   0x00000800

Definition at line 1230 of file aic94xx_reg_def.h.

#define EN_LmADDRRCV   0x00004000

Definition at line 957 of file aic94xx_reg_def.h.

#define EN_LmAIPNRML   0x00000001

Definition at line 1310 of file aic94xx_reg_def.h.

#define EN_LmAIPRV0   0x00000002

Definition at line 1309 of file aic94xx_reg_def.h.

#define EN_LmAIPRV1   0x00000004

Definition at line 1308 of file aic94xx_reg_def.h.

#define EN_LmAIPRV2   0x00000008

Definition at line 1307 of file aic94xx_reg_def.h.

#define EN_LmAIPRVWP   0x00000080

Definition at line 1303 of file aic94xx_reg_def.h.

#define EN_LmAIPWC   0x00000010

Definition at line 1306 of file aic94xx_reg_def.h.

#define EN_LmAIPWD   0x00000020

Definition at line 1305 of file aic94xx_reg_def.h.

#define EN_LmAIPWP   0x00000040

Definition at line 1304 of file aic94xx_reg_def.h.

#define EN_LmANTTTO   0x02

Definition at line 1256 of file aic94xx_reg_def.h.

#define EN_LmBITLTTO   0x01

Definition at line 1257 of file aic94xx_reg_def.h.

#define EN_LmBREAK   0x10000000

Definition at line 1282 of file aic94xx_reg_def.h.

#define EN_LmBROADCH   0x00000100

Definition at line 1302 of file aic94xx_reg_def.h.

#define EN_LmBROADRV0   0x00000800

Definition at line 1299 of file aic94xx_reg_def.h.

#define EN_LmBROADRV1   0x00001000

Definition at line 1298 of file aic94xx_reg_def.h.

#define EN_LmBROADRV2   0x00002000

Definition at line 1297 of file aic94xx_reg_def.h.

#define EN_LmBROADRV3   0x00004000

Definition at line 1296 of file aic94xx_reg_def.h.

#define EN_LmBROADRV4   0x00008000

Definition at line 1295 of file aic94xx_reg_def.h.

#define EN_LmBROADRVCH0   0x00000200

Definition at line 1301 of file aic94xx_reg_def.h.

#define EN_LmBROADRVCH1   0x00000400

Definition at line 1300 of file aic94xx_reg_def.h.

#define EN_LmCLOSECLAF   0x00100000

Definition at line 1290 of file aic94xx_reg_def.h.

#define EN_LmCLOSENORM   0x00200000

Definition at line 1289 of file aic94xx_reg_def.h.

#define EN_LmCLOSERV0   0x00400000

Definition at line 1288 of file aic94xx_reg_def.h.

#define EN_LmCLOSERV1   0x00800000

Definition at line 1287 of file aic94xx_reg_def.h.

#define EN_LmCRBLK   0x00000400

Definition at line 1336 of file aic94xx_reg_def.h.

#define EN_LmCRTTTO   0x04

Definition at line 1255 of file aic94xx_reg_def.h.

#define EN_LmDMAT   0x00000001

Definition at line 1346 of file aic94xx_reg_def.h.

#define EN_LmDONE   0x08000000

Definition at line 1283 of file aic94xx_reg_def.h.

#define EN_LmDONETO   0x80

Definition at line 1251 of file aic94xx_reg_def.h.

#define EN_LmDWSEVENT   0x08

Definition at line 1254 of file aic94xx_reg_def.h.

#define EN_LmERROR   0x00000040

Definition at line 1340 of file aic94xx_reg_def.h.

#define EN_LmFRMBAD   0x00000040

Definition at line 1235 of file aic94xx_reg_def.h.

#define EN_LmHARDRST   0x00000080

Definition at line 1339 of file aic94xx_reg_def.h.

#define EN_LmHOLD   0x00002000

Definition at line 1333 of file aic94xx_reg_def.h.

#define EN_LmHWTINT   0x00800000

Definition at line 950 of file aic94xx_reg_def.h.

#define EN_LmINVDISP   0x40

Definition at line 1252 of file aic94xx_reg_def.h.

#define EN_LmINVDW   0x20

Definition at line 1253 of file aic94xx_reg_def.h.

#define EN_LmM2REQMBXF   0x00080000

Definition at line 952 of file aic94xx_reg_def.h.

#define EN_LmM2RSPMBXE   0x00040000

Definition at line 953 of file aic94xx_reg_def.h.

#define EN_LmM5OOBSVC   0x01000000

Definition at line 949 of file aic94xx_reg_def.h.

#define EN_LmMISSEOAF   0x00000002

Definition at line 1240 of file aic94xx_reg_def.h.

#define EN_LmMISSEOF   0x00000001

Definition at line 1241 of file aic94xx_reg_def.h.

#define EN_LmMISSSOAF   0x00000008

Definition at line 1238 of file aic94xx_reg_def.h.

#define EN_LmMISSSOF   0x00000004

Definition at line 1239 of file aic94xx_reg_def.h.

#define EN_LmMnCFGCMPLT   0x00000010

Definition at line 967 of file aic94xx_reg_def.h.

#define EN_LmMnCFGEXPSATA   0x00000020

Definition at line 966 of file aic94xx_reg_def.h.

#define EN_LmMnCFGHDR   0x00000001

Definition at line 971 of file aic94xx_reg_def.h.

#define EN_LmMnCFGICL   0x00000080

Definition at line 964 of file aic94xx_reg_def.h.

#define EN_LmMnCFGRBUF   0x00000008

Definition at line 968 of file aic94xx_reg_def.h.

#define EN_LmMnCFGRDAT   0x00000002

Definition at line 970 of file aic94xx_reg_def.h.

#define EN_LmMnCFGSATA   0x00000040

Definition at line 965 of file aic94xx_reg_def.h.

#define EN_LmMnCRCERR   0x00000020

Definition at line 1236 of file aic94xx_reg_def.h.

#define EN_LmMnCTXDONE   0x00100000

Definition at line 951 of file aic94xx_reg_def.h.

#define EN_LmMnDMAERR   0x00020000

Definition at line 954 of file aic94xx_reg_def.h.

#define EN_LmMnFETCHSG   0x00000200

Definition at line 962 of file aic94xx_reg_def.h.

#define EN_LmMnHDRMISS   0x00002000

Definition at line 958 of file aic94xx_reg_def.h.

#define EN_LmMnLOADCTX   0x00000100

Definition at line 963 of file aic94xx_reg_def.h.

#define EN_LmMnRLSSCB   0x00000800

Definition at line 960 of file aic94xx_reg_def.h.

#define EN_LmMnSAVECTX   0x00000400

Definition at line 961 of file aic94xx_reg_def.h.

#define EN_LmMnSAVETTR   0x00000004

Definition at line 969 of file aic94xx_reg_def.h.

#define EN_LmMnWAITSCB   0x00001000

Definition at line 959 of file aic94xx_reg_def.h.

#define EN_LmMnXMTERR   0x02000000

Definition at line 948 of file aic94xx_reg_def.h.

#define EN_LmMnZERODATA   0x00000100

Definition at line 1233 of file aic94xx_reg_def.h.

#define EN_LmNAK   0x00000100

Definition at line 1338 of file aic94xx_reg_def.h.

#define EN_LmNAKREQ   0x04000000

Definition at line 947 of file aic94xx_reg_def.h.

#define EN_LmNOTIFYRV0   0x00020000

Definition at line 1293 of file aic94xx_reg_def.h.

#define EN_LmNOTIFYRV1   0x00040000

Definition at line 1292 of file aic94xx_reg_def.h.

#define EN_LmNOTIFYRV2   0x00080000

Definition at line 1291 of file aic94xx_reg_def.h.

#define EN_LmNOTIFYSPIN   0x00010000

Definition at line 1294 of file aic94xx_reg_def.h.

#define EN_LmOBOVRN   0x00000200

Definition at line 1232 of file aic94xx_reg_def.h.

#define EN_LmOPENACPT   0x04000000

Definition at line 1284 of file aic94xx_reg_def.h.

#define EN_LmOPENRJCT   0x02000000

Definition at line 1285 of file aic94xx_reg_def.h.

#define EN_LmOPENRTRY   0x01000000

Definition at line 1286 of file aic94xx_reg_def.h.

#define EN_LmPHYOVRN   0x00000400

Definition at line 1231 of file aic94xx_reg_def.h.

#define EN_LmPMACK   0x00000004

Definition at line 1344 of file aic94xx_reg_def.h.

#define EN_LmPMNAK   0x00000002

Definition at line 1345 of file aic94xx_reg_def.h.

#define EN_LmPMREQP   0x00000010

Definition at line 1342 of file aic94xx_reg_def.h.

#define EN_LmPMREQS   0x00000008

Definition at line 1343 of file aic94xx_reg_def.h.

#define EN_LmRCVERR   0x00008000

Definition at line 956 of file aic94xx_reg_def.h.

#define EN_LmRCVPRIM   0x00010000

Definition at line 955 of file aic94xx_reg_def.h.

#define EN_LmRERR   0x00000020

Definition at line 1341 of file aic94xx_reg_def.h.

#define EN_LmRIP   0x00000800

Definition at line 1335 of file aic94xx_reg_def.h.

#define EN_LmROK   0x00001000

Definition at line 1334 of file aic94xx_reg_def.h.

#define EN_LmRRDY   0x00004000

Definition at line 1332 of file aic94xx_reg_def.h.

#define EN_LmRRDYOVRN   0x00000010

Definition at line 1237 of file aic94xx_reg_def.h.

#define EN_LmSATAINTLK   0x00000080

Definition at line 1234 of file aic94xx_reg_def.h.

#define EN_LmSYNC   0x00010000

Definition at line 1330 of file aic94xx_reg_def.h.

#define EN_LmSYNCSRST   0x00020000

Definition at line 1329 of file aic94xx_reg_def.h.

#define EN_LmUNKNOWNP   0x20000000

Definition at line 1281 of file aic94xx_reg_def.h.

#define EN_LmXHOLD   0x00008000

Definition at line 1331 of file aic94xx_reg_def.h.

#define EN_LmXRDY   0x00040000

Definition at line 1328 of file aic94xx_reg_def.h.

#define EN_OVLYDONE   0x00000001

Definition at line 101 of file aic94xx_reg_def.h.

#define EN_OVLYERR   0x00000004

Definition at line 99 of file aic94xx_reg_def.h.

#define EN_REQMBXREAD   0x00000040

Definition at line 96 of file aic94xx_reg_def.h.

#define EN_RSPMBXAVAIL   0x00000020

Definition at line 97 of file aic94xx_reg_def.h.

#define ENFAIRMST   0x00FF0000

Definition at line 278 of file aic94xx_reg_def.h.

#define ENWAITTO   0x00008000

Definition at line 319 of file aic94xx_reg_def.h.

#define EPAUSE   0x00000008

Definition at line 327 of file aic94xx_reg_def.h.

#define EXSI_REG_BASE_ADR   REG_BASE_ADDR_EXSI

Definition at line 1807 of file aic94xx_reg_def.h.

#define EXSIBLKRST   0x00040000

Definition at line 69 of file aic94xx_reg_def.h.

#define EXSICNFGR   (EXSI_REG_BASE_ADR + 0x00)

Definition at line 1809 of file aic94xx_reg_def.h.

#define EXSICNTRLR   (EXSI_REG_BASE_ADR + 0x04)

Definition at line 1830 of file aic94xx_reg_def.h.

#define EXT_INT0   0x00000800

Definition at line 114 of file aic94xx_reg_def.h.

#define EXT_INT1   0x00000400

Definition at line 115 of file aic94xx_reg_def.h.

#define FAILDIS   0x00002000

Definition at line 321 of file aic94xx_reg_def.h.

#define FBB_EN   0x0200 /* ro */

Definition at line 1703 of file aic94xx_reg_def.h.

#define FLAG   0x04

Definition at line 386 of file aic94xx_reg_def.h.

#define FLASHEX   0x00000008

Definition at line 1824 of file aic94xx_reg_def.h.

#define FLASHRDY   0x00000001

Definition at line 1838 of file aic94xx_reg_def.h.

#define FLASHRST   0x00000002

Definition at line 1837 of file aic94xx_reg_def.h.

#define FLASHW   0x00000010

Definition at line 1823 of file aic94xx_reg_def.h.

#define FLCNFGR   (EXSI_REG_BASE_ADR + 0x14)

Definition at line 1841 of file aic94xx_reg_def.h.

#define FLCSH_MASK   0x00000300

Definition at line 1849 of file aic94xx_reg_def.h.

#define FLCSPW_MASK   0x0000003F

Definition at line 1851 of file aic94xx_reg_def.h.

#define FLCSSU_MASK   0x000000C0

Definition at line 1850 of file aic94xx_reg_def.h.

#define FLOEH_MASK   0x000C0000

Definition at line 1846 of file aic94xx_reg_def.h.

#define FLOEPW_MASK   0x0000FC00

Definition at line 1848 of file aic94xx_reg_def.h.

#define FLOESU_MASK   0x00030000

Definition at line 1847 of file aic94xx_reg_def.h.

#define FLWEH_MASK   0x30000000

Definition at line 1843 of file aic94xx_reg_def.h.

#define FLWEPW_MASK   0x03F00000

Definition at line 1845 of file aic94xx_reg_def.h.

#define FLWESU_MASK   0x0C000000

Definition at line 1844 of file aic94xx_reg_def.h.

#define FORCE_XMIT_15   0x08

Definition at line 1478 of file aic94xx_reg_def.h.

#define FRCARP2ILLOPC   0x00010000

Definition at line 318 of file aic94xx_reg_def.h.

#define FRCARP2PERR   0x00020000

Definition at line 317 of file aic94xx_reg_def.h.

#define FRCBISTERR   0x00000010

Definition at line 76 of file aic94xx_reg_def.h.

#define FRCCIOPERR   0x00000020

Definition at line 75 of file aic94xx_reg_def.h.

#define FRCDFPERR   0x00000080

Definition at line 74 of file aic94xx_reg_def.h.

#define FRCERR   0x00000010

Definition at line 252 of file aic94xx_reg_def.h.

#define FRCSCRPERR   0x00040000

Definition at line 316 of file aic94xx_reg_def.h.

#define FUNCTION1   0x07

Definition at line 404 of file aic94xx_reg_def.h.

#define FUNCTION_MASK   0x142

Definition at line 1464 of file aic94xx_reg_def.h.

#define FUNCTION_MASK_DEFAULT   (SPINUP_HOLD_DIS | SATA_PS_DIS)

Definition at line 1471 of file aic94xx_reg_def.h.

#define GPIO_EXTSRC   0x00000001

Definition at line 1912 of file aic94xx_reg_def.h.

#define GPIOCNFGR   (EXSI_REG_BASE_ADR + 0x54)

Definition at line 1910 of file aic94xx_reg_def.h.

#define GPIODATAIR   (EXSI_REG_BASE_ADR + 0x50)

Definition at line 1908 of file aic94xx_reg_def.h.

#define GPIODATAOR   (EXSI_REG_BASE_ADR + 0x4C)

Definition at line 1906 of file aic94xx_reg_def.h.

#define GPIOINVR   (EXSI_REG_BASE_ADR + 0x48)

Definition at line 1904 of file aic94xx_reg_def.h.

#define GPIOODENR   (EXSI_REG_BASE_ADR + 0x44)

Definition at line 1902 of file aic94xx_reg_def.h.

#define GPIOOER   (EXSI_REG_BASE_ADR + 0x40)

Definition at line 1900 of file aic94xx_reg_def.h.

#define GTO_TIMEOUT   0x08 /* ro */

Definition at line 1547 of file aic94xx_reg_def.h.

#define GTO_TIMEOUT_CLR   0x08

Definition at line 1561 of file aic94xx_reg_def.h.

#define GTO_TIMEOUT_EN   0x08

Definition at line 1576 of file aic94xx_reg_def.h.

#define HALTCODE_MASK   0x00FF0000 /* ro */

Definition at line 334 of file aic94xx_reg_def.h.

#define HARDRST   0x00000200

Definition at line 72 of file aic94xx_reg_def.h.

#define HARDRSTDET   0x00000100

Definition at line 117 of file aic94xx_reg_def.h.

#define HCMODE   0x00200000

Definition at line 1813 of file aic94xx_reg_def.h.

#define HOSTERR   0x00000040

Definition at line 119 of file aic94xx_reg_def.h.

#define HOT_PLUG_CNCT   0x10 /* ro */

Definition at line 1546 of file aic94xx_reg_def.h.

#define HOT_PLUG_CNCT_CLR   0x10

Definition at line 1560 of file aic94xx_reg_def.h.

#define HOT_PLUG_CNCT_EN   0x10

Definition at line 1575 of file aic94xx_reg_def.h.

#define HOT_PLUG_DELAY   0x150

Definition at line 1565 of file aic94xx_reg_def.h.

#define HOT_PLUG_DIS   0x10

Definition at line 1469 of file aic94xx_reg_def.h.

#define HOT_PLUG_EN   0x80

Definition at line 1533 of file aic94xx_reg_def.h.

#define HOTPLUG_DELAY_TIMEOUT   20

Definition at line 1567 of file aic94xx_reg_def.h.

#define INITERR   0x00000020

Definition at line 120 of file aic94xx_reg_def.h.

#define INT_DIS   0x0400

Definition at line 1702 of file aic94xx_reg_def.h.

#define INT_ENABLE_2   0x15A

Definition at line 1570 of file aic94xx_reg_def.h.

#define INT_STAT   0x0008

Definition at line 1723 of file aic94xx_reg_def.h.

#define INTCODE_MASK   0xF0

Definition at line 388 of file aic94xx_reg_def.h.

#define INTMASK   0x02

Definition at line 399 of file aic94xx_reg_def.h.

#define IO_EN   0x0001

Definition at line 1712 of file aic94xx_reg_def.h.

#define IRET   0x01

Definition at line 400 of file aic94xx_reg_def.h.

#define JUMLDIR   0x14

Definition at line 422 of file aic94xx_reg_def.h.

#define L0BLKRST   0x01000000

Definition at line 62 of file aic94xx_reg_def.h.

#define L1BLKRST   0x02000000

Definition at line 61 of file aic94xx_reg_def.h.

#define L2BLKRST   0x04000000

Definition at line 60 of file aic94xx_reg_def.h.

#define L3BLKRST   0x08000000

Definition at line 59 of file aic94xx_reg_def.h.

#define L4BLKRST   0x10000000

Definition at line 58 of file aic94xx_reg_def.h.

#define L5BLKRST   0x20000000

Definition at line 57 of file aic94xx_reg_def.h.

#define L6BLKRST   0x40000000

Definition at line 56 of file aic94xx_reg_def.h.

#define L7BLKRST   0x80000000

Definition at line 55 of file aic94xx_reg_def.h.

#define LASTADDR   0x18

Definition at line 428 of file aic94xx_reg_def.h.

#define LEDMODE_CONNECTED   0x00000200

Definition at line 702 of file aic94xx_reg_def.h.

#define LEDMODE_TXRX   0x00000000

Definition at line 701 of file aic94xx_reg_def.h.

#define LEDPOL   0x00000100

Definition at line 703 of file aic94xx_reg_def.h.

#define LEDTIMER   0x00010000

Definition at line 697 of file aic94xx_reg_def.h.

#define LEDTIMERS_100ms   0x00001000

Definition at line 700 of file aic94xx_reg_def.h.

#define LEDTIMERS_10us   0x00000000

Definition at line 698 of file aic94xx_reg_def.h.

#define LEDTIMERS_1ms   0x00000800

Definition at line 699 of file aic94xx_reg_def.h.

#define LmACCUM (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ACCUM)

Definition at line 875 of file aic94xx_reg_def.h.

#define LmACK   0x00000200

Definition at line 1198 of file aic94xx_reg_def.h.

#define LmACKREQ   0x08000000

Definition at line 917 of file aic94xx_reg_def.h.

#define LmACRCERR   0x00000800

Definition at line 1216 of file aic94xx_reg_def.h.

#define LmADDRRCV   0x00004000

Definition at line 928 of file aic94xx_reg_def.h.

#define LmAIPNRML   0x00000001

Definition at line 1174 of file aic94xx_reg_def.h.

#define LmAIPRV0   0x00000002

Definition at line 1173 of file aic94xx_reg_def.h.

#define LmAIPRV1   0x00000004

Definition at line 1172 of file aic94xx_reg_def.h.

#define LmAIPRV2   0x00000008

Definition at line 1171 of file aic94xx_reg_def.h.

#define LmAIPRVWP   0x00000080

Definition at line 1167 of file aic94xx_reg_def.h.

#define LmAIPWC   0x00000010

Definition at line 1170 of file aic94xx_reg_def.h.

#define LmAIPWD   0x00000020

Definition at line 1169 of file aic94xx_reg_def.h.

#define LmAIPWP   0x00000040

Definition at line 1168 of file aic94xx_reg_def.h.

#define LmALLONES (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ALLONES)

Definition at line 881 of file aic94xx_reg_def.h.

#define LmALLZEROS (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ALLZEROS)

Definition at line 883 of file aic94xx_reg_def.h.

#define LmALTMODE (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ALTMODE)

Definition at line 861 of file aic94xx_reg_def.h.

#define LmANTTTO   0x02

Definition at line 1271 of file aic94xx_reg_def.h.

#define LmARP2BREAKADR01 (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
ARP2BREAKADR01)

Definition at line 739 of file aic94xx_reg_def.h.

#define LmARP2BREAKADR23 (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
ARP2BREAKADR23)

Definition at line 743 of file aic94xx_reg_def.h.

#define LmARP2CTL (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
ARP2CTL)

Definition at line 719 of file aic94xx_reg_def.h.

#define LmARP2HALTCODE (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ARP2HALTCODE)

Definition at line 891 of file aic94xx_reg_def.h.

#define LmARP2INT (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
ARP2INT)

Definition at line 723 of file aic94xx_reg_def.h.

#define LmARP2INTCTL (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ARP2INTCTL)

Definition at line 867 of file aic94xx_reg_def.h.

#define LmARP2INTEN (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
ARP2INTEN)

Definition at line 727 of file aic94xx_reg_def.h.

#define LmATOMICXCHG (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, ATOMICXCHG)

Definition at line 863 of file aic94xx_reg_def.h.

#define LmAUTODISCI   0x08000000

Definition at line 751 of file aic94xx_reg_def.h.

#define LmBISTCTL0 (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
BISTCTL0)

Definition at line 803 of file aic94xx_reg_def.h.

#define LmBISTCTL1 (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) +\
BISTCTL1)

Definition at line 820 of file aic94xx_reg_def.h.

#define LmBITL_TIMER (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xA2)

Definition at line 1390 of file aic94xx_reg_def.h.

#define LmBITLTTO   0x01

Definition at line 1272 of file aic94xx_reg_def.h.

#define LmBLIND48   0x00000010

Definition at line 759 of file aic94xx_reg_def.h.

#define LmBLKRST   0xFF000000

Definition at line 63 of file aic94xx_reg_def.h.

#define LmBLKRST_COMBIST (   phyid)    (1 << (24 + phyid))

Definition at line 64 of file aic94xx_reg_def.h.

#define LmBREAK   0x10000000

Definition at line 1146 of file aic94xx_reg_def.h.

#define LmBREAK_DET   0x04000000

Definition at line 1186 of file aic94xx_reg_def.h.

#define LmBROADCAST_MASK
Value:
LmBROADRVCH1)

Definition at line 1176 of file aic94xx_reg_def.h.

#define LmBROADCH   0x00000100

Definition at line 1166 of file aic94xx_reg_def.h.

#define LmBROADRV1   0x00001000

Definition at line 1162 of file aic94xx_reg_def.h.

#define LmBROADRV2   0x00002000

Definition at line 1161 of file aic94xx_reg_def.h.

#define LmBROADRV3   0x00004000

Definition at line 1160 of file aic94xx_reg_def.h.

#define LmBROADRV4   0x00008000

Definition at line 1159 of file aic94xx_reg_def.h.

#define LmBROADRVCH0   0x00000200

Definition at line 1165 of file aic94xx_reg_def.h.

#define LmBROADRVCH1   0x00000400

Definition at line 1164 of file aic94xx_reg_def.h.

#define LmBROADSES   0x00000800

Definition at line 1163 of file aic94xx_reg_def.h.

#define LmCLOSE_DET   0x02000000

Definition at line 1187 of file aic94xx_reg_def.h.

#define LmCLOSECLAF   0x00100000

Definition at line 1154 of file aic94xx_reg_def.h.

#define LmCLOSENORM   0x00200000

Definition at line 1153 of file aic94xx_reg_def.h.

#define LmCLOSERV0   0x00400000

Definition at line 1152 of file aic94xx_reg_def.h.

#define LmCLOSERV1   0x00800000

Definition at line 1151 of file aic94xx_reg_def.h.

#define LmCONSTAT (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x45)

Definition at line 1002 of file aic94xx_reg_def.h.

#define LmCONTROL (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
CONTROL)

Definition at line 796 of file aic94xx_reg_def.h.

#define LmCONTROL (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
CONTROL)

Definition at line 796 of file aic94xx_reg_def.h.

#define LmCRBLK   0x00000400

Definition at line 1197 of file aic94xx_reg_def.h.

#define LmCRTTTO   0x04

Definition at line 1270 of file aic94xx_reg_def.h.

#define LmCURRADDR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, CURRADDR)

Definition at line 893 of file aic94xx_reg_def.h.

#define LmDATABUFADR_MASK   0x0FFF

Definition at line 1275 of file aic94xx_reg_def.h.

#define LmDBGMODE (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
DBGMODE)

Definition at line 764 of file aic94xx_reg_def.h.

#define LmDBGMODE (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
DBGMODE)

Definition at line 764 of file aic94xx_reg_def.h.

#define LmDBGPORT (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, DBGPORT)

Definition at line 901 of file aic94xx_reg_def.h.

#define LmDBGPORTPTR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, DBGPORTPTR)

Definition at line 899 of file aic94xx_reg_def.h.

#define LmDINDEX (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, DINDEX)

Definition at line 879 of file aic94xx_reg_def.h.

#define LmDINDIR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, DINDIR)

Definition at line 887 of file aic94xx_reg_def.h.

#define LmDISACK   0x00000020

Definition at line 758 of file aic94xx_reg_def.h.

#define LmDISALIGN   0x20

Definition at line 1026 of file aic94xx_reg_def.h.

#define LmDISCRCCHK   0x00000004

Definition at line 792 of file aic94xx_reg_def.h.

#define LmDISCRCGEN   0x00000008

Definition at line 791 of file aic94xx_reg_def.h.

#define LmDISPERR   0x00002000

Definition at line 777 of file aic94xx_reg_def.h.

#define LmDMAT   0x00000001

Definition at line 1207 of file aic94xx_reg_def.h.

#define LmDONE   0x08000000

Definition at line 1147 of file aic94xx_reg_def.h.

#define LmDONE_DET   0x01000000

Definition at line 1188 of file aic94xx_reg_def.h.

#define LmDONETO   0x80

Definition at line 1266 of file aic94xx_reg_def.h.

#define LmDSBLANTT   0x02000000

Definition at line 753 of file aic94xx_reg_def.h.

#define LmDSBLBITLT   0x04000000

Definition at line 752 of file aic94xx_reg_def.h.

#define LmDSBLCONT   0x00000100

Definition at line 755 of file aic94xx_reg_def.h.

#define LmDSBLCRTT   0x01000000

Definition at line 754 of file aic94xx_reg_def.h.

#define LmDSBLDSCR   0x00000800

Definition at line 778 of file aic94xx_reg_def.h.

#define LmDSBLHOLD   0x00000040

Definition at line 757 of file aic94xx_reg_def.h.

#define LmDSBLSCR   0x00000400

Definition at line 779 of file aic94xx_reg_def.h.

#define LmDUALALIGN   0x02

Definition at line 1030 of file aic94xx_reg_def.h.

#define LmDWSEVENT   0x08

Definition at line 1269 of file aic94xx_reg_def.h.

#define LmERROR   0x00000040

Definition at line 1201 of file aic94xx_reg_def.h.

#define LmFLAG (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, FLAG)

Definition at line 865 of file aic94xx_reg_def.h.

#define LmFRAMERCVD   0x80000000

Definition at line 1143 of file aic94xx_reg_def.h.

#define LmFRCARBPERR   0x30000000

Definition at line 773 of file aic94xx_reg_def.h.

#define LmFRCCRC   0x00000080

Definition at line 782 of file aic94xx_reg_def.h.

#define LmFRCNAK   0x00000200

Definition at line 780 of file aic94xx_reg_def.h.

#define LmFRCPERR   0x80000000

Definition at line 768 of file aic94xx_reg_def.h.

#define LmFRCRBPERR   0x00000000

Definition at line 770 of file aic94xx_reg_def.h.

#define LmFRCROFS   0x00000100

Definition at line 781 of file aic94xx_reg_def.h.

#define LmFRCSGBPERR   0x20000000

Definition at line 772 of file aic94xx_reg_def.h.

#define LmFRCTBPERR   0x10000000

Definition at line 771 of file aic94xx_reg_def.h.

#define LmFRMERREN (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xB4)

Definition at line 1228 of file aic94xx_reg_def.h.

#define LmFRMERREN_MASK
Value:
EN_LmRRDYOVRN | EN_LmMISSSOF | \
EN_LmMISSEOAF | EN_LmMISSEOF | \
EN_LmACRCERR | LmPHYOVRN | \
EN_LmOBOVRN | EN_LmMnZERODATA)

Definition at line 1243 of file aic94xx_reg_def.h.

#define LmFRMRCVDSTAT   0x80000000

Definition at line 1185 of file aic94xx_reg_def.h.

#define LmFRMTYPE_MASK   0x00000070

Definition at line 783 of file aic94xx_reg_def.h.

#define LmFUNCTION1 (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, FUNCTION1)

Definition at line 871 of file aic94xx_reg_def.h.

#define LmHARDRST   0x00000080

Definition at line 1200 of file aic94xx_reg_def.h.

#define LmHOLD   0x00002000

Definition at line 1194 of file aic94xx_reg_def.h.

#define LmHWTINT   0x00800000

Definition at line 921 of file aic94xx_reg_def.h.

#define LmHWTSTAT (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xC7)

Definition at line 1264 of file aic94xx_reg_def.h.

#define LmHWTSTATEN (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xC5)

Definition at line 1249 of file aic94xx_reg_def.h.

#define LmHWTSTATEN_MASK
Value:
EN_LmDWSEVENT | EN_LmCRTTTO | \
EN_LmANTTTO | EN_LmDONETO | \
EN_LmBITLTTO)

Definition at line 1259 of file aic94xx_reg_def.h.

#define LmIMEMBISTDN   0x00000020 /* ro */

Definition at line 827 of file aic94xx_reg_def.h.

#define LmIMEMBISTEN   0x00000040

Definition at line 826 of file aic94xx_reg_def.h.

#define LmIMEMBISTFAIL   0x00000010 /* ro */

Definition at line 828 of file aic94xx_reg_def.h.

#define LmINVDISP   0x40

Definition at line 1267 of file aic94xx_reg_def.h.

#define LmINVDW   0x20

Definition at line 1268 of file aic94xx_reg_def.h.

#define LmINVDWERR   0x00040000

Definition at line 775 of file aic94xx_reg_def.h.

#define LmJUMLDIR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, JUMLDIR)

Definition at line 889 of file aic94xx_reg_def.h.

#define LmLASTADDR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, LASTADDR)

Definition at line 895 of file aic94xx_reg_def.h.

#define LmM0EXPHDRP (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x48)

Definition at line 1008 of file aic94xx_reg_def.h.

#define LmM0EXPRCVNT (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x4C)

Definition at line 1033 of file aic94xx_reg_def.h.

#define LmM0ICLADR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x4B)

Definition at line 1022 of file aic94xx_reg_def.h.

#define LmM0INTEN_MASK
Value:
EN_LmMnSAVETTR | EN_LmMnCFGRDAT | \
EN_LmMnCFGHDR | EN_LmRCVERR | \
EN_LmADDRRCV | EN_LmMnHDRMISS | \
EN_LmMnRLSSCB | EN_LmMnSAVECTX | \
EN_LmMnFETCHSG | EN_LmMnLOADCTX | \
EN_LmHWTINT | EN_LmMnCTXDONE | \
EN_LmRCVPRIM | EN_LmMnCFGSATA | \
EN_LmMnCFGEXPSATA | EN_LmMnDMAERR)

Definition at line 973 of file aic94xx_reg_def.h.

#define LmM0MSKHDRP (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x49)

Definition at line 1013 of file aic94xx_reg_def.h.

#define LmM0RCVHDRP (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x4A)

Definition at line 1018 of file aic94xx_reg_def.h.

#define LmM1ALIGNMODE (   LinkNum)    LmSEQ_PHY_REG(1, LinkNum, 0x4B)

Definition at line 1024 of file aic94xx_reg_def.h.

#define LmM1INTEN_MASK
Value:
EN_LmMnRLSSCB | EN_LmMnSAVECTX | \
EN_LmMnFETCHSG | EN_LmMnLOADCTX | \
EN_LmMnXMTERR | EN_LmHWTINT | \
EN_LmMnCTXDONE | EN_LmRCVPRIM | \
EN_LmRCVERR | EN_LmMnDMAERR)

Definition at line 983 of file aic94xx_reg_def.h.

#define LmM1SASALIGN (   LinkNum)    LmSEQ_PHY_REG(1, LinkNum, 0x48)

Definition at line 1010 of file aic94xx_reg_def.h.

#define LmM1STPALIGN (   LinkNum)    LmSEQ_PHY_REG(1, LinkNum, 0x49)

Definition at line 1015 of file aic94xx_reg_def.h.

#define LmM1XMTCNT (   LinkNum)    LmSEQ_PHY_REG(1, LinkNum, 0x4C)

Definition at line 1035 of file aic94xx_reg_def.h.

#define LmM1XMTHDRP (   LinkNum)    LmSEQ_PHY_REG(1, LinkNum, 0x4A)

Definition at line 1020 of file aic94xx_reg_def.h.

#define LmM2INTEN_MASK
Value:
EN_LmM2REQMBXF | EN_LmRCVPRIM | \
EN_LmRCVERR)

Definition at line 990 of file aic94xx_reg_def.h.

#define LmM2REQMBXF   0x00080000

Definition at line 923 of file aic94xx_reg_def.h.

#define LmM2RSPMBXE   0x00040000

Definition at line 924 of file aic94xx_reg_def.h.

#define LmM3FRMGAP (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0xB4)

Definition at line 1388 of file aic94xx_reg_def.h.

#define LmM3INTVEC0 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x90)

Definition at line 1366 of file aic94xx_reg_def.h.

#define LmM3INTVEC1 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x92)

Definition at line 1368 of file aic94xx_reg_def.h.

#define LmM3INTVEC10 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0xB0)

Definition at line 1386 of file aic94xx_reg_def.h.

#define LmM3INTVEC2 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x94)

Definition at line 1370 of file aic94xx_reg_def.h.

#define LmM3INTVEC3 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x96)

Definition at line 1372 of file aic94xx_reg_def.h.

#define LmM3INTVEC4 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x98)

Definition at line 1374 of file aic94xx_reg_def.h.

#define LmM3INTVEC5 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x9A)

Definition at line 1376 of file aic94xx_reg_def.h.

#define LmM3INTVEC6 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x9C)

Definition at line 1378 of file aic94xx_reg_def.h.

#define LmM3INTVEC7 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x9E)

Definition at line 1380 of file aic94xx_reg_def.h.

#define LmM3INTVEC8 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0xA4)

Definition at line 1382 of file aic94xx_reg_def.h.

#define LmM3INTVEC9 (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0xA6)

Definition at line 1384 of file aic94xx_reg_def.h.

#define LmM3SATATIMER (   LinkNum)    LmSEQ_PHY_REG(3, LinkNum, 0x48)

Definition at line 1364 of file aic94xx_reg_def.h.

#define LmM5INTEN_MASK
Value:
EN_LmHWTINT | EN_LmRCVPRIM | \
EN_LmRCVERR)

Definition at line 994 of file aic94xx_reg_def.h.

#define LmM5OOBSVC   0x01000000

Definition at line 920 of file aic94xx_reg_def.h.

#define LmMEMSEL_MASK   0x30000000

Definition at line 769 of file aic94xx_reg_def.h.

#define LmMISSEOAF   0x00000002

Definition at line 1225 of file aic94xx_reg_def.h.

#define LmMISSEOF   0x00000001

Definition at line 1226 of file aic94xx_reg_def.h.

#define LmMISSSOAF   0x00000008

Definition at line 1223 of file aic94xx_reg_def.h.

#define LmMISSSOF   0x00000004

Definition at line 1224 of file aic94xx_reg_def.h.

#define LmMnADDRFRM   0x0400

Definition at line 1100 of file aic94xx_reg_def.h.

#define LmMnBITBUCKET   0x0008

Definition at line 1094 of file aic94xx_reg_def.h.

#define LmMnBUFPERR   0x01

Definition at line 1039 of file aic94xx_reg_def.h.

#define LmMnBUFSTAT (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x4E)

Definition at line 1037 of file aic94xx_reg_def.h.

#define LmMnCFGCMPLT   0x00000010

Definition at line 938 of file aic94xx_reg_def.h.

#define LmMnCFGEXPSATA   0x00000020

Definition at line 937 of file aic94xx_reg_def.h.

#define LmMnCFGHDR   0x00000001

Definition at line 942 of file aic94xx_reg_def.h.

#define LmMnCFGICL   0x00000080

Definition at line 935 of file aic94xx_reg_def.h.

#define LmMnCFGRBUF   0x00000008

Definition at line 939 of file aic94xx_reg_def.h.

#define LmMnCFGRDAT   0x00000002

Definition at line 941 of file aic94xx_reg_def.h.

#define LmMnCFGSATA   0x00000040

Definition at line 936 of file aic94xx_reg_def.h.

#define LmMnCRCERR   0x00000020

Definition at line 1221 of file aic94xx_reg_def.h.

#define LmMnCTXDONE   0x00100000

Definition at line 922 of file aic94xx_reg_def.h.

#define LmMnDATABUF (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0xCA)

Definition at line 1277 of file aic94xx_reg_def.h.

#define LmMnDATABUFADR (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0xC8)

Definition at line 1274 of file aic94xx_reg_def.h.

#define LmMnDATACT   0x02

Definition at line 1081 of file aic94xx_reg_def.h.

#define LmMnDATEN   0x01

Definition at line 1082 of file aic94xx_reg_def.h.

#define LmMnDATFREE   0x08

Definition at line 1079 of file aic94xx_reg_def.h.

#define LmMnDATSUS   0x04

Definition at line 1080 of file aic94xx_reg_def.h.

#define LmMnDBYTECNT   0x04

Definition at line 1127 of file aic94xx_reg_def.h.

#define LmMnDDMACTL (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x5C)

Definition at line 1062 of file aic94xx_reg_def.h.

#define LmMnDDMAMODE (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x5E)

Definition at line 1085 of file aic94xx_reg_def.h.

#define LmMnDDMAREQ   0x20

Definition at line 1077 of file aic94xx_reg_def.h.

#define LmMnDDMASTAT (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x5D)

Definition at line 1073 of file aic94xx_reg_def.h.

#define LmMnDFRMSIZE   0x05

Definition at line 1119 of file aic94xx_reg_def.h.

#define LmMnDISCARD   0x10 /* wo */

Definition at line 1066 of file aic94xx_reg_def.h.

#define LmMnDISCRC   0x0080

Definition at line 1098 of file aic94xx_reg_def.h.

#define LmMnDISHDR   0x0010

Definition at line 1095 of file aic94xx_reg_def.h.

#define LmMnDMAERR   0x00020000

Definition at line 925 of file aic94xx_reg_def.h.

#define LmMnDMAERRS (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x46)

Definition at line 1004 of file aic94xx_reg_def.h.

#define LmMnDMATYPE_DEVICE_ONLY_TX   0x0002

Definition at line 1089 of file aic94xx_reg_def.h.

#define LmMnDMATYPE_HOST_ONLY_TX   0x0001

Definition at line 1088 of file aic94xx_reg_def.h.

#define LmMnDMATYPE_INVALID   0x0003

Definition at line 1090 of file aic94xx_reg_def.h.

#define LmMnDMATYPE_MASK   0x0003

Definition at line 1091 of file aic94xx_reg_def.h.

#define LmMnDMATYPE_NORMAL   0x0000

Definition at line 1087 of file aic94xx_reg_def.h.

#define LmMnDMAWRAP   0x0004

Definition at line 1093 of file aic94xx_reg_def.h.

#define LmMnDPACC (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x78)

Definition at line 1131 of file aic94xx_reg_def.h.

#define LmMnDPACC_MASK   0x00FFFFFF

Definition at line 1132 of file aic94xx_reg_def.h.

#define LmMnDPEMPTY   0x80

Definition at line 1075 of file aic94xx_reg_def.h.

#define LmMnDPSEL (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x7B)

Definition at line 1107 of file aic94xx_reg_def.h.

#define LmMnDPSEL_MASK   0x07

Definition at line 1108 of file aic94xx_reg_def.h.

#define LmMnDRADDR   0x03

Definition at line 1126 of file aic94xx_reg_def.h.

#define LmMnDSPACECNT   0x04

Definition at line 1118 of file aic94xx_reg_def.h.

#define LmMnDWADDR   0x03

Definition at line 1117 of file aic94xx_reg_def.h.

#define LmMnENINTLK   0x0100

Definition at line 1099 of file aic94xx_reg_def.h.

#define LmMnENXMTCRC   0x0800

Definition at line 1101 of file aic94xx_reg_def.h.

#define LmMnEOLPRE   0x40

Definition at line 1109 of file aic94xx_reg_def.h.

#define LmMnEOSPRE   0x80

Definition at line 1110 of file aic94xx_reg_def.h.

#define LmMnFETCHSG   0x00000200

Definition at line 933 of file aic94xx_reg_def.h.

#define LmMnFLUSH   0x40 /* wo */

Definition at line 1064 of file aic94xx_reg_def.h.

#define LmMnFLUSHING   0x40

Definition at line 1076 of file aic94xx_reg_def.h.

#define LmMnFRMERR (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0xB0)

Definition at line 1214 of file aic94xx_reg_def.h.

#define LmMnHBYTECNT   0x01

Definition at line 1115 of file aic94xx_reg_def.h.

#define LmMnHDMAREQ   0x10

Definition at line 1078 of file aic94xx_reg_def.h.

#define LmMnHDRMISS   0x00002000

Definition at line 929 of file aic94xx_reg_def.h.

#define LmMnHOLDLVL (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x7D)

Definition at line 1135 of file aic94xx_reg_def.h.

#define LmMnHRADDR   0x00

Definition at line 1114 of file aic94xx_reg_def.h.

#define LmMnHREWIND   0x02

Definition at line 1116 of file aic94xx_reg_def.h.

#define LmMnHSPACECNT   0x01

Definition at line 1124 of file aic94xx_reg_def.h.

#define LmMnHWADDR   0x00

Definition at line 1123 of file aic94xx_reg_def.h.

#define LmMnINT (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x38)

Definition at line 914 of file aic94xx_reg_def.h.

#define LmMnINTEN (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x3C)

Definition at line 944 of file aic94xx_reg_def.h.

#define LmMnLOADCTX   0x00000100

Definition at line 934 of file aic94xx_reg_def.h.

#define LmMnRESETDAT   0x08 /* wo */

Definition at line 1067 of file aic94xx_reg_def.h.

#define LmMnRESETSG   0x04

Definition at line 1054 of file aic94xx_reg_def.h.

#define LmMnRLSRTRY   0x20 /* wo */

Definition at line 1065 of file aic94xx_reg_def.h.

#define LmMnRLSSCB   0x00000800

Definition at line 931 of file aic94xx_reg_def.h.

#define LmMnSATAFS (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x7E)

Definition at line 1210 of file aic94xx_reg_def.h.

#define LmMnSAVECTX   0x00000400

Definition at line 932 of file aic94xx_reg_def.h.

#define LmMnSAVETTR   0x00000004

Definition at line 940 of file aic94xx_reg_def.h.

#define LmMnSCRATCHPAGE (   LinkNum,
  Mode 
)
Value:

Definition at line 905 of file aic94xx_reg_def.h.

#define LmMnSGDMACTL (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x5A)

Definition at line 1052 of file aic94xx_reg_def.h.

#define LmMnSGDMAERRS (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x47)

Definition at line 1006 of file aic94xx_reg_def.h.

#define LmMnSGDMASTAT (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x5B)

Definition at line 1059 of file aic94xx_reg_def.h.

#define LmMnSTARTDAT   0x01 /* wo */

Definition at line 1070 of file aic94xx_reg_def.h.

#define LmMnSTARTSG   0x01

Definition at line 1056 of file aic94xx_reg_def.h.

#define LmMnSTOPDAT   0x02 /* wo */

Definition at line 1069 of file aic94xx_reg_def.h.

#define LmMnSTOPSG   0x02

Definition at line 1055 of file aic94xx_reg_def.h.

#define LmMnSTPCRC   0x0020

Definition at line 1096 of file aic94xx_reg_def.h.

#define LmMnSUSDAT   0x04 /* wo */

Definition at line 1068 of file aic94xx_reg_def.h.

#define LmMnWAITSCB   0x00001000

Definition at line 930 of file aic94xx_reg_def.h.

#define LmMnXFRCNT (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x70)

Definition at line 1104 of file aic94xx_reg_def.h.

#define LmMnXFRLVL (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x59)

Definition at line 1042 of file aic94xx_reg_def.h.

#define LmMnXFRLVL_1024   0x02

Definition at line 1047 of file aic94xx_reg_def.h.

#define LmMnXFRLVL_128   0x05

Definition at line 1044 of file aic94xx_reg_def.h.

#define LmMnXFRLVL_1536   0x01

Definition at line 1048 of file aic94xx_reg_def.h.

#define LmMnXFRLVL_2048   0x00

Definition at line 1049 of file aic94xx_reg_def.h.

#define LmMnXFRLVL_256   0x04

Definition at line 1045 of file aic94xx_reg_def.h.

#define LmMnXFRLVL_512   0x03

Definition at line 1046 of file aic94xx_reg_def.h.

#define LmMnXMTERR   0x02000000

Definition at line 919 of file aic94xx_reg_def.h.

#define LmMnXMTSIZE (   LinkNum,
  Mode 
)    LmSEQ_PHY_REG(Mode, LinkNum, 0x93)

Definition at line 1211 of file aic94xx_reg_def.h.

#define LmMnZERODATA   0x00000100

Definition at line 1219 of file aic94xx_reg_def.h.

#define LmMODECTL (   LinkNum)
Value:
((LinkNum)*LmSEQ_HOST_REG_SIZE) + \
MODECTL)

Definition at line 747 of file aic94xx_reg_def.h.

#define LmMODEPTR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, MODEPTR)

Definition at line 859 of file aic94xx_reg_def.h.

#define LmNAK   0x00000100

Definition at line 1199 of file aic94xx_reg_def.h.

#define LmNAKREQ   0x04000000

Definition at line 918 of file aic94xx_reg_def.h.

#define LmNOTIFYRV0   0x00020000

Definition at line 1157 of file aic94xx_reg_def.h.

#define LmNOTIFYRV1   0x00040000

Definition at line 1156 of file aic94xx_reg_def.h.

#define LmNOTIFYRV2   0x00080000

Definition at line 1155 of file aic94xx_reg_def.h.

#define LmNOTIFYSPIN   0x00010000

Definition at line 1158 of file aic94xx_reg_def.h.

#define LmNXTLADDR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, NXTLADDR)

Definition at line 897 of file aic94xx_reg_def.h.

#define LmOBOVRN   0x00000200

Definition at line 1218 of file aic94xx_reg_def.h.

#define LmOPENACPT   0x04000000

Definition at line 1148 of file aic94xx_reg_def.h.

#define LmOPENRJCT   0x02000000

Definition at line 1149 of file aic94xx_reg_def.h.

#define LmOPENRTRY   0x01000000

Definition at line 1150 of file aic94xx_reg_def.h.

#define LmPHYOVRN   0x00000400

Definition at line 1217 of file aic94xx_reg_def.h.

#define LmPMACK   0x00000004

Definition at line 1205 of file aic94xx_reg_def.h.

#define LmPMNAK   0x00000002

Definition at line 1206 of file aic94xx_reg_def.h.

#define LmPMREQP   0x00000010

Definition at line 1203 of file aic94xx_reg_def.h.

#define LmPMREQS   0x00000008

Definition at line 1204 of file aic94xx_reg_def.h.

#define LmPRGMCNT (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, PRGMCNT)

Definition at line 873 of file aic94xx_reg_def.h.

#define LmPRIMODE   0x00000080

Definition at line 756 of file aic94xx_reg_def.h.

#define LmPRIMSTAT0EN (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xE0)

Definition at line 1279 of file aic94xx_reg_def.h.

#define LmPRIMSTAT0EN_MASK
Value:
EN_LmDONE | EN_LmOPENACPT | \
EN_LmOPENRJCT | EN_LmOPENRTRY | \
EN_LmCLOSERV1 | EN_LmCLOSERV0 | \
EN_LmCLOSENORM | EN_LmCLOSECLAF | \
EN_LmBROADRV4 | EN_LmBROADRV3 | \
EN_LmBROADRV2 | EN_LmBROADRV1 | \
EN_LmBROADRV0 | EN_LmBROADRVCH1 | \
EN_LmBROADRVCH0 | EN_LmBROADCH | \
EN_LmAIPRVWP | EN_LmAIPWP | \
EN_LmAIPWD | EN_LmAIPWC | \
EN_LmAIPRV2 | EN_LmAIPRV1 | \
EN_LmAIPRV0 | EN_LmAIPNRML)

Definition at line 1312 of file aic94xx_reg_def.h.

#define LmPRIMSTAT1EN (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xE4)

Definition at line 1326 of file aic94xx_reg_def.h.

#define LmPRIMSTAT1EN_MASK
Value:
EN_LmSYNCSRST | \
EN_LmPMREQP | EN_LmPMREQS | \
EN_LmPMACK | EN_LmPMNAK)

Definition at line 1348 of file aic94xx_reg_def.h.

#define LmPRMSTAT0 (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x80)

Definition at line 1137 of file aic94xx_reg_def.h.

#define LmPRMSTAT0BYTE0   0x80

Definition at line 1138 of file aic94xx_reg_def.h.

#define LmPRMSTAT0BYTE1   0x81

Definition at line 1139 of file aic94xx_reg_def.h.

#define LmPRMSTAT0BYTE2   0x82

Definition at line 1140 of file aic94xx_reg_def.h.

#define LmPRMSTAT0BYTE3   0x83

Definition at line 1141 of file aic94xx_reg_def.h.

#define LmPRMSTAT1 (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x84)

Definition at line 1179 of file aic94xx_reg_def.h.

#define LmPRMSTAT1BYTE0   0x84

Definition at line 1180 of file aic94xx_reg_def.h.

#define LmPRMSTAT1BYTE1   0x85

Definition at line 1181 of file aic94xx_reg_def.h.

#define LmPRMSTAT1BYTE2   0x86

Definition at line 1182 of file aic94xx_reg_def.h.

#define LmPRMSTAT1BYTE3   0x87

Definition at line 1183 of file aic94xx_reg_def.h.

#define LmRAMPAGE   (LmRAMPAGE1 + LmRAMPAGE0)

Definition at line 832 of file aic94xx_reg_def.h.

#define LmRAMPAGE0   0x00000100

Definition at line 825 of file aic94xx_reg_def.h.

#define LmRAMPAGE1   0x00000200

Definition at line 824 of file aic94xx_reg_def.h.

#define LmRAMPAGE_LSHIFT   0x8

Definition at line 833 of file aic94xx_reg_def.h.

#define LmRCVDISP   0x00004000

Definition at line 776 of file aic94xx_reg_def.h.

#define LmRCVERR   0x00008000

Definition at line 927 of file aic94xx_reg_def.h.

#define LmRCVIDW   0x00080000

Definition at line 774 of file aic94xx_reg_def.h.

#define LmRCVMODE_HPC   0x00000004

Definition at line 762 of file aic94xx_reg_def.h.

#define LmRCVMODE_MASK   0x0000000C

Definition at line 760 of file aic94xx_reg_def.h.

#define LmRCVMODE_PLD   0x00000000

Definition at line 761 of file aic94xx_reg_def.h.

#define LmRCVPRIM   0x00010000

Definition at line 926 of file aic94xx_reg_def.h.

#define LmREQMBX (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x30)

Definition at line 910 of file aic94xx_reg_def.h.

#define LmRERR   0x00000020

Definition at line 1202 of file aic94xx_reg_def.h.

#define LmRIP   0x00000800

Definition at line 1196 of file aic94xx_reg_def.h.

#define LmROK   0x00001000

Definition at line 1195 of file aic94xx_reg_def.h.

#define LmROTALIGN   0x01

Definition at line 1031 of file aic94xx_reg_def.h.

#define LmROTNOTIFY   0x04

Definition at line 1029 of file aic94xx_reg_def.h.

#define LmROTSTPALIGN   0x10

Definition at line 1027 of file aic94xx_reg_def.h.

#define LmRRDY   0x00004000

Definition at line 1193 of file aic94xx_reg_def.h.

#define LmRRDYOVRN   0x00000010

Definition at line 1222 of file aic94xx_reg_def.h.

#define LmRSPMBX (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x34)

Definition at line 912 of file aic94xx_reg_def.h.

#define LmSATAINTLK   0x00000080

Definition at line 1220 of file aic94xx_reg_def.h.

#define LmSCRATCH (   LinkNum)
Value:
((LinkNum) * LmSEQ_HOST_REG_SIZE) +\
MAPPEDSCR)

Definition at line 835 of file aic94xx_reg_def.h.

#define LmSCRATCHPAGE (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, SCRATCHPAGE)

Definition at line 903 of file aic94xx_reg_def.h.

#define LmSCRBISTDN   0x00000002 /* ro */

Definition at line 830 of file aic94xx_reg_def.h.

#define LmSCRBISTEN   0x00000004

Definition at line 829 of file aic94xx_reg_def.h.

#define LmSCRBISTFAIL   0x00000001 /* ro */

Definition at line 831 of file aic94xx_reg_def.h.

#define LmSEQ_ATA_SCR_REGS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01D4)

Definition at line 2384 of file aic94xx_reg_def.h.

#define LmSEQ_BREAK_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0148)

Definition at line 2276 of file aic94xx_reg_def.h.

#define LmSEQ_CIOBUS_REG_BASE   0x2000

Definition at line 848 of file aic94xx_reg_def.h.

#define LmSEQ_CLOSE_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0144)

Definition at line 2275 of file aic94xx_reg_def.h.

#define LmSEQ_COMINIT_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0160)

Definition at line 2283 of file aic94xx_reg_def.h.

#define LmSEQ_CONCTL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x018C)

Definition at line 2348 of file aic94xx_reg_def.h.

#define LmSEQ_CONNECTION_MODES (   LinkNum)    (LmSCRATCH(LinkNum) + 0x018F)

Definition at line 2350 of file aic94xx_reg_def.h.

#define LmSEQ_CONNECTION_STATE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0188)

Definition at line 2303 of file aic94xx_reg_def.h.

#define LmSEQ_CONSTAT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x018E)

Definition at line 2349 of file aic94xx_reg_def.h.

#define LmSEQ_COPY_SMP_CONN_TAG (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0116)

Definition at line 2216 of file aic94xx_reg_def.h.

#define LmSEQ_DATA_OFFSET (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00F4)

Definition at line 2254 of file aic94xx_reg_def.h.

#define LmSEQ_DATA_TO_CSEQ (   LinkNum)    (LmSCRATCH(LinkNum) + 0x000C)

Definition at line 2185 of file aic94xx_reg_def.h.

#define LmSEQ_DEV_PRES_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x016C)

Definition at line 2286 of file aic94xx_reg_def.h.

#define LmSEQ_DEV_PRES_TMR_TOUT_CONST (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01E0)

Definition at line 2387 of file aic94xx_reg_def.h.

#define LmSEQ_DEVICE_BITS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x005B)

Definition at line 2259 of file aic94xx_reg_def.h.

#define LmSEQ_DISPARITY_ERROR_COUNT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0124)

Definition at line 2243 of file aic94xx_reg_def.h.

#define LmSEQ_DWS_RESET_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x014C)

Definition at line 2277 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_BUFS_AVAIL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01CE)

Definition at line 2383 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_HEAD (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01CC)

Definition at line 2381 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_OPCD0 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01C8)

Definition at line 2377 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_OPCD1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01C9)

Definition at line 2378 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_OPCD2 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01CA)

Definition at line 2379 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_OPCD3 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01CB)

Definition at line 2380 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_PTR0 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01C0)

Definition at line 2373 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_PTR1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01C2)

Definition at line 2374 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_PTR2 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01C4)

Definition at line 2375 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_PTR3 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01C6)

Definition at line 2376 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_SCB_TAIL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01CD)

Definition at line 2382 of file aic94xx_reg_def.h.

#define LmSEQ_EMPTY_TRANS_CTX (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0010)

Definition at line 2190 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_BUF_AVAIL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01AE)

Definition at line 2367 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCB_HEAD (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01AC)

Definition at line 2365 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCB_OPCODE0 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01A8)

Definition at line 2361 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCB_OPCODE1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01A9)

Definition at line 2362 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCB_OPCODE2 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01AA)

Definition at line 2363 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCB_OPCODE3 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01AB)

Definition at line 2364 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCB_TAIL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01AD)

Definition at line 2366 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCBPTR0 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01A0)

Definition at line 2357 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCBPTR1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01A2)

Definition at line 2358 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCBPTR2 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01A4)

Definition at line 2359 of file aic94xx_reg_def.h.

#define LmSEQ_EST_NEXUS_SCBPTR3 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01A6)

Definition at line 2360 of file aic94xx_reg_def.h.

#define LmSEQ_FAILED_OPEN_STATUS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x009A)

Definition at line 2205 of file aic94xx_reg_def.h.

#define LmSEQ_FIRST_INV_DDB_SITE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x000E)

Definition at line 2189 of file aic94xx_reg_def.h.

#define LmSEQ_FIRST_INV_SCB_SITE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0014)

Definition at line 2192 of file aic94xx_reg_def.h.

#define LmSEQ_FRAME_TYPE_MASK (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00E0)

Definition at line 2247 of file aic94xx_reg_def.h.

#define LmSEQ_HASHED_DEST_ADDR_MASK (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00E1)

Definition at line 2248 of file aic94xx_reg_def.h.

#define LmSEQ_HASHED_SRC_ADDR_MASK (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00E5)

Definition at line 2250 of file aic94xx_reg_def.h.

#define LmSEQ_HASHED_SRC_ADDR_MASK_PRINT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00E4)

Definition at line 2249 of file aic94xx_reg_def.h.

#define LmSEQ_HOST_REG_SIZE   0x4000 /* LmSEQ Host Register size */

Definition at line 42 of file aic94xx_reg_def.h.

#define LmSEQ_INI_CONN_TAG (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0092)

Definition at line 2204 of file aic94xx_reg_def.h.

#define LmSEQ_INTEN_SAVE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0016)

Definition at line 2193 of file aic94xx_reg_def.h.

#define LmSEQ_INVALID_DWORD_COUNT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0120)

Definition at line 2242 of file aic94xx_reg_def.h.

#define LmSEQ_IP_BITL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0114)

Definition at line 2215 of file aic94xx_reg_def.h.

#define LmSEQ_ISR_SAVE_DINDEX (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01BE)

Definition at line 2370 of file aic94xx_reg_def.h.

#define LmSEQ_ISR_SAVE_SINDEX (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01BC)

Definition at line 2369 of file aic94xx_reg_def.h.

#define LmSEQ_LAST_LOADED_SG_EL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00D4)

Definition at line 2270 of file aic94xx_reg_def.h.

#define LmSEQ_LAST_LOADED_SGE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x001D)

Definition at line 2197 of file aic94xx_reg_def.h.

#define LmSEQ_LINK_NUMBER (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0186)

Definition at line 2297 of file aic94xx_reg_def.h.

#define LmSEQ_LINK_RESET_RETRY_COUNT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0075)

Definition at line 2227 of file aic94xx_reg_def.h.

#define LmSEQ_LINK_RST_ERR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0072)

Definition at line 2224 of file aic94xx_reg_def.h.

#define LmSEQ_LINK_RST_FRM_LEN (   LinkNum)    (LmSCRATCH(LinkNum) + 0x001A)

Definition at line 2194 of file aic94xx_reg_def.h.

#define LmSEQ_LINK_RST_PROTOCOL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x001B)

Definition at line 2195 of file aic94xx_reg_def.h.

#define LmSEQ_LOSS_OF_SYNC_COUNT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0128)

Definition at line 2244 of file aic94xx_reg_def.h.

#define LmSEQ_M1_EMPTY_TRANS_CTX (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0090)

Definition at line 2203 of file aic94xx_reg_def.h.

#define LmSEQ_M1_LAST_LOADED_SGE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x009D)

Definition at line 2208 of file aic94xx_reg_def.h.

#define LmSEQ_M1_RESP_STATUS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x009C)

Definition at line 2207 of file aic94xx_reg_def.h.

#define LmSEQ_M1_SAVE_SCBPTR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x009E)

Definition at line 2209 of file aic94xx_reg_def.h.

#define LmSEQ_M1_SG_LIST_PTR_ADDR0 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00A0)

Definition at line 2237 of file aic94xx_reg_def.h.

#define LmSEQ_M1_SG_LIST_PTR_ADDR1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00B0)

Definition at line 2238 of file aic94xx_reg_def.h.

#define LmSEQ_MCTL_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0154)

Definition at line 2280 of file aic94xx_reg_def.h.

#define LmSEQ_MODE_FLAGS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0004)

Definition at line 2166 of file aic94xx_reg_def.h.

#define LmSEQ_MODE_PAGE_SIZE   0x200 /* LmSEQ mode page size */

Definition at line 41 of file aic94xx_reg_def.h.

#define LmSEQ_NOTIFY_TIMER_DOWN_COUNT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x007A)

Definition at line 2230 of file aic94xx_reg_def.h.

#define LmSEQ_NOTIFY_TIMER_INITIAL_COUNT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x007E)

Definition at line 2232 of file aic94xx_reg_def.h.

#define LmSEQ_NOTIFY_TIMER_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x007C)

Definition at line 2231 of file aic94xx_reg_def.h.

#define LmSEQ_NUM_FILL_BYTES_MASK (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00EB)

Definition at line 2251 of file aic94xx_reg_def.h.

#define LmSEQ_NUM_LINK_RESET_RETRIES (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0076)

Definition at line 2228 of file aic94xx_reg_def.h.

#define LmSEQ_ONE_MILLISEC_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01F4)

Definition at line 2392 of file aic94xx_reg_def.h.

#define LmSEQ_OOB_INT_ENABLES (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0078)

Definition at line 2229 of file aic94xx_reg_def.h.

#define LmSEQ_OOB_REG (   phy_id,
  reg 
)    LmSEQ_PHY_REG(5, (phy_id), (reg))

Definition at line 1399 of file aic94xx_reg_def.h.

#define LmSEQ_OPCODE_TO_CSEQ (   LinkNum)    (LmSCRATCH(LinkNum) + 0x000B)

Definition at line 2184 of file aic94xx_reg_def.h.

#define LmSEQ_OPEN_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00C8)

Definition at line 2268 of file aic94xx_reg_def.h.

#define LmSEQ_P0M2_OFFS1AH (   LinkNum)    (LmSCRATCH(LinkNum) + 0x011A)

Definition at line 2217 of file aic94xx_reg_def.h.

#define LmSEQ_PHY_BASE (   Mode,
  LinkNum 
)
Value:

Definition at line 850 of file aic94xx_reg_def.h.

#define LmSEQ_PHY_REG (   Mode,
  LinkNum,
  Reg 
)    (LmSEQ_PHY_BASE(Mode, LinkNum) + (u32) (Reg))

Definition at line 856 of file aic94xx_reg_def.h.

#define LmSEQ_PM_TABLE_PTR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0110)

Definition at line 2213 of file aic94xx_reg_def.h.

#define LmSEQ_PORT_COUNTER (   LinkNum)    (LmSCRATCH(LinkNum) + 0x010E)

Definition at line 2212 of file aic94xx_reg_def.h.

#define LmSEQ_Q_LINK_HEAD (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0070)

Definition at line 2223 of file aic94xx_reg_def.h.

#define LmSEQ_Q_TGTXFR_HEAD (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0180)

Definition at line 2295 of file aic94xx_reg_def.h.

#define LmSEQ_Q_TGTXFR_TAIL (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0182)

Definition at line 2296 of file aic94xx_reg_def.h.

#define LmSEQ_Q_XMIT_HEAD (   LinkNum)    (LmSCRATCH(LinkNum) + 0x008E)

Definition at line 2202 of file aic94xx_reg_def.h.

#define LmSEQ_RCV_FIS_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01F0)

Definition at line 2391 of file aic94xx_reg_def.h.

#define LmSEQ_RCV_FIS_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0168)

Definition at line 2285 of file aic94xx_reg_def.h.

#define LmSEQ_RCV_ID_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0164)

Definition at line 2284 of file aic94xx_reg_def.h.

#define LmSEQ_REG0_ISR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0198)

Definition at line 2354 of file aic94xx_reg_def.h.

#define LmSEQ_REG0_MODE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0002)

Definition at line 2165 of file aic94xx_reg_def.h.

#define LmSEQ_REG1_ISR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0192)

Definition at line 2351 of file aic94xx_reg_def.h.

#define LmSEQ_REG2_ISR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0194)

Definition at line 2352 of file aic94xx_reg_def.h.

#define LmSEQ_REG3_ISR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0196)

Definition at line 2353 of file aic94xx_reg_def.h.

#define LmSEQ_RESP_LEN (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0012)

Definition at line 2191 of file aic94xx_reg_def.h.

#define LmSEQ_RESP_STATUS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x001C)

Definition at line 2196 of file aic94xx_reg_def.h.

#define LmSEQ_RET_ADDR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0000)

Definition at line 2164 of file aic94xx_reg_def.h.

#define LmSEQ_RET_ADDR1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0008)

Definition at line 2183 of file aic94xx_reg_def.h.

#define LmSEQ_RET_ADDR2 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0006)

Definition at line 2182 of file aic94xx_reg_def.h.

#define LmSEQ_SAS_RESET_MODE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0074)

Definition at line 2226 of file aic94xx_reg_def.h.

#define LmSEQ_SATA_INTERLOCK_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01E4)

Definition at line 2388 of file aic94xx_reg_def.h.

#define LmSEQ_SATA_INTERLOCK_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0150)

Definition at line 2278 of file aic94xx_reg_def.h.

#define LmSEQ_SATA_INTERLOCK_TMR_SAVE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0112)

Definition at line 2214 of file aic94xx_reg_def.h.

#define LmSEQ_SAVE_SCBPTR (   LinkNum)    (LmSCRATCH(LinkNum) + 0x001E)

Definition at line 2198 of file aic94xx_reg_def.h.

#define LmSEQ_SAVED_OOB_MODE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x006F)

Definition at line 2222 of file aic94xx_reg_def.h.

#define LmSEQ_SAVED_OOB_SIGNALS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0073)

Definition at line 2225 of file aic94xx_reg_def.h.

#define LmSEQ_SAVED_OOB_STATUS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x006E)

Definition at line 2221 of file aic94xx_reg_def.h.

#define LmSEQ_SCRATCH_FLAGS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0187)

Definition at line 2298 of file aic94xx_reg_def.h.

#define LmSEQ_SDB_CURR_TAG (   LinkNum)    (LmSCRATCH(LinkNum) + 0x005F)

Definition at line 2262 of file aic94xx_reg_def.h.

#define LmSEQ_SDB_DDB (   LinkNum)    (LmSCRATCH(LinkNum) + 0x005C)

Definition at line 2260 of file aic94xx_reg_def.h.

#define LmSEQ_SDB_NUM_TAGS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x005E)

Definition at line 2261 of file aic94xx_reg_def.h.

#define LmSEQ_SG_LIST_PTR_ADDR0 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0020)

Definition at line 2235 of file aic94xx_reg_def.h.

#define LmSEQ_SG_LIST_PTR_ADDR1 (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0030)

Definition at line 2236 of file aic94xx_reg_def.h.

#define LmSEQ_SMP_RCV_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01FC)

Definition at line 2394 of file aic94xx_reg_def.h.

#define LmSEQ_SMP_RCV_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0040)

Definition at line 2258 of file aic94xx_reg_def.h.

#define LmSEQ_SRST_AS_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00CC)

Definition at line 2269 of file aic94xx_reg_def.h.

#define LmSEQ_SRST_ASSERT_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01EC)

Definition at line 2390 of file aic94xx_reg_def.h.

#define LmSEQ_STP_SHUTDOWN_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01E8)

Definition at line 2389 of file aic94xx_reg_def.h.

#define LmSEQ_STP_SHUTDOWN_TIMER_TERM_TS (   LinkNum)    (LmSCRATCH(LinkNum) + 0x0140)

Definition at line 2274 of file aic94xx_reg_def.h.

#define LmSEQ_TAG_MASK (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00F0)

Definition at line 2252 of file aic94xx_reg_def.h.

#define LmSEQ_TARGET_PORT_XFER_TAG (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00F2)

Definition at line 2253 of file aic94xx_reg_def.h.

#define LmSEQ_TEN_MS_COMINIT_TIMEOUT (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01F8)

Definition at line 2393 of file aic94xx_reg_def.h.

#define LmSEQ_TIMEOUT_CONST (   LinkNum)    (LmSCRATCH(LinkNum) + 0x01B8)

Definition at line 2368 of file aic94xx_reg_def.h.

#define LmSEQ_TX_ID_ADDR_FRAME (   LinkNum)    (LmSCRATCH(LinkNum) + 0x00C0)

Definition at line 2267 of file aic94xx_reg_def.h.

#define LmSEQ_XMIT_REQUEST_TYPE (   LinkNum)    (LmSCRATCH(LinkNum) + 0x009B)

Definition at line 2206 of file aic94xx_reg_def.h.

#define LmSEQRAM (   LinkNum)
Value:
((LinkNum) * LmSEQ_HOST_REG_SIZE) +\
LSEQRAM)

Definition at line 839 of file aic94xx_reg_def.h.

#define LmSG_COMMAND   0x00000010

Definition at line 785 of file aic94xx_reg_def.h.

#define LmSG_DATA   0x00000000

Definition at line 784 of file aic94xx_reg_def.h.

#define LmSG_IDENADDR   0x00000050

Definition at line 789 of file aic94xx_reg_def.h.

#define LmSG_OPENADDR   0x00000060

Definition at line 790 of file aic94xx_reg_def.h.

#define LmSG_RESPONSE   0x00000040

Definition at line 788 of file aic94xx_reg_def.h.

#define LmSG_TASK   0x00000020

Definition at line 786 of file aic94xx_reg_def.h.

#define LmSG_TGTXFER   0x00000030

Definition at line 787 of file aic94xx_reg_def.h.

#define LmSINDEX (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, SINDEX)

Definition at line 877 of file aic94xx_reg_def.h.

#define LmSINDIR (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, SINDIR)

Definition at line 885 of file aic94xx_reg_def.h.

#define LmSMDBGCTL (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xF0)

Definition at line 1357 of file aic94xx_reg_def.h.

#define LmSMSTATE (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xE8)

Definition at line 1353 of file aic94xx_reg_def.h.

#define LmSMSTATEBRK (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xEC)

Definition at line 1355 of file aic94xx_reg_def.h.

#define LmSSRCVFRM   0x00000001

Definition at line 794 of file aic94xx_reg_def.h.

#define LmSSXMTFRM   0x00000002

Definition at line 793 of file aic94xx_reg_def.h.

#define LmSTACK (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, STACK)

Definition at line 869 of file aic94xx_reg_def.h.

#define LmSTEPRCVFRM   0x00000001

Definition at line 801 of file aic94xx_reg_def.h.

#define LmSTEPXMTFRM   0x00000002

Definition at line 800 of file aic94xx_reg_def.h.

#define LmSTPALIGN   0x08

Definition at line 1028 of file aic94xx_reg_def.h.

#define LmSYNC   0x00010000

Definition at line 1191 of file aic94xx_reg_def.h.

#define LmSYNCSRST   0x00020000

Definition at line 1190 of file aic94xx_reg_def.h.

#define LmTIMERCALC (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x28)

Definition at line 908 of file aic94xx_reg_def.h.

#define LmUNKNOWNP   0x20000000

Definition at line 1145 of file aic94xx_reg_def.h.

#define LmWWN (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0xA8)

Definition at line 1392 of file aic94xx_reg_def.h.

#define LmXFRRDYRCVD   0x40000000

Definition at line 1144 of file aic94xx_reg_def.h.

#define LmXHOLD   0x00008000

Definition at line 1192 of file aic94xx_reg_def.h.

#define LmXMTPRIMCS (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x44)

Definition at line 1000 of file aic94xx_reg_def.h.

#define LmXMTPRIMD (   LinkNum)    LmSEQ_PHY_REG(0, LinkNum, 0x40)

Definition at line 998 of file aic94xx_reg_def.h.

#define LmXRDY   0x00040000

Definition at line 1189 of file aic94xx_reg_def.h.

#define LmXTEST   0x0040

Definition at line 1097 of file aic94xx_reg_def.h.

#define LOSS_OF_SIGNAL   0x40 /* ro */

Definition at line 1544 of file aic94xx_reg_def.h.

#define LOSS_OF_SIGNAL_CLR   0x40

Definition at line 1558 of file aic94xx_reg_def.h.

#define LOSS_OF_SIGNAL_EN   0x40

Definition at line 1573 of file aic94xx_reg_def.h.

#define LSEQ0_HOST_REG_BASE_ADR   0xB8020000

Definition at line 710 of file aic94xx_reg_def.h.

#define LSEQ0INT   0x00000001 /* ro */

Definition at line 271 of file aic94xx_reg_def.h.

#define LSEQ1_HOST_REG_BASE_ADR   0xB8024000

Definition at line 711 of file aic94xx_reg_def.h.

#define LSEQ1INT   0x00000002 /* ro */

Definition at line 270 of file aic94xx_reg_def.h.

#define LSEQ2_HOST_REG_BASE_ADR   0xB8028000

Definition at line 712 of file aic94xx_reg_def.h.

#define LSEQ2INT   0x00000004 /* ro */

Definition at line 269 of file aic94xx_reg_def.h.

#define LSEQ3_HOST_REG_BASE_ADR   0xB802C000

Definition at line 713 of file aic94xx_reg_def.h.

#define LSEQ3INT   0x00000008 /* ro */

Definition at line 268 of file aic94xx_reg_def.h.

#define LSEQ4_HOST_REG_BASE_ADR   0xB8030000

Definition at line 714 of file aic94xx_reg_def.h.

#define LSEQ4INT   0x00000010 /* ro */

Definition at line 267 of file aic94xx_reg_def.h.

#define LSEQ5_HOST_REG_BASE_ADR   0xB8034000

Definition at line 715 of file aic94xx_reg_def.h.

#define LSEQ5INT   0x00000020 /* ro */

Definition at line 266 of file aic94xx_reg_def.h.

#define LSEQ6_HOST_REG_BASE_ADR   0xB8038000

Definition at line 716 of file aic94xx_reg_def.h.

#define LSEQ6INT   0x00000040 /* ro */

Definition at line 265 of file aic94xx_reg_def.h.

#define LSEQ7_HOST_REG_BASE_ADR   0xB803C000

Definition at line 717 of file aic94xx_reg_def.h.

#define LSEQ7INT   0x00000080 /* ro */

Definition at line 264 of file aic94xx_reg_def.h.

#define LSEQ_MODE5_PAGE0_OFFSET   0x60

Definition at line 2160 of file aic94xx_reg_def.h.

#define LSEQ_MODE_SCRATCH_SIZE   0x80 /* Size of scratch RAM per mode */

Definition at line 2158 of file aic94xx_reg_def.h.

#define LSEQ_PAGE_SIZE   0x20 /* Scratch page size (in bytes) */

Definition at line 2159 of file aic94xx_reg_def.h.

#define LSEQINT_MASK
Value:
LSEQ4INT | LSEQ3INT | LSEQ2INT |\
LSEQ1INT | LSEQ0INT)

Definition at line 273 of file aic94xx_reg_def.h.

#define LSEQRAM   0x1000

Definition at line 705 of file aic94xx_reg_def.h.

#define MABT_DET   0x2000

Definition at line 1718 of file aic94xx_reg_def.h.

#define MAPPEDSCR   0x800

Definition at line 485 of file aic94xx_reg_def.h.

#define MBAR_KEY_MASK   0xFFFFFFFF

Definition at line 1785 of file aic94xx_reg_def.h.

#define MEM_EN   0x0002

Definition at line 1711 of file aic94xx_reg_def.h.

#define MEMSEL_CCM_IOP   0x00000020

Definition at line 246 of file aic94xx_reg_def.h.

#define MEMSEL_CCM_LSEQ   0x00000000

Definition at line 245 of file aic94xx_reg_def.h.

#define MEMSEL_CCM_SASCTL   0x00000040

Definition at line 247 of file aic94xx_reg_def.h.

#define MEMSEL_DCM_IOP   0x00000080

Definition at line 249 of file aic94xx_reg_def.h.

#define MEMSEL_DCM_LSEQ   0x00000060

Definition at line 248 of file aic94xx_reg_def.h.

#define MEMSEL_MASK   0x000000E0

Definition at line 244 of file aic94xx_reg_def.h.

#define MEMSEL_OCM   0x000000A0

Definition at line 250 of file aic94xx_reg_def.h.

#define MnDDB_SITE   0x180

Definition at line 475 of file aic94xx_reg_def.h.

#define MnDDBPTR   0x22

Definition at line 443 of file aic94xx_reg_def.h.

#define MnDDMACTL   0x5c /* RAZOR.rspec.fm rev 1.5 is wrong */

Definition at line 461 of file aic94xx_reg_def.h.

#define MnDDMAMODE   0x5e /* RAZOR.rspec.fm rev 1.5 is wrong */

Definition at line 465 of file aic94xx_reg_def.h.

#define MnDDMASTAT   0x5d /* RAZOR.rspec.fm rev 1.5 is wrong */

Definition at line 463 of file aic94xx_reg_def.h.

#define MnDMAENG   0x60

Definition at line 467 of file aic94xx_reg_def.h.

#define MnDMAERRS   0x46

Definition at line 453 of file aic94xx_reg_def.h.

#define MnINT   0x38

Definition at line 610 of file aic94xx_reg_def.h.

#define MnINTEN   0x3C

Definition at line 621 of file aic94xx_reg_def.h.

#define MnPIPECTL   0x61

Definition at line 469 of file aic94xx_reg_def.h.

#define MnREQMBX   0x30

Definition at line 581 of file aic94xx_reg_def.h.

#define MnRSPMBX   0x34

Definition at line 588 of file aic94xx_reg_def.h.

#define MnSCB_SITE   0x100

Definition at line 473 of file aic94xx_reg_def.h.

#define MnSCBPTR   0x20

Definition at line 441 of file aic94xx_reg_def.h.

#define MnSCRATCHPAGE   0x25

Definition at line 447 of file aic94xx_reg_def.h.

#define MnSCRATCHPAGESV   0x27

Definition at line 451 of file aic94xx_reg_def.h.

#define MnSGBADR   0x65

Definition at line 471 of file aic94xx_reg_def.h.

#define MnSGBUF   0x53

Definition at line 457 of file aic94xx_reg_def.h.

#define MnSGDMAERRS   0x47

Definition at line 455 of file aic94xx_reg_def.h.

#define MnSGDMASTAT   0x5b

Definition at line 459 of file aic94xx_reg_def.h.

#define MODECTL   0x40

Definition at line 692 of file aic94xx_reg_def.h.

#define MODEPTR   0x00

Definition at line 374 of file aic94xx_reg_def.h.

#define MODINT_EN   0x00000001

Definition at line 1832 of file aic94xx_reg_def.h.

#define MST_EN   0x0004

Definition at line 1710 of file aic94xx_reg_def.h.

#define MSTTIMEN   0x00020000

Definition at line 1817 of file aic94xx_reg_def.h.

#define MWI_EN   0x0010

Definition at line 1708 of file aic94xx_reg_def.h.

#define NVCNFGR   (EXSI_REG_BASE_ADR + 0x1C)

Definition at line 1866 of file aic94xx_reg_def.h.

#define NVCSH_MASK   0x00000300

Definition at line 1874 of file aic94xx_reg_def.h.

#define NVCSPW_MASK   0x0000003F

Definition at line 1876 of file aic94xx_reg_def.h.

#define NVCSSU_MASK   0x000000C0

Definition at line 1875 of file aic94xx_reg_def.h.

#define NVOEH_MASK   0x000C0000

Definition at line 1871 of file aic94xx_reg_def.h.

#define NVOEPW_MASK   0x0000FC00

Definition at line 1873 of file aic94xx_reg_def.h.

#define NVOESU_MASK   0x00030000

Definition at line 1872 of file aic94xx_reg_def.h.

#define NVRAM_MAX_BASE_ADR   0x003FFFFF

Definition at line 1969 of file aic94xx_reg_def.h.

#define NVRAM_REG_BASE_ADR   0xBF800000

Definition at line 1968 of file aic94xx_reg_def.h.

#define NVRAMEX   0x00000080

Definition at line 1820 of file aic94xx_reg_def.h.

#define NVRAMW   0x00000100

Definition at line 1819 of file aic94xx_reg_def.h.

#define NVWEH_MASK   0x30000000

Definition at line 1868 of file aic94xx_reg_def.h.

#define NVWEPW_MASK   0x03F00000

Definition at line 1870 of file aic94xx_reg_def.h.

#define NVWESU_MASK   0x0C000000

Definition at line 1869 of file aic94xx_reg_def.h.

#define NXTLADDR   0x1A

Definition at line 430 of file aic94xx_reg_def.h.

#define OCM_BASE_ADDR   0xA0000000

Definition at line 1972 of file aic94xx_reg_def.h.

#define OCM_MAX_SIZE   0x20000

Definition at line 1973 of file aic94xx_reg_def.h.

#define OCMBISTDN   0x00020000 /* ro */

Definition at line 235 of file aic94xx_reg_def.h.

#define OCMBISTEN   0x00040000

Definition at line 234 of file aic94xx_reg_def.h.

#define OCMBISTFAIL   0x00010000 /* ro */

Definition at line 236 of file aic94xx_reg_def.h.

#define OCMBISTREPAIR   0x00080000

Definition at line 233 of file aic94xx_reg_def.h.

#define OCMBLKRST   0x00400000

Definition at line 66 of file aic94xx_reg_def.h.

#define OCMINITIALIZED   0x80000000

Definition at line 1811 of file aic94xx_reg_def.h.

#define OFFSET_CANCEL_RX   0x10

Definition at line 1586 of file aic94xx_reg_def.h.

#define OOB_ALIGN_0_DATA   0x12C

Definition at line 1430 of file aic94xx_reg_def.h.

#define OOB_ALIGN_1_DATA   0x130

Definition at line 1432 of file aic94xx_reg_def.h.

#define OOB_BFLTR   0x100

Definition at line 1401 of file aic94xx_reg_def.h.

#define OOB_BURST_MAX   0x116

Definition at line 1426 of file aic94xx_reg_def.h.

#define OOB_DATA_KBITS   0x126

Definition at line 1428 of file aic94xx_reg_def.h.

#define OOB_DONE   0x80

Definition at line 1543 of file aic94xx_reg_def.h.

#define OOB_DONE_CLR   0x80

Definition at line 1557 of file aic94xx_reg_def.h.

#define OOB_DONE_EN   0x80

Definition at line 1572 of file aic94xx_reg_def.h.

#define OOB_ERROR   0x01 /* ro */

Definition at line 1550 of file aic94xx_reg_def.h.

#define OOB_ERROR_CLR   0x01

Definition at line 1563 of file aic94xx_reg_def.h.

#define OOB_ERROR_EN   0x01

Definition at line 1579 of file aic94xx_reg_def.h.

#define OOB_IDLE_MAX   0x114

Definition at line 1424 of file aic94xx_reg_def.h.

#define OOB_INIT_MAX   0x104

Definition at line 1408 of file aic94xx_reg_def.h.

#define OOB_INIT_MIN   0x102

Definition at line 1406 of file aic94xx_reg_def.h.

#define OOB_INIT_NEG   0x106

Definition at line 1410 of file aic94xx_reg_def.h.

#define OOB_MODE   0x143

Definition at line 1473 of file aic94xx_reg_def.h.

#define OOB_PHY_RESET_COUNT   0x13C

Definition at line 1440 of file aic94xx_reg_def.h.

#define OOB_SAS_MAX   0x10A

Definition at line 1414 of file aic94xx_reg_def.h.

#define OOB_SAS_MIN   0x108

Definition at line 1412 of file aic94xx_reg_def.h.

#define OOB_SAS_NEG   0x10C

Definition at line 1416 of file aic94xx_reg_def.h.

#define OOB_SIG_GEN   0x140

Definition at line 1442 of file aic94xx_reg_def.h.

#define OOB_STATUS   0x14E

Definition at line 1541 of file aic94xx_reg_def.h.

#define OOB_STATUS_CLEAR   0x14F

Definition at line 1555 of file aic94xx_reg_def.h.

#define OOB_STATUS_ERROR_MASK
Value:
OOB_TIMEOUT | OOB_ERROR)

Definition at line 1552 of file aic94xx_reg_def.h.

#define OOB_TIMEOUT   0x04 /* ro */

Definition at line 1548 of file aic94xx_reg_def.h.

#define OOB_TIMEOUT_CLR   0x04

Definition at line 1562 of file aic94xx_reg_def.h.

#define OOB_TIMEOUT_EN   0x04

Definition at line 1577 of file aic94xx_reg_def.h.

#define OOB_TIMER_ENABLE   0x14D

Definition at line 1531 of file aic94xx_reg_def.h.

#define OOB_WAKE_MAX   0x110

Definition at line 1420 of file aic94xx_reg_def.h.

#define OOB_WAKE_MIN   0x10E

Definition at line 1418 of file aic94xx_reg_def.h.

#define OOB_WAKE_NEG   0x112

Definition at line 1422 of file aic94xx_reg_def.h.

#define OOB_XMIT   0x141

Definition at line 1455 of file aic94xx_reg_def.h.

#define OSC_FREQ   0x02

Definition at line 1688 of file aic94xx_reg_def.h.

#define OVLYADR_MASK   0x07FF0000

Definition at line 164 of file aic94xx_reg_def.h.

#define OVLYBUFADR_MASK   0x007F0000

Definition at line 178 of file aic94xx_reg_def.h.

#define OVLYCSEQ   0x00000080

Definition at line 166 of file aic94xx_reg_def.h.

#define OVLYDMAACT   0x00000001 /* ro */

Definition at line 172 of file aic94xx_reg_def.h.

#define OVLYDMAADR   (REG_BASE_ADDR + 0x28)

Definition at line 181 of file aic94xx_reg_def.h.

#define OVLYDMACNT   (REG_BASE_ADDR + 0x24)

Definition at line 174 of file aic94xx_reg_def.h.

#define OVLYDMACNT_MASK   0x00003FFF

Definition at line 179 of file aic94xx_reg_def.h.

#define OVLYDMACTL   (REG_BASE_ADDR + 0x20)

Definition at line 162 of file aic94xx_reg_def.h.

#define OVLYDMADONE   0x00000001

Definition at line 88 of file aic94xx_reg_def.h.

#define OVLYDOMAIN0   0x10000000

Definition at line 177 of file aic94xx_reg_def.h.

#define OVLYDOMAIN1   0x20000000 /* ro */

Definition at line 176 of file aic94xx_reg_def.h.

#define OVLYERR   0x00000004

Definition at line 86 of file aic94xx_reg_def.h.

#define OVLYERRSTAT_MASK   0x0000FF00 /* ro */

Definition at line 185 of file aic94xx_reg_def.h.

#define OVLYHALTERR   0x00000040

Definition at line 167 of file aic94xx_reg_def.h.

#define OVLYLSEQ_MASK   0x0000FF00

Definition at line 165 of file aic94xx_reg_def.h.

#define PAUSED   0x00000004 /* ro */

Definition at line 328 of file aic94xx_reg_def.h.

#define PAUSEDIS   0x80

Definition at line 395 of file aic94xx_reg_def.h.

#define PCIC_BASE1   0x6C /* internal use only */

Definition at line 1762 of file aic94xx_reg_def.h.

#define PCIC_BASEA   0x70 /* internal use only */

Definition at line 1766 of file aic94xx_reg_def.h.

#define PCIC_BASEB   0x74 /* internal use only */

Definition at line 1771 of file aic94xx_reg_def.h.

#define PCIC_BASEC   0x78 /* internal use only */

Definition at line 1777 of file aic94xx_reg_def.h.

#define PCIC_CACHELINE_SIZE   0x0C

Definition at line 1729 of file aic94xx_reg_def.h.

#define PCIC_CLASS_CODE   0x09

Definition at line 1727 of file aic94xx_reg_def.h.

#define PCIC_COMMAND   0x04

Definition at line 1700 of file aic94xx_reg_def.h.

#define PCIC_DEVICE_ID   0x02

Definition at line 1698 of file aic94xx_reg_def.h.

#define PCIC_DEVREV_ID   0x08

Definition at line 1725 of file aic94xx_reg_def.h.

#define PCIC_FLASH_MBAR   0xB8

Definition at line 1798 of file aic94xx_reg_def.h.

#define PCIC_HSTPCIX_CNTRL   0xA0

Definition at line 1787 of file aic94xx_reg_def.h.

#define PCIC_INTRPT_STAT   0xD4

Definition at line 1800 of file aic94xx_reg_def.h.

#define PCIC_IOBAR   0x20

Definition at line 1739 of file aic94xx_reg_def.h.

#define PCIC_IOBAR_OFFSET   4

Definition at line 1741 of file aic94xx_reg_def.h.

#define PCIC_MBAR0   0x10

Definition at line 1731 of file aic94xx_reg_def.h.

#define PCIC_MBAR0_MASK   0xA8

Definition at line 1792 of file aic94xx_reg_def.h.

#define PCIC_MBAR0_OFFSET   0

Definition at line 1733 of file aic94xx_reg_def.h.

#define PCIC_MBAR0_SIZE (   val)    (((val) & PCIC_MBAR0_SIZE_MASK) >> PCIC_MBAR0_SIZE_SHIFT)

Definition at line 1795 of file aic94xx_reg_def.h.

#define PCIC_MBAR0_SIZE_MASK   0x1FFFE000

Definition at line 1793 of file aic94xx_reg_def.h.

#define PCIC_MBAR0_SIZE_SHIFT   13

Definition at line 1794 of file aic94xx_reg_def.h.

#define PCIC_MBAR1   0x18

Definition at line 1735 of file aic94xx_reg_def.h.

#define PCIC_MBAR1_OFFSET   2

Definition at line 1737 of file aic94xx_reg_def.h.

#define PCIC_MBAR_KEY   0x7C /* internal use only */

Definition at line 1783 of file aic94xx_reg_def.h.

#define PCIC_PM_CSR   0x5C

Definition at line 1755 of file aic94xx_reg_def.h.

#define PCIC_STATUS   0x06

Definition at line 1714 of file aic94xx_reg_def.h.

#define PCIC_SUBSYTEM_ID   0x2E

Definition at line 1745 of file aic94xx_reg_def.h.

#define PCIC_SUBVENDOR_ID   0x2C

Definition at line 1743 of file aic94xx_reg_def.h.

#define PCIC_TP_CTRL   0xFC

Definition at line 1802 of file aic94xx_reg_def.h.

#define PCIC_VENDOR_ID   0x00

Definition at line 1696 of file aic94xx_reg_def.h.

#define PCIDEF   0x00100000

Definition at line 1814 of file aic94xx_reg_def.h.

#define PCIX_REG_BASE_ADR   0xB8040000

Definition at line 1694 of file aic94xx_reg_def.h.

#define PCIX_STATUS   0x44

Definition at line 1747 of file aic94xx_reg_def.h.

#define PERR_DET   0x8000

Definition at line 1716 of file aic94xx_reg_def.h.

#define PERR_EN   0x0040

Definition at line 1706 of file aic94xx_reg_def.h.

#define PERRORDIS   0x00004000

Definition at line 320 of file aic94xx_reg_def.h.

#define PHY_CONTROL_0   0x160

Definition at line 1581 of file aic94xx_reg_def.h.

#define PHY_CONTROL_1   0x161

Definition at line 1598 of file aic94xx_reg_def.h.

#define PHY_CONTROL_2   0x162

Definition at line 1622 of file aic94xx_reg_def.h.

#define PHY_CONTROL_3   0x163

Definition at line 1651 of file aic94xx_reg_def.h.

#define PHY_CONTROL_4   0x168

Definition at line 1680 of file aic94xx_reg_def.h.

#define PHY_DONE_CAL_RX   0x40

Definition at line 1683 of file aic94xx_reg_def.h.

#define PHY_DONE_CAL_TX   0x80

Definition at line 1682 of file aic94xx_reg_def.h.

#define PHY_LOWPWREN_RX   0x40

Definition at line 1584 of file aic94xx_reg_def.h.

#define PHY_LOWPWREN_TX   0x80

Definition at line 1583 of file aic94xx_reg_def.h.

#define PHY_RESET   0x02

Definition at line 1595 of file aic94xx_reg_def.h.

#define PHY_RXCOMCENTER_60V   0x00

Definition at line 1589 of file aic94xx_reg_def.h.

#define PHY_RXCOMCENTER_70V   0x04

Definition at line 1590 of file aic94xx_reg_def.h.

#define PHY_RXCOMCENTER_80V   0x08

Definition at line 1591 of file aic94xx_reg_def.h.

#define PHY_RXCOMCENTER_90V   0x0C

Definition at line 1592 of file aic94xx_reg_def.h.

#define PHY_RXCOMCENTER_MASK   0x0C

Definition at line 1593 of file aic94xx_reg_def.h.

#define PHY_SIGDET_FLTR_EN   0x04

Definition at line 1687 of file aic94xx_reg_def.h.

#define PHY_SPEED_15   0x01

Definition at line 1481 of file aic94xx_reg_def.h.

#define PHY_SPEED_30   0x02

Definition at line 1480 of file aic94xx_reg_def.h.

#define PHY_SPEED_60   0x04

Definition at line 1479 of file aic94xx_reg_def.h.

#define PHY_START_CAL   0x01

Definition at line 1689 of file aic94xx_reg_def.h.

#define PIOCMODE   0x00000020

Definition at line 168 of file aic94xx_reg_def.h.

#define PMSTATR   (EXSI_REG_BASE_ADR + 0x10)

Definition at line 1835 of file aic94xx_reg_def.h.

#define POPALTMODE   0x08

Definition at line 397 of file aic94xx_reg_def.h.

#define PORRSTDET   0x00000200

Definition at line 116 of file aic94xx_reg_def.h.

#define PRGMCNT   0x08

Definition at line 406 of file aic94xx_reg_def.h.

#define PWR_STATE_D0   0

Definition at line 1757 of file aic94xx_reg_def.h.

#define PWR_STATE_D1   1 /* not supported */

Definition at line 1758 of file aic94xx_reg_def.h.

#define PWR_STATE_D2   2 /* not supported */

Definition at line 1759 of file aic94xx_reg_def.h.

#define PWR_STATE_D3   3

Definition at line 1760 of file aic94xx_reg_def.h.

#define RBBISTDN   0x00000020 /* ro */

Definition at line 814 of file aic94xx_reg_def.h.

#define RBBISTEN   0x00000040

Definition at line 813 of file aic94xx_reg_def.h.

#define RBBISTFAIL   0x00000010 /* ro */

Definition at line 815 of file aic94xx_reg_def.h.

#define RCD_EN   0x40

Definition at line 1534 of file aic94xx_reg_def.h.

#define RCV_SCE   0x20000000

Definition at line 1748 of file aic94xx_reg_def.h.

#define REQMBXREAD   0x00000040

Definition at line 83 of file aic94xx_reg_def.h.

#define RESETCSDMA   0x08 /* wo */

Definition at line 604 of file aic94xx_reg_def.h.

#define RESETOVLYDMA   0x00000008 /* wo */

Definition at line 169 of file aic94xx_reg_def.h.

#define REWIND_DIS   0x0800

Definition at line 1789 of file aic94xx_reg_def.h.

#define RSPMBXAVAIL   0x00000020

Definition at line 84 of file aic94xx_reg_def.h.

#define RST_CHIMINTEN
Value:
RST_EN_DEVINT | RST_EN_COMINT | \
RST_EN_DEVTIMER2 | RST_EN_DEVTIMER1 |\
RST_EN_DLAVAIL)

Definition at line 153 of file aic94xx_reg_def.h.

#define RST_EN_COMINT   0x00080000

Definition at line 139 of file aic94xx_reg_def.h.

#define RST_EN_DEVINT   0x00100000

Definition at line 138 of file aic94xx_reg_def.h.

#define RST_EN_DEVTIMER1   0x00020000

Definition at line 141 of file aic94xx_reg_def.h.

#define RST_EN_DEVTIMER2   0x00040000

Definition at line 140 of file aic94xx_reg_def.h.

#define RST_EN_DLAVAIL   0x00010000

Definition at line 142 of file aic94xx_reg_def.h.

#define RST_EN_EXT_INT0   0x00800000

Definition at line 135 of file aic94xx_reg_def.h.

#define RST_EN_EXT_INT1   0x01000000

Definition at line 134 of file aic94xx_reg_def.h.

#define RST_EN_HOSTERR   0x00400000

Definition at line 136 of file aic94xx_reg_def.h.

#define RST_EN_INITERR   0x00200000

Definition at line 137 of file aic94xx_reg_def.h.

#define RSTINTCTL   0x40

Definition at line 396 of file aic94xx_reg_def.h.

#define RX_TERM_LOAD_DIS   0x20

Definition at line 1684 of file aic94xx_reg_def.h.

#define SADDR_MASK   0x0000FFFF

Definition at line 1926 of file aic94xx_reg_def.h.

#define SADDRR   (EXSI_REG_BASE_ADR + 0xA8)

Definition at line 1924 of file aic94xx_reg_def.h.

#define SAS_ACKNAK_TIMEOUT_OCCURRED_CS   0x08

Definition at line 2317 of file aic94xx_reg_def.h.

#define SAS_AIP_RECEIVED_CS   0x02

Definition at line 2315 of file aic94xx_reg_def.h.

#define SAS_ALIGN_DEFAULT   0xFF

Definition at line 1011 of file aic94xx_reg_def.h.

#define SAS_AWAIT_OPEN_CONNECTION   0x02

Definition at line 2175 of file aic94xx_reg_def.h.

#define SAS_CFGCMPLT_OCCURRED   0x01

Definition at line 2176 of file aic94xx_reg_def.h.

#define SAS_CFGHDR_OCCURRED   0x10

Definition at line 2172 of file aic94xx_reg_def.h.

#define SAS_CLEARING_AFFILIATION_CS   0x20

Definition at line 2325 of file aic94xx_reg_def.h.

#define SAS_CMSH1P5   0x04

Definition at line 1671 of file aic94xx_reg_def.h.

#define SAS_CREDIT_TIMEOUT_OCCURRED_CS   0x04

Definition at line 2316 of file aic94xx_reg_def.h.

#define SAS_DEFAULT_SEL   0x01

Definition at line 1596 of file aic94xx_reg_def.h.

#define SAS_DEVICE_OPENED_CS   0x02

Definition at line 2306 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_BREAK_CS   0x80

Definition at line 2312 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_CLOSE_CS   0x20

Definition at line 2310 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_DMAT_CS   0x04

Definition at line 2323 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_DONE_CS   0x08

Definition at line 2308 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_HARD_RESET_CS   0x80

Definition at line 2337 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_ID_FRAME_CS   0x40

Definition at line 2335 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_REG_FIS_CS   0x40

Definition at line 2336 of file aic94xx_reg_def.h.

#define SAS_DEVICE_SENT_SYNCSRST_CS   0x08

Definition at line 2324 of file aic94xx_reg_def.h.

#define SAS_DONE_TIMEOUT_OCCURRED_CS   0x20

Definition at line 2319 of file aic94xx_reg_def.h.

#define SAS_DWS_TIMER_EXPIRED_CS   0x02

Definition at line 2330 of file aic94xx_reg_def.h.

#define SAS_DWSAQD
Value:
0x01 /*
* DWSSTATUS: DWSAQD
* bit las read in ISR.
*/

Definition at line 2302 of file aic94xx_reg_def.h.

#define SAS_FORCED_HEADER_MISS   0x40

Definition at line 2180 of file aic94xx_reg_def.h.

#define SAS_INTLK_TIMEOUT_OCCURRED_CS   0x02

Definition at line 2322 of file aic94xx_reg_def.h.

#define SAS_LINK_CTL_PHY_EVENT_FLAGS
Value:
SAS_PHY_EVENT_TASK_ACTIVE_CS |\
SAS_DEVICE_SENT_ID_FRAME_CS |\
SAS_DEVICE_SENT_HARD_RESET_CS)

Definition at line 2343 of file aic94xx_reg_def.h.

#define SAS_LINK_CTL_TASK_ACTIVE_CS   0x10

Definition at line 2333 of file aic94xx_reg_def.h.

#define SAS_LINK_RESET_NOT_COMPLETE_CS   0x04

Definition at line 2331 of file aic94xx_reg_def.h.

#define SAS_MODE   0x80

Definition at line 1475 of file aic94xx_reg_def.h.

#define SAS_MODE_DIS   0x80

Definition at line 1466 of file aic94xx_reg_def.h.

#define SAS_OOB_DEVICE_PRESENT   0x20

Definition at line 2171 of file aic94xx_reg_def.h.

#define SAS_OOB_HOT_PLUG_CNCT   0x04

Definition at line 2174 of file aic94xx_reg_def.h.

#define SAS_OOBSVC_OCCURRED   0x40

Definition at line 2170 of file aic94xx_reg_def.h.

#define SAS_OPN_TIMEOUT_OR_OPN_RJCT_CS   0x01

Definition at line 2314 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_100mv   0x10

Definition at line 1614 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_125mv   0x11

Definition at line 1615 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_150mv   0x20

Definition at line 1616 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_175mv   0x21

Definition at line 1617 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_200mv   0x30

Definition at line 1618 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_225mv   0x31

Definition at line 1619 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_50mv   0x00

Definition at line 1612 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_75mv   0x08

Definition at line 1613 of file aic94xx_reg_def.h.

#define SAS_PHY_DETLEVEL_MASK   0x38

Definition at line 1620 of file aic94xx_reg_def.h.

#define SAS_PHY_DISABLED_CS   0x08

Definition at line 2332 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_400mv   0x00

Definition at line 1654 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_450mv   0x20

Definition at line 1655 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_500mv   0x40

Definition at line 1656 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_550mv   0x60

Definition at line 1657 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_600mv   0x80

Definition at line 1658 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_650mv   0xA0

Definition at line 1659 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_725mv   0xC0

Definition at line 1660 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_800mv   0xE0

Definition at line 1661 of file aic94xx_reg_def.h.

#define SAS_PHY_DRV_MASK   0xE0

Definition at line 1662 of file aic94xx_reg_def.h.

#define SAS_PHY_EVENT_TASK_ACTIVE_CS   0x20

Definition at line 2334 of file aic94xx_reg_def.h.

#define SAS_PHY_IS_DOWN_FLAGS
Value:
SAS_DWS_TIMER_EXPIRED_CS |\
SAS_LINK_RESET_NOT_COMPLETE_CS|\
SAS_PHY_DISABLED_CS)

Definition at line 2338 of file aic94xx_reg_def.h.

#define SAS_PHY_LOSS_OF_SIGNAL_CS   0x01

Definition at line 2329 of file aic94xx_reg_def.h.

#define SAS_PREEMP_0   0x00

Definition at line 1665 of file aic94xx_reg_def.h.

#define SAS_PREEMP_1   0x08

Definition at line 1666 of file aic94xx_reg_def.h.

#define SAS_PREEMP_2   0x10

Definition at line 1667 of file aic94xx_reg_def.h.

#define SAS_PREEMP_3   0x18

Definition at line 1668 of file aic94xx_reg_def.h.

#define SAS_PREEMP_MASK   0x18

Definition at line 1669 of file aic94xx_reg_def.h.

#define SAS_RCV_INTS_ARE_DISABLED   0x08

Definition at line 2173 of file aic94xx_reg_def.h.

#define SAS_RLSSCB_OCCURRED   0x80

Definition at line 2179 of file aic94xx_reg_def.h.

#define SAS_RXTASK_ACTIVE_CS   0x40

Definition at line 2326 of file aic94xx_reg_def.h.

#define SAS_SAVECTX_OCCURRED   0x80

Definition at line 2169 of file aic94xx_reg_def.h.

#define SAS_SLEW_0   0x00

Definition at line 1674 of file aic94xx_reg_def.h.

#define SAS_SLEW_1   0x01

Definition at line 1675 of file aic94xx_reg_def.h.

#define SAS_SLEW_2   0x02

Definition at line 1676 of file aic94xx_reg_def.h.

#define SAS_SLEW_3   0x03

Definition at line 1677 of file aic94xx_reg_def.h.

#define SAS_SLEW_MASK   0x03

Definition at line 1678 of file aic94xx_reg_def.h.

#define SAS_SMP_RESPONSE_RECEIVED_CS   0x01

Definition at line 2321 of file aic94xx_reg_def.h.

#define SAS_SMPRSP_TIMEOUT_OCCURRED_CS   0x10

Definition at line 2318 of file aic94xx_reg_def.h.

#define SAS_SPEED_15_DIS   0x01

Definition at line 1528 of file aic94xx_reg_def.h.

#define SAS_SPEED_30_DIS   0x02

Definition at line 1527 of file aic94xx_reg_def.h.

#define SAS_SPEED_60_DIS   0x04

Definition at line 1526 of file aic94xx_reg_def.h.

#define SAS_SPEED_MASK_DEFAULT   0x00

Definition at line 1529 of file aic94xx_reg_def.h.

#define SAS_TXTASK_ACTIVE_CS   0x80

Definition at line 2327 of file aic94xx_reg_def.h.

#define SAS_WE_OPENED_CS   0x01

Definition at line 2305 of file aic94xx_reg_def.h.

#define SAS_WE_SENT_BREAK_CS   0x40

Definition at line 2311 of file aic94xx_reg_def.h.

#define SAS_WE_SENT_CLOSE_CS   0x10

Definition at line 2309 of file aic94xx_reg_def.h.

#define SAS_WE_SENT_DONE_CS   0x04

Definition at line 2307 of file aic94xx_reg_def.h.

#define SATA_CMSH1P5   0x04

Definition at line 1642 of file aic94xx_reg_def.h.

#define SATA_MODE   0x40

Definition at line 1476 of file aic94xx_reg_def.h.

#define SATA_MODE_DIS   0x40

Definition at line 1467 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_100mv   0x02

Definition at line 1603 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_125mv   0x03

Definition at line 1604 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_150mv   0x04

Definition at line 1605 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_175mv   0x05

Definition at line 1606 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_200mv   0x06

Definition at line 1607 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_225mv   0x07

Definition at line 1608 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_50mv   0x00

Definition at line 1601 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_75mv   0x01

Definition at line 1602 of file aic94xx_reg_def.h.

#define SATA_PHY_DETLEVEL_MASK   0x07

Definition at line 1609 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_400mv   0x00

Definition at line 1625 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_450mv   0x20

Definition at line 1626 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_500mv   0x40

Definition at line 1627 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_550mv   0x60

Definition at line 1628 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_600mv   0x80

Definition at line 1629 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_650mv   0xA0

Definition at line 1630 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_725mv   0xC0

Definition at line 1631 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_800mv   0xE0

Definition at line 1632 of file aic94xx_reg_def.h.

#define SATA_PHY_DRV_MASK   0xE0

Definition at line 1633 of file aic94xx_reg_def.h.

#define SATA_PREEMP_0   0x00

Definition at line 1636 of file aic94xx_reg_def.h.

#define SATA_PREEMP_1   0x08

Definition at line 1637 of file aic94xx_reg_def.h.

#define SATA_PREEMP_2   0x10

Definition at line 1638 of file aic94xx_reg_def.h.

#define SATA_PREEMP_3   0x18

Definition at line 1639 of file aic94xx_reg_def.h.

#define SATA_PREEMP_MASK   0x18

Definition at line 1640 of file aic94xx_reg_def.h.

#define SATA_PS_DIS   0x08

Definition at line 1470 of file aic94xx_reg_def.h.

#define SATA_SLEW_0   0x00

Definition at line 1645 of file aic94xx_reg_def.h.

#define SATA_SLEW_1   0x01

Definition at line 1646 of file aic94xx_reg_def.h.

#define SATA_SLEW_2   0x02

Definition at line 1647 of file aic94xx_reg_def.h.

#define SATA_SLEW_3   0x03

Definition at line 1648 of file aic94xx_reg_def.h.

#define SATA_SLEW_MASK   0x03

Definition at line 1649 of file aic94xx_reg_def.h.

#define SATA_SPEED_15_DIS   0x08

Definition at line 1525 of file aic94xx_reg_def.h.

#define SATA_SPEED_30_DIS   0x10

Definition at line 1524 of file aic94xx_reg_def.h.

#define SC_DISCARD   0x00040000

Definition at line 1750 of file aic94xx_reg_def.h.

#define SC_TMR_DIS   0x04000000

Definition at line 1790 of file aic94xx_reg_def.h.

#define SCBBISTDN   0x00000200 /* ro */

Definition at line 241 of file aic94xx_reg_def.h.

#define SCBBISTEN   0x00000400

Definition at line 240 of file aic94xx_reg_def.h.

#define SCBBISTFAIL   0x00000100 /* ro */

Definition at line 242 of file aic94xx_reg_def.h.

#define SCBCONS_MASK   0xFFFF0000

Definition at line 105 of file aic94xx_reg_def.h.

#define SCBPRO   (REG_BASE_ADDR + 0x0C)

Definition at line 103 of file aic94xx_reg_def.h.

#define SCBPRO_MASK   0x0000FFFF

Definition at line 106 of file aic94xx_reg_def.h.

#define SCMDTYP_MASK   0x0000001C

Definition at line 1918 of file aic94xx_reg_def.h.

#define SCNTRLR   (EXSI_REG_BASE_ADR + 0xA0)

Definition at line 1914 of file aic94xx_reg_def.h.

#define SCRATCHPAGE   0x24

Definition at line 445 of file aic94xx_reg_def.h.

#define SCRATCHPAGESV   0x26

Definition at line 449 of file aic94xx_reg_def.h.

#define SDATAIR   (EXSI_REG_BASE_ADR + 0xB0)

Definition at line 1935 of file aic94xx_reg_def.h.

#define SDATAIR0   (EXSI_REG_BASE_ADR + 0xB0)

Definition at line 1937 of file aic94xx_reg_def.h.

#define SDATAIR1   (EXSI_REG_BASE_ADR + 0xB1)

Definition at line 1938 of file aic94xx_reg_def.h.

#define SDATAIR2   (EXSI_REG_BASE_ADR + 0xB2)

Definition at line 1939 of file aic94xx_reg_def.h.

#define SDATAIR3   (EXSI_REG_BASE_ADR + 0xB3)

Definition at line 1940 of file aic94xx_reg_def.h.

#define SDATAOR   (EXSI_REG_BASE_ADR + 0xAC)

Definition at line 1928 of file aic94xx_reg_def.h.

#define SDATAOR0   (EXSI_REG_BASE_ADR + 0xAC)

Definition at line 1930 of file aic94xx_reg_def.h.

#define SDATAOR1   (EXSI_REG_BASE_ADR + 0xAD)

Definition at line 1931 of file aic94xx_reg_def.h.

#define SDATAOR2   (EXSI_REG_BASE_ADR + 0xAE)

Definition at line 1932 of file aic94xx_reg_def.h.

#define SDATAOR3   (EXSI_REG_BASE_ADR + 0xAF)

Definition at line 1933 of file aic94xx_reg_def.h.

#define SEEPROMCFG   0x00000004

Definition at line 1825 of file aic94xx_reg_def.h.

#define SEEPROMEND   0x00040000

Definition at line 1816 of file aic94xx_reg_def.h.

#define SEEPROMEX   0x00000001

Definition at line 1827 of file aic94xx_reg_def.h.

#define SEEPROMTYP   0x00000002

Definition at line 1826 of file aic94xx_reg_def.h.

#define SEND_COMINIT   0x02

Definition at line 1452 of file aic94xx_reg_def.h.

#define SEND_COMSAS   0x04

Definition at line 1451 of file aic94xx_reg_def.h.

#define SEND_COMWAKE   0x01

Definition at line 1453 of file aic94xx_reg_def.h.

#define SERR_EN   0x0100

Definition at line 1704 of file aic94xx_reg_def.h.

#define SERR_GEN   0x4000

Definition at line 1717 of file aic94xx_reg_def.h.

#define SET_CHIMINTEN
Value:
SET_EN_DEVINT | SET_EN_COMINT |\
SET_EN_DLAVAIL)

Definition at line 158 of file aic94xx_reg_def.h.

#define SET_EN_COMINT   0x00000008

Definition at line 148 of file aic94xx_reg_def.h.

#define SET_EN_DEVINT   0x00000010

Definition at line 147 of file aic94xx_reg_def.h.

#define SET_EN_DEVTIMER1   0x00000002

Definition at line 150 of file aic94xx_reg_def.h.

#define SET_EN_DEVTIMER2   0x00000004

Definition at line 149 of file aic94xx_reg_def.h.

#define SET_EN_DLAVAIL   0x00000001

Definition at line 151 of file aic94xx_reg_def.h.

#define SET_EN_EXT_INT0   0x00000080

Definition at line 144 of file aic94xx_reg_def.h.

#define SET_EN_EXT_INT1   0x00000100

Definition at line 143 of file aic94xx_reg_def.h.

#define SET_EN_HOSTERR   0x00000040

Definition at line 145 of file aic94xx_reg_def.h.

#define SET_EN_INITERR   0x00000020

Definition at line 146 of file aic94xx_reg_def.h.

#define SGBISTDN   0x00000002 /* ro */

Definition at line 817 of file aic94xx_reg_def.h.

#define SGBISTEN   0x00000004

Definition at line 816 of file aic94xx_reg_def.h.

#define SGBISTFAIL   0x00000001 /* ro */

Definition at line 818 of file aic94xx_reg_def.h.

#define SINDEX   0x0C

Definition at line 410 of file aic94xx_reg_def.h.

#define SINDIR   0x12

Definition at line 418 of file aic94xx_reg_def.h.

#define SLOW_CLK   0x20

Definition at line 1477 of file aic94xx_reg_def.h.

#define SNLT_EN   0x04

Definition at line 1537 of file aic94xx_reg_def.h.

#define SNTT_EN   0x10

Definition at line 1536 of file aic94xx_reg_def.h.

#define SNWT_EN   0x02

Definition at line 1538 of file aic94xx_reg_def.h.

#define SPARE_REG_160_B5   0x20

Definition at line 1585 of file aic94xx_reg_def.h.

#define SPC_EN   0x0008

Definition at line 1709 of file aic94xx_reg_def.h.

#define SPEED_MASK   0x145

Definition at line 1522 of file aic94xx_reg_def.h.

#define SPINUP_HOLD   0x20

Definition at line 1545 of file aic94xx_reg_def.h.

#define SPINUP_HOLD_CLR   0x20

Definition at line 1559 of file aic94xx_reg_def.h.

#define SPINUP_HOLD_DIS   0x20

Definition at line 1468 of file aic94xx_reg_def.h.

#define SPINUP_HOLD_EN   0x20

Definition at line 1574 of file aic94xx_reg_def.h.

#define SPIODATA   (REG_BASE_ADDR + 0x34)

Definition at line 188 of file aic94xx_reg_def.h.

#define SRAMEX   0x00000020

Definition at line 1822 of file aic94xx_reg_def.h.

#define SRAMW   0x00000040

Definition at line 1821 of file aic94xx_reg_def.h.

#define SRATER   (EXSI_REG_BASE_ADR + 0xA4)

Definition at line 1922 of file aic94xx_reg_def.h.

#define SRCMODE   0x0F

Definition at line 377 of file aic94xx_reg_def.h.

#define SRCNFGR   (EXSI_REG_BASE_ADR + 0x18)

Definition at line 1853 of file aic94xx_reg_def.h.

#define SRCSH_MASK   0x00000300

Definition at line 1862 of file aic94xx_reg_def.h.

#define SRCSPW_MASK   0x0000003F

Definition at line 1864 of file aic94xx_reg_def.h.

#define SRCSSU_MASK   0x000000C0

Definition at line 1863 of file aic94xx_reg_def.h.

#define SROEH_MASK   0x000C0000

Definition at line 1859 of file aic94xx_reg_def.h.

#define SROEPW_MASK   0x0000FC00

Definition at line 1861 of file aic94xx_reg_def.h.

#define SROESU_MASK   0x00030000

Definition at line 1860 of file aic94xx_reg_def.h.

#define SRWEH_MASK   0x30000000

Definition at line 1855 of file aic94xx_reg_def.h.

#define SRWEPW_MASK   0x03F00000

Definition at line 1857 of file aic94xx_reg_def.h.

#define SRWESU_MASK   0x0C000000

Definition at line 1856 of file aic94xx_reg_def.h.

#define STACK   0x06

Definition at line 402 of file aic94xx_reg_def.h.

#define START_DWS   0x40

Definition at line 1445 of file aic94xx_reg_def.h.

#define START_OOB   0x80

Definition at line 1444 of file aic94xx_reg_def.h.

#define STARTCSDMA   0x04

Definition at line 605 of file aic94xx_reg_def.h.

#define STARTOVLYDMA   0x00000004

Definition at line 170 of file aic94xx_reg_def.h.

#define STEP   0x00000002

Definition at line 329 of file aic94xx_reg_def.h.

#define STEP_EN   0x0080 /* ro */

Definition at line 1705 of file aic94xx_reg_def.h.

#define STOP_DWS   0x08

Definition at line 1450 of file aic94xx_reg_def.h.

#define STOPCSDMA   0x02 /* wo */

Definition at line 606 of file aic94xx_reg_def.h.

#define STOPOVLYDMA   0x00000002 /* wo */

Definition at line 171 of file aic94xx_reg_def.h.

#define STP_ALIGN_DEFAULT   0x1F

Definition at line 1016 of file aic94xx_reg_def.h.

#define SXFERCNT_MASK   0x000000E0

Definition at line 1917 of file aic94xx_reg_def.h.

#define SXFERDONE   0x00000100

Definition at line 1916 of file aic94xx_reg_def.h.

#define SXFEREN   0x00000001

Definition at line 1920 of file aic94xx_reg_def.h.

#define SXFERSTART   0x00000002

Definition at line 1919 of file aic94xx_reg_def.h.

#define SYNC_DATA_k   0x02

Definition at line 1435 of file aic94xx_reg_def.h.

#define T1CMPR   (REG_BASE_ADDR + 0x44)

Definition at line 200 of file aic94xx_reg_def.h.

#define T1CNTR   (REG_BASE_ADDR + 0x48)

Definition at line 202 of file aic94xx_reg_def.h.

#define T1CNTRLR   (REG_BASE_ADDR + 0x40)

Definition at line 192 of file aic94xx_reg_def.h.

#define T1DONE   0x00010000 /* ro */

Definition at line 194 of file aic94xx_reg_def.h.

#define T1ENABLE   0x00000200

Definition at line 196 of file aic94xx_reg_def.h.

#define T1PRESCALER_MASK   0x00000003

Definition at line 198 of file aic94xx_reg_def.h.

#define T1RELOAD   0x00000100

Definition at line 197 of file aic94xx_reg_def.h.

#define T2CMPR   (REG_BASE_ADDR + 0x50)

Definition at line 211 of file aic94xx_reg_def.h.

#define T2CNTR   (REG_BASE_ADDR + 0x54)

Definition at line 213 of file aic94xx_reg_def.h.

#define T2CNTRLR   (REG_BASE_ADDR + 0x4C)

Definition at line 204 of file aic94xx_reg_def.h.

#define T2DONE   0x00010000 /* ro */

Definition at line 206 of file aic94xx_reg_def.h.

#define T2ENABLE   0x00000200

Definition at line 207 of file aic94xx_reg_def.h.

#define T2PRESCALER_MASK   0x00000003

Definition at line 209 of file aic94xx_reg_def.h.

#define T2RELOAD   0x00000100

Definition at line 208 of file aic94xx_reg_def.h.

#define TABT_DET   0x1000

Definition at line 1719 of file aic94xx_reg_def.h.

#define TABT_GEN   0x0800

Definition at line 1720 of file aic94xx_reg_def.h.

#define TBBISTDN   0x00000200 /* ro */

Definition at line 811 of file aic94xx_reg_def.h.

#define TBBISTEN   0x00000400

Definition at line 810 of file aic94xx_reg_def.h.

#define TBBISTFAIL   0x00000100 /* ro */

Definition at line 812 of file aic94xx_reg_def.h.

#define TIMER64   0x00000400

Definition at line 195 of file aic94xx_reg_def.h.

#define TX_ENABLE   0x80

Definition at line 1457 of file aic94xx_reg_def.h.

#define TX_TERM_LOAD_DIS   0x10

Definition at line 1685 of file aic94xx_reg_def.h.

#define UNCOR_ECCERR   0x00000008

Definition at line 1753 of file aic94xx_reg_def.h.

#define UNEXP_SC   0x00080000

Definition at line 1749 of file aic94xx_reg_def.h.

#define VGA_EN   0x0020 /* ro */

Definition at line 1707 of file aic94xx_reg_def.h.

#define XMIT_ALIGN_0   0x01

Definition at line 1462 of file aic94xx_reg_def.h.

#define XMIT_ALIGN_1   0x02

Definition at line 1461 of file aic94xx_reg_def.h.

#define XMIT_D10_2   0x08

Definition at line 1459 of file aic94xx_reg_def.h.

#define XMIT_OOB_BURST   0x10

Definition at line 1458 of file aic94xx_reg_def.h.

#define XMIT_SYNC   0x04

Definition at line 1460 of file aic94xx_reg_def.h.

#define XRADDRINCEN   0x80000000

Definition at line 1892 of file aic94xx_reg_def.h.

#define XRCNFGR   (EXSI_REG_BASE_ADR + 0x20)

Definition at line 1878 of file aic94xx_reg_def.h.

#define XRCSH_MASK   0x00000300

Definition at line 1886 of file aic94xx_reg_def.h.

#define XRCSPW_MASK   0x0000003F

Definition at line 1888 of file aic94xx_reg_def.h.

#define XRCSSU_MASK   0x000000C0

Definition at line 1887 of file aic94xx_reg_def.h.

#define XREGADD_MASK   0x007FFFFF

Definition at line 1893 of file aic94xx_reg_def.h.

#define XREGADDR   (EXSI_REG_BASE_ADR + 0x24)

Definition at line 1890 of file aic94xx_reg_def.h.

#define XREGDATA_MASK   0x0000FFFF

Definition at line 1898 of file aic94xx_reg_def.h.

#define XREGDATAR   (EXSI_REG_BASE_ADR + 0x28)

Definition at line 1896 of file aic94xx_reg_def.h.

#define XREGEX   0x00000200

Definition at line 1818 of file aic94xx_reg_def.h.

#define XROEH_MASK   0x000C0000

Definition at line 1883 of file aic94xx_reg_def.h.

#define XROEPW_MASK   0x0000FC00

Definition at line 1885 of file aic94xx_reg_def.h.

#define XROESU_MASK   0x00030000

Definition at line 1884 of file aic94xx_reg_def.h.

#define XRWEH_MASK   0x30000000

Definition at line 1880 of file aic94xx_reg_def.h.

#define XRWEPW_MASK   0x03F00000

Definition at line 1882 of file aic94xx_reg_def.h.

#define XRWESU_MASK   0x0C000000

Definition at line 1881 of file aic94xx_reg_def.h.

#define XSRAM_REG_BASE_ADDR   0xB8100000

Definition at line 1962 of file aic94xx_reg_def.h.

#define XSRAM_SIZE   0x100000

Definition at line 1963 of file aic94xx_reg_def.h.