Home
last modified time | relevance | path

Searched +full:psci +full:- +full:0 (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Dpsci.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/arm/psci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Power State Coordination Interface (PSCI)
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
13 Firmware implementing the PSCI functions described in ARM document number
15 processors") can be used by Linux to initiate various CPU-centric power
21 Functions are invoked by trapping to the privilege level of the PSCI
25 r0 => 32-bit Function ID / return value
[all …]
H A Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/arm/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
14 1 - Introduction
18 where cores can be put in different low-power states (ranging from simple wfi
20 range of dynamic idle states that a processor can enter at run-time, can be
27 - Running
28 - Idle_standby
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dthunderx-88xx.dtsi2 * Cavium Thunder DTS file - Thunder SoC description
6 * SPDX-License-Identifier: GPL-2.0+ or X11
11 compatible = "cavium,thunder-88xx";
12 interrupt-parent = <&gic0>;
13 #address-cells = <2>;
14 #size-cells = <2>;
16 psci {
17 compatible = "arm,psci-0.2";
22 #address-cells = <2>;
23 #size-cells = <0>;
[all …]
H A Dhi6220.dtsi7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/clock/hi6220-clock.h>
12 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
16 psci {
17 compatible = "arm,psci-0.2";
22 #address-cells = <2>;
23 #size-cells = <0>;
25 cpu-map {
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/cavium/
H A Dthunder-88xx.dtsi2 * Cavium Thunder DTS file - Thunder SoC description
6 * This file is dual-licensed: you can use it either under the terms
24 * MA 02110-1301 USA
51 compatible = "cavium,thunder-88xx";
52 interrupt-parent = <&gic0>;
53 #address-cells = <2>;
54 #size-cells = <2>;
56 psci {
57 compatible = "arm,psci-0.2";
62 #address-cells = <2>;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dpsci.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * ARM Power State and Coordination Interface (PSCI) header
5 * This header holds common PSCI defines and macros shared
16 * PSCI v0.1 interface
18 * The PSCI v0.1 function numbers are implementation defined.
20 * Only PSCI return values such as: SUCCESS, NOT_SUPPORTED,
22 * to PSCI v0.1.
25 /* PSCI v0.2 interface */
26 #define PSCI_0_2_FN_BASE 0x84000000
28 #define PSCI_0_2_64BIT 0x40000000
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dpsci.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * ARM Power State and Coordination Interface (PSCI) header
5 * This header holds common PSCI defines and macros shared
16 * PSCI v0.1 interface
18 * The PSCI v0.1 function numbers are implementation defined.
20 * Only PSCI return values such as: SUCCESS, NOT_SUPPORTED,
22 * to PSCI v0.1.
25 /* PSCI v0.2 interface */
26 #define PSCI_0_2_FN_BASE 0x84000000
28 #define PSCI_0_2_64BIT 0x40000000
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dpsci.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * ARM Power State and Coordination Interface (PSCI) header
5 * This header holds common PSCI defines and macros shared
16 * PSCI v0.1 interface
18 * The PSCI v0.1 function numbers are implementation defined.
20 * Only PSCI return values such as: SUCCESS, NOT_SUPPORTED,
22 * to PSCI v0.1.
25 /* PSCI v0.2 interface */
26 #define PSCI_0_2_FN_BASE 0x84000000
28 #define PSCI_0_2_64BIT 0x40000000
[all …]
/OK3568_Linux_fs/u-boot/drivers/firmware/
H A Dpsci.c4 * Based on drivers/firmware/psci.c from Linux:
7 * SPDX-License-Identifier: GPL-2.0+
14 #include <linux/arm-smccc.h>
16 #include <linux/psci.h>
26 arm_smccc_hvc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_hvc()
36 arm_smccc_smc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); in __invoke_psci_fn_smc()
42 /* No SYSTEM_RESET support for PSCI 0.1 */ in psci_bind()
43 if (device_is_compatible(dev, "arm,psci-0.2") || in psci_bind()
44 device_is_compatible(dev, "arm,psci-1.0")) { in psci_bind()
47 /* bind psci-sysreset optionally */ in psci_bind()
[all …]
/OK3568_Linux_fs/u-boot/include/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 */
25 #define PSCI_0_2_FN_BASE 0x84000000
27 #define PSCI_0_2_64BIT 0x40000000
32 #define PSCI_0_2_FN_PSCI_VERSION PSCI_0_2_FN(0)
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/hisilicon/
H A Dhip05.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 compatible = "hisilicon,hip05-d02";
12 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
16 psci {
17 compatible = "arm,psci-0.2";
22 #address-cells = <1>;
23 #size-cells = <0>;
[all …]
H A Dhip07.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 compatible = "hisilicon,hip07-d05";
12 interrupt-parent = <&gic>;
13 #address-cells = <2>;
14 #size-cells = <2>;
16 psci {
17 compatible = "arm,psci-0.2";
22 #address-cells = <1>;
23 #size-cells = <0>;
[all …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle-psci.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * PSCI CPU idle driver.
9 #define pr_fmt(fmt) "CPUidle PSCI: " fmt
21 #include <linux/psci.h>
30 #include "cpuidle-psci.h"
62 u32 *states = data->psci_states; in __psci_enter_domain_idle_state()
63 struct device *pd_dev = data->dev; in __psci_enter_domain_idle_state()
69 return -1; in __psci_enter_domain_idle_state()
87 ret = psci_cpu_suspend_enter(state) ? -1 : idx; in __psci_enter_domain_idle_state()
102 psci_set_domain_state(0); in __psci_enter_domain_idle_state()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/mediatek/
H A Dmt6755.dtsi14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
19 interrupt-parent = <&sysirq>;
20 #address-cells = <2>;
21 #size-cells = <2>;
23 psci {
24 compatible = "arm,psci-0.2";
29 #address-cells = <1>;
30 #size-cells = <0>;
32 cpu0: cpu@0 {
[all …]
H A Dmt6795.dtsi14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
19 interrupt-parent = <&sysirq>;
20 #address-cells = <2>;
21 #size-cells = <2>;
23 psci {
24 compatible = "arm,psci-0.2";
29 #address-cells = <1>;
30 #size-cells = <0>;
32 cpu0: cpu@0 {
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/psci/
H A Dpsci.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #define pr_fmt(fmt) "psci: " fmt
10 #include <linux/arm-smccc.h>
17 #include <linux/psci.h>
22 #include <uapi/linux/psci.h>
31 * While a 64-bit OS can make calls with SMC32 calling conventions, for some
32 * calls it is necessary to use SMC64 to pass or return 64-bit values.
34 * (native-width) function ID.
45 * a Trusted OS even if it claims to be capable of migration -- doing so will
48 static int resident_cpu = -1;
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/marvell/
H A Darmada-ap810-ap0-octa-core.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "armada-ap810-ap0.dtsi"
12 #address-cells = <1>;
13 #size-cells = <0>;
14 compatible = "marvell,armada-ap810-octa";
16 cpu0: cpu@0 {
18 compatible = "arm,cortex-a72";
19 reg = <0x000>;
20 enable-method = "psci";
24 compatible = "arm,cortex-a72";
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/
H A DKconfig4 bool "Enable multiple CPUs to enter into U-Boot"
10 CPUECTLR_EL1.SMPEN bit before U-Boot.
25 bool "Support spin-table enable method"
28 Say Y here to support "spin-table" enable method for booting Linux.
31 - Specify enable-method = "spin-table" in each CPU node in the
33 - Bring secondary CPUs into U-Boot proper in a board specific
38 U-Boot automatically does:
39 - Set "cpu-release-addr" property of each CPU node
41 - Reserve the code for the spin-table and the release address
54 - Address of secure firmware.
[all …]
H A Dpsci.S5 * 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 */
72 PSCI_TABLE(0, 0)
74 /* 64 bits PSCI default functions */
98 PSCI_TABLE(0, 0)
101 /* PSCI call is Fast Call(atomic), so mask DAIF */
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/
H A Dnuma.txt6 1 - Introduction
18 2 - numa-node-id
23 a node id is a 32-bit integer.
26 numa-node-id property which contains the node id of the device.
29 /* numa node 0 */
30 numa-node-id = <0>;
33 numa-node-id = <1>;
36 3 - distance-map
39 The optional device tree node distance-map describes the relative
42 - compatible : Should at least contain "numa-distance-map-v1".
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/amazon/
H A Dalpine-v3.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 compatible = "amazon,al-alpine-v3";
14 interrupt-parent = <&gic>;
16 #address-cells = <2>;
17 #size-cells = <2>;
20 #address-cells = <1>;
21 #size-cells = <0>;
23 cpu@0 {
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/lib/
H A Dpsci-dt.c4 * SPDX-License-Identifier: GPL-2.0+
12 #include <asm/psci.h>
22 unsigned int psci_ver = 0; in fdt_psci()
26 if (nodeoff < 0) { in fdt_psci()
31 /* add 'enable-method = "psci"' to each cpu node */ in fdt_psci()
33 tmp >= 0; in fdt_psci()
43 if (strcmp(prop->data, "cpu")) in fdt_psci()
51 fdt_setprop_string(fdt, tmp, "enable-method", "psci"); in fdt_psci()
54 nodeoff = fdt_path_offset(fdt, "/psci"); in fdt_psci()
55 if (nodeoff >= 0) in fdt_psci()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2530.dtsi1 // SPDX-License-Identifier: GPL-2.0
14 stdout-path = "serial0:115200n8";
19 reg = <0x0 0x80000000 0x0 0xc0000000>;
29 clock-frequency = <400000>;
33 nvidia,invert-interrupt;
39 bus-width = <8>;
40 non-removable;
43 clk32k_in: clock@0 {
44 compatible = "fixed-clock";
45 clock-frequency = <32768>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/arm/
H A Djuno-r2.dts9 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include "juno-base.dtsi"
13 #include "juno-cs-r1r2.dtsi"
17 compatible = "arm,juno-r2", "arm,juno", "arm,vexpress";
18 interrupt-parent = <&gic>;
19 #address-cells = <2>;
20 #size-cells = <2>;
27 stdout-path = "serial0:115200n8";
30 psci {
[all …]
H A Djuno.dts4 * Copyright (c) 2013-2014 ARM Ltd.
9 /dts-v1/;
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include "juno-base.dtsi"
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
26 stdout-path = "serial0:115200n8";
29 psci {
30 compatible = "arm,psci-0.2";
[all …]

12345678910>>...15