Home
last modified time | relevance | path

Searched +full:autosuspend +full:- +full:delay (Results 1 – 25 of 176) sorted by relevance

12345678

/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
17 * Changing the default idle-delay time
20 * The driver interface for autosuspend and autoresume
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
67 ----------------------
85 --------------------------
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
17 * Changing the default idle-delay time
20 * The driver interface for autosuspend and autoresume
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
67 ----------------------
85 --------------------------
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
DKconfig.profile14 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)"
21 that complements the runtime-pm autosuspend and provides a lower
22 floor on the autosuspend delay.
24 May be 0 to disable the extra delay and solely use the device level
25 runtime pm autosuspend delay tunable.
32 check the health of the GPU and undertake regular house-keeping of
66 take a non-negligible time to setup, we do a short spin first to
Dintel_wakeref.h2 * SPDX-License-Identifier: MIT
74 * Note that @fn is allowed to fail, in which case the runtime-pm wakeref
84 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
102 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_get()
103 atomic_inc(&wf->count); in __intel_wakeref_get()
118 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
135 * Note that @fn is allowed to fail, in which case the runtime-pm wakeref
145 GENMASK(BITS_PER_LONG - 1, __INTEL_WAKEREF_PUT_LAST_BIT__) in __intel_wakeref_put()
147 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_put()
148 if (unlikely(!atomic_add_unless(&wf->count, -1, 1))) in __intel_wakeref_put()
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 put their PM-related work items. It is strongly recommended that pm_wq be
20 them to be synchronized with system-wide power transitions (suspend to RAM,
53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks
57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
60 2. Device type of the device, if both dev->type and dev->type->pm are present.
62 3. Device class of the device, if both dev->class and dev->class->pm are
65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
69 dev->driver->pm directly (if present).
73 and bus type. Moreover, the high-priority one will always take precedence over
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dtrf7970a.txt4 - compatible: Should be "ti,trf7970a".
5 - spi-max-frequency: Maximum SPI frequency (<= 2000000).
6 - interrupts: A single interrupt specifier.
7 - ti,enable-gpios: One or two GPIO entries used for 'EN' and 'EN2' pins on the
9 - vin-supply: Regulator for supply voltage to VIN pin
12 - pinctrl-names: Contains only one value - "default".
13 - pintctrl-0: Specifies the pin control groups used for this controller.
14 - autosuspend-delay: Specify autosuspend delay in milliseconds.
15 - irq-status-read-quirk: Specify that the trf7970a being used has the
17 - en2-rf-quirk: Specify that the trf7970a being used has the "EN2 RF"
[all …]
/kernel/linux/linux-5.10/include/linux/
Dpm_runtime.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pm_runtime.h - Device run-time power management helper functions.
42 extern int pm_schedule_suspend(struct device *dev, unsigned int delay);
52 extern void pm_runtime_set_autosuspend_delay(struct device *dev, int delay);
66 * pm_runtime_get_if_in_use - Conditionally bump up runtime PM usage counter.
78 * pm_suspend_ignore_children - Set runtime PM behavior regarding children.
88 dev->power.ignore_children = enable; in pm_suspend_ignore_children()
92 * pm_runtime_get_noresume - Bump up runtime PM usage counter of a device.
97 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume()
101 * pm_runtime_put_noidle - Drop runtime PM usage counter of a device.
[all …]
/kernel/linux/linux-6.6/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 put their PM-related work items. It is strongly recommended that pm_wq be
20 them to be synchronized with system-wide power transitions (suspend to RAM,
53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks
57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
60 2. Device type of the device, if both dev->type and dev->type->pm are present.
62 3. Device class of the device, if both dev->class and dev->class->pm are
65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
69 dev->driver->pm directly (if present).
73 and bus type. Moreover, the high-priority one will always take precedence over
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
DKconfig.profile28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)"
35 that complements the runtime-pm autosuspend and provides a lower
36 floor on the autosuspend delay.
38 May be 0 to disable the extra delay and solely use the device level
39 runtime pm autosuspend delay tunable.
46 check the health of the GPU and undertake regular house-keeping of
98 take a non-negligible time to setup, we do a short spin first to
Dintel_wakeref.h2 * SPDX-License-Identifier: MIT
71 * the runtime pm wakeref and then call the intel_wakeref_ops->get()
74 * Note that intel_wakeref_ops->get() is allowed to fail, in which case
75 * the runtime-pm wakeref will be released and the acquisition unwound,
85 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
103 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_get()
104 atomic_inc(&wf->count); in __intel_wakeref_get()
119 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
130 might_lock(&wf->mutex); in intel_wakeref_might_get()
139 * the runtime pm wakeref will be released after the intel_wakeref_ops->put()
[all …]
Dintel_runtime_pm.h1 /* SPDX-License-Identifier: MIT */
29 * Our driver uses the autosuspend delay feature, which means we'll only really
44 struct device *kdev; /* points to i915->drm.dev */
69 /* Manual runtime pm autosuspend delay for user GGTT/lmem mmaps */
96 #define INTEL_RPM_RAW_WAKEREF_MASK (INTEL_RPM_WAKELOCK_BIAS - 1)
113 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
122 "RPM raw-wakeref not held\n"); in __assert_rpm_raw_wakeref_held()
136 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held()
142 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_held()
146 * disable_rpm_wakeref_asserts - disable the RPM assert checks
[all …]
/kernel/linux/linux-6.6/include/linux/
Dpm_runtime.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pm_runtime.h - Device run-time power management helper functions.
77 extern int pm_schedule_suspend(struct device *dev, unsigned int delay);
87 extern void pm_runtime_set_autosuspend_delay(struct device *dev, int delay);
99 * pm_runtime_get_if_in_use - Conditionally bump up runtime PM usage counter.
111 * pm_suspend_ignore_children - Set runtime PM behavior regarding children.
121 dev->power.ignore_children = enable; in pm_suspend_ignore_children()
125 * pm_runtime_get_noresume - Bump up runtime PM usage counter of a device.
130 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume()
134 * pm_runtime_put_noidle - Drop runtime PM usage counter of a device.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/
Dti,trf7970a.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Mark Greer <mgreer@animalcreek.com>
17 autosuspend-delay:
20 Specify autosuspend delay in milliseconds.
22 clock-frequency:
27 en2-rf-quirk:
35 irq-status-read-quirk:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dgpio-ir-receiver.txt1 Device-Tree bindings for GPIO IR receiver
4 - compatible: should be "gpio-ir-receiver".
5 - gpios: specifies GPIO used for IR signal reception.
8 - linux,rc-map-name: see rc.txt file in the same
10 - linux,autosuspend-period: autosuspend delay time,
15 ir: ir-receiver {
16 compatible = "gpio-ir-receiver";
18 linux,rc-map-name = "rc-rc6-mce";
19 linux,autosuspend-period = <125>;
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Dgpio-ir-receiver.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
13 - $ref: rc.yaml#
17 const: gpio-ir-receiver
22 linux,autosuspend-period:
23 description: autosuspend delay time in milliseconds
26 wakeup-source:
[all …]
/kernel/linux/linux-6.6/drivers/usb/core/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
30 Documentation/driver-api/usb/persist.rst for more info.
45 Say N here unless you require new-device enumeration failure to
64 "Dual-Role" device, which can act as either a device
69 Select this only if your board has Mini-AB/Micro-AB
97 Implements OTG Finite State Machine as specified in On-The-Go
109 int "Default autosuspend delay"
113 The default autosuspend delay in seconds. Can be overridden
114 with the usbcore.autosuspend command line or module parameter.
117 this value if you want a different delay and cannot modify
/kernel/linux/linux-5.10/drivers/usb/core/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
30 Documentation/driver-api/usb/persist.rst for more info.
45 Say N here unless you require new-device enumeration failure to
64 "Dual-Role" device, which can act as either a device
69 Select this only if your board has Mini-AB/Micro-AB
97 Implements OTG Finite State Machine as specified in On-The-Go
109 int "Default autosuspend delay"
113 The default autosuspend delay in seconds. Can be overridden
114 with the usbcore.autosuspend command line or module parameter.
117 this value if you want a different delay and cannot modify
/kernel/linux/linux-6.6/Documentation/ABI/stable/
Dsysfs-bus-usb8 not the "USB-Persist" facility is enabled for the device. For
12 For more information, see Documentation/driver-api/usb/persist.rst.
14 What: /sys/bus/usb/devices/.../power/autosuspend
20 power/autosuspend. This file holds the time (in seconds)
27 The autosuspend delay for newly-created devices is set to
28 the value of the usbcore.autosuspend module parameter.
37 connected to the machine. This file is read-only.
49 active, i.e. not in a suspended state. This file is read-only.
63 What: /sys/bus/usb/devices/<busnum>-<port[.port]>...:<config num>-<interface num>/supports_autosus…
69 for this interface supports autosuspend. It also
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-bus-usb8 not the "USB-Persist" facility is enabled for the device. For
12 For more information, see Documentation/driver-api/usb/persist.rst.
14 What: /sys/bus/usb/devices/.../power/autosuspend
20 power/autosuspend. This file holds the time (in seconds)
27 The autosuspend delay for newly-created devices is set to
28 the value of the usbcore.autosuspend module parameter.
37 connected to the machine. This file is read-only.
49 active, i.e. not in a suspended state. This file is read-only.
63 What: /sys/bus/usb/devices/<busnum>-<port[.port]>...:<config num>-<interface num>/supports_autosus…
69 for this interface supports autosuspend. It also
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Druntime.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/runtime.c - Helper functions for device runtime PM
26 if (dev->pm_domain) in __rpm_get_callback()
27 ops = &dev->pm_domain->ops; in __rpm_get_callback()
28 else if (dev->type && dev->type->pm) in __rpm_get_callback()
29 ops = dev->type->pm; in __rpm_get_callback()
30 else if (dev->class && dev->class->pm) in __rpm_get_callback()
31 ops = dev->class->pm; in __rpm_get_callback()
32 else if (dev->bus && dev->bus->pm) in __rpm_get_callback()
33 ops = dev->bus->pm; in __rpm_get_callback()
[all …]
/kernel/linux/linux-6.6/drivers/base/power/
Druntime.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/runtime.c - Helper functions for device runtime PM
26 if (dev->pm_domain) in __rpm_get_callback()
27 ops = &dev->pm_domain->ops; in __rpm_get_callback()
28 else if (dev->type && dev->type->pm) in __rpm_get_callback()
29 ops = dev->type->pm; in __rpm_get_callback()
30 else if (dev->class && dev->class->pm) in __rpm_get_callback()
31 ops = dev->class->pm; in __rpm_get_callback()
32 else if (dev->bus && dev->bus->pm) in __rpm_get_callback()
33 ops = dev->bus->pm; in __rpm_get_callback()
[all …]
/kernel/linux/linux-6.6/block/
Dblk-pm.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/blk-pm.h>
6 #include "blk-mq.h"
9 * blk_pm_runtime_init - Block layer runtime PM initialization routine
14 * Initialize runtime-PM-related fields for @q and start auto suspend for
15 * @dev. Drivers that want to take advantage of request-based runtime PM
22 * the autosuspend delay is set to -1 to make runtime suspend impossible
24 * not need to touch other autosuspend settings.
31 q->dev = dev; in blk_pm_runtime_init()
32 q->rpm_status = RPM_ACTIVE; in blk_pm_runtime_init()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/
Dti,omap-remoteproc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
13 The OMAP family of SoCs usually have one or more slave processor sub-systems
14 that are used to offload some of the processor-intensive tasks, or to manage
17 The processor cores in the sub-system are usually behind an IOMMU, and may
18 contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2
21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/
Dti,omap-remoteproc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
13 The OMAP family of SoCs usually have one or more slave processor sub-systems
14 that are used to offload some of the processor-intensive tasks, or to manage
17 The processor cores in the sub-system are usually behind an IOMMU, and may
18 contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2
21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor
[all …]
/kernel/linux/linux-5.10/block/
Dblk-pm.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/blk-mq.h>
4 #include <linux/blk-pm.h>
7 #include "blk-mq.h"
8 #include "blk-mq-tag.h"
11 * blk_pm_runtime_init - Block layer runtime PM initialization routine
16 * Initialize runtime-PM-related fields for @q and start auto suspend for
17 * @dev. Drivers that want to take advantage of request-based runtime PM
24 * the autosuspend delay is set to -1 to make runtime suspend impossible
26 * not need to touch other autosuspend settings.
[all …]

12345678