Home
last modified time | relevance | path

Searched +full:wake +full:- +full:up (Results 1 – 25 of 1032) sorted by relevance

12345678910>>...42

/linux/arch/arm/mach-pxa/
H A Dpxa2xx-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
5 * Taken from pxa-regs.h by Russell King
14 #include "pxa-regs.h"
23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */
24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */
25 #define PFER __REG(0x40F00014) /* Power Manager GPIO Falling-Edge Detect Enable Register */
28 #define PGSR0 __REG(0x40F00020) /* Power Manager GPIO Sleep State Register for GP[31-0] */
29 #define PGSR1 __REG(0x40F00024) /* Power Manager GPIO Sleep State Register for GP[63-32] */
30 #define PGSR2 __REG(0x40F00028) /* Power Manager GPIO Sleep State Register for GP[84-64] */
[all …]
H A Dpxa3xx-regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h
13 #include "pxa-regs.h"
30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */
31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */
33 #define DCDCSR __REG(0x40F50080) /* DC-DC Controller Status Register */
42 #define AD3ER __REG(0x40f40008) /* Application Subsystem Wake-Up from D3 Enable */
43 #define AD3SR __REG(0x40f4000c) /* Application Subsystem Wake-Up from D3 Status */
44 #define AD2D0ER __REG(0x40f40010) /* Application Subsystem Wake-Up from D2 to D0 Enable */
45 #define AD2D0SR __REG(0x40f40014) /* Application Subsystem Wake-Up from D2 to D0 Status */
[all …]
/linux/include/linux/
H A Dlis3lv02d.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * struct lis3lv02d_platform_data - lis3 chip family platform data
15 * data available / wake up, open drain, polarity)
18 * @duration1: Wake up unit 1 duration parameter
19 * @duration2: Wake up unit 2 duration parameter
20 * @wakeup_flags: Wake up unit 1 flags
21 * @wakeup_thresh: Wake up unit 1 threshold value
22 * @wakeup_flags2: Wake up unit 2 flags
23 * @wakeup_thresh2: Wake up unit 2 threshold value
26 * @axis_x: Sensor orientation remapping for x-axis
[all …]
H A Dsbitmap.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * Copyright (C) 2013-2014 Jens Axboe
27 * struct sbitmap_word - Word in a &struct sbitmap.
41 * @swap_lock: serializes simultaneous updates of ->word and ->cleared
47 * struct sbitmap - Scalable bitmap.
49 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This
69 * @round_robin: Allocate bits in strict round-robin order.
81 * This is per-cpu, which allows multiple users to stick to different
91 * struct sbq_wait_state - Wait queue in a &struct sbitmap_queue.
101 * struct sbitmap_queue - Scalable bitmap with the added ability to wait on free
[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 …]
H A Dat91-sama5d2_shdwc.c2 * Atmel SAMA5D2-Compatible Shutdown Controller (SHDWC) driver.
8 * Evolved from driver at91-poweroff.c.
15 * - addition to status of other wake-up inputs [1 - 15]
16 * - Analog Comparator wake-up alarm
17 * - Serial RX wake-up alarm
18 * - low power debouncer
50 #define AT91_SHDW_WUIR 0x0c /* Shutdown Wake-up Inputs Register */
58 #define SHDW_WK_PIN(reg, cfg) ((reg) & AT91_SHDW_WKUPIS((cfg)->wkup_pin_input))
59 #define SHDW_RTCWK(reg, cfg) (((reg) >> ((cfg)->sr_rtcwk_shift)) & 0x1)
60 #define SHDW_RTTWK(reg, cfg) (((reg) >> ((cfg)->sr_rttwk_shift)) & 0x1)
[all …]
/linux/Documentation/admin-guide/
H A Dbtmrvl.rst14 bit 8:0 -- Gap
15 bit 16:8 -- GPIO
17 where GPIO is the pin number of GPIO used to wake up the host.
18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface
26 # Use SDIO interface to wake up the host and set GAP to 0x80:
30 # Use GPIO pin #3 to wake up the host and set GAP to 0xff:
39 1 -- Enable auto sleep mode
40 0 -- Disable auto sleep mode
54 These commands are used to enable host sleep or wake up firmware
58 1 -- Enable host sleep
[all …]
/linux/kernel/sched/
H A Dwait.c1 // SPDX-License-Identifier: GPL-2.0-only
11 spin_lock_init(&wq_head->lock); in __init_waitqueue_head()
12 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head()
13 INIT_LIST_HEAD(&wq_head->head); in __init_waitqueue_head()
22 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue()
23 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue()
25 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue()
33 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive()
34 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive()
36 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive()
[all …]
H A Dwait_bit.c1 // SPDX-License-Identifier: GPL-2.0-only
29 if (wait_bit->key.flags != key->flags || in wake_bit_function()
30 wait_bit->key.bit_nr != key->bit_nr || in wake_bit_function()
31 test_bit(key->bit_nr, key->flags)) in wake_bit_function()
39 * To allow interruptible waiting and asynchronous (i.e. non-blocking)
50 prepare_to_wait(wq_head, &wbq_entry->wq_entry, mode); in __wait_on_bit()
51 if (test_bit(wbq_entry->key.bit_nr, wbq_entry->key.flags)) in __wait_on_bit()
52 ret = (*action)(&wbq_entry->key, mode); in __wait_on_bit()
53 } while (test_bit_acquire(wbq_entry->key.bit_nr, wbq_entry->key.flags) && !ret); in __wait_on_bit()
55 finish_wait(wq_head, &wbq_entry->wq_entry); in __wait_on_bit()
[all …]
/linux/drivers/hid/intel-thc-hid/intel-thc/
H A Dintel-thc-wot.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "intel-thc-dev.h"
8 #include "intel-thc-wot.h"
11 * thc_wot_config - Query and configure wake-on-touch feature
16 * _DSD to map this GPIO resource, so this function first registers wake GPIO
17 * mapping manually, then queries wake-on-touch GPIO resource from ACPI,
18 * if it exists and is wake-able, configure driver to enable it, otherwise,
31 adev = ACPI_COMPANION(thc_dev->dev); in thc_wot_config()
35 wot = &thc_dev->wot; in thc_wot_config()
39 dev_warn(thc_dev->dev, "Can't add wake GPIO resource, ret = %d\n", ret); in thc_wot_config()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsamsung,pinctrl-gpio-bank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-gpio-bank.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC pin controller - gpio bank
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
12 - Tomasz Figa <tomasz.figa@gmail.com>
24 '#gpio-cells':
27 gpio-controller: true
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dipq5332-rdp441.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 * IPQ5332 AP-MI01.2 board device tree source
5 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
8 /dts-v1/;
10 #include "ipq5332-rdp-common.dtsi"
14 compatible = "qcom,ipq5332-ap-mi01.2", "qcom,ipq5332";
18 clock-frequency = <400000>;
19 pinctrl-0 = <&i2c_1_pins>;
20 pinctrl-names = "default";
25 bus-width = <4>;
[all …]
/linux/arch/arm/mach-omap2/
H A Dclockdomain.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2008-2011 Texas Instruments, Inc.
6 * Copyright (C) 2008-2011 Nokia Corporation
22 #include <linux/clk-provider.h>
56 if (!strcmp(name, temp_clkdm->name)) { in _clkdm_lookup()
66 * _clkdm_register - register a clockdomain
70 * Returns -EINVAL if given a null pointer, -EEXIST if a clockdomain is
77 if (!clkdm || !clkdm->name) in _clkdm_register()
78 return -EINVAL; in _clkdm_register()
80 pwrdm = pwrdm_lookup(clkdm->pwrdm.name); in _clkdm_register()
[all …]
/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/media/rc/
H A Dnuvoton-cir.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Nuvoton Technology Corporation w83667hg/w83677hg-i CIR
18 #define NVT_DRIVER_NAME "nuvoton-cir"
93 /* total length of CIR and CIR WAKE */
188 /* CIR WAKE UP Regs */
206 /* CIR WAKE UP IRCON settings */
218 /* CIR WAKE IRSTS Bits */
226 /* CIR WAKE UP IREN Bits */
233 /* CIR WAKE FIFOCON settings */
242 /* select WAKE UP RX trigger level as 67 */
[all …]
/linux/include/uapi/linux/
H A Dfutex.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
75 #define FUTEX_32 FUTEX2_SIZE_U32 /* historical accident :-( */
79 * The special value -1 indicates no-node. This is the same value as
82 #define FUTEX_NO_NODE (-1)
90 * struct futex_waitv -
[all...]
/linux/tools/testing/selftests/futex/include/
H A Dfutextest.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 * 2009-Nov-6: Initial version by Darren Hart <dvhart@linux.intel.com>
28 /* Define the newer op codes if the system header file is not up to date. */
51 * SYS_futex is expected from system C library, in glibc some 32-bit
52 * architectures (e.g. RV32) are using 64-bit time_t, therefore it doesn't have
62 * On 32bit systems if we use "-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" or if
73 * futex() - SYS_futex syscall wrapper
90 * like-named arguments in the following wrappers except where noted below.
96 * futex_wait() - block on uaddr with optional timeout
106 * futex_wake() - wake one or more tasks blocked on uaddr
[all …]
/linux/Documentation/devicetree/bindings/rtc/
H A Dbrcm,brcmstb-waketimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rtc/brcm,brcmstb-waketimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom STB wake-up Timer
10 - Florian Fainelli <f.fainelli@gmail.com>
13 The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the
14 ability to wake up the system from low-power suspend/standby modes and
18 - $ref: rtc.yaml#
22 const: brcm,brcmstb-waketimer
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
35 - items:
[all …]
/linux/kernel/futex/
H A Drequeue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * just woken up (timeout, signal). After the wake up the task has to
26 * Q_REQUEUE_PI_NONE -> Q_REQUEUE_PI_IGNORE
27 * Q_REQUEUE_PI_IN_PROGRESS -> Q_REQUEUE_PI_WAIT
30 * Q_REQUEUE_PI_NONE -> Q_REQUEUE_PI_INPROGRESS
31 * Q_REQUEUE_PI_IN_PROGRESS -> Q_REQUEUE_PI_DONE/LOCKED
32 * Q_REQUEUE_PI_IN_PROGRESS -> Q_REQUEUE_PI_NONE (requeue failed)
33 * Q_REQUEUE_PI_WAIT -> Q_REQUEUE_PI_DONE/LOCKED
34 * Q_REQUEUE_PI_WAIT -> Q_REQUEUE_PI_IGNORE (requeue failed)
62 .wake = futex_wake_mark,
[all …]
/linux/net/sunrpc/
H A Dsched.c1 // SPDX-License-Identifier: GPL-2.0-only
54 * rpciod-related stuff
62 if (current->flags & PF_WQ_WORKER) in rpc_task_gfp_mask()
70 if (cmpxchg(&task->tk_rpc_status, 0, rpc_status) == 0) in rpc_task_set_rpc_status()
78 unsigned long timeout = READ_ONCE(task->tk_timeout); in rpc_task_timeout()
83 return timeout - now; in rpc_task_timeout()
91 * queue->lock and bh_disabled in order to avoid races within
97 if (list_empty(&task->u.tk_wait.timer_list)) in __rpc_disable_timer()
99 task->tk_timeout = 0; in __rpc_disable_timer()
100 list_del(&task->u.tk_wait.timer_list); in __rpc_disable_timer()
[all …]
/linux/rust/kernel/sync/
H A Dcondvar.rs1 // SPDX-License-Identifier: GPL-2.0
21 /// Creates a [`CondVar`] initialiser with the given name and a newly-created lock class.
33 /// atomically release the given lock and go to sleep. It reacquires the lock when it wakes up. And
34 /// it wakes up when notified by another thread (via [`CondVar::notify_one`] or
35 /// [`CondVar::notify_all`]) or because the thread received a signal. It may also wake up
72 /// fn new_example() -> Result<Pin<KBox<Example>>> {
74 /// value <- new_mutex!(0),
75 /// value_changed <- new_condvar!(),
87 /// self-referential, so it cannot be safely moved once it is initialised.
103 pub fn new(name: &'static CStr, key: Pin<&'static LockClassKey>) -> impl PinInit<Self> { in new()
[all …]
/linux/drivers/bluetooth/
H A Dhci_ll.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Written by Ohad Ben-Cohen <ohad@bencohen.org>
43 #include <linux/nvmem-consumer.h>
47 /* Vendor-specific HCI commands */
89 struct ll_struct *ll = hu->priv; in send_hcill_cmd()
97 err = -ENOMEM; in send_hcill_cmd()
105 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd()
119 return -ENOMEM; in ll_open()
121 skb_queue_head_init(&ll->txq); in ll_open()
122 skb_queue_head_init(&ll->tx_wait_q); in ll_open()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,vic.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/arm,vic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 be nested or have the outputs wire-OR'd together.
18 - $ref: /schemas/interrupt-controller.yaml#
23 - arm,pl190-vic
24 - arm,pl192-vic
25 - arm,versatile-vic
[all …]
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8192-asurada-hayato-r1.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 /dts-v1/;
6 #include "mt8192-asurada.dtsi"
10 chassis-type = "convertible";
11 compatible = "google,hayato-rev1", "google,hayato", "mediatek,mt8192";
15 function-row-physmap = <
44 bt_pins: bt-pins {
45 pins-bt-kill {
47 output-low;
50 pins-bt-wake {
[all …]

12345678910>>...42