Home
last modified time | relevance | path

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

1234567891011

/linux/Documentation/devicetree/bindings/power/reset/
H A 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 …]
/linux/drivers/base/power/
H A 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 …]
/linux/drivers/power/reset/
H A 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 …]
/linux/Documentation/driver-api/usb/
H A 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 …]
/linux/drivers/platform/surface/aggregator/
H A 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 …]
H A Dcontroller.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
38 /* -- Safe counters. -------------------------------------------------------- */
41 * ssh_seq_reset() - Reset/initialize sequence ID counter.
42 * @c: The counter to reset.
46 WRITE_ONCE(c->value, 0); in ssh_seq_reset()
50 * ssh_seq_next() - Get next sequence ID.
51 * @c: The counter providing the sequence IDs.
53 * Return: Returns the next sequence ID of the counter.
57 u8 old = READ_ONCE(c->value); in ssh_seq_next()
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dusb_a9260.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * usb_a9260.dts - Device Tree file for Calao 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";
18 atmel,wakeup-counter = <10>;
19 atmel,wakeup-rtt-timer;
H A Dat91sam9260ek.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
17 stdout-path = &dbgu;
26 clock-frequency = <32768>;
30 clock-frequency = <18432000>;
38 compatible = "atmel,tcb-timer";
43 compatible = "atmel,tcb-timer";
49 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
54 pinctrl-0 = <
[all …]
H A Dusb_a9263.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * usb_a9263.dts - Device Tree file for Calao USB A9293 board
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 /dts-v1/;
12 compatible = "calao,usb-a9263", "atmel,at91sam9263", "atmel,at91sam9";
24 clock-frequency = <32768>;
28 clock-frequency = <12000000>;
40 compatible = "atmel,tcb-timer";
45 compatible = "atmel,tcb-timer";
51 phy-mode = "rmii";
[all …]
H A Dat91-qil_a9260.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board
5 * Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
7 /dts-v1/;
11 compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9";
23 clock-frequency = <32768>;
27 clock-frequency = <12000000>;
35 compatible = "atmel,tcb-timer";
40 compatible = "atmel,tcb-timer";
46 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
[all …]
H A Dat91sam9g20ek_common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * at91sam9g20ek_common.dtsi - Device Tree file for Atmel at91sam9g20ek board
5 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
8 #include <dt-bindings/input/input.h>
14 stdout-path = "serial0:115200n8";
23 clock-frequency = <32768>;
27 clock-frequency = <18432000>;
50 pinctrl_board_mmc0_slot1: mmc0_slot1-board {
63 compatible = "atmel,tcb-timer";
68 compatible = "atmel,tcb-timer";
[all …]
/linux/arch/mips/loongson2ef/common/
H A 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()
/linux/arch/arm/mach-s3c/
H A 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 …]
/linux/Documentation/devicetree/bindings/mfd/
H A 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 …]
/linux/drivers/usb/core/
H A Ddriver.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/usb/core/driver.c - most of the driver model stuff for usb
5 * (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de>
9 * (C) Copyright Johannes Erdfelt 1999-2001
14 * (C) Copyright David Brownell 2000-2004
17 * (C) Copyright Greg Kroah-Hartman 2002-2003
58 return -EINVAL; in usb_store_new_id()
62 return -ENOMEM; in usb_store_new_id()
64 INIT_LIST_HEAD(&dynid->node); in usb_store_new_id()
65 dynid->id.idVendor = idVendor; in usb_store_new_id()
[all …]
/linux/kernel/time/
H A Dtimer_migration.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * struct tmigr_event - a timer event associated to a CPU
22 * struct tmigr_group - timer migration hierarchy group
51 * @num_children: Counter of group children to make sure the group is only
76 * struct tmigr_cpu - timer migration per CPU group
92 * @wakeup: Stores the first timer when the timer migration
105 u64 wakeup; member
110 * union tmigr_state - state of tmigr_group
111 * @state: Combined version of the state - only used for atomic
113 * &anon struct: Split version of the state - only use the struct members to
[all …]
/linux/drivers/net/ethernet/sun/
H A Dsunqe.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */
45 /* The following registers are for per-qe channel information/status. */
58 #define CREG_CCNT 0x30UL /* Collision Counter */
59 #define CREG_PIPG 0x34UL /* Inter-Frame Gap */
64 #define CREG_CTRL_TWAKEUP 0x00000001 /* Transmitter Wakeup, 'go'. */
74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */
79 #define CREG_STAT_RCCOFLOW 0x00001000 /* RX Coll-counter Overflow */
80 #define CREG_STAT_RUOFLOW 0x00000800 /* Runt Counter Overflow */
81 #define CREG_STAT_MCOFLOW 0x00000400 /* Missed Counter Overflow */
[all …]
/linux/drivers/media/rc/
H A Dite-cir.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 #define ITE_DRIVER_NAME "ite-cir"
34 /* hw-specific operation function pointers; most of these must be
98 /* duty cycle, 0-100 */
114 /* low-speed carrier frequency limits (Hz) */
118 /* high-speed carrier frequency limits (Hz) */
130 * n in RDCR produces a tolerance of +/- n * 6.25% around the center
135 * frequency A = (H - L) / (H + L). We can use this in order to honor the
136 * s_rx_carrier_range() call in ir-core. We'll suppose that any request
170 * Environment Control - Low Pin Count Input / Output
[all …]
/linux/tools/perf/pmu-events/arch/x86/emeraldrapids/
H A Dpipeline.json4 "Counter": "0,1,2,3,4,5,6,7", string
14 "Counter": "0,1,2,3,4,5,6,7", string
18 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
24 "Counter": "0,1,2,3,4,5,6,7", string
34 "Counter": "0,1,2,3,4,5,6,7", string
43 "Counter": "0,1,2,3,4,5,6,7", string
53 "Counter": "0,1,2,3,4,5,6,7", string
62 "Counter": "0,1,2,3,4,5,6,7", string
70 "Counter": "0,1,2,3,4,5,6,7", string
79 "Counter": "0,1,2,3,4,5,6,7", string
[all …]
/linux/tools/perf/pmu-events/arch/x86/sapphirerapids/
H A Dpipeline.json4 "Counter": "0,1,2,3,4,5,6,7", string
14 "Counter": "0,1,2,3,4,5,6,7", string
18 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
24 "Counter": "0,1,2,3,4,5,6,7", string
34 "Counter": "0,1,2,3,4,5,6,7", string
43 "Counter": "0,1,2,3,4,5,6,7", string
53 "Counter": "0,1,2,3,4,5,6,7", string
62 "Counter": "0,1,2,3,4,5,6,7", string
70 "Counter": "0,1,2,3,4,5,6,7", string
79 "Counter": "0,1,2,3,4,5,6,7", string
[all …]
/linux/arch/x86/realmode/rm/
H A Dwakemain.c1 // SPDX-License-Identifier: GPL-2.0
2 #include "wakeup.h"
7 while (loops--) in udelay()
22 outb(div, 0x42); /* LSB of counter */ in beep()
24 outb(div >> 8, 0x42); /* MSB of counter */ in beep()
52 case '-': in send_morse()
77 send_morse("...-"); in main()
/linux/sound/core/seq/
H A Dseq_memory.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
48 atomic_t counter; /* cells free */ member
51 int room; /* watermark for sleep/wakeup */
77 return pool ? pool->total_elements - atomic_read(&pool->counter) : 0; in snd_seq_unused_cells()
83 return pool ? pool->total_elements : 0; in snd_seq_total_cells()
86 /* init pool - allocate events */
89 /* done pool - free events */
/linux/tools/perf/pmu-events/arch/x86/graniterapids/
H A Dpipeline.json4 "Counter": "0,1,2,3,4,5,6,7", string
8 …y executing divide or square root operations. Accounts for integer and floating-point operations.",
14 "Counter": "0,1,2,3,4,5,6,7", string
23 "Counter": "0,1,2,3,4,5,6,7", string
32 "Counter": "0,1,2,3,4,5,6,7", string
40 "Counter": "0,1,2,3,4,5,6,7", string
49 "Counter": "0,1,2,3,4,5,6,7", string
58 "Counter": "0,1,2,3,4,5,6,7", string
67 "Counter": "0,1,2,3,4,5,6,7", string
76 "Counter": "0,1,2,3,4,5,6,7", string
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A Ddefines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
11 /* Definitions for power management and wakeup registers */
16 #define E1000_WUC_APMPME 0x00000008 /* Assert PME on APM Wakeup */
17 #define E1000_WUC_PHY_WAKE 0x00000100 /* if PHY supports wakeup */
20 #define E1000_WUFC_LNKC 0x00000001 /* Link Status Change Wakeup Enable */
21 #define E1000_WUFC_MAG 0x00000002 /* Magic Packet Wakeup Enable */
22 #define E1000_WUFC_EX 0x00000004 /* Directed Exact Wakeup Enable */
23 #define E1000_WUFC_MC 0x00000008 /* Directed Multicast Wakeup Enable */
24 #define E1000_WUFC_BC 0x00000010 /* Broadcast Wakeup Enable */
[all …]
/linux/Documentation/devicetree/bindings/timer/
H A Dsprd,sc9860-timer.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/timer/sprd,sc9860-timer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Orson Zhai <orsonzhai@gmail.com>
11 - Baolin Wang <baolin.wang7@gmail.com>
12 - Chunyan Zhang <zhang.lyra@gmail.com>
15 The Spreadtrum SC9860 platform provides 3 general-purpose timers.
16 These timers can support 32bit or 64bit counter, as well as supporting
17 period mode or one-shot mode, and they can be a wakeup source
[all …]

1234567891011