Go to the documentation of this file. 1 #ifndef __ALPHA_TITAN__H__
2 #define __ALPHA_TITAN__H__
4 #include <linux/types.h>
5 #include <asm/compiler.h>
20 #ifdef USE_48_BIT_KSEG
21 #define TI_BIAS 0x80000000000UL
23 #define TI_BIAS 0x10000000000UL
126 #define TITAN_cchip ((titan_cchip *)(IDENT_ADDR+TI_BIAS+0x1A0000000UL))
127 #define TITAN_dchip ((titan_dchip *)(IDENT_ADDR+TI_BIAS+0x1B0000800UL))
128 #define TITAN_pachip0 ((titan_pachip *)(IDENT_ADDR+TI_BIAS+0x180000000UL))
129 #define TITAN_pachip1 ((titan_pachip *)(IDENT_ADDR+TI_BIAS+0x380000000UL))
137 #define wsba_m_ena 0x1
138 #define wsba_m_sg 0x2
139 #define wsba_m_addr 0xFFF00000
140 #define wmask_k_sz1gb 0x3FF00000
158 #define pctl_m_fbtb 0x00000001
159 #define pctl_m_thdis 0x00000002
160 #define pctl_m_chaindis 0x00000004
161 #define pctl_m_tgtlat 0x00000018
162 #define pctl_m_hole 0x00000020
163 #define pctl_m_mwin 0x00000040
164 #define pctl_m_arbena 0x00000080
165 #define pctl_m_prigrp 0x0000FF00
166 #define pctl_m_ppri 0x00010000
167 #define pctl_m_pcispd66 0x00020000
168 #define pctl_m_cngstlt 0x003C0000
169 #define pctl_m_ptpdesten 0x3FC00000
170 #define pctl_m_dpcen 0x40000000
171 #define pctl_m_apcen 0x0000000080000000UL
172 #define pctl_m_dcrtv 0x0000000300000000UL
173 #define pctl_m_en_stepping 0x0000000400000000UL
174 #define apctl_m_rsvd1 0x000FFFF800000000UL
175 #define apctl_m_agp_rate 0x0030000000000000UL
176 #define apctl_m_agp_sba_en 0x0040000000000000UL
177 #define apctl_m_agp_en 0x0080000000000000UL
178 #define apctl_m_rsvd2 0x0100000000000000UL
179 #define apctl_m_agp_present 0x0200000000000000UL
180 #define apctl_agp_hp_rd 0x1C00000000000000UL
181 #define apctl_agp_lp_rd 0xE000000000000000UL
182 #define gpctl_m_rsvd 0xFFFFFFF800000000UL
296 #define TITAN_HOSE_SHIFT (33)
297 #define TITAN_HOSE(h) (((unsigned long)(h)) << TITAN_HOSE_SHIFT)
298 #define TITAN_BASE (IDENT_ADDR + TI_BIAS)
299 #define TITAN_MEM(h) (TITAN_BASE+TITAN_HOSE(h)+0x000000000UL)
300 #define _TITAN_IACK_SC(h) (TITAN_BASE+TITAN_HOSE(h)+0x1F8000000UL)
301 #define TITAN_IO(h) (TITAN_BASE+TITAN_HOSE(h)+0x1FC000000UL)
302 #define TITAN_CONF(h) (TITAN_BASE+TITAN_HOSE(h)+0x1FE000000UL)
304 #define TITAN_HOSE_MASK TITAN_HOSE(3)
305 #define TITAN_IACK_SC _TITAN_IACK_SC(0)
313 #define TITAN_IO_BIAS TITAN_IO(0)
314 #define TITAN_MEM_BIAS TITAN_MEM(0)
317 #define TITAN_IO_SPACE (TITAN_CONF(0) - TITAN_IO(0))
320 #define TITAN_TIG_SPACE (TITAN_BASE + 0x100000000UL)
324 #define TITAN_DAC_OFFSET (1UL << 40)
329 #define SCB_Q_SYSERR 0x620
330 #define SCB_Q_PROCERR 0x630
331 #define SCB_Q_SYSMCHK 0x660
332 #define SCB_Q_PROCMCHK 0x670
333 #define SCB_Q_SYSEVENT 0x680
367 #ifndef __EXTERN_INLINE
368 #define __EXTERN_INLINE extern inline
369 #define __IO_EXTERN_INLINE
394 #define __IO_PREFIX titan
395 #define titan_trivial_rw_bw 1
396 #define titan_trivial_rw_lq 1
397 #define titan_trivial_io_bw 1
398 #define titan_trivial_io_lq 1
399 #define titan_trivial_iounmap 0
402 #ifdef __IO_EXTERN_INLINE
403 #undef __EXTERN_INLINE
404 #undef __IO_EXTERN_INLINE