Home
last modified time | relevance | path

Searched +full:autosleep +full:- +full:timeout (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/mfd/
H A Dstmpe.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) ST-Ericsson SA 2010
7 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
26 * struct stmpe_platform_data - STMPE platform data
30 * @autosleep: bool to enable/disable stmpe autosleep
31 * @autosleep_timeout: inactivity timeout in milliseconds for autosleep
37 bool autosleep; member
43 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable()
48 return stmpe->variant->enable(stmpe, blocks, false); in __stmpe_disable()
55 ret = stmpe->ci->read_byte(stmpe, reg); in __stmpe_reg_read()
[all …]
H A Dstmpe.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) ST-Ericsson SA 2010
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
33 * struct stmpe_variant_block - information about block
47 * struct stmpe_variant_info - variant-specific information
61 * @enable_autosleep: callback to configure autosleep with specified timeout
79 * struct stmpe_client_info - i2c or spi specific routines/info
/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmpe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - st,stmpe601
24 - st,stmpe801
25 - st,stmpe811
26 - st,stmpe1600
27 - st,stmpe1601
[all …]
/linux/include/linux/
H A Dpm_wakeup.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pm_wakeup.h - Power management wakeup interface
21 * struct wakeup_source - Representation of wakeup sources
33 * @prevent_sleep_time: Total time this source has been preventing autosleep.
37 * @expire_count: Number of times the wakeup source's timeout has expired.
41 * @autosleep_enabled: Autosleep is active, so update @prevent_sleep_time.
79 return dev->power.can_wakeup; in device_can_wakeup()
84 return dev->power.can_wakeup && !!dev->power.wakeup; in device_may_wakeup()
89 return dev->power.wakeup_path; in device_wakeup_path()
94 dev->power.wakeup_path = true; in device_set_wakeup_path()
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-power15 labels, which may be "mem" (suspend), "standby" (power-on
16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation).
21 See Documentation/admin-guide/pm/sleep-states.rst for more
39 See Documentation/admin-guide/pm/sleep-states.rst for more
47 suspend-to-disk mechanism. Reading from this file returns
51 'firmware' - means that the memory image will be saved to disk
55 'platform' - the memory image will be saved by the kernel and
59 'shutdown' - the memory image will be saved by the kernel and
62 'reboot' - the memory image will be saved by the kernel and
66 two testing modes of the suspend-to-disk mechanism: 'testproc'
[all …]
/linux/arch/arm/boot/dts/st/
H A Dste-href-stuib.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2012 ST-Ericsson AB
6 #include <dt-bindings/interrupt-controller/irq.h>
10 compatible = "gpio-keys";
11 #address-cells = <1>;
12 #size-cells = <0>;
13 vdd-supply = <&ab8500_ldo_aux1_reg>;
14 pinctrl-names = "default";
15 pinctrl-0 = <&prox_stuib_mode>, <&hall_stuib_mode>;
33 stmpe1601: port-expander@40 {
[all …]
/linux/kernel/power/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 suspend-to-RAM state (e.g. the ACPI S3 state).
30 user-space before invoking suspend. There's a run-time switch
32 This setting changes the default for the run-tim switch. Say Y
60 for suspend states like suspend-to-RAM (STR) often don't work very
72 <file:Documentation/power/swsusp-and-swap-files.rst>).
122 The default resume partition is the partition that the suspend-
123 to-disk implementation will look for a suspended disk image.
157 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This
171 Notify kernel of aggressive userspace autosleep power management policy.
[all …]