Lines Matching full:psci
3 * PSCI CPU idle driver.
9 #define pr_fmt(fmt) "CPUidle PSCI: " fmt
21 #include <linux/psci.h>
28 #include "cpuidle-psci.h"
117 "cpuidle/psci:online", in psci_idle_init_cpuhp()
140 int err = of_property_read_u32(np, "arm,psci-suspend-param", state); in psci_dt_parse_state_node()
143 pr_warn("%pOF missing arm,psci-suspend-param property\n", np); in psci_dt_parse_state_node()
148 pr_warn("Invalid PSCI power state %#x\n", *state); in psci_dt_parse_state_node()
204 pr_debug("psci-power-state %#x index %d\n", psci_states[i], i); in psci_dt_cpu_init_idle()
227 * If the PSCI cpu_suspend function hook has not been initialized in psci_cpu_init_idle()
264 * Check whether the enable-method for the cpu is PSCI, fail in psci_idle_init_cpu()
268 if (!enable_method || (strcmp(enable_method, "psci"))) in psci_idle_init_cpu()
284 * PSCI idle states relies on architectural WFI to be represented as in psci_idle_init_cpu()
306 * Initialize PSCI idle states. in psci_idle_init_cpu()
310 pr_err("CPU %d failed to PSCI idle\n", cpu); in psci_idle_init_cpu()
327 * psci_idle_probe - Initializes PSCI cpuidle driver
329 * Initializes PSCI cpuidle driver for all CPUs, if any CPU fails
362 .name = "psci-cpuidle",
375 pdev = platform_device_register_simple("psci-cpuidle", -1, NULL, 0); in psci_idle_init()