sunxi_mc_smp.c | 114 sunxi_mc_smp_start(bus_space_tag_t bst, bus_space_handle_t prcm, bus_space_handle_t cpucfg, 128 val = bus_space_read_4(bst, cpucfg, CPUCFG_CL_RST(cluster)); 130 bus_space_write_4(bst, cpucfg, CPUCFG_CL_RST(cluster), val); 174 val = bus_space_read_4(bst, cpucfg, CPUCFG_CL_RST(cluster)); 176 bus_space_write_4(bst, cpucfg, CPUCFG_CL_RST(cluster), val); 205 bus_space_handle_t prcm, cpucfg, cpuxcfg; local in function:sun8i_a83t_smp_enable 212 bus_space_map(bst, CPUCFG_BASE, CPUCFG_SIZE, 0, &cpucfg) != 0 || 222 bus_space_write_4(bst, cpucfg, CPUCFG_P_REG0, sunxi_mc_smp_pa()); 225 error = sunxi_mc_smp_start(bst, prcm, cpucfg, cpuxcfg, cluster, cpu, 229 bus_space_unmap(bst, cpucfg, CPUCFG_SIZE) [all...] |