Home
last modified time | relevance | path

Searched refs:mtk_smp_info (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm/mach-mediatek/
H A Dplatsmp.c59 static const struct mtk_smp_boot_info *mtk_smp_info; variable
66 if (!mtk_smp_info->core_keys[cpu-1]) in mtk_boot_secondary()
69 writel_relaxed(mtk_smp_info->core_keys[cpu-1], in mtk_boot_secondary()
70 mtk_smp_base + mtk_smp_info->core_regs[cpu-1]); in mtk_boot_secondary()
93 mtk_smp_info = infos[i].data; in __mtk_smp_prepare_cpus()
98 if (!mtk_smp_info) { in __mtk_smp_prepare_cpus()
105 mtk_smp_base = phys_to_virt(mtk_smp_info->smp_base); in __mtk_smp_prepare_cpus()
107 mtk_smp_base = ioremap(mtk_smp_info->smp_base, MTK_SMP_REG_SIZE); in __mtk_smp_prepare_cpus()
110 mtk_smp_info->smp_base); in __mtk_smp_prepare_cpus()
120 mtk_smp_base + mtk_smp_info->jump_reg); in __mtk_smp_prepare_cpus()