Lines Matching +full:zero +full:- +full:based
1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2011-2013 Xilinx
8 * based on linux/arch/arm/mach-realview/platsmp.c
20 #include <linux/irqchip/arm-gic.h>
32 u32 trampoline_code_size = &zynq_secondary_trampoline_end - in zynq_cpun_start()
40 static u8 __iomem *zero; in zynq_cpun_start() local
41 u32 trampoline_size = &zynq_secondary_trampoline_jump - in zynq_cpun_start()
47 zero = ioremap(0, trampoline_code_size); in zynq_cpun_start()
48 if (!zero) { in zynq_cpun_start()
50 return -1; in zynq_cpun_start()
53 zero = (__force u8 __iomem *)PAGE_OFFSET; in zynq_cpun_start()
62 memcpy_toio(zero, &zynq_secondary_trampoline, in zynq_cpun_start()
64 writel(address, zero + trampoline_size); in zynq_cpun_start()
71 iounmap(zero); in zynq_cpun_start()
80 return -1; in zynq_cpun_start()
90 * Initialise the CPU possible map early - this describes the CPUs
109 * zynq_secondary_init - Initialize secondary CPU cores
134 * zynq_cpu_die - Let a CPU core die
137 * Platform-specific code to shutdown a CPU.
145 * there is no power-control hardware on this platform, so all in zynq_cpu_die()