Home
last modified time | relevance | path

Searched +full:suspend +full:- +full:in +full:- +full:wait (Results 1 – 25 of 1059) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2013 Realtek Corporation.*/
8 /* Check document WM-20110607-Paul-RTL8188EE_Power_Architecture-R02.vsd
10 * 0: POFF--Power Off
11 * 1: PDN--Power Down
12 * 2: CARDEMU--Card Emulation
13 * 3: ACT--Active Mode
14 * 4: LPS--Low Power State
15 * 5: SUS--Suspend
47 /* wait till 0x04[17] = 1 power ready*/}, \
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2013 Realtek Corporation.*/
8 /* Check document WM-20110607-Paul-RTL8188EE_Power_Architecture-R02.vsd
10 * 0: POFF--Power Off
11 * 1: PDN--Power Down
12 * 2: CARDEMU--Card Emulation
13 * 3: ACT--Active Mode
14 * 4: LPS--Low Power State
15 * 5: SUS--Suspend
47 /* wait till 0x04[17] = 1 power ready*/}, \
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/firmware/
Dfirmware_cache.rst5 When Linux resumes from suspend some device drivers require firmware lookups to
6 re-initialize devices. During resume there may be a period of time during which
8 requests will fail. Time is of essence though, and delaying drivers to wait for
10 functionality. In order to support these requirements the firmware
15 driver's suspend and resume callback. Users of these API calls needn't cache
18 The firmware cache works by requesting for firmware prior to suspend and
19 caching it in memory. Upon resume device drivers using the firmware API will
20 have access to the firmware immediately, without having to wait for the root
41 will still be used on resume from suspend.
44 as the firmware cache is set up during suspend, the timeout is set back to
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/firmware/
Dfirmware_cache.rst5 When Linux resumes from suspend some device drivers require firmware lookups to
6 re-initialize devices. During resume there may be a period of time during which
8 requests will fail. Time is of essence though, and delaying drivers to wait for
10 functionality. In order to support these requirements the firmware
15 driver's suspend and resume callback. Users of these API calls needn't cache
18 The firmware cache works by requesting for firmware prior to suspend and
19 caching it in memory. Upon resume device drivers using the firmware API will
20 have access to the firmware immediately, without having to wait for the root
41 will still be used on resume from suspend.
44 as the firmware cache is set up during suspend, the timeout is set back to
[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/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2014 Realtek Corporation.*/
9 * Check document WM-20110607-Paul-RTL8192E_Power_Architecture-R02.vsd
11 * 0: POFF--Power Off
12 * 1: PDN--Power Down
13 * 2: CARDEMU--Card Emulation
14 * 3: ACT--Active Mode
15 * 4: LPS--Low Power State
16 * 5: SUS--Suspend
51 /* disable WL suspend*/ \
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2014 Realtek Corporation.*/
9 * Check document WM-20110607-Paul-RTL8192E_Power_Architecture-R02.vsd
11 * 0: POFF--Power Off
12 * 1: PDN--Power Down
13 * 2: CARDEMU--Card Emulation
14 * 3: ACT--Active Mode
15 * 4: LPS--Low Power State
16 * 5: SUS--Suspend
51 /* disable WL suspend*/ \
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/
Dfsl-imx-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Anson Huang <Anson.Huang@nxp.com>
15 - const: fsl,imx21-wdt
16 - items:
17 - enum:
18 - fsl,imx25-wdt
19 - fsl,imx27-wdt
[all …]
/kernel/linux/linux-6.6/drivers/watchdog/
Dimx2_wdt.c1 // SPDX-License-Identifier: GPL-2.0
14 * ---- -----
15 * Registers: 32-bit 16-bit
18 * Halt on suspend: Manual Can be automatic
34 #define DRIVER_NAME "imx2-wdt"
37 #define IMX2_WDT_WCR_WT (0xFF << 8) /* -> Watchdog Timeout Field */
38 #define IMX2_WDT_WCR_WDW BIT(7) /* -> Watchdog disable for WAIT */
39 #define IMX2_WDT_WCR_WDA BIT(5) /* -> External Reset WDOG_B */
40 #define IMX2_WDT_WCR_SRS BIT(4) /* -> Software Reset Signal */
41 #define IMX2_WDT_WCR_WRE BIT(3) /* -> WDOG Reset Enable */
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
9 * Check document WM-20110607-Paul-RTL8723A_Power_Architecture-R02.vsd
11 * 0: POFF--Power Off
12 * 1: PDN--Power Down
13 * 2: CARDEMU--Card Emulation
14 * 3: ACT--Active Mode
15 * 4: LPS--Low Power State
16 * 5: SUS--Suspend
47 /* wait till 0x04[17] = 1 power ready*/ \
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
9 * Check document WM-20110607-Paul-RTL8723A_Power_Architecture-R02.vsd
11 * 0: POFF--Power Off
12 * 1: PDN--Power Down
13 * 2: CARDEMU--Card Emulation
14 * 3: ACT--Active Mode
15 * 4: LPS--Low Power State
16 * 5: SUS--Suspend
47 /* wait till 0x04[17] = 1 power ready*/ \
[all …]
/kernel/linux/linux-6.6/drivers/char/
Dapm-emulation.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bios-less APM driver for ARM Linux
24 #include <linux/suspend.h>
25 #include <linux/apm-emulation.h>
55 * SUSPEND_PENDING: suspend event queued for thread and pending to be read
56 * SUSPEND_READ: suspend event read, pending acknowledgement
60 * SUSPEND_DONE: thread had acked suspend and is now notified of
63 * SUSPEND_WAIT: this thread invoked suspend and is waiting for resume
65 * A thread migrates in one of three paths:
66 * NONE -1-> PENDING -2-> READ -3-> ACKED -4-> DONE -5-> NONE
[all …]
/kernel/linux/linux-5.10/drivers/char/
Dapm-emulation.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bios-less APM driver for ARM Linux
24 #include <linux/suspend.h>
25 #include <linux/apm-emulation.h>
55 * SUSPEND_PENDING: suspend event queued for thread and pending to be read
56 * SUSPEND_READ: suspend event read, pending acknowledgement
60 * SUSPEND_DONE: thread had acked suspend and is now notified of
63 * SUSPEND_WAIT: this thread invoked suspend and is waiting for resume
65 * A thread migrates in one of three paths:
66 * NONE -1-> PENDING -2-> READ -3-> ACKED -4-> DONE -5-> NONE
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
17 * The power management workqueue pm_wq in which bus types and device drivers can
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,
21 hibernation and resume from system sleep states). pm_wq is declared in
22 include/linux/pm_runtime.h and defined in kernel/power/main.c.
24 * A number of runtime PM fields in the 'power' member of 'struct device' (which
25 is of the type 'struct dev_pm_info', defined in include/linux/pm.h) that can
28 * Three device runtime PM callbacks in 'struct dev_pm_ops' (defined in
31 * A set of helper functions defined in drivers/base/power/runtime.c that can be
[all …]
Dbasic-pm-debugging.rst2 Debugging hibernation and suspend
7 1. Testing hibernation (aka suspend to disk or STD)
10 To check if hibernation works, you can try to hibernate in the "reboot" mode::
18 test at least a couple of times in a row for confidence. [This is necessary,
20 resuming the system.] Moreover, hibernating in the "reboot" and "shutdown"
21 modes causes the PM core to skip some platform-related callbacks which on ACPI
23 fails to hibernate or resume in the "reboot" mode, you should try the
32 with broken BIOSes. In such cases the "shutdown" mode of hibernation might
45 ----------------------------
50 core run in a test mode. There are 5 test modes available:
[all …]
/kernel/linux/linux-6.6/drivers/tee/optee/
Doptee_rpc_cmd.h1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2016-2021, Linaro Limited
14 * RPC communication with tee-supplicant is reversed compared to normal
23 * 1970-01-01 00:00:00 +0000 (UTC).
33 * If secure world needs to wait for something, for instance a mutex, it
34 * does a notification wait request instead of spinning in secure world.
38 * This interface can also be used to wait for a asynchronous notification
39 * which instead is sent via a non-secure interrupt.
42 * [in] value[0].a OPTEE_RPC_NOTIFICATION_WAIT
43 * [in] value[0].b notification value
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
14 * Check document WM-20110607-Paul-RTL8188E_Power_Architecture-R02.vsd
16 * 0: POFF--Power Off
17 * 1: PDN--Power Down
18 * 2: CARDEMU--Card Emulation
19 * 3: ACT--Active Mode
20 * 4: LPS--Low Power State
21 * 5: SUS--Suspend
53 /* wait till 0x04[17] = 1 power ready*/ \
[all …]
/kernel/linux/linux-5.10/drivers/firmware/psci/
Dpsci_checker.c1 // SPDX-License-Identifier: GPL-2.0-only
31 static int tos_resident_cpu = -1;
42 * "enable-method" property of each CPU in the DT, but given that there is no
43 * arch-specific way to check this, we assume that the DT is sensible.
47 int migrate_type = -1; in psci_ops_check()
52 return -EOPNOTSUPP; in psci_ops_check()
66 if (tos_resident_cpu == -1) in psci_ops_check()
85 /* Try to power down all CPUs in the mask. */ in down_and_up_cpus()
94 if (ret != -EBUSY) { in down_and_up_cpus()
101 if (ret != -EPERM) { in down_and_up_cpus()
[all …]
/kernel/linux/linux-6.6/drivers/firmware/psci/
Dpsci_checker.c1 // SPDX-License-Identifier: GPL-2.0-only
31 static int tos_resident_cpu = -1;
42 * "enable-method" property of each CPU in the DT, but given that there is no
43 * arch-specific way to check this, we assume that the DT is sensible.
47 int migrate_type = -1; in psci_ops_check()
52 return -EOPNOTSUPP; in psci_ops_check()
66 if (tos_resident_cpu == -1) in psci_ops_check()
85 /* Try to power down all CPUs in the mask. */ in down_and_up_cpus()
94 if (ret != -EBUSY) { in down_and_up_cpus()
101 if (ret != -EPERM) { in down_and_up_cpus()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/4xx/
Dcpm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <linux/suspend.h>
26 #include <asm/dcr-native.h>
43 unsigned int suspend; member
54 [CPM_IDLE_WAIT] = { 1, "wait" }, /* default */
84 /* set wait state MSR */ in cpm_idle_wait()
99 /* go to wait state so that CPM0_ER[CPU] can take effect */ in cpm_idle_sleep()
137 *(s-1) = '\n'; /* convert the last space to a newline */ in cpm_idle_show()
139 return s - buf; in cpm_idle_show()
151 len = p ? p - buf : n; in cpm_idle_store()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dcpm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 #include <linux/suspend.h>
26 #include <asm/dcr-native.h>
43 unsigned int suspend; member
54 [CPM_IDLE_WAIT] = { 1, "wait" }, /* default */
84 /* set wait state MSR */ in cpm_idle_wait()
99 /* go to wait state so that CPM0_ER[CPU] can take effect */ in cpm_idle_sleep()
137 *(s-1) = '\n'; /* convert the last space to a newline */ in cpm_idle_show()
139 return s - buf; in cpm_idle_show()
151 len = p ? p - buf : n; in cpm_idle_store()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2014 Realtek Corporation.*/
9 * Check document WM-20130425-JackieLau-RTL8723B_Power_Architecture v05.vsd
11 * 0: POFF--Power Off
12 * 1: PDN--Power Down
13 * 2: CARDEMU--Card Emulation
14 * 3: ACT--Active Mode
15 * 4: LPS--Low Power State
16 * 5: SUS--Suspend
62 /* Disable USB suspend */ \
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dpwrseq.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2014 Realtek Corporation.*/
9 * Check document WM-20130425-JackieLau-RTL8723B_Power_Architecture v05.vsd
11 * 0: POFF--Power Off
12 * 1: PDN--Power Down
13 * 2: CARDEMU--Card Emulation
14 * 3: ACT--Active Mode
15 * 4: LPS--Low Power State
16 * 5: SUS--Suspend
62 /* Disable USB suspend */ \
[all …]
/kernel/linux/linux-6.6/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
17 * The power management workqueue pm_wq in which bus types and device drivers can
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,
21 hibernation and resume from system sleep states). pm_wq is declared in
22 include/linux/pm_runtime.h and defined in kernel/power/main.c.
24 * A number of runtime PM fields in the 'power' member of 'struct device' (which
25 is of the type 'struct dev_pm_info', defined in include/linux/pm.h) that can
28 * Three device runtime PM callbacks in 'struct dev_pm_ops' (defined in
31 * A set of helper functions defined in drivers/base/power/runtime.c that can be
[all …]

12345678910>>...43