Home
last modified time | relevance | path

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

12345678910>>...58

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsprd,sc9860-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/sprd,sc9860-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Baolin Wang <baolin.wang@linux.alibaba.com>
26 of them, so we can not make every Spreadtrum-special configuration
39 to configure the pin sleep mode, function select and sleep related
42 Now we have 4 systems for sleep mode on SC9860 SoC: AP system,
43 PUBCP system, TGLDSP system and AGDSP system. And the pin sleep
45 - input-enable
[all …]
H A Dste,nomadik.txt4 - compatible: "stericsson,db8500-pinctrl", "stericsson,db8540-pinctrl",
5 "stericsson,stn8815-pinctrl"
6 - nomadik-gpio-chips: array of phandles to the corresponding GPIO chips
8 - prcm: phandle to the PRCMU managing the back end of this pin controller
10 Please refer to pinctrl-bindings.txt in this directory for details of the
23 (see pinctrl-bindings.txt):
26 - function: A string containing the name of the function to mux to the
28 - groups : An array of strings. Each string contains the name of a pin
30 set-up.
33 - pins: A string array describing the pins affected by the configuration
[all …]
/linux/arch/arm/mach-pxa/
H A Dsleep.S2 * Low-level PXA250/210 sleep/wakeUp support
17 #include "pxa2xx-regs.h"
28 * pxa3xx_finish_suspend() - forces CPU into sleep state (S2D3C4)
31 mov r0, #0x06 @ S2D3C4 mode
32 mcr p14, 0, r0, c7, c0, 0 @ enter sleep
34 20: b 20b @ waiting for sleep
41 * Forces CPU into sleep state.
43 * r0 = value for PWRMODE M field for desired sleep state
46 @ Put the processor to sleep
49 @ prepare value for sleep mode
[all …]
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/kernel/time/
H A Dsleep_timeout.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "tick-internal.h"
27 wake_up_process(timeout->task); in process_timeout()
31 * schedule_timeout - sleep until timeout
34 * Make the current task sleep until @timeout jiffies have elapsed.
38 * %TASK_RUNNING - the scheduler is called, but the task does not sleep
42 * %TASK_UNINTERRUPTIBLE - at least @timeout jiffies are guaranteed to
46 * %TASK_INTERRUPTIBLE - the routine may return early if a signal is
59 * to be non-negative.
105 timeout = expire - jiffies; in schedule_timeout()
[all …]
/linux/Documentation/admin-guide/
H A Dbtmrvl.rst13 These commands are used to configure the host sleep parameters::
14 bit 8:0 -- Gap
15 bit 16:8 -- GPIO
18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface
22 wakeup event, or 0xff for special host sleep setting.
35 These commands are used to enable/disable auto sleep mode
39 1 -- Enable auto sleep mode
40 0 -- Disable auto sleep mode
44 # Enable auto sleep mode
48 # Disable auto sleep mode
[all …]
/linux/arch/sh/kernel/cpu/shmobile/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0
19 * Notifier lists for pre/post sleep notification
25 * Sleep modes available on SuperH Mobile:
27 * Sleep mode is just plain "sleep" instruction
28 * Sleep Self-Refresh mode is above plus RAM put in Self-Refresh
29 * Standby Self-Refresh mode is above plus stopped clocks
37 * U-standby mode is unsupported since it needs bootloader hacks
46 void sh_mobile_call_standby(unsigned long mode) in sh_mobile_call_standby() argument
56 mode, NULL); in sh_mobile_call_standby()
59 if (mode & SUSP_SH_MMU) in sh_mobile_call_standby()
[all …]
H A Dcpuidle.c1 // SPDX-License-Identifier: GPL-2.0
19 SUSP_SH_SLEEP, /* regular sleep mode */
20 SUSP_SH_SLEEP | SUSP_SH_SF, /* sleep mode + self refresh */
21 SUSP_SH_STANDBY | SUSP_SH_SF, /* software standby mode + self refresh */
33 /* convert allowed mode to allowed state */ in cpuidle_sleep_enter()
34 for (k = ARRAY_SIZE(cpuidle_mode) - 1; k > 0; k--) in cpuidle_sleep_enter()
40 /* take the following into account for sleep mode selection: in cpuidle_sleep_enter()
41 * - allowed_state: best mode allowed by hardware (clock deps) in cpuidle_sleep_enter()
42 * - requested_state: best mode allowed by software (latencies) in cpuidle_sleep_enter()
61 .desc = "SuperH Sleep Mode",
[all …]
H A Dsleep.S1 /* SPDX-License-Identifier: GPL-2.0
3 * arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S
5 * Sleep mode and Standby modes support for SuperH Mobile
13 #include <asm/asm-offsets.h>
17 * Kernel mode register usage, see entry.S:
24 /* manage self-refresh and enter standby mode. must be self-contained.
25 * this code will be copied to on-chip memory and executed from there.
30 /* save mode flags */
37 /* point vbr to our on-chip memory page */
53 sts.l pr, @-r15
[all …]
/linux/drivers/regulator/
H A Dda9062-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
4 // Copyright (C) 2015-2017 Dialog Semiconductor
19 #include <dt-bindings/regulator/dlg,da9063-regulator.h>
49 struct reg_field mode; member
51 struct reg_field sleep; member
65 struct regmap_field *mode; member
67 struct regmap_field *sleep; member
82 * - DA9061_ID_[BUCK1|BUCK3]
83 * - DA9062_ID_[BUCK1|BUCK2|BUCK4]
92 * - DA9061_ID_BUCK2
[all …]
H A Dda9063-regulator.c1 // SPDX-License-Identifier: GPL-2.0+
27 REG_FIELD(_reg, __builtin_ffs((int)_mask) - 1, \
28 sizeof(unsigned int) * 8 - __builtin_clz((_mask)) - 1)
40 /* BCORE1 and BCORE2 in merged mode */
42 /* BMEM and BIO in merged mode */
53 /* DA9063-only LDOs */
78 struct reg_field mode; /* buck mode of operation */ member
80 struct reg_field sleep; member
98 .desc.n_voltages = (((max_mV) - (min_mV))/(step_mV) + 1 \
105 .sleep = BFIELD(DA9063_REG_V##regl_name##_A, DA9063_LDO_SL), \
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam437x-gp-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
8 /dts-v1/;
11 #include <dt-bindings/pinctrl/am43xx.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include <dt-bindings/gpio/gpio.h>
17 compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
24 stdout-path = &uart0;
27 evm_v3_3d: fixedregulator-v3_3d {
28 compatible = "regulator-fixed";
[all …]
/linux/arch/sh/include/asm/
H A Dsuspend.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 void sh_mobile_call_standby(unsigned long mode);
23 /* notifier chains for pre/post sleep hooks */
31 #define SH_MOBILE_POST(x) (-(x))
33 /* board code registration function for self-refresh assembly snippets */
58 /* data area for low-level sleep code */
60 /* current sleep mode (SUSP_SH_...) */
61 unsigned long mode; member
63 /* addresses of board specific self-refresh snippets */
83 /* a bitmap of supported sleep modes (SUSP_SH..) */
[all …]
/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
27 * during run mode.
30 * mode : run mode (IPC_MEM_EXEC_STAGE_RUN)
36 * during boot mode.
39 * mode : boot mode
46 * struct ipc_protocol_context_info - Structure of the context info
74 * struct ipc_protocol_device_info - Structure for the device information
86 * struct ipc_protocol_ap_shm - Protocol Shared Memory Structure
107 * struct iosm_protocol - Structure for IPC protocol.
[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
26 * mode, the oscillator will be turned on and will generate very
27 * small oscillations which will not be detected by the deep sleep
29 * large enough to start incrementing the deep sleep counter.
37 * is taken out of deepsleep mode. A value of 128 would be more than
/linux/arch/arm/mach-omap2/
H A Dclockdomain.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2008-2011 Texas Instruments, Inc.
6 * Copyright (C) 2008-2011 Nokia Corporation
22 #include <linux/clk-provider.h>
37 /* array of clockdomain deps to be added/removed when clkdm in hwsup mode */
56 if (!strcmp(name, temp_clkdm->name)) { in _clkdm_lookup()
66 * _clkdm_register - register a clockdomain
70 * Returns -EINVAL if given a null pointer, -EEXIST if a clockdomain is
77 if (!clkdm || !clkdm->name) in _clkdm_register()
78 return -EINVAL; in _clkdm_register()
[all …]
H A Dclockdomain.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (C) 2008-2011 Nokia Corporation
33 * hardware-supervised idle mode, the PRCM may transition the
38 * force-sleep mode, then the HW_AUTO mode will be used to put the
39 * clockdomain to sleep. Similarly, if the clockdomain supports
40 * the force-wakeup mode, then it will be used whenever a clock or
42 * HW_AUTO mode.
58 * struct clkdm_autodep - clkdm deps to add when entering/exiting hwsup mode
59 * @clkdm: clockdomain to add wkdep+sleepdep on - set name member only
62 * clockdomain should stay active in hwsup mode; and conversely,
[all …]
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
38 * if in unlocked mode.
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.
[all …]
/linux/drivers/video/backlight/
H A Dtdo24m.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tdo24m - SPI-based drivers for Toppoly TDO24M series LCD panels
32 int (*adj_mode)(struct tdo24m *lcd, int mode);
36 int mode; member
44 #define CMD_NULL (-1)
57 CMD0(0x11), /* Sleep out */
65 CMD0(0x10), /* Sleep in */
145 CMD0(0x11), /* sleep out */
146 CMD1(0xba, 0x01), /* Display mode (1) */
147 CMD1(0xbb, 0x00), /* Display mode (2) */
[all …]
/linux/include/linux/
H A Dwait.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 typedef int (*wait_queue_func_t)(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void …
16 int default_wake_function(struct wait_queue_entry *wq_entry, unsigned mode, int flags, void *key);
26 * A single wait-queue entry structure:
82 wq_entry->flags = 0; in init_waitqueue_entry()
83 wq_entry->private = p; in init_waitqueue_entry()
84 wq_entry->func = default_wake_function; in init_waitqueue_entry()
90 wq_entry->flags = 0; in init_waitqueue_func_entry()
91 wq_entry->private = NULL; in init_waitqueue_func_entry()
92 wq_entry->func = func; in init_waitqueue_func_entry()
[all …]
/linux/tools/testing/selftests/drivers/sdsi/
H A Dsdsi_test.py2 # SPDX-License-Identifier: GPL-2.0
5 from time import sleep
29 with open(file, mode='rb') as f:
43 result = subprocess.check_output(('grep', '-q', MODULE_NAME), stdin=lsmod_p.stdout)
67 mode = os.stat(folder + "guid").st_mode & 0o777
68 assert mode == 0o444 # Read all
69 mode = os.stat(folder + "registers").st_mode & 0o777
70 assert mode == 0o400 # Read owner
71 mode = os.stat(folder + "provision_akc").st_mode & 0o777
72 assert mode == 0o200 # Read owner
[all …]
/linux/tools/testing/selftests/net/
H A Dlwt_dst_cache_ref_loop.sh2 # SPDX-License-Identifier: GPL-2.0+
7 # -------
18 # - ila_lwt (output only)
19 # - ioam6_iptunnel (output only)
20 # - rpl_iptunnel (both input and output)
21 # - seg6_iptunnel (both input and output)
37 ip -netns $tmp_node link set veth0 up &>/dev/null
40 ip -netns $tmp_node link set veth1 up &>/dev/null
49 lsmod 2>/dev/null | grep -q "ila"
53 ip -netns $tmp_node route add 2001:db8:1::/64 \
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dreset.c2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org>
3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com>
4 * Copyright (c) 2007-2008 Luis Rodriguez <mcgrof@winlab.rutgers.edu>
5 * Copyright (c) 2007-2008 Pavel Roskin <proski@gnu.org>
6 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com>
30 #include <linux/pci.h> /* To determine if a card is pci-e */
43 * that don't fit on other places such as clock, sleep and power control
52 * ath5k_hw_register_timeout() - Poll a register for a flag/field change
64 * Returns -EAGAIN if we exceeded AR5K_TUNE_REGISTER_TIMEOUT * 15us or 0
73 for (i = AR5K_TUNE_REGISTER_TIMEOUT; i > 0; i--) { in ath5k_hw_register_timeout()
[all …]
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom-stats.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Maulik Shah <quic_mkshah@quicinc.com>
14 sleep modes involving powering down of the rails and oscillator clock.
16 Statistics includes SoC sleep mode type, number of times low power mode were
17 entered, time of last entry, time of last exit and accumulated sleep duration.
22 - qcom,rpmh-stats
23 - qcom,sdm845-rpmh-stats
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect_multi.sh

12345678910>>...58