Home | History | Annotate | Download | only in sunxi

Lines Matching defs:prcm

114 sunxi_mc_smp_start(bus_space_tag_t bst, bus_space_handle_t prcm, bus_space_handle_t cpucfg,
142 bus_space_write_4(bst, prcm, PRCM_CL_PWR_CLAMP(cluster, cpu), 0xff >> i);
146 if (bus_space_read_4(bst, prcm, PRCM_CL_PWR_CLAMP(cluster, cpu)) == 0)
155 val = bus_space_read_4(bst, prcm, PRCM_CL_PWROFF(cluster));
166 bus_space_write_4(bst, prcm, PRCM_CL_PWROFF(cluster), val);
169 val = bus_space_read_4(bst, prcm, PRCM_CL_RST_CTRL(cluster));
171 bus_space_write_4(bst, prcm, PRCM_CL_RST_CTRL(cluster), val);
205 bus_space_handle_t prcm, cpucfg, cpuxcfg;
211 if (bus_space_map(bst, A83T_PRCM_BASE, A83T_PRCM_SIZE, 0, &prcm) != 0 ||
225 error = sunxi_mc_smp_start(bst, prcm, cpucfg, cpuxcfg, cluster, cpu,
230 bus_space_unmap(bst, prcm, A83T_PRCM_SIZE);
239 bus_space_handle_t prcm, cpuxcfg;
245 if (bus_space_map(bst, A80_PRCM_BASE, A80_PRCM_SIZE, 0, &prcm) != 0 ||
255 bus_space_write_4(bst, prcm, PRCM_CPU_SOFT_ENTRY, sunxi_mc_smp_pa());
258 error = sunxi_mc_smp_start(bst, prcm, 0, cpuxcfg, cluster, cpu,
262 bus_space_unmap(bst, prcm, A80_PRCM_SIZE);