Go to the documentation of this file.
13 #include <linux/compiler.h>
14 #include <linux/linkage.h>
15 #include <asm/addrspace.h>
20 #define BMIPS_GET_CBR() ((void __iomem *)(CKSEG1 | \
22 ((read_c0_brcm_cbr() >> 18) << 18)))
24 #define BMIPS_RAC_CONFIG 0x00000000
25 #define BMIPS_RAC_ADDRESS_RANGE 0x00000004
26 #define BMIPS_RAC_CONFIG_1 0x00000008
27 #define BMIPS_L2_CONFIG 0x0000000c
28 #define BMIPS_LMB_CONTROL 0x0000001c
29 #define BMIPS_SYSTEM_BASE 0x00000020
30 #define BMIPS_PERF_GLOBAL_CONTROL 0x00020000
31 #define BMIPS_PERF_CONTROL_0 0x00020004
32 #define BMIPS_PERF_CONTROL_1 0x00020008
33 #define BMIPS_PERF_COUNTER_0 0x00020010
34 #define BMIPS_PERF_COUNTER_1 0x00020014
35 #define BMIPS_PERF_COUNTER_2 0x00020018
36 #define BMIPS_PERF_COUNTER_3 0x0002001c
37 #define BMIPS_RELO_VECTOR_CONTROL_0 0x00030000
38 #define BMIPS_RELO_VECTOR_CONTROL_1 0x00038000
40 #define BMIPS_NMI_RESET_VEC 0x80000000
41 #define BMIPS_WARM_RESTART_VEC 0x80000380
43 #define ZSCM_REG_BASE 0x97000000
45 #if !defined(__ASSEMBLY__)
64 static inline unsigned long bmips_read_zscm_reg(
unsigned int offset)
89 static inline void bmips_write_zscm_reg(
unsigned int offset,
unsigned long data)