Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
core_tsunami.h File Reference
#include <linux/types.h>
#include <asm/compiler.h>

Go to the source code of this file.

Data Structures

struct  tsunami_64
 
struct  tsunami_cchip
 
struct  tsunami_dchip
 
struct  tsunami_pchip
 
union  TPchipPERROR
 
union  TPchipWSBA
 
union  TPchipPCTL
 
union  TPchipPERRMASK
 
struct  el_TSUNAMI_sysdata_mcheck
 

Macros

#define TS_BIAS   0x10000000000UL
 
#define TSUNAMI_cchip   ((tsunami_cchip *)(IDENT_ADDR+TS_BIAS+0x1A0000000UL))
 
#define TSUNAMI_dchip   ((tsunami_dchip *)(IDENT_ADDR+TS_BIAS+0x1B0000800UL))
 
#define TSUNAMI_pchip0   ((tsunami_pchip *)(IDENT_ADDR+TS_BIAS+0x180000000UL))
 
#define TSUNAMI_pchip1   ((tsunami_pchip *)(IDENT_ADDR+TS_BIAS+0x380000000UL))
 
#define perror_m_lost   0x1
 
#define perror_m_serr   0x2
 
#define perror_m_perr   0x4
 
#define perror_m_dcrto   0x8
 
#define perror_m_sge   0x10
 
#define perror_m_ape   0x20
 
#define perror_m_ta   0x40
 
#define perror_m_rdpe   0x80
 
#define perror_m_nds   0x100
 
#define perror_m_rto   0x200
 
#define perror_m_uecc   0x400
 
#define perror_m_cre   0x800
 
#define perror_m_addrl   0xFFFFFFFF0000UL
 
#define perror_m_addrh   0x7000000000000UL
 
#define perror_m_cmd   0xF0000000000000UL
 
#define perror_m_syn   0xFF00000000000000UL
 
#define wsba_m_ena   0x1
 
#define wsba_m_sg   0x2
 
#define wsba_m_ptp   0x4
 
#define wsba_m_addr   0xFFF00000
 
#define wmask_k_sz1gb   0x3FF00000
 
#define pctl_m_fdsc   0x1
 
#define pctl_m_fbtb   0x2
 
#define pctl_m_thdis   0x4
 
#define pctl_m_chaindis   0x8
 
#define pctl_m_tgtlat   0x10
 
#define pctl_m_hole   0x20
 
#define pctl_m_mwin   0x40
 
#define pctl_m_arbena   0x80
 
#define pctl_m_prigrp   0x7F00
 
#define pctl_m_ppri   0x8000
 
#define pctl_m_rsvd1   0x30000
 
#define pctl_m_eccen   0x40000
 
#define pctl_m_padm   0x80000
 
#define pctl_m_cdqmax   0xF00000
 
#define pctl_m_rev   0xFF000000
 
#define pctl_m_crqmax   0xF00000000UL
 
#define pctl_m_ptpmax   0xF000000000UL
 
#define pctl_m_pclkx   0x30000000000UL
 
#define pctl_m_fdsdis   0x40000000000UL
 
#define pctl_m_fdwdis   0x80000000000UL
 
#define pctl_m_ptevrfy   0x100000000000UL
 
#define pctl_m_rpp   0x200000000000UL
 
#define pctl_m_pid   0xC00000000000UL
 
#define pctl_m_rsvd2   0xFFFF000000000000UL
 
#define perrmask_m_lost   0x1
 
#define perrmask_m_serr   0x2
 
#define perrmask_m_perr   0x4
 
#define perrmask_m_dcrto   0x8
 
#define perrmask_m_sge   0x10
 
#define perrmask_m_ape   0x20
 
#define perrmask_m_ta   0x40
 
#define perrmask_m_rdpe   0x80
 
#define perrmask_m_nds   0x100
 
#define perrmask_m_rto   0x200
 
#define perrmask_m_uecc   0x400
 
#define perrmask_m_cre   0x800
 
#define perrmask_m_rsvd   0xFFFFFFFFFFFFF000UL
 
#define TSUNAMI_HOSE(h)   (((unsigned long)(h)) << 33)
 
#define TSUNAMI_BASE   (IDENT_ADDR + TS_BIAS)
 
#define TSUNAMI_MEM(h)   (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x000000000UL)
 
#define _TSUNAMI_IACK_SC(h)   (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x1F8000000UL)
 
#define TSUNAMI_IO(h)   (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x1FC000000UL)
 
#define TSUNAMI_CONF(h)   (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x1FE000000UL)
 
#define TSUNAMI_IACK_SC   _TSUNAMI_IACK_SC(0) /* hack! */
 
#define TSUNAMI_IO_BIAS   TSUNAMI_IO(0)
 
#define TSUNAMI_MEM_BIAS   TSUNAMI_MEM(0)
 
#define TSUNAMI_IO_SPACE   (TSUNAMI_CONF(0) - TSUNAMI_IO(0))
 
#define TSUNAMI_DAC_OFFSET   (1UL << 40)
 

Variables

int TSUNAMI_bootcpu
 

Macro Definition Documentation

#define _TSUNAMI_IACK_SC (   h)    (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x1F8000000UL)

Definition at line 259 of file core_tsunami.h.

#define pctl_m_arbena   0x80

Definition at line 168 of file core_tsunami.h.

#define pctl_m_cdqmax   0xF00000

Definition at line 174 of file core_tsunami.h.

#define pctl_m_chaindis   0x8

Definition at line 164 of file core_tsunami.h.

#define pctl_m_crqmax   0xF00000000UL

Definition at line 176 of file core_tsunami.h.

#define pctl_m_eccen   0x40000

Definition at line 172 of file core_tsunami.h.

#define pctl_m_fbtb   0x2

Definition at line 162 of file core_tsunami.h.

#define pctl_m_fdsc   0x1

Definition at line 161 of file core_tsunami.h.

#define pctl_m_fdsdis   0x40000000000UL

Definition at line 179 of file core_tsunami.h.

#define pctl_m_fdwdis   0x80000000000UL

Definition at line 180 of file core_tsunami.h.

#define pctl_m_hole   0x20

Definition at line 166 of file core_tsunami.h.

#define pctl_m_mwin   0x40

Definition at line 167 of file core_tsunami.h.

#define pctl_m_padm   0x80000

Definition at line 173 of file core_tsunami.h.

#define pctl_m_pclkx   0x30000000000UL

Definition at line 178 of file core_tsunami.h.

#define pctl_m_pid   0xC00000000000UL

Definition at line 183 of file core_tsunami.h.

#define pctl_m_ppri   0x8000

Definition at line 170 of file core_tsunami.h.

#define pctl_m_prigrp   0x7F00

Definition at line 169 of file core_tsunami.h.

#define pctl_m_ptevrfy   0x100000000000UL

Definition at line 181 of file core_tsunami.h.

#define pctl_m_ptpmax   0xF000000000UL

Definition at line 177 of file core_tsunami.h.

#define pctl_m_rev   0xFF000000

Definition at line 175 of file core_tsunami.h.

#define pctl_m_rpp   0x200000000000UL

Definition at line 182 of file core_tsunami.h.

#define pctl_m_rsvd1   0x30000

Definition at line 171 of file core_tsunami.h.

#define pctl_m_rsvd2   0xFFFF000000000000UL

Definition at line 184 of file core_tsunami.h.

#define pctl_m_tgtlat   0x10

Definition at line 165 of file core_tsunami.h.

#define pctl_m_thdis   0x4

Definition at line 163 of file core_tsunami.h.

#define perrmask_m_ape   0x20

Definition at line 224 of file core_tsunami.h.

#define perrmask_m_cre   0x800

Definition at line 230 of file core_tsunami.h.

#define perrmask_m_dcrto   0x8

Definition at line 222 of file core_tsunami.h.

#define perrmask_m_lost   0x1

Definition at line 219 of file core_tsunami.h.

#define perrmask_m_nds   0x100

Definition at line 227 of file core_tsunami.h.

#define perrmask_m_perr   0x4

Definition at line 221 of file core_tsunami.h.

#define perrmask_m_rdpe   0x80

Definition at line 226 of file core_tsunami.h.

#define perrmask_m_rsvd   0xFFFFFFFFFFFFF000UL

Definition at line 231 of file core_tsunami.h.

#define perrmask_m_rto   0x200

Definition at line 228 of file core_tsunami.h.

#define perrmask_m_serr   0x2

Definition at line 220 of file core_tsunami.h.

#define perrmask_m_sge   0x10

Definition at line 223 of file core_tsunami.h.

#define perrmask_m_ta   0x40

Definition at line 225 of file core_tsunami.h.

#define perrmask_m_uecc   0x400

Definition at line 229 of file core_tsunami.h.

#define perror_m_addrh   0x7000000000000UL

Definition at line 111 of file core_tsunami.h.

#define perror_m_addrl   0xFFFFFFFF0000UL

Definition at line 110 of file core_tsunami.h.

#define perror_m_ape   0x20

Definition at line 103 of file core_tsunami.h.

#define perror_m_cmd   0xF0000000000000UL

Definition at line 112 of file core_tsunami.h.

#define perror_m_cre   0x800

Definition at line 109 of file core_tsunami.h.

#define perror_m_dcrto   0x8

Definition at line 101 of file core_tsunami.h.

#define perror_m_lost   0x1

Definition at line 98 of file core_tsunami.h.

#define perror_m_nds   0x100

Definition at line 106 of file core_tsunami.h.

#define perror_m_perr   0x4

Definition at line 100 of file core_tsunami.h.

#define perror_m_rdpe   0x80

Definition at line 105 of file core_tsunami.h.

#define perror_m_rto   0x200

Definition at line 107 of file core_tsunami.h.

#define perror_m_serr   0x2

Definition at line 99 of file core_tsunami.h.

#define perror_m_sge   0x10

Definition at line 102 of file core_tsunami.h.

#define perror_m_syn   0xFF00000000000000UL

Definition at line 113 of file core_tsunami.h.

#define perror_m_ta   0x40

Definition at line 104 of file core_tsunami.h.

#define perror_m_uecc   0x400

Definition at line 108 of file core_tsunami.h.

#define TS_BIAS   0x10000000000UL

Definition at line 22 of file core_tsunami.h.

#define TSUNAMI_BASE   (IDENT_ADDR + TS_BIAS)

Definition at line 256 of file core_tsunami.h.

#define TSUNAMI_cchip   ((tsunami_cchip *)(IDENT_ADDR+TS_BIAS+0x1A0000000UL))

Definition at line 88 of file core_tsunami.h.

#define TSUNAMI_CONF (   h)    (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x1FE000000UL)

Definition at line 261 of file core_tsunami.h.

#define TSUNAMI_DAC_OFFSET   (1UL << 40)

Definition at line 279 of file core_tsunami.h.

#define TSUNAMI_dchip   ((tsunami_dchip *)(IDENT_ADDR+TS_BIAS+0x1B0000800UL))

Definition at line 89 of file core_tsunami.h.

#define TSUNAMI_HOSE (   h)    (((unsigned long)(h)) << 33)

Definition at line 255 of file core_tsunami.h.

#define TSUNAMI_IACK_SC   _TSUNAMI_IACK_SC(0) /* hack! */

Definition at line 263 of file core_tsunami.h.

#define TSUNAMI_IO (   h)    (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x1FC000000UL)

Definition at line 260 of file core_tsunami.h.

#define TSUNAMI_IO_BIAS   TSUNAMI_IO(0)

Definition at line 272 of file core_tsunami.h.

#define TSUNAMI_IO_SPACE   (TSUNAMI_CONF(0) - TSUNAMI_IO(0))

Definition at line 276 of file core_tsunami.h.

#define TSUNAMI_MEM (   h)    (TSUNAMI_BASE+TSUNAMI_HOSE(h) + 0x000000000UL)

Definition at line 258 of file core_tsunami.h.

#define TSUNAMI_MEM_BIAS   TSUNAMI_MEM(0)

Definition at line 273 of file core_tsunami.h.

#define TSUNAMI_pchip0   ((tsunami_pchip *)(IDENT_ADDR+TS_BIAS+0x180000000UL))

Definition at line 90 of file core_tsunami.h.

#define TSUNAMI_pchip1   ((tsunami_pchip *)(IDENT_ADDR+TS_BIAS+0x380000000UL))

Definition at line 91 of file core_tsunami.h.

#define wmask_k_sz1gb   0x3FF00000

Definition at line 145 of file core_tsunami.h.

#define wsba_m_addr   0xFFF00000

Definition at line 144 of file core_tsunami.h.

#define wsba_m_ena   0x1

Definition at line 141 of file core_tsunami.h.

#define wsba_m_ptp   0x4

Definition at line 143 of file core_tsunami.h.

#define wsba_m_sg   0x2

Definition at line 142 of file core_tsunami.h.

Variable Documentation

int TSUNAMI_bootcpu