Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/drivers/cpuidle/
DMakefile3 # Makefile for cpuidle.
6 obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
10 obj-$(CONFIG_HALTPOLL_CPUIDLE) += cpuidle-haltpoll.o
14 obj-$(CONFIG_ARM_MVEBU_V7_CPUIDLE) += cpuidle-mvebu-v7.o
15 obj-$(CONFIG_ARM_BIG_LITTLE_CPUIDLE) += cpuidle-big_little.o
16 obj-$(CONFIG_ARM_CLPS711X_CPUIDLE) += cpuidle-clps711x.o
17 obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
18 obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
19 obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
20 obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
[all …]
DKconfig.arm10 Select this to enable generic cpuidle driver for ARM.
12 at run-time through DT nodes. The CPUidle suspend backend is
22 Select this to enable PSCI firmware based CPUidle driver for ARM.
32 Select this to enable the PSCI based CPUidle driver to use PM domains,
53 Select this to enable cpuidle on Cirrus Logic CLPS711X SOCs.
60 Select this to enable cpuidle on Calxeda processors.
72 Select this to enable cpuidle on Xilinx Zynq processors.
78 Select this to enable cpuidle for ST-E u8500 processors.
85 Select this to enable cpuidle for AT91 processors.
92 Select this to enable cpuidle for Exynos processors.
[all …]
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
Dcpuidle.c2 * cpuidle.c - core cpuidle infrastructure
19 #include <linux/cpuidle.h>
28 #include "cpuidle.h"
123 * @drv: cpuidle driver for the given CPU.
124 * @dev: cpuidle device for the given CPU.
148 * cpuidle mechanism enables interrupts and doing that with timekeeping in enter_s2idle_proper()
170 * @drv: cpuidle driver for the given CPU.
171 * @dev: cpuidle device for the given CPU.
196 * @dev: cpuidle device for this cpu
197 * @drv: cpuidle driver for this cpu
[all …]
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
214 * __cpuidle_driver_init(). This breaks cpuidle on PowerNV where in powernv_cpuidle_driver_init()
219 * incorrect, so pass a correct CPU mask to the generic cpuidle driver. in powernv_cpuidle_driver_init()
259 pr_warn("cpuidle-powernv : Only Snooze is available\n"); in powernv_add_idle_states()
263 /* TODO: Count only states which are eligible for cpuidle */ in powernv_add_idle_states()
271 pr_warn("cpuidle-powernv: discovered idle states more than allowed"); in powernv_add_idle_states()
[all …]
Dcpuidle-mvebu-v7.c2 * Marvell Armada 370, 38x and XP SoC cpuidle driver
17 #include <linux/cpuidle.h>
22 #include <asm/cpuidle.h>
114 .name = "cpuidle-armada-xp",
117 .name = "cpuidle-armada-370",
120 .name = "cpuidle-armada-38x",
129 .name = "cpuidle-mbevu",
138 MODULE_DESCRIPTION("Marvell EBU v7 cpuidle driver");
/kernel/linux/linux-6.6/drivers/cpuidle/
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 …]
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 …]
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
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 …]
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 …]
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
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");
/kernel/linux/linux-6.6/Documentation/driver-api/pm/
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 …]
/kernel/linux/linux-5.10/Documentation/driver-api/pm/
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 …]
/kernel/linux/linux-6.6/tools/power/cpupower/lib/
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()
282 * Zero if cpuidle does not export any C-states
291 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
295 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
[all …]
/kernel/linux/linux-5.10/tools/power/cpupower/lib/
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()
282 * Zero if cpuidle does not export any C-states
291 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
295 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count()
[all …]
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
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 …]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/
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 …]
/kernel/linux/linux-6.6/tools/power/cpupower/man/
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
/kernel/linux/linux-5.10/tools/power/cpupower/man/
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
/kernel/linux/linux-5.10/tools/power/cpupower/po/
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 …]
/kernel/linux/linux-6.6/tools/power/cpupower/po/
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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
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``
23 works in general, so this is the time to get familiar with :doc:`cpuidle` if you
55 In order to create a list of available idle states required by the ``CPUIdle``
56 subsystem (see :ref:`idle-states-representation` in :doc:`cpuidle`),
71 ``CPUIdle`` subsystem expects that the list of idle states supplied by the
73 registered as the ``CPUIdle`` driver for all of the CPUs in the system, the
95 default (so all of them will be taken into consideration by ``CPUIdle``
101 :ref:`idle-states-representation` in :doc:`cpuidle`). This basically means that
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/pm/
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 …]

12345678910>>...14