psci.c | 54 static uint32_t psci_functions[PSCI_FUNC_MAX] = { variable in typeref:typename:uint32_t[] 89 if (psci_functions[PSCI_FUNC_VERSION] == 0) { 95 return psci_call(psci_functions[PSCI_FUNC_VERSION], 0, 0, 0); 102 return psci_call(psci_functions[PSCI_FUNC_CPU_ON], target_cpu, 109 return psci_call(psci_functions[PSCI_FUNC_CPU_SUSPEND], power_state, 116 psci_call(psci_functions[PSCI_FUNC_SYSTEM_OFF], 0, 0, 0); 122 psci_call(psci_functions[PSCI_FUNC_SYSTEM_RESET], 0, 0, 0); 128 if (psci_functions[PSCI_FUNC_FEATURES] == 0) { 131 return psci_call(psci_functions[PSCI_FUNC_FEATURES], fid, 0, 0); 156 psci_functions[func] = fid [all...] |