Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
titan_dep.h File Reference
#include <asm/addrspace.h>
#include <asm/byteorder.h>

Go to the source code of this file.

Macros

#define TITAN_READ(ofs)   (*(volatile u32 *)(ocd_base+(ofs)))
 
#define TITAN_READ_16(ofs)   (*(volatile u16 *)(ocd_base+(ofs)))
 
#define TITAN_READ_8(ofs)   (*(volatile u8 *)(ocd_base+(ofs)))
 
#define TITAN_WRITE(ofs, data)   do { *(volatile u32 *)(ocd_base+(ofs)) = (data); } while (0)
 
#define TITAN_WRITE_16(ofs, data)   do { *(volatile u16 *)(ocd_base+(ofs)) = (data); } while (0)
 
#define TITAN_WRITE_8(ofs, data)   do { *(volatile u8 *)(ocd_base+(ofs)) = (data); } while (0)
 
#define TITAN_PCI_0_CONFIG_ADDRESS   0x780
 
#define TITAN_PCI_0_CONFIG_DATA   0x784
 
#define RM9000x2_HTLINK_REG   0xbb000644
 
#define RM9000x2_BASE_ADDR   0xbb000000
 
#define OCD_BASE   0xfb000000UL
 
#define OCD_SIZE   0x3000UL
 
#define RM9000x2_OCD_LKB5   0x0128 /* Ethernet */
 
#define RM9000x2_OCD_LKM5   0x012c
 
#define RM9000x2_OCD_LKB7   0x0138 /* HT Region 0 */
 
#define RM9000x2_OCD_LKM7   0x013c
 
#define RM9000x2_OCD_LKB8   0x0140 /* HT Region 1 */
 
#define RM9000x2_OCD_LKM8   0x0144
 
#define RM9000x2_OCD_LKB9   0x0148 /* Local Bus */
 
#define RM9000x2_OCD_LKM9   0x014c
 
#define RM9000x2_OCD_LKB10   0x0150
 
#define RM9000x2_OCD_LKM10   0x0154
 
#define RM9000x2_OCD_LKB11   0x0158
 
#define RM9000x2_OCD_LKM11   0x015c
 
#define RM9000x2_OCD_LKB12   0x0160
 
#define RM9000x2_OCD_LKM12   0x0164
 
#define RM9000x2_OCD_LKB13   0x0168 /* Scratch RAM */
 
#define RM9000x2_OCD_LKM13   0x016c
 
#define RM9000x2_OCD_LPD0   0x0200 /* Local Bus */
 
#define RM9000x2_OCD_LPD1   0x0210
 
#define RM9000x2_OCD_LPD2   0x0220
 
#define RM9000x2_OCD_LPD3   0x0230
 
#define RM9000x2_OCD_HTDVID   0x0600 /* HT Device Header */
 
#define RM9000x2_OCD_HTSC   0x0604
 
#define RM9000x2_OCD_HTCCR   0x0608
 
#define RM9000x2_OCD_HTBHL   0x060c
 
#define RM9000x2_OCD_HTBAR0   0x0610
 
#define RM9000x2_OCD_HTBAR1   0x0614
 
#define RM9000x2_OCD_HTBAR2   0x0618
 
#define RM9000x2_OCD_HTBAR3   0x061c
 
#define RM9000x2_OCD_HTBAR4   0x0620
 
#define RM9000x2_OCD_HTBAR5   0x0624
 
#define RM9000x2_OCD_HTCBCPT   0x0628
 
#define RM9000x2_OCD_HTSDVID   0x062c
 
#define RM9000x2_OCD_HTXRA   0x0630
 
#define RM9000x2_OCD_HTCAP1   0x0634
 
#define RM9000x2_OCD_HTIL   0x063c
 
#define RM9000x2_OCD_HTLCC   0x0640 /* HT Capability Block */
 
#define RM9000x2_OCD_HTLINK   0x0644
 
#define RM9000x2_OCD_HTFQREV   0x0648
 
#define RM9000x2_OCD_HTERCTL   0x0668 /* HT Controller */
 
#define RM9000x2_OCD_HTRXDB   0x066c
 
#define RM9000x2_OCD_HTIMPED   0x0670
 
#define RM9000x2_OCD_HTSWIMP   0x0674
 
#define RM9000x2_OCD_HTCAL   0x0678
 
#define RM9000x2_OCD_HTBAA30   0x0680
 
#define RM9000x2_OCD_HTBAA54   0x0684
 
#define RM9000x2_OCD_HTMASK0   0x0688
 
#define RM9000x2_OCD_HTMASK1   0x068c
 
#define RM9000x2_OCD_HTMASK2   0x0690
 
#define RM9000x2_OCD_HTMASK3   0x0694
 
#define RM9000x2_OCD_HTMASK4   0x0698
 
#define RM9000x2_OCD_HTMASK5   0x069c
 
#define RM9000x2_OCD_HTIFCTL   0x06a0
 
#define RM9000x2_OCD_HTPLL   0x06a4
 
#define RM9000x2_OCD_HTSRI   0x06b0
 
#define RM9000x2_OCD_HTRXNUM   0x06b4
 
#define RM9000x2_OCD_HTTXNUM   0x06b8
 
#define RM9000x2_OCD_HTTXCNT   0x06c8
 
#define RM9000x2_OCD_HTERROR   0x06d8
 
#define RM9000x2_OCD_HTRCRCE   0x06dc
 
#define RM9000x2_OCD_HTEOI   0x06e0
 
#define RM9000x2_OCD_CRCR   0x06f0
 
#define RM9000x2_OCD_HTCFGA   0x06f8
 
#define RM9000x2_OCD_HTCFGD   0x06fc
 
#define RM9000x2_OCD_INTMSG   0x0a00
 
#define RM9000x2_OCD_INTPIN0   0x0a40
 
#define RM9000x2_OCD_INTPIN1   0x0a44
 
#define RM9000x2_OCD_INTPIN2   0x0a48
 
#define RM9000x2_OCD_INTPIN3   0x0a4c
 
#define RM9000x2_OCD_INTPIN4   0x0a50
 
#define RM9000x2_OCD_INTPIN5   0x0a54
 
#define RM9000x2_OCD_INTPIN6   0x0a58
 
#define RM9000x2_OCD_INTPIN7   0x0a5c
 
#define RM9000x2_OCD_SEM   0x0a60
 
#define RM9000x2_OCD_SEMSET   0x0a64
 
#define RM9000x2_OCD_SEMCLR   0x0a68
 
#define RM9000x2_OCD_TKT   0x0a70
 
#define RM9000x2_OCD_TKTINC   0x0a74
 
#define RM9000x2_OCD_NMICONFIG   0x0ac0 /* Interrupts */
 
#define RM9000x2_OCD_INTP0PRI   0x1a80
 
#define RM9000x2_OCD_INTP1PRI   0x1a80
 
#define RM9000x2_OCD_INTP0STATUS0   0x1b00
 
#define RM9000x2_OCD_INTP0MASK0   0x1b04
 
#define RM9000x2_OCD_INTP0SET0   0x1b08
 
#define RM9000x2_OCD_INTP0CLEAR0   0x1b0c
 
#define RM9000x2_OCD_INTP0STATUS1   0x1b10
 
#define RM9000x2_OCD_INTP0MASK1   0x1b14
 
#define RM9000x2_OCD_INTP0SET1   0x1b18
 
#define RM9000x2_OCD_INTP0CLEAR1   0x1b1c
 
#define RM9000x2_OCD_INTP0STATUS2   0x1b20
 
#define RM9000x2_OCD_INTP0MASK2   0x1b24
 
#define RM9000x2_OCD_INTP0SET2   0x1b28
 
#define RM9000x2_OCD_INTP0CLEAR2   0x1b2c
 
#define RM9000x2_OCD_INTP0STATUS3   0x1b30
 
#define RM9000x2_OCD_INTP0MASK3   0x1b34
 
#define RM9000x2_OCD_INTP0SET3   0x1b38
 
#define RM9000x2_OCD_INTP0CLEAR3   0x1b3c
 
#define RM9000x2_OCD_INTP0STATUS4   0x1b40
 
#define RM9000x2_OCD_INTP0MASK4   0x1b44
 
#define RM9000x2_OCD_INTP0SET4   0x1b48
 
#define RM9000x2_OCD_INTP0CLEAR4   0x1b4c
 
#define RM9000x2_OCD_INTP0STATUS5   0x1b50
 
#define RM9000x2_OCD_INTP0MASK5   0x1b54
 
#define RM9000x2_OCD_INTP0SET5   0x1b58
 
#define RM9000x2_OCD_INTP0CLEAR5   0x1b5c
 
#define RM9000x2_OCD_INTP0STATUS6   0x1b60
 
#define RM9000x2_OCD_INTP0MASK6   0x1b64
 
#define RM9000x2_OCD_INTP0SET6   0x1b68
 
#define RM9000x2_OCD_INTP0CLEAR6   0x1b6c
 
#define RM9000x2_OCD_INTP0STATUS7   0x1b70
 
#define RM9000x2_OCD_INTP0MASK7   0x1b74
 
#define RM9000x2_OCD_INTP0SET7   0x1b78
 
#define RM9000x2_OCD_INTP0CLEAR7   0x1b7c
 
#define RM9000x2_OCD_INTP1STATUS0   0x2b00
 
#define RM9000x2_OCD_INTP1MASK0   0x2b04
 
#define RM9000x2_OCD_INTP1SET0   0x2b08
 
#define RM9000x2_OCD_INTP1CLEAR0   0x2b0c
 
#define RM9000x2_OCD_INTP1STATUS1   0x2b10
 
#define RM9000x2_OCD_INTP1MASK1   0x2b14
 
#define RM9000x2_OCD_INTP1SET1   0x2b18
 
#define RM9000x2_OCD_INTP1CLEAR1   0x2b1c
 
#define RM9000x2_OCD_INTP1STATUS2   0x2b20
 
#define RM9000x2_OCD_INTP1MASK2   0x2b24
 
#define RM9000x2_OCD_INTP1SET2   0x2b28
 
#define RM9000x2_OCD_INTP1CLEAR2   0x2b2c
 
#define RM9000x2_OCD_INTP1STATUS3   0x2b30
 
#define RM9000x2_OCD_INTP1MASK3   0x2b34
 
#define RM9000x2_OCD_INTP1SET3   0x2b38
 
#define RM9000x2_OCD_INTP1CLEAR3   0x2b3c
 
#define RM9000x2_OCD_INTP1STATUS4   0x2b40
 
#define RM9000x2_OCD_INTP1MASK4   0x2b44
 
#define RM9000x2_OCD_INTP1SET4   0x2b48
 
#define RM9000x2_OCD_INTP1CLEAR4   0x2b4c
 
#define RM9000x2_OCD_INTP1STATUS5   0x2b50
 
#define RM9000x2_OCD_INTP1MASK5   0x2b54
 
#define RM9000x2_OCD_INTP1SET5   0x2b58
 
#define RM9000x2_OCD_INTP1CLEAR5   0x2b5c
 
#define RM9000x2_OCD_INTP1STATUS6   0x2b60
 
#define RM9000x2_OCD_INTP1MASK6   0x2b64
 
#define RM9000x2_OCD_INTP1SET6   0x2b68
 
#define RM9000x2_OCD_INTP1CLEAR6   0x2b6c
 
#define RM9000x2_OCD_INTP1STATUS7   0x2b70
 
#define RM9000x2_OCD_INTP1MASK7   0x2b74
 
#define RM9000x2_OCD_INTP1SET7   0x2b78
 
#define RM9000x2_OCD_INTP1CLEAR7   0x2b7c
 
#define OCD_READ(reg)   (*(volatile unsigned int *)(ocd_base + (reg)))
 
#define OCD_WRITE(reg, val)   do { *(volatile unsigned int *)(ocd_base + (reg)) = (val); } while (0)
 
#define RM9K_WRITE(ofs, data)   *(volatile u_int32_t *)(RM9000x2_BASE_ADDR+ofs) = data
 
#define RM9K_WRITE_8(ofs, data)   *(volatile u8 *)(RM9000x2_BASE_ADDR+ofs) = data
 
#define RM9K_WRITE_16(ofs, data)   *(volatile u16 *)(RM9000x2_BASE_ADDR+ofs) = data
 
#define RM9K_READ(ofs, val)   *(val) = *(volatile u_int32_t *)(RM9000x2_BASE_ADDR+ofs)
 
#define RM9K_READ_8(ofs, val)   *(val) = *(volatile u8 *)(RM9000x2_BASE_ADDR+ofs)
 
#define RM9K_READ_16(ofs, val)   *(val) = *(volatile u16 *)(RM9000x2_BASE_ADDR+ofs)
 

Variables

unsigned long ocd_base
 

Macro Definition Documentation

#define OCD_BASE   0xfb000000UL

Definition at line 45 of file titan_dep.h.

#define OCD_READ (   reg)    (*(volatile unsigned int *)(ocd_base + (reg)))

Definition at line 216 of file titan_dep.h.

#define OCD_SIZE   0x3000UL

Definition at line 46 of file titan_dep.h.

#define OCD_WRITE (   reg,
  val 
)    do { *(volatile unsigned int *)(ocd_base + (reg)) = (val); } while (0)

Definition at line 217 of file titan_dep.h.

#define RM9000x2_BASE_ADDR   0xbb000000

Definition at line 43 of file titan_dep.h.

#define RM9000x2_HTLINK_REG   0xbb000644

Definition at line 42 of file titan_dep.h.

#define RM9000x2_OCD_CRCR   0x06f0

Definition at line 126 of file titan_dep.h.

#define RM9000x2_OCD_HTBAA30   0x0680

Definition at line 104 of file titan_dep.h.

#define RM9000x2_OCD_HTBAA54   0x0684

Definition at line 105 of file titan_dep.h.

#define RM9000x2_OCD_HTBAR0   0x0610

Definition at line 82 of file titan_dep.h.

#define RM9000x2_OCD_HTBAR1   0x0614

Definition at line 83 of file titan_dep.h.

#define RM9000x2_OCD_HTBAR2   0x0618

Definition at line 84 of file titan_dep.h.

#define RM9000x2_OCD_HTBAR3   0x061c

Definition at line 85 of file titan_dep.h.

#define RM9000x2_OCD_HTBAR4   0x0620

Definition at line 86 of file titan_dep.h.

#define RM9000x2_OCD_HTBAR5   0x0624

Definition at line 87 of file titan_dep.h.

#define RM9000x2_OCD_HTBHL   0x060c

Definition at line 81 of file titan_dep.h.

#define RM9000x2_OCD_HTCAL   0x0678

Definition at line 102 of file titan_dep.h.

#define RM9000x2_OCD_HTCAP1   0x0634

Definition at line 91 of file titan_dep.h.

#define RM9000x2_OCD_HTCBCPT   0x0628

Definition at line 88 of file titan_dep.h.

#define RM9000x2_OCD_HTCCR   0x0608

Definition at line 80 of file titan_dep.h.

#define RM9000x2_OCD_HTCFGA   0x06f8

Definition at line 128 of file titan_dep.h.

#define RM9000x2_OCD_HTCFGD   0x06fc

Definition at line 129 of file titan_dep.h.

#define RM9000x2_OCD_HTDVID   0x0600 /* HT Device Header */

Definition at line 78 of file titan_dep.h.

#define RM9000x2_OCD_HTEOI   0x06e0

Definition at line 124 of file titan_dep.h.

#define RM9000x2_OCD_HTERCTL   0x0668 /* HT Controller */

Definition at line 98 of file titan_dep.h.

#define RM9000x2_OCD_HTERROR   0x06d8

Definition at line 122 of file titan_dep.h.

#define RM9000x2_OCD_HTFQREV   0x0648

Definition at line 96 of file titan_dep.h.

#define RM9000x2_OCD_HTIFCTL   0x06a0

Definition at line 113 of file titan_dep.h.

#define RM9000x2_OCD_HTIL   0x063c

Definition at line 92 of file titan_dep.h.

#define RM9000x2_OCD_HTIMPED   0x0670

Definition at line 100 of file titan_dep.h.

#define RM9000x2_OCD_HTLCC   0x0640 /* HT Capability Block */

Definition at line 94 of file titan_dep.h.

#define RM9000x2_OCD_HTLINK   0x0644

Definition at line 95 of file titan_dep.h.

#define RM9000x2_OCD_HTMASK0   0x0688

Definition at line 106 of file titan_dep.h.

#define RM9000x2_OCD_HTMASK1   0x068c

Definition at line 107 of file titan_dep.h.

#define RM9000x2_OCD_HTMASK2   0x0690

Definition at line 108 of file titan_dep.h.

#define RM9000x2_OCD_HTMASK3   0x0694

Definition at line 109 of file titan_dep.h.

#define RM9000x2_OCD_HTMASK4   0x0698

Definition at line 110 of file titan_dep.h.

#define RM9000x2_OCD_HTMASK5   0x069c

Definition at line 111 of file titan_dep.h.

#define RM9000x2_OCD_HTPLL   0x06a4

Definition at line 114 of file titan_dep.h.

#define RM9000x2_OCD_HTRCRCE   0x06dc

Definition at line 123 of file titan_dep.h.

#define RM9000x2_OCD_HTRXDB   0x066c

Definition at line 99 of file titan_dep.h.

#define RM9000x2_OCD_HTRXNUM   0x06b4

Definition at line 117 of file titan_dep.h.

#define RM9000x2_OCD_HTSC   0x0604

Definition at line 79 of file titan_dep.h.

#define RM9000x2_OCD_HTSDVID   0x062c

Definition at line 89 of file titan_dep.h.

#define RM9000x2_OCD_HTSRI   0x06b0

Definition at line 116 of file titan_dep.h.

#define RM9000x2_OCD_HTSWIMP   0x0674

Definition at line 101 of file titan_dep.h.

#define RM9000x2_OCD_HTTXCNT   0x06c8

Definition at line 120 of file titan_dep.h.

#define RM9000x2_OCD_HTTXNUM   0x06b8

Definition at line 118 of file titan_dep.h.

#define RM9000x2_OCD_HTXRA   0x0630

Definition at line 90 of file titan_dep.h.

#define RM9000x2_OCD_INTMSG   0x0a00

Definition at line 131 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR0   0x1b0c

Definition at line 154 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR1   0x1b1c

Definition at line 158 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR2   0x1b2c

Definition at line 162 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR3   0x1b3c

Definition at line 166 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR4   0x1b4c

Definition at line 170 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR5   0x1b5c

Definition at line 174 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR6   0x1b6c

Definition at line 178 of file titan_dep.h.

#define RM9000x2_OCD_INTP0CLEAR7   0x1b7c

Definition at line 182 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK0   0x1b04

Definition at line 152 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK1   0x1b14

Definition at line 156 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK2   0x1b24

Definition at line 160 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK3   0x1b34

Definition at line 164 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK4   0x1b44

Definition at line 168 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK5   0x1b54

Definition at line 172 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK6   0x1b64

Definition at line 176 of file titan_dep.h.

#define RM9000x2_OCD_INTP0MASK7   0x1b74

Definition at line 180 of file titan_dep.h.

#define RM9000x2_OCD_INTP0PRI   0x1a80

Definition at line 149 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET0   0x1b08

Definition at line 153 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET1   0x1b18

Definition at line 157 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET2   0x1b28

Definition at line 161 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET3   0x1b38

Definition at line 165 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET4   0x1b48

Definition at line 169 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET5   0x1b58

Definition at line 173 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET6   0x1b68

Definition at line 177 of file titan_dep.h.

#define RM9000x2_OCD_INTP0SET7   0x1b78

Definition at line 181 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS0   0x1b00

Definition at line 151 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS1   0x1b10

Definition at line 155 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS2   0x1b20

Definition at line 159 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS3   0x1b30

Definition at line 163 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS4   0x1b40

Definition at line 167 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS5   0x1b50

Definition at line 171 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS6   0x1b60

Definition at line 175 of file titan_dep.h.

#define RM9000x2_OCD_INTP0STATUS7   0x1b70

Definition at line 179 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR0   0x2b0c

Definition at line 186 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR1   0x2b1c

Definition at line 190 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR2   0x2b2c

Definition at line 194 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR3   0x2b3c

Definition at line 198 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR4   0x2b4c

Definition at line 202 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR5   0x2b5c

Definition at line 206 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR6   0x2b6c

Definition at line 210 of file titan_dep.h.

#define RM9000x2_OCD_INTP1CLEAR7   0x2b7c

Definition at line 214 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK0   0x2b04

Definition at line 184 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK1   0x2b14

Definition at line 188 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK2   0x2b24

Definition at line 192 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK3   0x2b34

Definition at line 196 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK4   0x2b44

Definition at line 200 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK5   0x2b54

Definition at line 204 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK6   0x2b64

Definition at line 208 of file titan_dep.h.

#define RM9000x2_OCD_INTP1MASK7   0x2b74

Definition at line 212 of file titan_dep.h.

#define RM9000x2_OCD_INTP1PRI   0x1a80

Definition at line 150 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET0   0x2b08

Definition at line 185 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET1   0x2b18

Definition at line 189 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET2   0x2b28

Definition at line 193 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET3   0x2b38

Definition at line 197 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET4   0x2b48

Definition at line 201 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET5   0x2b58

Definition at line 205 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET6   0x2b68

Definition at line 209 of file titan_dep.h.

#define RM9000x2_OCD_INTP1SET7   0x2b78

Definition at line 213 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS0   0x2b00

Definition at line 183 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS1   0x2b10

Definition at line 187 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS2   0x2b20

Definition at line 191 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS3   0x2b30

Definition at line 195 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS4   0x2b40

Definition at line 199 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS5   0x2b50

Definition at line 203 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS6   0x2b60

Definition at line 207 of file titan_dep.h.

#define RM9000x2_OCD_INTP1STATUS7   0x2b70

Definition at line 211 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN0   0x0a40

Definition at line 133 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN1   0x0a44

Definition at line 134 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN2   0x0a48

Definition at line 135 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN3   0x0a4c

Definition at line 136 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN4   0x0a50

Definition at line 137 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN5   0x0a54

Definition at line 138 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN6   0x0a58

Definition at line 139 of file titan_dep.h.

#define RM9000x2_OCD_INTPIN7   0x0a5c

Definition at line 140 of file titan_dep.h.

#define RM9000x2_OCD_LKB10   0x0150

Definition at line 63 of file titan_dep.h.

#define RM9000x2_OCD_LKB11   0x0158

Definition at line 65 of file titan_dep.h.

#define RM9000x2_OCD_LKB12   0x0160

Definition at line 67 of file titan_dep.h.

#define RM9000x2_OCD_LKB13   0x0168 /* Scratch RAM */

Definition at line 70 of file titan_dep.h.

#define RM9000x2_OCD_LKB5   0x0128 /* Ethernet */

Definition at line 53 of file titan_dep.h.

#define RM9000x2_OCD_LKB7   0x0138 /* HT Region 0 */

Definition at line 56 of file titan_dep.h.

#define RM9000x2_OCD_LKB8   0x0140 /* HT Region 1 */

Definition at line 58 of file titan_dep.h.

#define RM9000x2_OCD_LKB9   0x0148 /* Local Bus */

Definition at line 61 of file titan_dep.h.

#define RM9000x2_OCD_LKM10   0x0154

Definition at line 64 of file titan_dep.h.

#define RM9000x2_OCD_LKM11   0x015c

Definition at line 66 of file titan_dep.h.

#define RM9000x2_OCD_LKM12   0x0164

Definition at line 68 of file titan_dep.h.

#define RM9000x2_OCD_LKM13   0x016c

Definition at line 71 of file titan_dep.h.

#define RM9000x2_OCD_LKM5   0x012c

Definition at line 54 of file titan_dep.h.

#define RM9000x2_OCD_LKM7   0x013c

Definition at line 57 of file titan_dep.h.

#define RM9000x2_OCD_LKM8   0x0144

Definition at line 59 of file titan_dep.h.

#define RM9000x2_OCD_LKM9   0x014c

Definition at line 62 of file titan_dep.h.

#define RM9000x2_OCD_LPD0   0x0200 /* Local Bus */

Definition at line 73 of file titan_dep.h.

#define RM9000x2_OCD_LPD1   0x0210

Definition at line 74 of file titan_dep.h.

#define RM9000x2_OCD_LPD2   0x0220

Definition at line 75 of file titan_dep.h.

#define RM9000x2_OCD_LPD3   0x0230

Definition at line 76 of file titan_dep.h.

#define RM9000x2_OCD_NMICONFIG   0x0ac0 /* Interrupts */

Definition at line 148 of file titan_dep.h.

#define RM9000x2_OCD_SEM   0x0a60

Definition at line 141 of file titan_dep.h.

#define RM9000x2_OCD_SEMCLR   0x0a68

Definition at line 143 of file titan_dep.h.

#define RM9000x2_OCD_SEMSET   0x0a64

Definition at line 142 of file titan_dep.h.

#define RM9000x2_OCD_TKT   0x0a70

Definition at line 145 of file titan_dep.h.

#define RM9000x2_OCD_TKTINC   0x0a74

Definition at line 146 of file titan_dep.h.

#define RM9K_READ (   ofs,
  val 
)    *(val) = *(volatile u_int32_t *)(RM9000x2_BASE_ADDR+ofs)

Definition at line 227 of file titan_dep.h.

#define RM9K_READ_16 (   ofs,
  val 
)    *(val) = *(volatile u16 *)(RM9000x2_BASE_ADDR+ofs)

Definition at line 229 of file titan_dep.h.

#define RM9K_READ_8 (   ofs,
  val 
)    *(val) = *(volatile u8 *)(RM9000x2_BASE_ADDR+ofs)

Definition at line 228 of file titan_dep.h.

#define RM9K_WRITE (   ofs,
  data 
)    *(volatile u_int32_t *)(RM9000x2_BASE_ADDR+ofs) = data

Definition at line 223 of file titan_dep.h.

#define RM9K_WRITE_16 (   ofs,
  data 
)    *(volatile u16 *)(RM9000x2_BASE_ADDR+ofs) = data

Definition at line 225 of file titan_dep.h.

#define RM9K_WRITE_8 (   ofs,
  data 
)    *(volatile u8 *)(RM9000x2_BASE_ADDR+ofs) = data

Definition at line 224 of file titan_dep.h.

#define TITAN_PCI_0_CONFIG_ADDRESS   0x780

Definition at line 36 of file titan_dep.h.

#define TITAN_PCI_0_CONFIG_DATA   0x784

Definition at line 37 of file titan_dep.h.

#define TITAN_READ (   ofs)    (*(volatile u32 *)(ocd_base+(ofs)))

Definition at line 19 of file titan_dep.h.

#define TITAN_READ_16 (   ofs)    (*(volatile u16 *)(ocd_base+(ofs)))

Definition at line 21 of file titan_dep.h.

#define TITAN_READ_8 (   ofs)    (*(volatile u8 *)(ocd_base+(ofs)))

Definition at line 23 of file titan_dep.h.

#define TITAN_WRITE (   ofs,
  data 
)    do { *(volatile u32 *)(ocd_base+(ofs)) = (data); } while (0)

Definition at line 26 of file titan_dep.h.

#define TITAN_WRITE_16 (   ofs,
  data 
)    do { *(volatile u16 *)(ocd_base+(ofs)) = (data); } while (0)

Definition at line 28 of file titan_dep.h.

#define TITAN_WRITE_8 (   ofs,
  data 
)    do { *(volatile u8 *)(ocd_base+(ofs)) = (data); } while (0)

Definition at line 30 of file titan_dep.h.

Variable Documentation

unsigned long ocd_base

Definition at line 148 of file setup.c.