Home
last modified time | relevance | path

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

123456

/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/drivers/cpuidle/
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"
130 * @drv: cpuidle driver for the given CPU.
131 * @dev: cpuidle device for the given CPU.
157 * cpuidle mechanism enables interrupts and doing that with timekeeping in enter_s2idle_proper()
185 * @drv: cpuidle driver for the given CPU.
186 * @dev: cpuidle device for the given CPU.
213 * @dev: cpuidle device for this cpu
214 * @drv: cpuidle driver for this cpu
[all …]
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 Dcpuidle-psci.c9 #define pr_fmt(fmt) "CPUidle PSCI: " fmt
13 #include <linux/cpuidle.h>
27 #include <asm/cpuidle.h>
30 #include "cpuidle-psci.h"
211 "cpuidle/psci:online", in psci_idle_init_cpuhp()
425 * psci_idle_probe - Initializes PSCI cpuidle driver
427 * Initializes PSCI cpuidle driver for all present CPUs, if any CPU fails
428 * to register cpuidle driver then rollback to cancel all CPUs
484 fdev = faux_device_create("psci-cpuidle", NULL, &psci_cpuidle_ops); in psci_idle_init()
486 pr_err("Failed to create psci-cpuidle device\n"); in psci_idle_init()
H A Dcpuidle-exynos.c6 * Coupled cpuidle support based on the work of:
11 #include <linux/cpuidle.h>
17 #include <linux/platform_data/cpuidle-exynos.h>
20 #include <asm/cpuidle.h>
130 dev_err(&pdev->dev, "failed to register cpuidle driver\n"); in exynos_cpuidle_probe()
H A Dcpuidle-at91.c3 * based on arch/arm/mach-kirkwood/cpuidle.c
16 #include <linux/cpuidle.h>
19 #include <asm/cpuidle.h>
58 .name = "cpuidle-at91",
H A Dcpuidle-calxeda.c5 * Based on arch/arm/plat-mxc/cpuidle.c: #v3.7
12 #include <linux/cpuidle.h>
19 #include <asm/cpuidle.h>
68 .name = "cpuidle-calxeda",
/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()
291 * Zero if cpuidle does not export any C-states
300 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count()
304 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state in cpuidle_state_count()
[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/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.]
45 ``/sys/devices/system/cpu/cpuidle/``:
76 In order to create a list of available idle states required by the ``CPUIdle``
78 Documentation/admin-guide/pm/cpuidle.rst),
93 ``CPUIdle`` subsystem expects that the list of idle states supplied by the
95 registered as the ``CPUIdle`` driver for all of the CPUs in the system, the
117 default (so all of them will be taken into consideration by ``CPUIdle``
[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
/linux/arch/arm/mach-omap2/
H A Dcpuidle34xx.c23 #include <linux/cpuidle.h>
26 #include <asm/cpuidle.h>
103 * @dev: cpuidle device
104 * @drv: cpuidle driver
158 * @dev: cpuidle device
159 * @drv: cpuidle driver
212 * @dev: cpuidle device
213 * @drv: cpuidle driver
403 * Registers the OMAP3 specific cpuidle driver to the cpuidle
H A Dcpuidle44xx.c11 #include <linux/cpuidle.h>
16 #include <asm/cpuidle.h>
76 * omap_enter_idle_[simple/coupled] - OMAP4PLUS cpuidle entry functions
77 * @dev: cpuidle device
78 * @drv: cpuidle driver
81 * Called from the CPUidle framework to program the device to the
303 * Registers the OMAP4+ specific cpuidle driver to the cpuidle
/linux/drivers/thermal/
H A Dcpuidle_cooling.c8 #define pr_fmt(fmt) "cpuidle cooling: " fmt
12 #include <linux/cpuidle.h>
160 * @drv: a cpuidle driver structure pointer
163 * This function is in charge of allocating the cpuidle cooling device
236 * @drv: a cpuidle driver structure pointer
238 * This function is in charge of creating a cooling device per cpuidle
265 pr_err("Failed to register the cpuidle cooling device" \ in cpuidle_cooling_register()

123456