Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:counter (Results 1 – 25 of 594) sorted by relevance

12345678910>>...24

/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
9 #include <iwl-trans.h>
12 * enum iwl_d0i3_flags - d0i3 flags
20 * enum iwl_d3_wakeup_flags - D3 manager wakeup flags
28 * struct iwl_d3_manager_config - D3 manager configuration command
30 * @wakeup_flags: wakeup flags, see &enum iwl_d3_wakeup_flags
31 * @wakeup_host_timer: force wakeup after this many seconds
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
10 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
11 * Copyright(c) 2018 - 2020 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
33 * Copyright(c) 2015 - 2017 Intel Deutschland GmbH
34 * Copyright(c) 2018 - 2020 Intel Corporation
68 * enum iwl_d0i3_flags - d0i3 flags
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/
Datmel,at91sam9260-shdwc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Claudiu Beznea <claudiu.beznea@microchip.com>
14 and VDDCORE and the wake-up detection on debounced input lines.
19 - atmel,at91sam9260-shdwc
20 - atmel,at91sam9rl-shdwc
21 - atmel,at91sam9x5-shdwc
29 atmel,wakeup-mode:
[all …]
/kernel/linux/linux-6.6/drivers/base/power/
Dwakeup.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/wakeup.c - System wakeup events framework
27 * if wakeup events are registered during or immediately before the transition.
31 /* First wakeup IRQ seen by the kernel in the last cycle. */
39 * Combined counters of registered wakeup events and wakeup events in progress.
46 #define MAX_IN_PROGRESS ((1 << IN_PROGRESS_BITS) - 1)
56 /* A preserved old value of the events counter. */
77 * wakeup_source_create - Create a struct wakeup_source object.
78 * @name: Name of the new wakeup source.
93 ws->name = ws_name; in wakeup_source_create()
[all …]
/kernel/linux/linux-5.10/drivers/power/reset/
Dat91-poweroff.c5 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
28 #define AT91_SHDW_WKMODE0 GENMASK(2, 0) /* Wake-up 0 Mode Selection */
29 #define AT91_SHDW_CPTWK0_MAX 0xf /* Maximum Counter On Wake Up 0 */
30 #define AT91_SHDW_CPTWK0 (AT91_SHDW_CPTWK0_MAX << 4) /* Counter On Wake Up 0 */
32 #define AT91_SHDW_RTTWKEN BIT(16) /* Real Time Timer Wake-up Enable */
33 #define AT91_SHDW_RTCWKEN BIT(17) /* Real Time Clock Wake-up Enable */
36 #define AT91_SHDW_WAKEUP0 BIT(0) /* Wake-up 0 Status */
37 #define AT91_SHDW_RTTWK BIT(16) /* Real-time Timer Wake-up */
38 #define AT91_SHDW_RTCWK BIT(17) /* Real-time Clock Wake-up [SAM9RL] */
65 /* Simple power-on, just bail out */ in at91_wakeup_status()
[all …]
/kernel/linux/linux-6.6/drivers/power/reset/
Dat91-poweroff.c5 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
28 #define AT91_SHDW_WKMODE0 GENMASK(2, 0) /* Wake-up 0 Mode Selection */
29 #define AT91_SHDW_CPTWK0_MAX 0xf /* Maximum Counter On Wake Up 0 */
30 #define AT91_SHDW_CPTWK0 (AT91_SHDW_CPTWK0_MAX << 4) /* Counter On Wake Up 0 */
32 #define AT91_SHDW_RTTWKEN BIT(16) /* Real Time Timer Wake-up Enable */
33 #define AT91_SHDW_RTCWKEN BIT(17) /* Real Time Clock Wake-up Enable */
36 #define AT91_SHDW_WAKEUP0 BIT(0) /* Wake-up 0 Status */
37 #define AT91_SHDW_RTTWK BIT(16) /* Real-time Timer Wake-up */
38 #define AT91_SHDW_RTCWK BIT(17) /* Real-time Clock Wake-up [SAM9RL] */
65 /* Simple power-on, just bail out */ in at91_wakeup_status()
[all …]
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/wakeup.c - System wakeup events framework
32 * if wakeup events are registered during or immediately before the transition.
36 /* First wakeup IRQ seen by the kernel in the last cycle. */
44 * Combined counters of registered wakeup events and wakeup events in progress.
51 #define MAX_IN_PROGRESS ((1 << IN_PROGRESS_BITS) - 1)
61 /* A preserved old value of the events counter. */
82 * wakeup_source_create - Create a struct wakeup_source object.
83 * @name: Name of the new wakeup source.
98 ws->name = ws_name; in wakeup_source_create()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/
Datmel-sysregs.txt4 - compatible: Should be "atmel,sama5d2-chipid"
5 - reg : Should contain registers location and length
8 - compatible: Should be "atmel,at91sam9260-pit"
9 - reg: Should contain registers location and length
10 - interrupts: Should contain interrupt for the PIT which is the IRQ line
14 - compatible: Should be "microchip,sam9x60-pit64b"
15 - reg: Should contain registers location and length
16 - interrupts: Should contain interrupt for PIT64B timer
17 - clocks: Should contain the available clock sources for PIT64B timer.
20 - compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd"
[all …]
/kernel/linux/linux-6.6/fs/
Deventfd.c1 // SPDX-License-Identifier: GPL-2.0-only
36 * wakeup is performed on "wqh". If EFD_SEMAPHORE flag was not
39 * also, adds to the "count" counter and issue a wakeup.
52 * through waitqueue wakeup handlers. If the caller users potentially in eventfd_signal_mask()
53 * nested waitqueues with custom wakeup handlers, then it should in eventfd_signal_mask()
58 if (WARN_ON_ONCE(current->in_eventfd)) in eventfd_signal_mask()
61 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal_mask()
62 current->in_eventfd = 1; in eventfd_signal_mask()
63 if (ULLONG_MAX - ctx->count < n) in eventfd_signal_mask()
64 n = ULLONG_MAX - ctx->count; in eventfd_signal_mask()
[all …]
/kernel/linux/linux-5.10/fs/
Deventfd.c1 // SPDX-License-Identifier: GPL-2.0-only
38 * wakeup is performed on "wqh". A read(2) will return the "count"
40 * side eventfd_signal() also, adds to the "count" counter and
41 * issue a wakeup.
54 * through waitqueue wakeup handlers. If the caller users potentially in eventfd_signal_mask()
55 * nested waitqueues with custom wakeup handlers, then it should in eventfd_signal_mask()
63 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal_mask()
65 if (ULLONG_MAX - ctx->count < n) in eventfd_signal_mask()
66 n = ULLONG_MAX - ctx->count; in eventfd_signal_mask()
67 ctx->count += n; in eventfd_signal_mask()
[all …]
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/
Dcontroller.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
28 /* -- Safe counters. -------------------------------------------------------- */
31 * struct ssh_seq_counter - Safe counter for SSH sequence IDs.
32 * @value: The current counter value.
39 * struct ssh_rqid_counter - Safe counter for SSH request IDs.
40 * @value: The current counter value.
47 /* -- Event/notification system. -------------------------------------------- */
50 * struct ssam_nf_head - Notifier head for SSAM events.
52 * @head: List-head for notifier blocks registered under this head.
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
13 * What is Remote Wakeup?
17 * Changing the default idle-delay time
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
66 What is Remote Wakeup?
67 ----------------------
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
13 * What is Remote Wakeup?
17 * Changing the default idle-delay time
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
66 What is Remote Wakeup?
67 ----------------------
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
Dstm32mp151.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset/stm32mp1-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
Dstm32mp131.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp13-clks.h>
8 #include <dt-bindings/reset/stm32mp13-resets.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-a7";
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
Disl_38xx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2003-2004 Luis R. Rodriguez <mcgrof@ruslug.rutgers.edu>_
25 * isl38xx_disable_interrupts - disable all interrupts
104 u32 counter = 0; in isl38xx_trigger_device() local
111 /* device is in powersave, trigger the device for wakeup */ in isl38xx_trigger_device()
114 DEBUG(SHOW_TRACING, "%lld.%09ld Device wakeup triggered\n", in isl38xx_trigger_device()
135 counter++; in isl38xx_trigger_device()
146 "%lld.%09ld Device asleep counter %i\n", in isl38xx_trigger_device()
148 counter); in isl38xx_trigger_device()
151 /* assert the Wakeup interrupt in the Device Interrupt Register */ in isl38xx_trigger_device()
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Dpci.rst13 power management refer to Documentation/driver-api/pm/devices.rst and
27 1.1. Native and Platform-Based Power Management
28 -----------------------------------------------
31 devices into states in which they draw less power (low-power states) at the
34 Usually, a device is put into a low-power state when it is underutilized or
36 again, it has to be put back into the "fully functional" state (full-power
41 PCI devices may be put into low-power states in two ways, by using the device
50 Devices supporting the native PCI PM usually can generate wakeup signals called
53 to put the device that sent it into the full-power state. However, the PCI Bus
63 preparing the device to generate wakeup signals. In that case, however, it
[all …]
/kernel/linux/linux-6.6/Documentation/power/
Dpci.rst13 power management refer to Documentation/driver-api/pm/devices.rst and
27 1.1. Native and Platform-Based Power Management
28 -----------------------------------------------
31 devices into states in which they draw less power (low-power states) at the
34 Usually, a device is put into a low-power state when it is underutilized or
36 again, it has to be put back into the "fully functional" state (full-power
41 PCI devices may be put into low-power states in two ways, by using the device
50 Devices supporting the native PCI PM usually can generate wakeup signals called
53 to put the device that sent it into the full-power state. However, the PCI Bus
63 preparing the device to generate wakeup signals. In that case, however, it
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
Dusb_a9260.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * usb_a9260.dts - Device Tree file for Caloa USB A9260 board
5 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 /dts-v1/;
13 compatible = "calao,usb-a9260", "atmel,at91sam9260", "atmel,at91sam9";
26 atmel,wakeup-counter = <10>;
27 atmel,wakeup-rtt-timer;
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dusb_a9260.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * usb_a9260.dts - Device Tree file for Caloa USB A9260 board
5 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 /dts-v1/;
13 compatible = "calao,usb-a9260", "atmel,at91sam9260", "atmel,at91sam9";
26 atmel,wakeup-counter = <10>;
27 atmel,wakeup-rtt-timer;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dst,stm32-lptimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stm32-lptimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Low-Power Timers bindings
10 The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
12 - PWM output (with programmable prescaler, configurable polarity)
13 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
14 - Several counter modes:
15 - quadrature encoder to detect angular position and direction of rotary
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dst,stm32-lptimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/st,stm32-lptimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectronics STM32 Low-Power Timers
10 The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
12 - PWM output (with programmable prescaler, configurable polarity)
13 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
14 - Several counter modes:
15 - quadrature encoder to detect angular position and direction of rotary
[all …]
/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/
Dpm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * loongson-specific suspend support
57 * Setup the board-specific events for waking up loongson from wait mode
64 * Check wakeup events
72 * If the events are really what we want to wakeup the CPU, wake it up
84 * $24 is the control register of Loongson perf counter
96 /* setup wakeup events via enabling the IRQs */ in loongson_suspend_enter()
106 /* wait for the given events to wakeup cpu from wait mode */ in loongson_suspend_enter()
/kernel/linux/linux-6.6/arch/mips/loongson2ef/common/
Dpm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * loongson-specific suspend support
57 * Setup the board-specific events for waking up loongson from wait mode
64 * Check wakeup events
72 * If the events are really what we want to wakeup the CPU, wake it up
84 * $24 is the control register of Loongson perf counter
96 /* setup wakeup events via enabling the IRQs */ in loongson_suspend_enter()
106 /* wait for the given events to wakeup cpu from wait mode */ in loongson_suspend_enter()
/kernel/linux/linux-6.6/arch/arm/mach-s3c/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
5 source "arch/arm/mach-s3c/Kconfig.s3c64xx"
29 int "S3C UART to use for low-level messages"
33 Choice of which UART port to use for the low-level messages,
36 must have been initialised by the boot-loader before use.
56 purposes. This allows any problems where an counter overflows from
106 Compile in platform device definition for USB high-speed OtG
132 pinctrl-samsung driver.
139 Compile support for wakeup-mask controls found on the S3C6400
140 and above. This code allows a set of interrupt to wakeup-mask
[all …]

12345678910>>...24