Home
last modified time | relevance | path

Searched full:cpuidle (Results 1 – 25 of 177) sorted by relevance

12345678

/linux/drivers/cpuidle/
H A DMakefile3 # Makefile for cpuidle.
6 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
11 obj-$(CONFIG_HALTPOLL_CPUIDLE) += cpuidle-haltpoll.o
15 obj-$(CONFIG_ARM_MVEBU_V7_CPUIDLE) += cpuidle-mvebu-v7.o
16 obj-$(CONFIG_ARM_BIG_LITTLE_CPUIDLE) += cpuidle-big_little.o
17 obj-$(CONFIG_ARM_CLPS711X_CPUIDLE) += cpuidle-clps711x.o
18 obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
19 obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
20 obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
21 obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
[all …]
H A DKconfig.arm11 Select this to enable generic cpuidle driver for ARM.
13 at run-time through DT nodes. The CPUidle suspend backend is
23 Select this to enable PSCI firmware based CPUidle driver for ARM.
42 Select this to enable the PSCI based CPUidle driver to use PM domains,
63 Select this to enable cpuidle on Cirrus Logic CLPS711X SOCs.
70 Select this to enable cpuidle on Calxeda processors.
82 Select this to enable cpuidle on Xilinx Zynq processors.
88 Select this to enable cpuidle for ST-E u8500 processors.
95 Select this to enable cpuidle for AT91 processors.
102 Select this to enable cpuidle for Exynos processors.
[all …]
H A Dcpuidle.c2 * cpuidle.c - core cpuidle infrastructure
21 #include <linux/cpuidle.h>
31 #include "cpuidle.h"
126 * @drv: cpuidle driver for the given CPU.
127 * @dev: cpuidle device for the given CPU.
153 * cpuidle mechanism enables interrupts and doing that with timekeeping in enter_s2idle_proper()
181 * @drv: cpuidle driver for the given CPU.
182 * @dev: cpuidle device for the given CPU.
207 * @dev: cpuidle device for this cpu
208 * @drv: cpuidle driver for this cpu
[all …]
H A Dcpuidle-arm.c9 #define pr_fmt(fmt) "CPUidle arm: " fmt
12 #include <linux/cpuidle.h>
20 #include <asm/cpuidle.h>
27 * dev: cpuidle device
28 * drv: cpuidle driver
31 * Called from the CPUidle framework to program the device to the
74 * Registers the arm specific cpuidle driver with the cpuidle
138 * arm_idle_init - Initializes arm cpuidle driver
140 * Initializes arm cpuidle driver for all CPUs, if any CPU fails
141 * to register cpuidle driver then rollback to cancel all CPUs
H A Dcpuidle-powernv.c3 * cpuidle-powernv - idle state cpuidle driver.
4 * Adapted from drivers/cpuidle/cpuidle-pseries
12 #include <linux/cpuidle.h>
23 #include <asm/cpuidle.h>
26 * Expose only those Hardware idle states via the cpuidle framework
217 * __cpuidle_driver_init(). This breaks cpuidle on PowerNV where in powernv_cpuidle_driver_init()
222 * incorrect, so pass a correct CPU mask to the generic cpuidle driver. in powernv_cpuidle_driver_init()
262 pr_warn("cpuidle-powernv : Only Snooze is available\n"); in powernv_add_idle_states()
266 /* TODO: Count only states which are eligible for cpuidle */ in powernv_add_idle_states()
274 pr_warn("cpuidle-powernv: discovered idle states more than allowed"); in powernv_add_idle_states()
[all …]
H A DKconfig41 used in conjunction with the haltpoll cpuidle driver, allowing
56 source "drivers/cpuidle/Kconfig.arm"
61 source "drivers/cpuidle/Kconfig.mips"
66 source "drivers/cpuidle/Kconfig.powerpc"
71 source "drivers/cpuidle/Kconfig.riscv"
75 tristate "Halt poll cpuidle driver"
80 This option enables halt poll cpuidle driver, which allows to poll
H A Dcpuidle-mvebu-v7.c2 * Marvell Armada 370, 38x and XP SoC cpuidle driver
17 #include <linux/cpuidle.h>
22 #include <asm/cpuidle.h>
119 .name = "cpuidle-armada-xp",
122 .name = "cpuidle-armada-370",
125 .name = "cpuidle-armada-38x",
134 .name = "cpuidle-mbevu",
143 MODULE_DESCRIPTION("Marvell EBU v7 cpuidle driver");
H A Ddriver.c15 #include <linux/cpuidle.h>
21 #include "cpuidle.h"
30 * __cpuidle_get_cpu_driver - return the cpuidle driver tied to a CPU.
92 * __cpuidle_get_cpu_driver - return the global cpuidle driver pointer.
104 * __cpuidle_set_driver - assign the global cpuidle driver variable.
120 * __cpuidle_unset_driver - unset the global cpuidle driver variable.
123 * Reset the global cpuidle variable to NULL. If @drv does not match the
204 * global cpuidle driver variable(s) and set up the broadcast timer if the
205 * cpuidle driver has some states that shut down the local timer.
209 * * -ENODEV if the cpuidle framework is disabled
[all …]
H A Dcpuidle-zynq.c7 * based on arch/arm/mach-at91/cpuidle.c
18 #include <linux/cpuidle.h>
20 #include <asm/cpuidle.h>
54 pr_info("Xilinx Zynq CpuIdle Driver started\n"); in zynq_cpuidle_probe()
61 .name = "cpuidle-zynq",
H A DKconfig.powerpc6 bool "Cpuidle driver for pSeries platforms"
12 through cpuidle subsystem.
15 bool "Cpuidle driver for powernv platforms"
21 through cpuidle subsystem.
/linux/Documentation/driver-api/pm/
H A Dcpuidle.rst29 subsystem in the kernel, called ``CPUIdle``.
31 The design of ``CPUIdle`` is modular and based on the code duplication avoidance
43 A CPU idle time (``CPUIdle``) governor is a bundle of policy code invoked when
47 ``CPUIdle`` governors are generic and each of them can be used on any hardware
58 with the ``CPUIdle`` core by calling :c:func:`cpuidle_register_governor()` with
64 kernel as the value of the ``cpuidle.governor=`` command line parameter, the new
65 governor will be used from that point on (there can be only one ``CPUIdle``
66 governor in use at a time). Also, user space can choose the ``CPUIdle``
69 Once registered, ``CPUIdle`` governors cannot be unregistered, so it is not
72 The interface between ``CPUIdle`` governors and the core consists of four
[all …]
/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c89 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
92 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
95 * helper function to check whether a file under "../cpuX/cpuidle/stateX/" dir
111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists()
120 * fname is a relative path under "cpuX/cpuidle/stateX/" dir
131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file()
152 * fname is a relative path under "../cpuX/cpuidle/cstateY/" dir
166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file()
352 * Zero if cpuidle does not export any C-states
361 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count()
[all …]
/linux/tools/power/cpupower/lib/
H A Dcpuidle.c16 #include "cpuidle.h"
20 * helper function to check whether a file under "../cpuX/cpuidle/stateX/" dir
37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists()
46 * fname is a relative path under "cpuX/cpuidle/stateX/" dir
60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_read_file()
81 * fname is a relative path under "../cpuX/cpuidle/cstateY/" dir
95 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_write_file()
290 * Zero if cpuidle does not export any C-states
299 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
303 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
[all …]
/linux/tools/power/cpupower/po/
H A Dde.po386 #: utils/cpupower-info.c:22 utils/cpuidle-info.c:148
500 #: utils/cpufreq-info.c:492 utils/cpuidle-info.c:152
541 #: utils/cpupower-info.c:42 utils/cpuidle-info.c:213
815 #: utils/cpuidle-info.c:28
820 #: utils/cpuidle-info.c:32
825 #: utils/cpuidle-info.c:36
830 #: utils/cpuidle-info.c:41
835 #: utils/cpuidle-info.c:46
840 #: utils/cpuidle-info.c:48
845 #: utils/cpuidle-info.c:71
[all …]
H A Dcs.po377 #: utils/cpupower-info.c:22 utils/cpuidle-info.c:148
483 #: utils/cpufreq-info.c:492 utils/cpuidle-info.c:152
524 #: utils/cpupower-info.c:42 utils/cpuidle-info.c:213
785 #: utils/cpuidle-info.c:28
790 #: utils/cpuidle-info.c:32
795 #: utils/cpuidle-info.c:36
800 #: utils/cpuidle-info.c:41
805 #: utils/cpuidle-info.c:46
810 #: utils/cpuidle-info.c:48
815 #: utils/cpuidle-info.c:71
[all …]
H A Dpt.po371 #: utils/cpupower-info.c:22 utils/cpuidle-info.c:148
486 #: utils/cpufreq-info.c:492 utils/cpuidle-info.c:152
529 #: utils/cpupower-info.c:42 utils/cpuidle-info.c:213
796 #: utils/cpuidle-info.c:28
801 #: utils/cpuidle-info.c:32
806 #: utils/cpuidle-info.c:36
811 #: utils/cpuidle-info.c:41
816 #: utils/cpuidle-info.c:46
821 #: utils/cpuidle-info.c:48
826 #: utils/cpuidle-info.c:71
[all …]
H A Dfr.po372 #: utils/cpupower-info.c:22 utils/cpuidle-info.c:148
485 #: utils/cpufreq-info.c:492 utils/cpuidle-info.c:152
524 #: utils/cpupower-info.c:42 utils/cpuidle-info.c:213
785 #: utils/cpuidle-info.c:28
790 #: utils/cpuidle-info.c:32
795 #: utils/cpuidle-info.c:36
800 #: utils/cpuidle-info.c:41
805 #: utils/cpuidle-info.c:46
810 #: utils/cpuidle-info.c:48
815 #: utils/cpuidle-info.c:71
[all …]
H A Dit.po372 #: utils/cpupower-info.c:22 utils/cpuidle-info.c:148
483 #: utils/cpufreq-info.c:492 utils/cpuidle-info.c:152
527 #: utils/cpupower-info.c:42 utils/cpuidle-info.c:213
794 #: utils/cpuidle-info.c:28
799 #: utils/cpuidle-info.c:32
804 #: utils/cpuidle-info.c:36
809 #: utils/cpuidle-info.c:41
814 #: utils/cpuidle-info.c:46
819 #: utils/cpuidle-info.c:48
824 #: utils/cpuidle-info.c:71
[all …]
H A Dka.po397 #: utils/cpupower-info.c:22 utils/cpuidle-info.c:148
514 #: utils/cpufreq-info.c:492 utils/cpuidle-info.c:152
558 #: utils/cpupower-info.c:42 utils/cpuidle-info.c:213
838 #: utils/cpuidle-info.c:28
843 #: utils/cpuidle-info.c:32
848 #: utils/cpuidle-info.c:36
853 #: utils/cpuidle-info.c:41
858 #: utils/cpuidle-info.c:46
863 #: utils/cpuidle-info.c:48
868 #: utils/cpuidle-info.c:71
[all …]
/linux/tools/power/cpupower/man/
H A Dcpupower-idle-info.125 exported by the cpuidle kernel subsystem. The kernel only updates these
46 If cpuidle is active, X86 platforms have one special idle state.
53 There exist two different cpuidle drivers on the X86 architecture platform:
55 "acpi_idle" cpuidle driver
57 The acpi_idle cpuidle driver retrieves available sleep states (C\-states) from
63 "intel_idle" cpuidle driver
81 \fI/sys/devices/system/cpu/cpu*/cpuidle/state*\fP
82 \fI/sys/devices/system/cpu/cpuidle/*\fP
H A Dcpupower-idle-set.132 Cpuidle Governors Policy on Disabling Sleep States
35 Depending on the used cpuidle governor, implementing the kernel policy
39 There are two cpuidle governors ladder and menu. While the ladder
69 \fI/sys/devices/system/cpu/cpu*/cpuidle/state*\fP
70 \fI/sys/devices/system/cpu/cpuidle/*\fP
/linux/Documentation/admin-guide/pm/
H A Dintel_idle.rst17 :doc:`CPU idle time management subsystem <cpuidle>` in the Linux kernel
18 (``CPUIdle``). It is the default CPU idle time management driver for the
22 firmware. [To understand ``intel_idle`` it is necessary to know how ``CPUIdle``
24 Documentation/admin-guide/pm/cpuidle.rst if you have not done that yet.]
55 In order to create a list of available idle states required by the ``CPUIdle``
57 Documentation/admin-guide/pm/cpuidle.rst),
72 ``CPUIdle`` subsystem expects that the list of idle states supplied by the
74 registered as the ``CPUIdle`` driver for all of the CPUs in the system, the
96 default (so all of them will be taken into consideration by ``CPUIdle``
103 Documentation/admin-guide/pm/cpuidle.rst). This basically means that
[all …]
/linux/arch/arm/mach-imx/
H A DMakefile18 obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
19 obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
20 obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
21 obj-$(CONFIG_SOC_IMX6SLL) += cpuidle-imx6sx.o
22 obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
23 obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o
24 obj-$(CONFIG_SOC_IMX7ULP) += cpuidle-imx7ulp.o
/linux/arch/arm/kernel/
H A Dcpuidle.c6 #include <linux/cpuidle.h>
8 #include <asm/cpuidle.h>
24 * cpuidle callback by matching the function signature.
56 * Search in the __cpuidle_method_of_table array the cpuidle ops matching the
73 * arm_cpuidle_read_ops() - Initialize the cpuidle ops with the device tree
110 pr_notice("cpuidle: enable-method property '%s'" in arm_cpuidle_read_ops()
120 * Initialize the cpuidle ops with the device for the cpu and then call
/linux/Documentation/ABI/obsolete/
H A Dsysfs-cpuidle1 What: /sys/devices/system/cpu/cpuidle/current_governor_ro
5 current_governor_ro shows current using cpuidle governor, but read only.
6 with the update that cpuidle governor can be changed at runtime in default,
8 /sys/devices/system/cpu/cpuidle/ file, it's duplicate so make

12345678