Lines Matching +full:psci +full:- +full:1
5 * SPDX-License-Identifier: GPL-2.0+
6 * This file implements LS102X platform PSCI SYSTEM-SUSPEND function
11 #include <asm/psci.h>
13 /* Default PSCI function, return -1, Not Implemented */
21 /* PSCI function and ID table definition*/
28 /* 32 bits PSCI default functions */
74 /* 64 bits PSCI default functions */
101 /* PSCI call is Fast Call(atomic), so mask DAIF */
103 stp x15, xzr, [sp, #-16]!
107 stp x29, x30, [sp, #-16]!
108 stp x27, x28, [sp, #-16]!
109 stp x25, x26, [sp, #-16]!
110 stp x23, x24, [sp, #-16]!
111 stp x21, x22, [sp, #-16]!
112 stp x19, x20, [sp, #-16]!
114 stp x18, x15, [sp, #-16]!
133 /* Caller must put PSCI function-ID table base in x9 */
136 1: ldr x10, [x9] /* Load PSCI function table */
141 b.eq 2f /* PSCI function found */
143 b 1b
145 2: blr x11 /* Call PSCI function */
156 /* SMC function ID 0x84000000-0x8400001F: 32 bits PSCI */
169 ubfx x9, x0, #30, #1
172 /* SMC function ID 0xC4000000-0xC400001F: 64 bits PSCI */
188 * used for the return value, while in this PSCI environment, X0 usually holds
224 mov x9, #1