Home
last modified time | relevance | path

Searched full:psci (Results 1 – 12 of 12) sorted by relevance

/kvm-unit-tests/lib/linux/
H A Dpsci.h2 * ARM Power State and Coordination Interface (PSCI) header
4 * This header holds common PSCI defines and macros shared
15 * PSCI v0.1 interface
17 * The PSCI v0.1 function numbers are implementation defined.
19 * Only PSCI return values such as: SUCCESS, NOT_SUPPORTED,
21 * to PSCI v0.1.
24 /* PSCI v0.2 interface */
54 /* PSCI v0.2 power state encoding for CPU_SUSPEND function */
64 /* PSCI extended power state encoding for CPU_SUSPEND function */
71 /* PSCI v0.2 affinity level state returned by AFFINITY_INFO */
[all …]
/kvm-unit-tests/lib/arm/
H A Dpsci.c2 * PSCI API
3 * From arch/arm[64]/kernel/psci.c
10 #include <asm/psci.h>
23 printf("No PSCI method configured! Can't invoke...\n"); in psci_invoke_none()
76 node = fdt_node_offset_by_compatible(fdt, -1, "arm,psci-0.2"); in psci_set_conduit_fdt()
77 assert_msg(node >= 0, "PSCI v0.2 compatibility required"); in psci_set_conduit_fdt()
87 assert_msg(false, "Unknown PSCI conduit: %s", method->data); in psci_set_conduit_fdt()
100 "PSCI is not supported in this platform"); in psci_set_conduit_acpi()
H A Dsmp.c14 #include <asm/psci.h>
H A Dio.c15 #include <asm/psci.h>
H A Dsetup.c29 #include <asm/psci.h>
/kvm-unit-tests/arm/
H A Dpsci.c2 * PSCI tests
16 #include <asm/psci.h>
240 report_prefix_push("psci"); in main()
247 report_info("PSCI version %d.%d", PSCI_VERSION_MAJOR(ver), in main()
H A Dunittests.cfg203 # Test PSCI emulation
204 [psci]
205 file = psci.flat
207 groups = psci
H A DMakefile.common12 tests-common += $(TEST_DIR)/psci.$(exe)
59 cflatobjs += lib/arm/psci.o
H A Dselftest.c18 #include <asm/psci.h>
407 report_info("PSCI version: %d.%d", PSCI_VERSION_MAJOR(ver), in psci_print()
409 report_info("PSCI method: %s", psci_invoke_fn == arm_smccc_hvc ? in psci_print()
/kvm-unit-tests/lib/arm64/asm/
H A Dpsci.h1 #include "../../arm/asm/psci.h"
/kvm-unit-tests/lib/arm/asm/
H A Dpsci.h4 #include <linux/psci.h>
/kvm-unit-tests/lib/
H A Dacpi.h137 #define ACPI_FADT_PSCI_COMPLIANT (1) /* 00: [V5+] PSCI 0.2+ is implemented */
138 #define ACPI_FADT_PSCI_USE_HVC (1<<1) /* 01: [V5+] HVC must be used instead of SMC as the PSCI