Lines Matching +full:0 +full:x01700000

48 #define	A20_CPUCFG_BASE		0x01c25c00
50 #define CPUCFG_BASE 0x01f01c00
51 #define CPUCFG_SIZE 0x400
52 #define PRCM_BASE 0x01f01400
53 #define PRCM_SIZE 0x800
55 #define CPUXCFG_BASE 0x01700000
56 #define CPUXCFG_SIZE 0x400
58 #define CPU_OFFSET 0x40
59 #define CPU_OFFSET_CTL 0x04
60 #define CPU_OFFSET_STATUS 0x08
65 #define CPU_RESET (1 << 0)
68 #define CPUCFG_GENCTL 0x184
69 #define CPUCFG_P_REG0 0x1a4
71 #define A20_CPU1_PWR_CLAMP 0x1b0
72 #define CPU_PWR_CLAMP_REG 0x140
76 #define A20_CPU1_PWROFF_REG 0x1b4
77 #define CPU_PWROFF 0x100
79 #define CPUCFG_DBGCTL0 0x1e0
80 #define CPUCFG_DBGCTL1 0x1e4
82 #define CPUS_CL_RST(cl) (0x30 + (cl) * 0x4)
83 #define CPUX_CL_CTRL0(cl) (0x0 + (cl) * 0x10)
84 #define CPUX_CL_CTRL1(cl) (0x4 + (cl) * 0x10)
85 #define CPUX_CL_CPU_STATUS(cl) (0x30 + (cl) * 0x4)
86 #define CPUX_CL_RST(cl) (0x80 + (cl) * 0x4)
87 #define PRCM_CL_PWROFF(cl) (0x100 + (cl) * 0x4)
88 #define PRCM_CL_PWR_CLAMP(cl, cpu) (0x140 + (cl) * 0x4 + (cpu) * 0x4)
96 if (mp_ncpus != 0) in aw_mp_setmaxid()
117 0, &cpucfg) != 0) in aw_mp_start_ap()
121 0, &cpucfg) != 0) in aw_mp_start_ap()
123 if (bus_space_map(fdtbus_bs_tag, PRCM_BASE, PRCM_SIZE, 0, in aw_mp_start_ap()
124 &prcm) != 0) in aw_mp_start_ap()
139 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPU_RST_CTL(i), 0); in aw_mp_start_ap()
155 for (j = 0; j <= CPU_PWR_CLAMP_STEPS; j++) { in aw_mp_start_ap()
158 CPU_PWR_CLAMP(i), 0xff >> j); in aw_mp_start_ap()
161 cpucfg, A20_CPU1_PWR_CLAMP, 0xff >> j); in aw_mp_start_ap()
169 for (i = 0; i < mp_ncpus; i++) in aw_mp_start_ap()
175 val &= ~(1 << 0); in aw_mp_start_ap()
222 for (i = 0; i <= CPU_PWR_CLAMP_STEPS; i++) in aw_mc_mp_start_cpu()
224 PRCM_CL_PWR_CLAMP(cluster, cpu), 0xff >> i); in aw_mc_mp_start_cpu()
226 PRCM_CL_PWR_CLAMP(cluster, cpu)) != 0) in aw_mc_mp_start_cpu()
258 cluster = 0; in aw_mc_mp_start_ap()
269 0, &cpuscfg) != 0) in a83t_mp_start_ap()
272 0, &cpuxcfg) != 0) in a83t_mp_start_ap()
274 if (bus_space_map(fdtbus_bs_tag, PRCM_BASE, PRCM_SIZE, 0, in a83t_mp_start_ap()
275 &prcm) != 0) in a83t_mp_start_ap()