Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sb1250_ldt.h File Reference
#include <asm/sibyte/sb1250_defs.h>

Go to the source code of this file.

Macros

#define K_LDT_VENDOR_SIBYTE   0x166D
 
#define K_LDT_DEVICE_SB1250   0x0002
 
#define R_LDT_TYPE1_DEVICEID   0x0000
 
#define R_LDT_TYPE1_CMDSTATUS   0x0004
 
#define R_LDT_TYPE1_CLASSREV   0x0008
 
#define R_LDT_TYPE1_DEVHDR   0x000C
 
#define R_LDT_TYPE1_BAR0   0x0010 /* not used */
 
#define R_LDT_TYPE1_BAR1   0x0014 /* not used */
 
#define R_LDT_TYPE1_BUSID   0x0018 /* bus ID register */
 
#define R_LDT_TYPE1_SECSTATUS   0x001C /* secondary status / I/O base/limit */
 
#define R_LDT_TYPE1_MEMLIMIT   0x0020
 
#define R_LDT_TYPE1_PREFETCH   0x0024
 
#define R_LDT_TYPE1_PREF_BASE   0x0028
 
#define R_LDT_TYPE1_PREF_LIMIT   0x002C
 
#define R_LDT_TYPE1_IOLIMIT   0x0030
 
#define R_LDT_TYPE1_CAPPTR   0x0034
 
#define R_LDT_TYPE1_ROMADDR   0x0038
 
#define R_LDT_TYPE1_BRCTL   0x003C
 
#define R_LDT_TYPE1_CMD   0x0040
 
#define R_LDT_TYPE1_LINKCTRL   0x0044
 
#define R_LDT_TYPE1_LINKFREQ   0x0048
 
#define R_LDT_TYPE1_RESERVED1   0x004C
 
#define R_LDT_TYPE1_SRICMD   0x0050
 
#define R_LDT_TYPE1_SRITXNUM   0x0054
 
#define R_LDT_TYPE1_SRIRXNUM   0x0058
 
#define R_LDT_TYPE1_ERRSTATUS   0x0068
 
#define R_LDT_TYPE1_SRICTRL   0x006C
 
#define R_LDT_TYPE1_TXBUFCNT   0x00C8
 
#define R_LDT_TYPE1_EXPCRC   0x00DC
 
#define R_LDT_TYPE1_RXCRC   0x00F0
 
#define S_LDT_DEVICEID_VENDOR   0
 
#define M_LDT_DEVICEID_VENDOR   _SB_MAKEMASK_32(16, S_LDT_DEVICEID_VENDOR)
 
#define V_LDT_DEVICEID_VENDOR(x)   _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_VENDOR)
 
#define G_LDT_DEVICEID_VENDOR(x)   _SB_GETVALUE_32(x, S_LDT_DEVICEID_VENDOR, M_LDT_DEVICEID_VENDOR)
 
#define S_LDT_DEVICEID_DEVICEID   16
 
#define M_LDT_DEVICEID_DEVICEID   _SB_MAKEMASK_32(16, S_LDT_DEVICEID_DEVICEID)
 
#define V_LDT_DEVICEID_DEVICEID(x)   _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_DEVICEID)
 
#define G_LDT_DEVICEID_DEVICEID(x)   _SB_GETVALUE_32(x, S_LDT_DEVICEID_DEVICEID, M_LDT_DEVICEID_DEVICEID)
 
#define M_LDT_CMD_IOSPACE_EN   _SB_MAKEMASK1_32(0)
 
#define M_LDT_CMD_MEMSPACE_EN   _SB_MAKEMASK1_32(1)
 
#define M_LDT_CMD_MASTER_EN   _SB_MAKEMASK1_32(2)
 
#define M_LDT_CMD_SPECCYC_EN   _SB_MAKEMASK1_32(3)
 
#define M_LDT_CMD_MEMWRINV_EN   _SB_MAKEMASK1_32(4)
 
#define M_LDT_CMD_VGAPALSNP_EN   _SB_MAKEMASK1_32(5)
 
#define M_LDT_CMD_PARERRRESP   _SB_MAKEMASK1_32(6)
 
#define M_LDT_CMD_WAITCYCCTRL   _SB_MAKEMASK1_32(7)
 
#define M_LDT_CMD_SERR_EN   _SB_MAKEMASK1_32(8)
 
#define M_LDT_CMD_FASTB2B_EN   _SB_MAKEMASK1_32(9)
 
#define S_LDT_CLASSREV_REV   0
 
#define M_LDT_CLASSREV_REV   _SB_MAKEMASK_32(8, S_LDT_CLASSREV_REV)
 
#define V_LDT_CLASSREV_REV(x)   _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_REV)
 
#define G_LDT_CLASSREV_REV(x)   _SB_GETVALUE_32(x, S_LDT_CLASSREV_REV, M_LDT_CLASSREV_REV)
 
#define S_LDT_CLASSREV_CLASS   8
 
#define M_LDT_CLASSREV_CLASS   _SB_MAKEMASK_32(24, S_LDT_CLASSREV_CLASS)
 
#define V_LDT_CLASSREV_CLASS(x)   _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_CLASS)
 
#define G_LDT_CLASSREV_CLASS(x)   _SB_GETVALUE_32(x, S_LDT_CLASSREV_CLASS, M_LDT_CLASSREV_CLASS)
 
#define K_LDT_REV   0x01
 
#define K_LDT_CLASS   0x060000
 
#define S_LDT_DEVHDR_CLINESZ   0
 
#define M_LDT_DEVHDR_CLINESZ   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_CLINESZ)
 
#define V_LDT_DEVHDR_CLINESZ(x)   _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_CLINESZ)
 
#define G_LDT_DEVHDR_CLINESZ(x)   _SB_GETVALUE_32(x, S_LDT_DEVHDR_CLINESZ, M_LDT_DEVHDR_CLINESZ)
 
#define S_LDT_DEVHDR_LATTMR   8
 
#define M_LDT_DEVHDR_LATTMR   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_LATTMR)
 
#define V_LDT_DEVHDR_LATTMR(x)   _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_LATTMR)
 
#define G_LDT_DEVHDR_LATTMR(x)   _SB_GETVALUE_32(x, S_LDT_DEVHDR_LATTMR, M_LDT_DEVHDR_LATTMR)
 
#define S_LDT_DEVHDR_HDRTYPE   16
 
#define M_LDT_DEVHDR_HDRTYPE   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_HDRTYPE)
 
#define V_LDT_DEVHDR_HDRTYPE(x)   _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_HDRTYPE)
 
#define G_LDT_DEVHDR_HDRTYPE(x)   _SB_GETVALUE_32(x, S_LDT_DEVHDR_HDRTYPE, M_LDT_DEVHDR_HDRTYPE)
 
#define K_LDT_DEVHDR_HDRTYPE_TYPE1   1
 
#define S_LDT_DEVHDR_BIST   24
 
#define M_LDT_DEVHDR_BIST   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_BIST)
 
#define V_LDT_DEVHDR_BIST(x)   _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_BIST)
 
#define G_LDT_DEVHDR_BIST(x)   _SB_GETVALUE_32(x, S_LDT_DEVHDR_BIST, M_LDT_DEVHDR_BIST)
 
#define M_LDT_STATUS_CAPLIST   _SB_MAKEMASK1_32(20)
 
#define M_LDT_STATUS_66MHZCAP   _SB_MAKEMASK1_32(21)
 
#define M_LDT_STATUS_RESERVED2   _SB_MAKEMASK1_32(22)
 
#define M_LDT_STATUS_FASTB2BCAP   _SB_MAKEMASK1_32(23)
 
#define M_LDT_STATUS_MSTRDPARERR   _SB_MAKEMASK1_32(24)
 
#define S_LDT_STATUS_DEVSELTIMING   25
 
#define M_LDT_STATUS_DEVSELTIMING   _SB_MAKEMASK_32(2, S_LDT_STATUS_DEVSELTIMING)
 
#define V_LDT_STATUS_DEVSELTIMING(x)   _SB_MAKEVALUE_32(x, S_LDT_STATUS_DEVSELTIMING)
 
#define G_LDT_STATUS_DEVSELTIMING(x)   _SB_GETVALUE_32(x, S_LDT_STATUS_DEVSELTIMING, M_LDT_STATUS_DEVSELTIMING)
 
#define M_LDT_STATUS_SIGDTGTABORT   _SB_MAKEMASK1_32(27)
 
#define M_LDT_STATUS_RCVDTGTABORT   _SB_MAKEMASK1_32(28)
 
#define M_LDT_STATUS_RCVDMSTRABORT   _SB_MAKEMASK1_32(29)
 
#define M_LDT_STATUS_SIGDSERR   _SB_MAKEMASK1_32(30)
 
#define M_LDT_STATUS_DETPARERR   _SB_MAKEMASK1_32(31)
 
#define M_LDT_BRCTL_PARERRRESP_EN   _SB_MAKEMASK1_32(16)
 
#define M_LDT_BRCTL_SERR_EN   _SB_MAKEMASK1_32(17)
 
#define M_LDT_BRCTL_ISA_EN   _SB_MAKEMASK1_32(18)
 
#define M_LDT_BRCTL_VGA_EN   _SB_MAKEMASK1_32(19)
 
#define M_LDT_BRCTL_MSTRABORTMODE   _SB_MAKEMASK1_32(21)
 
#define M_LDT_BRCTL_SECBUSRESET   _SB_MAKEMASK1_32(22)
 
#define M_LDT_BRCTL_FASTB2B_EN   _SB_MAKEMASK1_32(23)
 
#define M_LDT_BRCTL_PRIDISCARD   _SB_MAKEMASK1_32(24)
 
#define M_LDT_BRCTL_SECDISCARD   _SB_MAKEMASK1_32(25)
 
#define M_LDT_BRCTL_DISCARDSTAT   _SB_MAKEMASK1_32(26)
 
#define M_LDT_BRCTL_DISCARDSERR_EN   _SB_MAKEMASK1_32(27)
 
#define M_LDT_CMD_WARMRESET   _SB_MAKEMASK1_32(16)
 
#define M_LDT_CMD_DOUBLEENDED   _SB_MAKEMASK1_32(17)
 
#define S_LDT_CMD_CAPTYPE   29
 
#define M_LDT_CMD_CAPTYPE   _SB_MAKEMASK_32(3, S_LDT_CMD_CAPTYPE)
 
#define V_LDT_CMD_CAPTYPE(x)   _SB_MAKEVALUE_32(x, S_LDT_CMD_CAPTYPE)
 
#define G_LDT_CMD_CAPTYPE(x)   _SB_GETVALUE_32(x, S_LDT_CMD_CAPTYPE, M_LDT_CMD_CAPTYPE)
 
#define M_LDT_LINKCTRL_CAPSYNCFLOOD_EN   _SB_MAKEMASK1_32(1)
 
#define M_LDT_LINKCTRL_CRCSTARTTEST   _SB_MAKEMASK1_32(2)
 
#define M_LDT_LINKCTRL_CRCFORCEERR   _SB_MAKEMASK1_32(3)
 
#define M_LDT_LINKCTRL_LINKFAIL   _SB_MAKEMASK1_32(4)
 
#define M_LDT_LINKCTRL_INITDONE   _SB_MAKEMASK1_32(5)
 
#define M_LDT_LINKCTRL_EOC   _SB_MAKEMASK1_32(6)
 
#define M_LDT_LINKCTRL_XMITOFF   _SB_MAKEMASK1_32(7)
 
#define S_LDT_LINKCTRL_CRCERR   8
 
#define M_LDT_LINKCTRL_CRCERR   _SB_MAKEMASK_32(4, S_LDT_LINKCTRL_CRCERR)
 
#define V_LDT_LINKCTRL_CRCERR(x)   _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_CRCERR)
 
#define G_LDT_LINKCTRL_CRCERR(x)   _SB_GETVALUE_32(x, S_LDT_LINKCTRL_CRCERR, M_LDT_LINKCTRL_CRCERR)
 
#define S_LDT_LINKCTRL_MAXIN   16
 
#define M_LDT_LINKCTRL_MAXIN   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_MAXIN)
 
#define V_LDT_LINKCTRL_MAXIN(x)   _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_MAXIN)
 
#define G_LDT_LINKCTRL_MAXIN(x)   _SB_GETVALUE_32(x, S_LDT_LINKCTRL_MAXIN, M_LDT_LINKCTRL_MAXIN)
 
#define M_LDT_LINKCTRL_DWFCLN   _SB_MAKEMASK1_32(19)
 
#define S_LDT_LINKCTRL_MAXOUT   20
 
#define M_LDT_LINKCTRL_MAXOUT   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_MAXOUT)
 
#define V_LDT_LINKCTRL_MAXOUT(x)   _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_MAXOUT)
 
#define G_LDT_LINKCTRL_MAXOUT(x)   _SB_GETVALUE_32(x, S_LDT_LINKCTRL_MAXOUT, M_LDT_LINKCTRL_MAXOUT)
 
#define M_LDT_LINKCTRL_DWFCOUT   _SB_MAKEMASK1_32(23)
 
#define S_LDT_LINKCTRL_WIDTHIN   24
 
#define M_LDT_LINKCTRL_WIDTHIN   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_WIDTHIN)
 
#define V_LDT_LINKCTRL_WIDTHIN(x)   _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_WIDTHIN)
 
#define G_LDT_LINKCTRL_WIDTHIN(x)   _SB_GETVALUE_32(x, S_LDT_LINKCTRL_WIDTHIN, M_LDT_LINKCTRL_WIDTHIN)
 
#define M_LDT_LINKCTRL_DWFCLIN_EN   _SB_MAKEMASK1_32(27)
 
#define S_LDT_LINKCTRL_WIDTHOUT   28
 
#define M_LDT_LINKCTRL_WIDTHOUT   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_WIDTHOUT)
 
#define V_LDT_LINKCTRL_WIDTHOUT(x)   _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_WIDTHOUT)
 
#define G_LDT_LINKCTRL_WIDTHOUT(x)   _SB_GETVALUE_32(x, S_LDT_LINKCTRL_WIDTHOUT, M_LDT_LINKCTRL_WIDTHOUT)
 
#define M_LDT_LINKCTRL_DWFCOUT_EN   _SB_MAKEMASK1_32(31)
 
#define S_LDT_LINKFREQ_FREQ   8
 
#define M_LDT_LINKFREQ_FREQ   _SB_MAKEMASK_32(4, S_LDT_LINKFREQ_FREQ)
 
#define V_LDT_LINKFREQ_FREQ(x)   _SB_MAKEVALUE_32(x, S_LDT_LINKFREQ_FREQ)
 
#define G_LDT_LINKFREQ_FREQ(x)   _SB_GETVALUE_32(x, S_LDT_LINKFREQ_FREQ, M_LDT_LINKFREQ_FREQ)
 
#define K_LDT_LINKFREQ_200MHZ   0
 
#define K_LDT_LINKFREQ_300MHZ   1
 
#define K_LDT_LINKFREQ_400MHZ   2
 
#define K_LDT_LINKFREQ_500MHZ   3
 
#define K_LDT_LINKFREQ_600MHZ   4
 
#define K_LDT_LINKFREQ_800MHZ   5
 
#define K_LDT_LINKFREQ_1000MHZ   6
 
#define M_LDT_SRICMD_SIPREADY   _SB_MAKEMASK1_32(16)
 
#define M_LDT_SRICMD_SYNCPTRCTL   _SB_MAKEMASK1_32(17)
 
#define M_LDT_SRICMD_REDUCESYNCZERO   _SB_MAKEMASK1_32(18)
 
#define S_LDT_SRICMD_RXMARGIN   20
 
#define M_LDT_SRICMD_RXMARGIN   _SB_MAKEMASK_32(5, S_LDT_SRICMD_RXMARGIN)
 
#define V_LDT_SRICMD_RXMARGIN(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICMD_RXMARGIN)
 
#define G_LDT_SRICMD_RXMARGIN(x)   _SB_GETVALUE_32(x, S_LDT_SRICMD_RXMARGIN, M_LDT_SRICMD_RXMARGIN)
 
#define M_LDT_SRICMD_LDTPLLCOMPAT   _SB_MAKEMASK1_32(25)
 
#define S_LDT_SRICMD_TXINITIALOFFSET   28
 
#define M_LDT_SRICMD_TXINITIALOFFSET   _SB_MAKEMASK_32(3, S_LDT_SRICMD_TXINITIALOFFSET)
 
#define V_LDT_SRICMD_TXINITIALOFFSET(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICMD_TXINITIALOFFSET)
 
#define G_LDT_SRICMD_TXINITIALOFFSET(x)   _SB_GETVALUE_32(x, S_LDT_SRICMD_TXINITIALOFFSET, M_LDT_SRICMD_TXINITIALOFFSET)
 
#define M_LDT_SRICMD_LINKFREQDIRECT   _SB_MAKEMASK1_32(31)
 
#define M_LDT_ERRCTL_PROTFATAL_EN   _SB_MAKEMASK1_32(0)
 
#define M_LDT_ERRCTL_PROTNONFATAL_EN   _SB_MAKEMASK1_32(1)
 
#define M_LDT_ERRCTL_PROTSYNCFLOOD_EN   _SB_MAKEMASK1_32(2)
 
#define M_LDT_ERRCTL_OVFFATAL_EN   _SB_MAKEMASK1_32(3)
 
#define M_LDT_ERRCTL_OVFNONFATAL_EN   _SB_MAKEMASK1_32(4)
 
#define M_LDT_ERRCTL_OVFSYNCFLOOD_EN   _SB_MAKEMASK1_32(5)
 
#define M_LDT_ERRCTL_EOCNXAFATAL_EN   _SB_MAKEMASK1_32(6)
 
#define M_LDT_ERRCTL_EOCNXANONFATAL_EN   _SB_MAKEMASK1_32(7)
 
#define M_LDT_ERRCTL_EOCNXASYNCFLOOD_EN   _SB_MAKEMASK1_32(8)
 
#define M_LDT_ERRCTL_CRCFATAL_EN   _SB_MAKEMASK1_32(9)
 
#define M_LDT_ERRCTL_CRCNONFATAL_EN   _SB_MAKEMASK1_32(10)
 
#define M_LDT_ERRCTL_SERRFATAL_EN   _SB_MAKEMASK1_32(11)
 
#define M_LDT_ERRCTL_SRCTAGFATAL_EN   _SB_MAKEMASK1_32(12)
 
#define M_LDT_ERRCTL_SRCTAGNONFATAL_EN   _SB_MAKEMASK1_32(13)
 
#define M_LDT_ERRCTL_SRCTAGSYNCFLOOD_EN   _SB_MAKEMASK1_32(14)
 
#define M_LDT_ERRCTL_MAPNXAFATAL_EN   _SB_MAKEMASK1_32(15)
 
#define M_LDT_ERRCTL_MAPNXANONFATAL_EN   _SB_MAKEMASK1_32(16)
 
#define M_LDT_ERRCTL_MAPNXASYNCFLOOD_EN   _SB_MAKEMASK1_32(17)
 
#define M_LDT_ERRCTL_PROTOERR   _SB_MAKEMASK1_32(24)
 
#define M_LDT_ERRCTL_OVFERR   _SB_MAKEMASK1_32(25)
 
#define M_LDT_ERRCTL_EOCNXAERR   _SB_MAKEMASK1_32(26)
 
#define M_LDT_ERRCTL_SRCTAGERR   _SB_MAKEMASK1_32(27)
 
#define M_LDT_ERRCTL_MAPNXAERR   _SB_MAKEMASK1_32(28)
 
#define S_LDT_SRICTRL_NEEDRESP   0
 
#define M_LDT_SRICTRL_NEEDRESP   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_NEEDRESP)
 
#define V_LDT_SRICTRL_NEEDRESP(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_NEEDRESP)
 
#define G_LDT_SRICTRL_NEEDRESP(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_NEEDRESP, M_LDT_SRICTRL_NEEDRESP)
 
#define S_LDT_SRICTRL_NEEDNPREQ   2
 
#define M_LDT_SRICTRL_NEEDNPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_NEEDNPREQ)
 
#define V_LDT_SRICTRL_NEEDNPREQ(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_NEEDNPREQ)
 
#define G_LDT_SRICTRL_NEEDNPREQ(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_NEEDNPREQ, M_LDT_SRICTRL_NEEDNPREQ)
 
#define S_LDT_SRICTRL_NEEDPREQ   4
 
#define M_LDT_SRICTRL_NEEDPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_NEEDPREQ)
 
#define V_LDT_SRICTRL_NEEDPREQ(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_NEEDPREQ)
 
#define G_LDT_SRICTRL_NEEDPREQ(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_NEEDPREQ, M_LDT_SRICTRL_NEEDPREQ)
 
#define S_LDT_SRICTRL_WANTRESP   8
 
#define M_LDT_SRICTRL_WANTRESP   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_WANTRESP)
 
#define V_LDT_SRICTRL_WANTRESP(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_WANTRESP)
 
#define G_LDT_SRICTRL_WANTRESP(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_WANTRESP, M_LDT_SRICTRL_WANTRESP)
 
#define S_LDT_SRICTRL_WANTNPREQ   10
 
#define M_LDT_SRICTRL_WANTNPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_WANTNPREQ)
 
#define V_LDT_SRICTRL_WANTNPREQ(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_WANTNPREQ)
 
#define G_LDT_SRICTRL_WANTNPREQ(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_WANTNPREQ, M_LDT_SRICTRL_WANTNPREQ)
 
#define S_LDT_SRICTRL_WANTPREQ   12
 
#define M_LDT_SRICTRL_WANTPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_WANTPREQ)
 
#define V_LDT_SRICTRL_WANTPREQ(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_WANTPREQ)
 
#define G_LDT_SRICTRL_WANTPREQ(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_WANTPREQ, M_LDT_SRICTRL_WANTPREQ)
 
#define S_LDT_SRICTRL_BUFRELSPACE   16
 
#define M_LDT_SRICTRL_BUFRELSPACE   _SB_MAKEMASK_32(4, S_LDT_SRICTRL_BUFRELSPACE)
 
#define V_LDT_SRICTRL_BUFRELSPACE(x)   _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_BUFRELSPACE)
 
#define G_LDT_SRICTRL_BUFRELSPACE(x)   _SB_GETVALUE_32(x, S_LDT_SRICTRL_BUFRELSPACE, M_LDT_SRICTRL_BUFRELSPACE)
 
#define S_LDT_TXBUFCNT_PCMD   0
 
#define M_LDT_TXBUFCNT_PCMD   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_PCMD)
 
#define V_LDT_TXBUFCNT_PCMD(x)   _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_PCMD)
 
#define G_LDT_TXBUFCNT_PCMD(x)   _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_PCMD, M_LDT_TXBUFCNT_PCMD)
 
#define S_LDT_TXBUFCNT_PDATA   4
 
#define M_LDT_TXBUFCNT_PDATA   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_PDATA)
 
#define V_LDT_TXBUFCNT_PDATA(x)   _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_PDATA)
 
#define G_LDT_TXBUFCNT_PDATA(x)   _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_PDATA, M_LDT_TXBUFCNT_PDATA)
 
#define S_LDT_TXBUFCNT_NPCMD   8
 
#define M_LDT_TXBUFCNT_NPCMD   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_NPCMD)
 
#define V_LDT_TXBUFCNT_NPCMD(x)   _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_NPCMD)
 
#define G_LDT_TXBUFCNT_NPCMD(x)   _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_NPCMD, M_LDT_TXBUFCNT_NPCMD)
 
#define S_LDT_TXBUFCNT_NPDATA   12
 
#define M_LDT_TXBUFCNT_NPDATA   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_NPDATA)
 
#define V_LDT_TXBUFCNT_NPDATA(x)   _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_NPDATA)
 
#define G_LDT_TXBUFCNT_NPDATA(x)   _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_NPDATA, M_LDT_TXBUFCNT_NPDATA)
 
#define S_LDT_TXBUFCNT_RCMD   16
 
#define M_LDT_TXBUFCNT_RCMD   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_RCMD)
 
#define V_LDT_TXBUFCNT_RCMD(x)   _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_RCMD)
 
#define G_LDT_TXBUFCNT_RCMD(x)   _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_RCMD, M_LDT_TXBUFCNT_RCMD)
 
#define S_LDT_TXBUFCNT_RDATA   20
 
#define M_LDT_TXBUFCNT_RDATA   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_RDATA)
 
#define V_LDT_TXBUFCNT_RDATA(x)   _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_RDATA)
 
#define G_LDT_TXBUFCNT_RDATA(x)   _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_RDATA, M_LDT_TXBUFCNT_RDATA)
 

Macro Definition Documentation

#define G_LDT_CLASSREV_CLASS (   x)    _SB_GETVALUE_32(x, S_LDT_CLASSREV_CLASS, M_LDT_CLASSREV_CLASS)

Definition at line 121 of file sb1250_ldt.h.

#define G_LDT_CLASSREV_REV (   x)    _SB_GETVALUE_32(x, S_LDT_CLASSREV_REV, M_LDT_CLASSREV_REV)

Definition at line 116 of file sb1250_ldt.h.

#define G_LDT_CMD_CAPTYPE (   x)    _SB_GETVALUE_32(x, S_LDT_CMD_CAPTYPE, M_LDT_CMD_CAPTYPE)

Definition at line 213 of file sb1250_ldt.h.

#define G_LDT_DEVHDR_BIST (   x)    _SB_GETVALUE_32(x, S_LDT_DEVHDR_BIST, M_LDT_DEVHDR_BIST)

Definition at line 150 of file sb1250_ldt.h.

#define G_LDT_DEVHDR_CLINESZ (   x)    _SB_GETVALUE_32(x, S_LDT_DEVHDR_CLINESZ, M_LDT_DEVHDR_CLINESZ)

Definition at line 133 of file sb1250_ldt.h.

#define G_LDT_DEVHDR_HDRTYPE (   x)    _SB_GETVALUE_32(x, S_LDT_DEVHDR_HDRTYPE, M_LDT_DEVHDR_HDRTYPE)

Definition at line 143 of file sb1250_ldt.h.

#define G_LDT_DEVHDR_LATTMR (   x)    _SB_GETVALUE_32(x, S_LDT_DEVHDR_LATTMR, M_LDT_DEVHDR_LATTMR)

Definition at line 138 of file sb1250_ldt.h.

#define G_LDT_DEVICEID_DEVICEID (   x)    _SB_GETVALUE_32(x, S_LDT_DEVICEID_DEVICEID, M_LDT_DEVICEID_DEVICEID)

Definition at line 91 of file sb1250_ldt.h.

#define G_LDT_DEVICEID_VENDOR (   x)    _SB_GETVALUE_32(x, S_LDT_DEVICEID_VENDOR, M_LDT_DEVICEID_VENDOR)

Definition at line 86 of file sb1250_ldt.h.

#define G_LDT_LINKCTRL_CRCERR (   x)    _SB_GETVALUE_32(x, S_LDT_LINKCTRL_CRCERR, M_LDT_LINKCTRL_CRCERR)

Definition at line 230 of file sb1250_ldt.h.

#define G_LDT_LINKCTRL_MAXIN (   x)    _SB_GETVALUE_32(x, S_LDT_LINKCTRL_MAXIN, M_LDT_LINKCTRL_MAXIN)

Definition at line 235 of file sb1250_ldt.h.

#define G_LDT_LINKCTRL_MAXOUT (   x)    _SB_GETVALUE_32(x, S_LDT_LINKCTRL_MAXOUT, M_LDT_LINKCTRL_MAXOUT)

Definition at line 242 of file sb1250_ldt.h.

#define G_LDT_LINKCTRL_WIDTHIN (   x)    _SB_GETVALUE_32(x, S_LDT_LINKCTRL_WIDTHIN, M_LDT_LINKCTRL_WIDTHIN)

Definition at line 249 of file sb1250_ldt.h.

#define G_LDT_LINKCTRL_WIDTHOUT (   x)    _SB_GETVALUE_32(x, S_LDT_LINKCTRL_WIDTHOUT, M_LDT_LINKCTRL_WIDTHOUT)

Definition at line 256 of file sb1250_ldt.h.

#define G_LDT_LINKFREQ_FREQ (   x)    _SB_GETVALUE_32(x, S_LDT_LINKFREQ_FREQ, M_LDT_LINKFREQ_FREQ)

Definition at line 267 of file sb1250_ldt.h.

#define G_LDT_SRICMD_RXMARGIN (   x)    _SB_GETVALUE_32(x, S_LDT_SRICMD_RXMARGIN, M_LDT_SRICMD_RXMARGIN)

Definition at line 298 of file sb1250_ldt.h.

#define G_LDT_SRICMD_TXINITIALOFFSET (   x)    _SB_GETVALUE_32(x, S_LDT_SRICMD_TXINITIALOFFSET, M_LDT_SRICMD_TXINITIALOFFSET)

Definition at line 305 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_BUFRELSPACE (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_BUFRELSPACE, M_LDT_SRICTRL_BUFRELSPACE)

Definition at line 375 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_NEEDNPREQ (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_NEEDNPREQ, M_LDT_SRICTRL_NEEDNPREQ)

Definition at line 350 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_NEEDPREQ (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_NEEDPREQ, M_LDT_SRICTRL_NEEDPREQ)

Definition at line 355 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_NEEDRESP (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_NEEDRESP, M_LDT_SRICTRL_NEEDRESP)

Definition at line 345 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_WANTNPREQ (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_WANTNPREQ, M_LDT_SRICTRL_WANTNPREQ)

Definition at line 365 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_WANTPREQ (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_WANTPREQ, M_LDT_SRICTRL_WANTPREQ)

Definition at line 370 of file sb1250_ldt.h.

#define G_LDT_SRICTRL_WANTRESP (   x)    _SB_GETVALUE_32(x, S_LDT_SRICTRL_WANTRESP, M_LDT_SRICTRL_WANTRESP)

Definition at line 360 of file sb1250_ldt.h.

#define G_LDT_STATUS_DEVSELTIMING (   x)    _SB_GETVALUE_32(x, S_LDT_STATUS_DEVSELTIMING, M_LDT_STATUS_DEVSELTIMING)

Definition at line 175 of file sb1250_ldt.h.

#define G_LDT_TXBUFCNT_NPCMD (   x)    _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_NPCMD, M_LDT_TXBUFCNT_NPCMD)

Definition at line 394 of file sb1250_ldt.h.

#define G_LDT_TXBUFCNT_NPDATA (   x)    _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_NPDATA, M_LDT_TXBUFCNT_NPDATA)

Definition at line 399 of file sb1250_ldt.h.

#define G_LDT_TXBUFCNT_PCMD (   x)    _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_PCMD, M_LDT_TXBUFCNT_PCMD)

Definition at line 384 of file sb1250_ldt.h.

#define G_LDT_TXBUFCNT_PDATA (   x)    _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_PDATA, M_LDT_TXBUFCNT_PDATA)

Definition at line 389 of file sb1250_ldt.h.

#define G_LDT_TXBUFCNT_RCMD (   x)    _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_RCMD, M_LDT_TXBUFCNT_RCMD)

Definition at line 404 of file sb1250_ldt.h.

#define G_LDT_TXBUFCNT_RDATA (   x)    _SB_GETVALUE_32(x, S_LDT_TXBUFCNT_RDATA, M_LDT_TXBUFCNT_RDATA)

Definition at line 409 of file sb1250_ldt.h.

#define K_LDT_CLASS   0x060000

Definition at line 124 of file sb1250_ldt.h.

#define K_LDT_DEVHDR_HDRTYPE_TYPE1   1

Definition at line 145 of file sb1250_ldt.h.

#define K_LDT_DEVICE_SB1250   0x0002

Definition at line 39 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_1000MHZ   6

Definition at line 275 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_200MHZ   0

Definition at line 269 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_300MHZ   1

Definition at line 270 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_400MHZ   2

Definition at line 271 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_500MHZ   3

Definition at line 272 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_600MHZ   4

Definition at line 273 of file sb1250_ldt.h.

#define K_LDT_LINKFREQ_800MHZ   5

Definition at line 274 of file sb1250_ldt.h.

#define K_LDT_REV   0x01

Definition at line 123 of file sb1250_ldt.h.

#define K_LDT_VENDOR_SIBYTE   0x166D

Definition at line 38 of file sb1250_ldt.h.

#define M_LDT_BRCTL_DISCARDSERR_EN   _SB_MAKEMASK1_32(27)

Definition at line 199 of file sb1250_ldt.h.

#define M_LDT_BRCTL_DISCARDSTAT   _SB_MAKEMASK1_32(26)

Definition at line 198 of file sb1250_ldt.h.

#define M_LDT_BRCTL_FASTB2B_EN   _SB_MAKEMASK1_32(23)

Definition at line 195 of file sb1250_ldt.h.

#define M_LDT_BRCTL_ISA_EN   _SB_MAKEMASK1_32(18)

Definition at line 191 of file sb1250_ldt.h.

#define M_LDT_BRCTL_MSTRABORTMODE   _SB_MAKEMASK1_32(21)

Definition at line 193 of file sb1250_ldt.h.

#define M_LDT_BRCTL_PARERRRESP_EN   _SB_MAKEMASK1_32(16)

Definition at line 189 of file sb1250_ldt.h.

#define M_LDT_BRCTL_PRIDISCARD   _SB_MAKEMASK1_32(24)

Definition at line 196 of file sb1250_ldt.h.

#define M_LDT_BRCTL_SECBUSRESET   _SB_MAKEMASK1_32(22)

Definition at line 194 of file sb1250_ldt.h.

#define M_LDT_BRCTL_SECDISCARD   _SB_MAKEMASK1_32(25)

Definition at line 197 of file sb1250_ldt.h.

#define M_LDT_BRCTL_SERR_EN   _SB_MAKEMASK1_32(17)

Definition at line 190 of file sb1250_ldt.h.

#define M_LDT_BRCTL_VGA_EN   _SB_MAKEMASK1_32(19)

Definition at line 192 of file sb1250_ldt.h.

#define M_LDT_CLASSREV_CLASS   _SB_MAKEMASK_32(24, S_LDT_CLASSREV_CLASS)

Definition at line 119 of file sb1250_ldt.h.

#define M_LDT_CLASSREV_REV   _SB_MAKEMASK_32(8, S_LDT_CLASSREV_REV)

Definition at line 114 of file sb1250_ldt.h.

#define M_LDT_CMD_CAPTYPE   _SB_MAKEMASK_32(3, S_LDT_CMD_CAPTYPE)

Definition at line 211 of file sb1250_ldt.h.

#define M_LDT_CMD_DOUBLEENDED   _SB_MAKEMASK1_32(17)

Definition at line 208 of file sb1250_ldt.h.

#define M_LDT_CMD_FASTB2B_EN   _SB_MAKEMASK1_32(9)

Definition at line 107 of file sb1250_ldt.h.

#define M_LDT_CMD_IOSPACE_EN   _SB_MAKEMASK1_32(0)

Definition at line 98 of file sb1250_ldt.h.

#define M_LDT_CMD_MASTER_EN   _SB_MAKEMASK1_32(2)

Definition at line 100 of file sb1250_ldt.h.

#define M_LDT_CMD_MEMSPACE_EN   _SB_MAKEMASK1_32(1)

Definition at line 99 of file sb1250_ldt.h.

#define M_LDT_CMD_MEMWRINV_EN   _SB_MAKEMASK1_32(4)

Definition at line 102 of file sb1250_ldt.h.

#define M_LDT_CMD_PARERRRESP   _SB_MAKEMASK1_32(6)

Definition at line 104 of file sb1250_ldt.h.

#define M_LDT_CMD_SERR_EN   _SB_MAKEMASK1_32(8)

Definition at line 106 of file sb1250_ldt.h.

#define M_LDT_CMD_SPECCYC_EN   _SB_MAKEMASK1_32(3)

Definition at line 101 of file sb1250_ldt.h.

#define M_LDT_CMD_VGAPALSNP_EN   _SB_MAKEMASK1_32(5)

Definition at line 103 of file sb1250_ldt.h.

#define M_LDT_CMD_WAITCYCCTRL   _SB_MAKEMASK1_32(7)

Definition at line 105 of file sb1250_ldt.h.

#define M_LDT_CMD_WARMRESET   _SB_MAKEMASK1_32(16)

Definition at line 207 of file sb1250_ldt.h.

#define M_LDT_DEVHDR_BIST   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_BIST)

Definition at line 148 of file sb1250_ldt.h.

#define M_LDT_DEVHDR_CLINESZ   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_CLINESZ)

Definition at line 131 of file sb1250_ldt.h.

#define M_LDT_DEVHDR_HDRTYPE   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_HDRTYPE)

Definition at line 141 of file sb1250_ldt.h.

#define M_LDT_DEVHDR_LATTMR   _SB_MAKEMASK_32(8, S_LDT_DEVHDR_LATTMR)

Definition at line 136 of file sb1250_ldt.h.

#define M_LDT_DEVICEID_DEVICEID   _SB_MAKEMASK_32(16, S_LDT_DEVICEID_DEVICEID)

Definition at line 89 of file sb1250_ldt.h.

#define M_LDT_DEVICEID_VENDOR   _SB_MAKEMASK_32(16, S_LDT_DEVICEID_VENDOR)

Definition at line 84 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_CRCFATAL_EN   _SB_MAKEMASK1_32(9)

Definition at line 322 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_CRCNONFATAL_EN   _SB_MAKEMASK1_32(10)

Definition at line 323 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_EOCNXAERR   _SB_MAKEMASK1_32(26)

Definition at line 334 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_EOCNXAFATAL_EN   _SB_MAKEMASK1_32(6)

Definition at line 319 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_EOCNXANONFATAL_EN   _SB_MAKEMASK1_32(7)

Definition at line 320 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_EOCNXASYNCFLOOD_EN   _SB_MAKEMASK1_32(8)

Definition at line 321 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_MAPNXAERR   _SB_MAKEMASK1_32(28)

Definition at line 336 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_MAPNXAFATAL_EN   _SB_MAKEMASK1_32(15)

Definition at line 328 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_MAPNXANONFATAL_EN   _SB_MAKEMASK1_32(16)

Definition at line 329 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_MAPNXASYNCFLOOD_EN   _SB_MAKEMASK1_32(17)

Definition at line 330 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_OVFERR   _SB_MAKEMASK1_32(25)

Definition at line 333 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_OVFFATAL_EN   _SB_MAKEMASK1_32(3)

Definition at line 316 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_OVFNONFATAL_EN   _SB_MAKEMASK1_32(4)

Definition at line 317 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_OVFSYNCFLOOD_EN   _SB_MAKEMASK1_32(5)

Definition at line 318 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_PROTFATAL_EN   _SB_MAKEMASK1_32(0)

Definition at line 313 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_PROTNONFATAL_EN   _SB_MAKEMASK1_32(1)

Definition at line 314 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_PROTOERR   _SB_MAKEMASK1_32(24)

Definition at line 332 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_PROTSYNCFLOOD_EN   _SB_MAKEMASK1_32(2)

Definition at line 315 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_SERRFATAL_EN   _SB_MAKEMASK1_32(11)

Definition at line 324 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_SRCTAGERR   _SB_MAKEMASK1_32(27)

Definition at line 335 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_SRCTAGFATAL_EN   _SB_MAKEMASK1_32(12)

Definition at line 325 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_SRCTAGNONFATAL_EN   _SB_MAKEMASK1_32(13)

Definition at line 326 of file sb1250_ldt.h.

#define M_LDT_ERRCTL_SRCTAGSYNCFLOOD_EN   _SB_MAKEMASK1_32(14)

Definition at line 327 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_CAPSYNCFLOOD_EN   _SB_MAKEMASK1_32(1)

Definition at line 219 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_CRCERR   _SB_MAKEMASK_32(4, S_LDT_LINKCTRL_CRCERR)

Definition at line 228 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_CRCFORCEERR   _SB_MAKEMASK1_32(3)

Definition at line 221 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_CRCSTARTTEST   _SB_MAKEMASK1_32(2)

Definition at line 220 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_DWFCLIN_EN   _SB_MAKEMASK1_32(27)

Definition at line 251 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_DWFCLN   _SB_MAKEMASK1_32(19)

Definition at line 237 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_DWFCOUT   _SB_MAKEMASK1_32(23)

Definition at line 244 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_DWFCOUT_EN   _SB_MAKEMASK1_32(31)

Definition at line 258 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_EOC   _SB_MAKEMASK1_32(6)

Definition at line 224 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_INITDONE   _SB_MAKEMASK1_32(5)

Definition at line 223 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_LINKFAIL   _SB_MAKEMASK1_32(4)

Definition at line 222 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_MAXIN   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_MAXIN)

Definition at line 233 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_MAXOUT   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_MAXOUT)

Definition at line 240 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_WIDTHIN   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_WIDTHIN)

Definition at line 247 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_WIDTHOUT   _SB_MAKEMASK_32(3, S_LDT_LINKCTRL_WIDTHOUT)

Definition at line 254 of file sb1250_ldt.h.

#define M_LDT_LINKCTRL_XMITOFF   _SB_MAKEMASK1_32(7)

Definition at line 225 of file sb1250_ldt.h.

#define M_LDT_LINKFREQ_FREQ   _SB_MAKEMASK_32(4, S_LDT_LINKFREQ_FREQ)

Definition at line 265 of file sb1250_ldt.h.

#define M_LDT_SRICMD_LDTPLLCOMPAT   _SB_MAKEMASK1_32(25)

Definition at line 300 of file sb1250_ldt.h.

#define M_LDT_SRICMD_LINKFREQDIRECT   _SB_MAKEMASK1_32(31)

Definition at line 307 of file sb1250_ldt.h.

#define M_LDT_SRICMD_REDUCESYNCZERO   _SB_MAKEMASK1_32(18)

Definition at line 285 of file sb1250_ldt.h.

#define M_LDT_SRICMD_RXMARGIN   _SB_MAKEMASK_32(5, S_LDT_SRICMD_RXMARGIN)

Definition at line 296 of file sb1250_ldt.h.

#define M_LDT_SRICMD_SIPREADY   _SB_MAKEMASK1_32(16)

Definition at line 283 of file sb1250_ldt.h.

#define M_LDT_SRICMD_SYNCPTRCTL   _SB_MAKEMASK1_32(17)

Definition at line 284 of file sb1250_ldt.h.

#define M_LDT_SRICMD_TXINITIALOFFSET   _SB_MAKEMASK_32(3, S_LDT_SRICMD_TXINITIALOFFSET)

Definition at line 303 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_BUFRELSPACE   _SB_MAKEMASK_32(4, S_LDT_SRICTRL_BUFRELSPACE)

Definition at line 373 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_NEEDNPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_NEEDNPREQ)

Definition at line 348 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_NEEDPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_NEEDPREQ)

Definition at line 353 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_NEEDRESP   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_NEEDRESP)

Definition at line 343 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_WANTNPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_WANTNPREQ)

Definition at line 363 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_WANTPREQ   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_WANTPREQ)

Definition at line 368 of file sb1250_ldt.h.

#define M_LDT_SRICTRL_WANTRESP   _SB_MAKEMASK_32(2, S_LDT_SRICTRL_WANTRESP)

Definition at line 358 of file sb1250_ldt.h.

#define M_LDT_STATUS_66MHZCAP   _SB_MAKEMASK1_32(21)

Definition at line 167 of file sb1250_ldt.h.

#define M_LDT_STATUS_CAPLIST   _SB_MAKEMASK1_32(20)

Definition at line 166 of file sb1250_ldt.h.

#define M_LDT_STATUS_DETPARERR   _SB_MAKEMASK1_32(31)

Definition at line 181 of file sb1250_ldt.h.

#define M_LDT_STATUS_DEVSELTIMING   _SB_MAKEMASK_32(2, S_LDT_STATUS_DEVSELTIMING)

Definition at line 173 of file sb1250_ldt.h.

#define M_LDT_STATUS_FASTB2BCAP   _SB_MAKEMASK1_32(23)

Definition at line 169 of file sb1250_ldt.h.

#define M_LDT_STATUS_MSTRDPARERR   _SB_MAKEMASK1_32(24)

Definition at line 170 of file sb1250_ldt.h.

#define M_LDT_STATUS_RCVDMSTRABORT   _SB_MAKEMASK1_32(29)

Definition at line 179 of file sb1250_ldt.h.

#define M_LDT_STATUS_RCVDTGTABORT   _SB_MAKEMASK1_32(28)

Definition at line 178 of file sb1250_ldt.h.

#define M_LDT_STATUS_RESERVED2   _SB_MAKEMASK1_32(22)

Definition at line 168 of file sb1250_ldt.h.

#define M_LDT_STATUS_SIGDSERR   _SB_MAKEMASK1_32(30)

Definition at line 180 of file sb1250_ldt.h.

#define M_LDT_STATUS_SIGDTGTABORT   _SB_MAKEMASK1_32(27)

Definition at line 177 of file sb1250_ldt.h.

#define M_LDT_TXBUFCNT_NPCMD   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_NPCMD)

Definition at line 392 of file sb1250_ldt.h.

#define M_LDT_TXBUFCNT_NPDATA   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_NPDATA)

Definition at line 397 of file sb1250_ldt.h.

#define M_LDT_TXBUFCNT_PCMD   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_PCMD)

Definition at line 382 of file sb1250_ldt.h.

#define M_LDT_TXBUFCNT_PDATA   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_PDATA)

Definition at line 387 of file sb1250_ldt.h.

#define M_LDT_TXBUFCNT_RCMD   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_RCMD)

Definition at line 402 of file sb1250_ldt.h.

#define M_LDT_TXBUFCNT_RDATA   _SB_MAKEMASK_32(4, S_LDT_TXBUFCNT_RDATA)

Definition at line 407 of file sb1250_ldt.h.

#define R_LDT_TYPE1_BAR0   0x0010 /* not used */

Definition at line 49 of file sb1250_ldt.h.

#define R_LDT_TYPE1_BAR1   0x0014 /* not used */

Definition at line 50 of file sb1250_ldt.h.

#define R_LDT_TYPE1_BRCTL   0x003C

Definition at line 61 of file sb1250_ldt.h.

#define R_LDT_TYPE1_BUSID   0x0018 /* bus ID register */

Definition at line 52 of file sb1250_ldt.h.

#define R_LDT_TYPE1_CAPPTR   0x0034

Definition at line 59 of file sb1250_ldt.h.

#define R_LDT_TYPE1_CLASSREV   0x0008

Definition at line 47 of file sb1250_ldt.h.

#define R_LDT_TYPE1_CMD   0x0040

Definition at line 62 of file sb1250_ldt.h.

#define R_LDT_TYPE1_CMDSTATUS   0x0004

Definition at line 46 of file sb1250_ldt.h.

#define R_LDT_TYPE1_DEVHDR   0x000C

Definition at line 48 of file sb1250_ldt.h.

#define R_LDT_TYPE1_DEVICEID   0x0000

Definition at line 45 of file sb1250_ldt.h.

#define R_LDT_TYPE1_ERRSTATUS   0x0068

Definition at line 69 of file sb1250_ldt.h.

#define R_LDT_TYPE1_EXPCRC   0x00DC

Definition at line 75 of file sb1250_ldt.h.

#define R_LDT_TYPE1_IOLIMIT   0x0030

Definition at line 58 of file sb1250_ldt.h.

#define R_LDT_TYPE1_LINKCTRL   0x0044

Definition at line 63 of file sb1250_ldt.h.

#define R_LDT_TYPE1_LINKFREQ   0x0048

Definition at line 64 of file sb1250_ldt.h.

#define R_LDT_TYPE1_MEMLIMIT   0x0020

Definition at line 54 of file sb1250_ldt.h.

#define R_LDT_TYPE1_PREF_BASE   0x0028

Definition at line 56 of file sb1250_ldt.h.

#define R_LDT_TYPE1_PREF_LIMIT   0x002C

Definition at line 57 of file sb1250_ldt.h.

#define R_LDT_TYPE1_PREFETCH   0x0024

Definition at line 55 of file sb1250_ldt.h.

#define R_LDT_TYPE1_RESERVED1   0x004C

Definition at line 65 of file sb1250_ldt.h.

#define R_LDT_TYPE1_ROMADDR   0x0038

Definition at line 60 of file sb1250_ldt.h.

#define R_LDT_TYPE1_RXCRC   0x00F0

Definition at line 76 of file sb1250_ldt.h.

#define R_LDT_TYPE1_SECSTATUS   0x001C /* secondary status / I/O base/limit */

Definition at line 53 of file sb1250_ldt.h.

#define R_LDT_TYPE1_SRICMD   0x0050

Definition at line 66 of file sb1250_ldt.h.

#define R_LDT_TYPE1_SRICTRL   0x006C

Definition at line 70 of file sb1250_ldt.h.

#define R_LDT_TYPE1_SRIRXNUM   0x0058

Definition at line 68 of file sb1250_ldt.h.

#define R_LDT_TYPE1_SRITXNUM   0x0054

Definition at line 67 of file sb1250_ldt.h.

#define R_LDT_TYPE1_TXBUFCNT   0x00C8

Definition at line 74 of file sb1250_ldt.h.

#define S_LDT_CLASSREV_CLASS   8

Definition at line 118 of file sb1250_ldt.h.

#define S_LDT_CLASSREV_REV   0

Definition at line 113 of file sb1250_ldt.h.

#define S_LDT_CMD_CAPTYPE   29

Definition at line 210 of file sb1250_ldt.h.

#define S_LDT_DEVHDR_BIST   24

Definition at line 147 of file sb1250_ldt.h.

#define S_LDT_DEVHDR_CLINESZ   0

Definition at line 130 of file sb1250_ldt.h.

#define S_LDT_DEVHDR_HDRTYPE   16

Definition at line 140 of file sb1250_ldt.h.

#define S_LDT_DEVHDR_LATTMR   8

Definition at line 135 of file sb1250_ldt.h.

#define S_LDT_DEVICEID_DEVICEID   16

Definition at line 88 of file sb1250_ldt.h.

#define S_LDT_DEVICEID_VENDOR   0

Definition at line 83 of file sb1250_ldt.h.

#define S_LDT_LINKCTRL_CRCERR   8

Definition at line 227 of file sb1250_ldt.h.

#define S_LDT_LINKCTRL_MAXIN   16

Definition at line 232 of file sb1250_ldt.h.

#define S_LDT_LINKCTRL_MAXOUT   20

Definition at line 239 of file sb1250_ldt.h.

#define S_LDT_LINKCTRL_WIDTHIN   24

Definition at line 246 of file sb1250_ldt.h.

#define S_LDT_LINKCTRL_WIDTHOUT   28

Definition at line 253 of file sb1250_ldt.h.

#define S_LDT_LINKFREQ_FREQ   8

Definition at line 264 of file sb1250_ldt.h.

#define S_LDT_SRICMD_RXMARGIN   20

Definition at line 295 of file sb1250_ldt.h.

#define S_LDT_SRICMD_TXINITIALOFFSET   28

Definition at line 302 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_BUFRELSPACE   16

Definition at line 372 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_NEEDNPREQ   2

Definition at line 347 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_NEEDPREQ   4

Definition at line 352 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_NEEDRESP   0

Definition at line 342 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_WANTNPREQ   10

Definition at line 362 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_WANTPREQ   12

Definition at line 367 of file sb1250_ldt.h.

#define S_LDT_SRICTRL_WANTRESP   8

Definition at line 357 of file sb1250_ldt.h.

#define S_LDT_STATUS_DEVSELTIMING   25

Definition at line 172 of file sb1250_ldt.h.

#define S_LDT_TXBUFCNT_NPCMD   8

Definition at line 391 of file sb1250_ldt.h.

#define S_LDT_TXBUFCNT_NPDATA   12

Definition at line 396 of file sb1250_ldt.h.

#define S_LDT_TXBUFCNT_PCMD   0

Definition at line 381 of file sb1250_ldt.h.

#define S_LDT_TXBUFCNT_PDATA   4

Definition at line 386 of file sb1250_ldt.h.

#define S_LDT_TXBUFCNT_RCMD   16

Definition at line 401 of file sb1250_ldt.h.

#define S_LDT_TXBUFCNT_RDATA   20

Definition at line 406 of file sb1250_ldt.h.

#define V_LDT_CLASSREV_CLASS (   x)    _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_CLASS)

Definition at line 120 of file sb1250_ldt.h.

#define V_LDT_CLASSREV_REV (   x)    _SB_MAKEVALUE_32(x, S_LDT_CLASSREV_REV)

Definition at line 115 of file sb1250_ldt.h.

#define V_LDT_CMD_CAPTYPE (   x)    _SB_MAKEVALUE_32(x, S_LDT_CMD_CAPTYPE)

Definition at line 212 of file sb1250_ldt.h.

#define V_LDT_DEVHDR_BIST (   x)    _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_BIST)

Definition at line 149 of file sb1250_ldt.h.

#define V_LDT_DEVHDR_CLINESZ (   x)    _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_CLINESZ)

Definition at line 132 of file sb1250_ldt.h.

#define V_LDT_DEVHDR_HDRTYPE (   x)    _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_HDRTYPE)

Definition at line 142 of file sb1250_ldt.h.

#define V_LDT_DEVHDR_LATTMR (   x)    _SB_MAKEVALUE_32(x, S_LDT_DEVHDR_LATTMR)

Definition at line 137 of file sb1250_ldt.h.

#define V_LDT_DEVICEID_DEVICEID (   x)    _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_DEVICEID)

Definition at line 90 of file sb1250_ldt.h.

#define V_LDT_DEVICEID_VENDOR (   x)    _SB_MAKEVALUE_32(x, S_LDT_DEVICEID_VENDOR)

Definition at line 85 of file sb1250_ldt.h.

#define V_LDT_LINKCTRL_CRCERR (   x)    _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_CRCERR)

Definition at line 229 of file sb1250_ldt.h.

#define V_LDT_LINKCTRL_MAXIN (   x)    _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_MAXIN)

Definition at line 234 of file sb1250_ldt.h.

#define V_LDT_LINKCTRL_MAXOUT (   x)    _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_MAXOUT)

Definition at line 241 of file sb1250_ldt.h.

#define V_LDT_LINKCTRL_WIDTHIN (   x)    _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_WIDTHIN)

Definition at line 248 of file sb1250_ldt.h.

#define V_LDT_LINKCTRL_WIDTHOUT (   x)    _SB_MAKEVALUE_32(x, S_LDT_LINKCTRL_WIDTHOUT)

Definition at line 255 of file sb1250_ldt.h.

#define V_LDT_LINKFREQ_FREQ (   x)    _SB_MAKEVALUE_32(x, S_LDT_LINKFREQ_FREQ)

Definition at line 266 of file sb1250_ldt.h.

#define V_LDT_SRICMD_RXMARGIN (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICMD_RXMARGIN)

Definition at line 297 of file sb1250_ldt.h.

#define V_LDT_SRICMD_TXINITIALOFFSET (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICMD_TXINITIALOFFSET)

Definition at line 304 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_BUFRELSPACE (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_BUFRELSPACE)

Definition at line 374 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_NEEDNPREQ (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_NEEDNPREQ)

Definition at line 349 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_NEEDPREQ (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_NEEDPREQ)

Definition at line 354 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_NEEDRESP (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_NEEDRESP)

Definition at line 344 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_WANTNPREQ (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_WANTNPREQ)

Definition at line 364 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_WANTPREQ (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_WANTPREQ)

Definition at line 369 of file sb1250_ldt.h.

#define V_LDT_SRICTRL_WANTRESP (   x)    _SB_MAKEVALUE_32(x, S_LDT_SRICTRL_WANTRESP)

Definition at line 359 of file sb1250_ldt.h.

#define V_LDT_STATUS_DEVSELTIMING (   x)    _SB_MAKEVALUE_32(x, S_LDT_STATUS_DEVSELTIMING)

Definition at line 174 of file sb1250_ldt.h.

#define V_LDT_TXBUFCNT_NPCMD (   x)    _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_NPCMD)

Definition at line 393 of file sb1250_ldt.h.

#define V_LDT_TXBUFCNT_NPDATA (   x)    _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_NPDATA)

Definition at line 398 of file sb1250_ldt.h.

#define V_LDT_TXBUFCNT_PCMD (   x)    _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_PCMD)

Definition at line 383 of file sb1250_ldt.h.

#define V_LDT_TXBUFCNT_PDATA (   x)    _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_PDATA)

Definition at line 388 of file sb1250_ldt.h.

#define V_LDT_TXBUFCNT_RCMD (   x)    _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_RCMD)

Definition at line 403 of file sb1250_ldt.h.

#define V_LDT_TXBUFCNT_RDATA (   x)    _SB_MAKEVALUE_32(x, S_LDT_TXBUFCNT_RDATA)

Definition at line 408 of file sb1250_ldt.h.