Home
last modified time | relevance | path

Searched +full:deep +full:- +full:sleep (Results 1 – 25 of 166) sorted by relevance

1234567

/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Duncore-power.json146 "BriefDescription": "Deep C State Rejection - Core 0",
151 …ription": "Number of times that a deep C state was requested, but the delayed C state algorithm re…
155 "BriefDescription": "Deep C State Rejection - Core 1",
160 …ription": "Number of times that a deep C state was requested, but the delayed C state algorithm re…
164 "BriefDescription": "Deep C State Rejection - Core 10",
169 …ription": "Number of times that a deep C state was requested, but the delayed C state algorithm re…
173 "BriefDescription": "Deep C State Rejection - Core 11",
178 …ription": "Number of times that a deep C state was requested, but the delayed C state algorithm re…
182 "BriefDescription": "Deep C State Rejection - Core 12",
187 …ription": "Number of times that a deep C state was requested, but the delayed C state algorithm re…
[all …]
/linux/arch/arm/mach-davinci/
H A Dpm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 * Caution: Assembly code in sleep.S makes assumtion on the order
25 * fully disabled in deep sleep mode. When you exist deep sleep
27 * small oscillations which will not be detected by the deep sleep
29 * large enough to start incrementing the deep sleep counter.
H A Dsleep.S1 /* SPDX-License-Identifier: GPL-2.0-only */
29 * Move DaVinci into deep sleep state
32 * wakes up it continues execution at the point it went to sleep.
35 * r1: contains virtual base for DDR2 Power and Sleep controller (PSC)
41 stmfd sp!, {r0-r12, lr} @ save registers on stack
46 ldmia r0, {r0-r4}
49 * Switch DDR to self-refresh mode.
93 /* Go to deep sleep */
96 /* System goes to sleep beyond after this instruction */
99 /* Wake up from sleep */
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsprd,pinctrl.txt16 of them, so we can not make every Spreadtrum-special configuration
29 to configure the pin sleep mode, function select and sleep related
32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system,
33 PUBCP system, TGLDSP system and AGDSP system. And the pin sleep
35 - input-enable
36 - input-disable
37 - output-high
38 - output-low
39 - bias-pull-up
40 - bias-pull-down
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dpmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - J. Neuschäfer <j.ne@posteo.net>
14 controlling chip-wide low-power states as well as peripheral clock gating.
16 Sleep of peripheral devices is configured by the `sleep` property, for
17 example `sleep = <&pmc 0x00000030>`. Any cells after the &pmc phandle are
18 called a sleep specifier.
20 For "fsl,mpc8349-pmc", sleep specifiers consist of one cell. For each bit that
22 on suspend, and restored on resume. This sleep controller supports disabling
[all …]
/linux/Documentation/admin-guide/pm/
H A Dsuspend-flows.rst1 .. SPDX-License-Identifier: GPL-2.0
12 At least one global system-wide transition needs to be carried out for the
14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one
15 transition to occur for this purpose, but the other sleep states, commonly
16 referred to as *system-wide suspend* (or simply *system suspend*) states, need
19 For those sleep states, the transition from the working state of the system into
20 the target sleep state is referred to as *system suspend* too (in the majority
21 of cases, whether this means a transition or a sleep state of the system should
22 be clear from the context) and the transition back from the sleep state into the
26 different sleep states of the system are quite similar, but there are some
[all …]
H A Dsleep-states.rst1 .. SPDX-License-Identifier: GPL-2.0
5 System Sleep States
13 Sleep states are global low-power states of the entire system in which user
18 Sleep States That Can Be Supported
22 the Linux kernel can support up to four system sleep states, including
23 hibernation and up to three variants of system suspend. The sleep states that
28 Suspend-to-Idle
29 ---------------
31 This is a generic, pure software, light-weight variant of system suspend (also
34 I/O devices into low-power states (possibly lower-power than available in the
[all …]
/linux/drivers/power/reset/
H A Datc260x-poweroff.c1 // SPDX-License-Identifier: GPL-2.0+
27 /* S4-Deep Sleep Mode is NOT available for WALL/USB power */ in atc2603c_do_poweroff()
30 dev_info(pwrc->dev, "Enabling S4-Deep Sleep Mode"); in atc2603c_do_poweroff()
38 ret = regmap_update_bits(pwrc->regmap, ATC2603C_PMU_SYS_CTL0, in atc2603c_do_poweroff()
41 dev_warn(pwrc->dev, "failed to write SYS_CTL0: %d\n", ret); in atc2603c_do_poweroff()
46 ret = regmap_update_bits(pwrc->regmap, ATC2603C_PMU_SYS_CTL3, reg_mask, in atc2603c_do_poweroff()
49 dev_err(pwrc->dev, "failed to write SYS_CTL3: %d\n", ret); in atc2603c_do_poweroff()
58 ret = regmap_update_bits(pwrc->regmap, in atc2603c_do_poweroff()
62 dev_err(pwrc->dev, "failed to write SYS_CTL%d: %d\n", in atc2603c_do_poweroff()
78 /* S4-Deep Sleep Mode is NOT available for WALL/USB power */ in atc2609a_do_poweroff()
[all …]
/linux/arch/powerpc/platforms/83xx/
H A Dsuspend.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2006-2007 Freescale Semiconductor, Inc.
49 /* All but PMCI are deep-sleep only */
61 /* deep-sleep only */
68 /* deep-sleep only */
123 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state()
133 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state()
145 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler()
152 out_be32(&pmc_regs->event, event); in pmc_irq_handler()
161 out_be32(&syscr_regs->sicrl, saved_regs.sicrl); in mpc83xx_suspend_restore_regs()
[all …]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pci.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2021-2022, Intel Corporation.
23 #include <linux/dma-mapping.h>
80 return -ENODEV; in t7xx_mode_store()
82 mode = READ_ONCE(t7xx_dev->mode); in t7xx_mode_store()
86 return -EBUSY; in t7xx_mode_store()
92 WRITE_ONCE(t7xx_dev->mode, T7XX_FASTBOOT_SWITCHING); in t7xx_mode_store()
114 return -ENODEV; in t7xx_mode_show()
116 mode = READ_ONCE(t7xx_dev->mode); in t7xx_mode_show()
137 return -ENODEV; in t7xx_debug_ports_store()
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dwkup-m3-ipc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/ti/wkup-m3-ipc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dave Gerlach <d-gerlach@ti.com>
11 - Drew Fustini <dfustini@baylibre.com>
14 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor
16 that cannot be controlled from the MPU, like suspend/resume and certain deep
17 C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver
29 On some boards like the AM335x EVM-SK and the AM437x GP EVM, a GPIO pin is
[all …]
/linux/arch/arm/mach-omap1/
H A Dpm.c2 * linux/arch/arm/mach-omap1/pm.c
55 #include <linux/soc/ti/omap1-io.h>
57 #include <linux/omap-dma.h>
58 #include <clocksource/timer-ti-dm.h>
91 return -EINVAL; in idle_store()
130 * Even the sleep block count should become obsolete. in omap1_pm_idle()
163 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade, in omap_pm_wakeup_setup()
204 printk(KERN_INFO "PM: OMAP%x is trying to enter deep sleep...\n", in omap1_pm_suspend()
263 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend()
375 * Re-enable interrupts in omap1_pm_suspend()
[all …]
/linux/drivers/input/mouse/
H A Dcyapa_gen6.c21 #include <linux/crc-itu-t.h>
105 return error ? error : -EIO; in cyapa_get_pip_fixed_info()
107 pip_info->family_id = resp_data[8]; in cyapa_get_pip_fixed_info()
108 pip_info->silicon_id_low = resp_data[10]; in cyapa_get_pip_fixed_info()
109 pip_info->silicon_id_high = resp_data[11]; in cyapa_get_pip_fixed_info()
121 return error ? error : -EIO; in cyapa_get_pip_fixed_info()
126 return -EINVAL; in cyapa_get_pip_fixed_info()
128 pip_info->family_id = resp_data[19]; in cyapa_get_pip_fixed_info()
129 pip_info->silicon_id_low = resp_data[21]; in cyapa_get_pip_fixed_info()
130 pip_info->silicon_id_high = resp_data[22]; in cyapa_get_pip_fixed_info()
[all …]
/linux/tools/power/cpupower/man/
H A Dcpupower-idle-set.11 .TH "CPUPOWER-IDLE-SET" "1" "0.1" "" "cpupower Manual"
4 cpupower\-idle\-set \- Utility to set cpu idle state specific kernel options
7 cpupower [ \-c cpulist ] idle\-set [\fIoptions\fP]
10 The cpupower idle\-set subcommand allows to set cpu idle, also called cpu
11 sleep state, specific options offered by the kernel. One example is disabling
12 sleep states. This can be handy for power vs performance tuning.
16 \fB\-d\fR \fB\-\-disable\fR <STATE_NO>
17 Disable a specific processor sleep state.
19 \fB\-e\fR \fB\-\-enable\fR <STATE_NO>
20 Enable a specific processor sleep state.
[all …]
/linux/arch/powerpc/platforms/52xx/
H A Dlite5200_pm.c1 // SPDX-License-Identifier: GPL-2.0
44 return -EINVAL; in lite5200_pm_begin()
51 { .compatible = "fsl,mpc5200-immr", }, in lite5200_pm_prepare()
52 { .compatible = "fsl,mpc5200b-immr", }, in lite5200_pm_prepare()
59 /* deep sleep? let mpc52xx code handle that */ in lite5200_pm_prepare()
64 return -EINVAL; in lite5200_pm_prepare()
74 return -ENOSYS; in lite5200_pm_prepare()
128 out_be32(&xlb->snoop_window, sxlb.snoop_window); in lite5200_restore_regs()
129 out_be32(&xlb->master_priority, sxlb.master_priority); in lite5200_restore_regs()
130 out_be32(&xlb->master_pri_enable, sxlb.master_pri_enable); in lite5200_restore_regs()
[all …]
/linux/arch/arm/mach-pxa/
H A Dpxa2xx-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
5 * Taken from pxa-regs.h by Russell King
14 #include "pxa-regs.h"
21 #define PSSR __REG(0x40F00004) /* Power Manager Sleep Status Register */
23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */
24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */
25 #define PFER __REG(0x40F00014) /* Power Manager GPIO Falling-Edge Detect Enable Register */
28 #define PGSR0 __REG(0x40F00020) /* Power Manager GPIO Sleep State Register for GP[31-0] */
29 #define PGSR1 __REG(0x40F00024) /* Power Manager GPIO Sleep State Register for GP[63-32] */
[all …]
/linux/arch/arm/mach-mvebu/
H A Dplatsmp-a9.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Symmetric Multi Processing (SMP) support for Marvell EBU Cortex-A9
8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 * Write the address of secondary startup into the system-wide in mvebu_cortex_a9_boot_secondary()
61 * for this CPU might be in the deep idle state, preventing this CPU
76 * deep idle sleep state. in armada_38x_cpu_die()
84 * anything, because CPUs going offline can enter the deep idle state
106 CPU_METHOD_OF_DECLARE(mvebu_armada_375_smp, "marvell,armada-375-smp",
108 CPU_METHOD_OF_DECLARE(mvebu_armada_380_smp, "marvell,armada-380-smp",
[all …]
/linux/include/linux/fsl/
H A Dguts.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
29 u32 porpllsr; /* 0x.0000 - POR PLL Ratio Status Register */
30 u32 porbmsr; /* 0x.0004 - POR Boot Mode Status Register */
31 u32 porimpscr; /* 0x.0008 - POR I/O Impedance Status and
34 u32 pordevsr; /* 0x.000c - POR I/O Device Status Register */
35 u32 pordbgmsr; /* 0x.0010 - POR Debug Mode Status Register */
36 u32 pordevsr2; /* 0x.0014 - POR device status register 2 */
37 u8 res018[0x20 - 0x18];
38 u32 porcir; /* 0x.0020 - POR Configuration Information
41 u8 res024[0x30 - 0x24];
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-cros-ec1 What: /sys/kernel/debug/<cros-ec-device>/console_log
10 What: /sys/kernel/debug/<cros-ec-device>/panicinfo
18 What: /sys/kernel/debug/<cros-ec-device>/pdinfo
23 information for all the USB PD/type-C ports available. If
27 What: /sys/kernel/debug/<cros-ec-device>/uptime
36 What: /sys/kernel/debug/<cros-ec-device>/last_resume_result
58 What: /sys/kernel/debug/<cros-ec-device>/suspend_timeout_ms
63 a hardware-controlled sleep line, such as Intel's SLP_S0 line,
64 in order to detect cases where a system failed to go into deep
65 sleep states. The suspend_timeout_ms file controls the amount of
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A DREADME2 # Copyright 2011-2020 NXP
9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
38 Following are some useful iw commands:-
45 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a]
55 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde]
79 mount -t debugfs debugfs /debugfs
98 bss_mode = "Ad-hoc" | "Managed" | "Auto" | "Unknown"
100 mac_address = <6-byte adapter MAC address>
[all …]
/linux/arch/arm/mach-omap2/
H A Dsleep24xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mach-omap2/sleep.S
7 * Richard Woodruff <r-woodruff2@ti.com>
10 * Fixed idle loop sleep
26 * omap24xx_cpu_suspend() - Forces OMAP into deep sleep state by completing
31 * R0 : DLL ctrl value pre-Sleep
40 * For less than 242x-ES2.2 upon wake from a sleep mode where the external
41 * oscillator was stopped, a timing bug exists where a non-stabilized 12MHz
43 * To work around this the code will switch to the 32kHz source prior to sleep.
44 * Post sleep we will shift back to using the DPLL. Apparently,
[all …]
/linux/arch/powerpc/include/asm/
H A Dfsl_pm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2014-2015 Freescale Semiconductor Inc.
36 /* keep the power of IP blocks during sleep/deep sleep */
/linux/drivers/cpuidle/governors/
H A Dteo.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2018 - 2021 Intel Corporation
10 * DOC: teo-description
20 * Of course, non-timer wakeup sources are more important in some use cases,
22 * greater than the time till the next timer event, referred as the sleep
26 * However, since obtaining the sleep length may be costly, the governor first
28 * from recent times, in which case it can do without knowing the sleep length
33 * sleep length need not be determined.
51 * sleep length and the idle duration measured after CPU wakeup fall into the
52 * same bin (that is, the CPU appears to wake up "on time" relative to the sleep
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A Dcmd.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #define CAL_NF(nf) ((s32)(-(s32)(nf)))
22 * lbs_cmd_copyback - Simple callback that copies response back into command
37 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbs_cmd_copyback()
44 * lbs_cmd_async_callback - Simple callback that ignores the result.
62 * is_command_allowed_in_ps - tests if a command is allowed in Power Save mode
82 * lbs_update_hw_spec - Updates the hardware details like MAC address
92 int ret = -1; in lbs_update_hw_spec()
97 memcpy(cmd.permanentaddr, priv->current_addr, ETH_ALEN); in lbs_update_hw_spec()
102 priv->fwcapinfo = le32_to_cpu(cmd.fwcapinfo); in lbs_update_hw_spec()
[all …]
/linux/net/mac80211/
H A Dmesh_ps.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2012-2013, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de>
4 * Copyright 2012-2013, cozybit Inc.
16 * mps_qos_null_get - create pre-addressed QoS Null frame for mesh powersave
23 struct ieee80211_sub_if_data *sdata = sta->sdat in mps_qos_null_get()
[all...]

1234567