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

Go to the source code of this file.

Data Structures

struct  titan_64
 
struct  titan_cchip
 
struct  titan_dchip
 
struct  titan_pachip_port
 
struct  titan_pachip
 
union  TPAchipWSBA
 
union  TPAchipPCTL
 
union  TPAchipSERR
 
union  TPAchipPERR
 
union  TPAchipAGPERR
 
struct  el_TITAN_sysdata_mcheck
 
struct  el_PRIVATEER_envdata_mcheck
 

Macros

#define TI_BIAS   0x10000000000UL
 
#define TITAN_cchip   ((titan_cchip *)(IDENT_ADDR+TI_BIAS+0x1A0000000UL))
 
#define TITAN_dchip   ((titan_dchip *)(IDENT_ADDR+TI_BIAS+0x1B0000800UL))
 
#define TITAN_pachip0   ((titan_pachip *)(IDENT_ADDR+TI_BIAS+0x180000000UL))
 
#define TITAN_pachip1   ((titan_pachip *)(IDENT_ADDR+TI_BIAS+0x380000000UL))
 
#define wsba_m_ena   0x1
 
#define wsba_m_sg   0x2
 
#define wsba_m_addr   0xFFF00000
 
#define wmask_k_sz1gb   0x3FF00000
 
#define pctl_m_fbtb   0x00000001
 
#define pctl_m_thdis   0x00000002
 
#define pctl_m_chaindis   0x00000004
 
#define pctl_m_tgtlat   0x00000018
 
#define pctl_m_hole   0x00000020
 
#define pctl_m_mwin   0x00000040
 
#define pctl_m_arbena   0x00000080
 
#define pctl_m_prigrp   0x0000FF00
 
#define pctl_m_ppri   0x00010000
 
#define pctl_m_pcispd66   0x00020000
 
#define pctl_m_cngstlt   0x003C0000
 
#define pctl_m_ptpdesten   0x3FC00000
 
#define pctl_m_dpcen   0x40000000
 
#define pctl_m_apcen   0x0000000080000000UL
 
#define pctl_m_dcrtv   0x0000000300000000UL
 
#define pctl_m_en_stepping   0x0000000400000000UL
 
#define apctl_m_rsvd1   0x000FFFF800000000UL
 
#define apctl_m_agp_rate   0x0030000000000000UL
 
#define apctl_m_agp_sba_en   0x0040000000000000UL
 
#define apctl_m_agp_en   0x0080000000000000UL
 
#define apctl_m_rsvd2   0x0100000000000000UL
 
#define apctl_m_agp_present   0x0200000000000000UL
 
#define apctl_agp_hp_rd   0x1C00000000000000UL
 
#define apctl_agp_lp_rd   0xE000000000000000UL
 
#define gpctl_m_rsvd   0xFFFFFFF800000000UL
 
#define TITAN_HOSE_SHIFT   (33)
 
#define TITAN_HOSE(h)   (((unsigned long)(h)) << TITAN_HOSE_SHIFT)
 
#define TITAN_BASE   (IDENT_ADDR + TI_BIAS)
 
#define TITAN_MEM(h)   (TITAN_BASE+TITAN_HOSE(h)+0x000000000UL)
 
#define _TITAN_IACK_SC(h)   (TITAN_BASE+TITAN_HOSE(h)+0x1F8000000UL)
 
#define TITAN_IO(h)   (TITAN_BASE+TITAN_HOSE(h)+0x1FC000000UL)
 
#define TITAN_CONF(h)   (TITAN_BASE+TITAN_HOSE(h)+0x1FE000000UL)
 
#define TITAN_HOSE_MASK   TITAN_HOSE(3)
 
#define TITAN_IACK_SC   _TITAN_IACK_SC(0) /* hack! */
 
#define TITAN_IO_BIAS   TITAN_IO(0)
 
#define TITAN_MEM_BIAS   TITAN_MEM(0)
 
#define TITAN_IO_SPACE   (TITAN_CONF(0) - TITAN_IO(0))
 
#define TITAN_TIG_SPACE   (TITAN_BASE + 0x100000000UL)
 
#define TITAN_DAC_OFFSET   (1UL << 40)
 
#define SCB_Q_SYSERR   0x620
 
#define SCB_Q_PROCERR   0x630
 
#define SCB_Q_SYSMCHK   0x660
 
#define SCB_Q_PROCMCHK   0x670
 
#define SCB_Q_SYSEVENT   0x680 /* environmental / system management */
 

Variables

unsigned TITAN_agp
 
int TITAN_bootcpu
 

Macro Definition Documentation

#define _TITAN_IACK_SC (   h)    (TITAN_BASE+TITAN_HOSE(h)+0x1F8000000UL)

Definition at line 300 of file core_titan.h.

#define apctl_agp_hp_rd   0x1C00000000000000UL

Definition at line 180 of file core_titan.h.

#define apctl_agp_lp_rd   0xE000000000000000UL

Definition at line 181 of file core_titan.h.

#define apctl_m_agp_en   0x0080000000000000UL

Definition at line 177 of file core_titan.h.

#define apctl_m_agp_present   0x0200000000000000UL

Definition at line 179 of file core_titan.h.

#define apctl_m_agp_rate   0x0030000000000000UL

Definition at line 175 of file core_titan.h.

#define apctl_m_agp_sba_en   0x0040000000000000UL

Definition at line 176 of file core_titan.h.

#define apctl_m_rsvd1   0x000FFFF800000000UL

Definition at line 174 of file core_titan.h.

#define apctl_m_rsvd2   0x0100000000000000UL

Definition at line 178 of file core_titan.h.

#define gpctl_m_rsvd   0xFFFFFFF800000000UL

Definition at line 182 of file core_titan.h.

#define pctl_m_apcen   0x0000000080000000UL

Definition at line 171 of file core_titan.h.

#define pctl_m_arbena   0x00000080

Definition at line 164 of file core_titan.h.

#define pctl_m_chaindis   0x00000004

Definition at line 160 of file core_titan.h.

#define pctl_m_cngstlt   0x003C0000

Definition at line 168 of file core_titan.h.

#define pctl_m_dcrtv   0x0000000300000000UL

Definition at line 172 of file core_titan.h.

#define pctl_m_dpcen   0x40000000

Definition at line 170 of file core_titan.h.

#define pctl_m_en_stepping   0x0000000400000000UL

Definition at line 173 of file core_titan.h.

#define pctl_m_fbtb   0x00000001

Definition at line 158 of file core_titan.h.

#define pctl_m_hole   0x00000020

Definition at line 162 of file core_titan.h.

#define pctl_m_mwin   0x00000040

Definition at line 163 of file core_titan.h.

#define pctl_m_pcispd66   0x00020000

Definition at line 167 of file core_titan.h.

#define pctl_m_ppri   0x00010000

Definition at line 166 of file core_titan.h.

#define pctl_m_prigrp   0x0000FF00

Definition at line 165 of file core_titan.h.

#define pctl_m_ptpdesten   0x3FC00000

Definition at line 169 of file core_titan.h.

#define pctl_m_tgtlat   0x00000018

Definition at line 161 of file core_titan.h.

#define pctl_m_thdis   0x00000002

Definition at line 159 of file core_titan.h.

#define SCB_Q_PROCERR   0x630

Definition at line 330 of file core_titan.h.

#define SCB_Q_PROCMCHK   0x670

Definition at line 332 of file core_titan.h.

#define SCB_Q_SYSERR   0x620

Definition at line 329 of file core_titan.h.

#define SCB_Q_SYSEVENT   0x680 /* environmental / system management */

Definition at line 333 of file core_titan.h.

#define SCB_Q_SYSMCHK   0x660

Definition at line 331 of file core_titan.h.

#define TI_BIAS   0x10000000000UL

Definition at line 23 of file core_titan.h.

#define TITAN_BASE   (IDENT_ADDR + TI_BIAS)

Definition at line 298 of file core_titan.h.

#define TITAN_cchip   ((titan_cchip *)(IDENT_ADDR+TI_BIAS+0x1A0000000UL))

Definition at line 126 of file core_titan.h.

#define TITAN_CONF (   h)    (TITAN_BASE+TITAN_HOSE(h)+0x1FE000000UL)

Definition at line 302 of file core_titan.h.

#define TITAN_DAC_OFFSET   (1UL << 40)

Definition at line 324 of file core_titan.h.

#define TITAN_dchip   ((titan_dchip *)(IDENT_ADDR+TI_BIAS+0x1B0000800UL))

Definition at line 127 of file core_titan.h.

#define TITAN_HOSE (   h)    (((unsigned long)(h)) << TITAN_HOSE_SHIFT)

Definition at line 297 of file core_titan.h.

#define TITAN_HOSE_MASK   TITAN_HOSE(3)

Definition at line 304 of file core_titan.h.

#define TITAN_HOSE_SHIFT   (33)

Definition at line 296 of file core_titan.h.

#define TITAN_IACK_SC   _TITAN_IACK_SC(0) /* hack! */

Definition at line 305 of file core_titan.h.

#define TITAN_IO (   h)    (TITAN_BASE+TITAN_HOSE(h)+0x1FC000000UL)

Definition at line 301 of file core_titan.h.

#define TITAN_IO_BIAS   TITAN_IO(0)

Definition at line 313 of file core_titan.h.

#define TITAN_IO_SPACE   (TITAN_CONF(0) - TITAN_IO(0))

Definition at line 317 of file core_titan.h.

#define TITAN_MEM (   h)    (TITAN_BASE+TITAN_HOSE(h)+0x000000000UL)

Definition at line 299 of file core_titan.h.

#define TITAN_MEM_BIAS   TITAN_MEM(0)

Definition at line 314 of file core_titan.h.

#define TITAN_pachip0   ((titan_pachip *)(IDENT_ADDR+TI_BIAS+0x180000000UL))

Definition at line 128 of file core_titan.h.

#define TITAN_pachip1   ((titan_pachip *)(IDENT_ADDR+TI_BIAS+0x380000000UL))

Definition at line 129 of file core_titan.h.

#define TITAN_TIG_SPACE   (TITAN_BASE + 0x100000000UL)

Definition at line 320 of file core_titan.h.

#define wmask_k_sz1gb   0x3FF00000

Definition at line 140 of file core_titan.h.

#define wsba_m_addr   0xFFF00000

Definition at line 139 of file core_titan.h.

#define wsba_m_ena   0x1

Definition at line 137 of file core_titan.h.

#define wsba_m_sg   0x2

Definition at line 138 of file core_titan.h.

Variable Documentation

unsigned TITAN_agp
int TITAN_bootcpu