Home
last modified time | relevance | path

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

12345678910

/linux/include/net/
H A Dnetdev_queues.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * struct netdev_config - queue-related configuration for a netdev
61 * struct netdev_stat_ops - netdev ops for fine grained stats
67 * on entry (specifically they are *not* zero-initialized). Drivers should
72 * queues are queried by the per-queue callbacks. This means that per-queue
73 * statistics will not generally add up t
[all...]
/linux/tools/testing/selftests/ftrace/test.d/direct/
H A Dkprobe-direct.tc2 # SPDX-License-Identifier: GPL-2.0
6 rmmod ftrace-direct ||:
7 if ! modprobe ftrace-direct ; then
8 echo "No ftrace-direct sample module - please build with CONFIG_SAMPLE_FTRACE_DIRECT=m"
15 grep -q "my_direct_func: waking up" trace
17 rmmod ftrace-direct
23 modprobe ftrace-direct
25 grep -q "my_direct_func: waking up" trace
29 rmmod ftrace-direct
36 grep -q "kwake:" trace
[all …]
H A Dftrace-direct.tc2 # SPDX-License-Identifier: GPL-2.0
5 rmmod ftrace-direct ||:
6 if ! modprobe ftrace-direct ; then
7 echo "No ftrace-direct sample module - please make CONFIG_SAMPLE_FTRACE_DIRECT=m"
14 grep -q "my_direct_func: waking up" trace
16 rmmod ftrace-direct
21 # tracer -> direct -> no direct > no tracer
23 modprobe ftrace-direct
24 rmmod ftrace-direct
27 # tracer -> direct -> no tracer > no direct
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_breadcrumbs_types.h1 /* SPDX-License-Identifier: MIT */
20 * with the herd waking after every interrupt and each doing the
22 * bottom-half of the user interrupt) to the first client. After
23 * every interrupt, we wake up one client, who does the heavyweight
25 * or wakes up all the completed clients in parallel, before then
26 * transferring the bottom-half status to the next client in the queue.
29 * bottom-half, we reduce the latency of the first waiter by avoiding
33 * the overhead of waking that client is much preferred.
/linux/tools/perf/bench/
H A Dfutex-wake-parallel.c1 // SPDX-License-Identifier: GPL-2.0
28 #include <subcmd/parse-options.h>
48 /* all threads will block on the same futex -- hash bucket chaos ;) */
61 .nbuckets = -1,
67 OPT_UINTEGER('w', "nwakers", &params.nwakes, "Specify amount of waking threads"),
76 "perf bench futex wake-parallel <options>",
89 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn()
90 if (waker->nwoken != nwakes) in waking_workerfn()
92 waker->nwoken, nwakes); in waking_workerfn()
95 timersub(&end, &start, &waker->runtime); in waking_workerfn()
[all …]
H A Dfutex-wake.c1 // SPDX-License-Identifier: GPL-2.0
5 * futex-wake: Block a bunch of threads on a futex and wake'em up, N at a time.
8 * in non-error situations: all waiters are queued and all wake calls wakeup
19 #include <subcmd/parse-options.h>
45 .nbuckets = -1,
72 threads_starting--; in workerfn()
93 printf("Wokeup %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary()
180 "waking up %d at a time.\n\n", in bench_futex_wake()
206 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake()
/linux/include/linux/sched/
H A Dsd_flags.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * sched-domains (multiprocessor balancing) flag declarations.
48 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level.
56 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level.
64 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level.
72 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level.
78 * Consider waking task on waking CPU.
80 * SHARED_CHILD: Set from the base domain up to the NUMA reclaim level.
89 * NEEDS_GROUPS: Per-CPU capacity is asymmetric between groups.
99 * NEEDS_GROUPS: Per-CPU capacity is asymmetric between groups.
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dfsl,gianfar.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale Three-Speed Ethernet Controller (TSEC), "Gianfar"
10 - J. Neuschäfer <j.ne@posteo.net>
12 # This is needed to distinguish gianfar.yaml and gianfar-mdio.yaml, because
16 - properties:
23 - device_type
25 - properties:
30 - compatible
[all …]
/linux/Documentation/locking/
H A Dfutex-requeue-pi.rst5 Requeueing of tasks from a non-PI futex to a PI futex requires
8 boosting logic [see rt-mutex-design.rst] For the purposes of
14 ----------
17 pthread_cond_broadcast() must resort to waking all the tasks waiting
19 gets to run first in classic thundering-herd formation. An ideal
20 implementation would wake the highest-priority waiter, and leave the
29 lock(cond->__data.__lock);
32 unlock(cond->__data.__lock);
33 futex_wait(cond->__data.__futex);
34 lock(cond->__data.__lock);
[all …]
/linux/include/trace/events/
H A Dsched.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 __string( comm, t->comm )
29 __entry->pid = t->pid;
32 TP_printk("comm=%s pid=%d", __get_str(comm), __entry->pid)
49 __entry->ret = ret;
52 TP_printk("ret=%d", __entry->ret)
56 * sched_kthread_work_queue_work - called when a work gets queued
78 __entry->work = work;
79 __entry->function = work->func;
80 __entry->worker = worker;
[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 …]
H A Dcompletion.rs1 // SPDX-License-Identifier: GPL-2.0
14 /// waking up other tasks that have been queued up to wait for the [`Completion`] to be completed.
35 /// fn new() -> Result<Arc<Self>> {
37 /// work <- new_work!("MyTask::work"),
38 /// done <- Completion::new(),
80 pub fn new() -> impl PinInit<Self> { in new()
82 inner <- Opaque::ffi_init(|slot: *mut bindings::completion| { in new()
89 fn as_raw(&self) -> *mut bindings::completion { in as_raw()
95 /// This method wakes up all tasks waiting on this completion; after this operation the
/linux/arch/arm/mach-tegra/
H A Dreset-handler.S1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include <asm/asm-offsets.h>
22 .arch armv7-a
30 * re-enabling sdram.
74 /* L2 cache resume & re-enable */
106 * r0=3 for the wake-up notification.
135 * must be position-independent.
156 # Tegra20 is a Cortex-A9 r1p1
172 # Tegra30 is a Cortex-A9 r2p9
193 /* Waking up from LP1? */
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcsr.h8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved.
70 * low power states due to driver-invoked device resets
71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
74 * these provide simple PCI bus access, without waking up the MAC.
77 * The MAC (uCode processor, etc.) does not need to be powered up for accessing
86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */
100 * 31-8: Reserved
101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-intel-rapid-start1 What: /sys/bus/acpi/intel-rapid-start/wakeup_events
15 What: /sys/bus/acpi/intel-rapid-start/wakeup_time
20 remain asleep before waking up to enter hibernation.
/linux/Documentation/trace/rv/
H A Dmonitor_wwnr.rst4 - Name: wwrn - wakeup while not running
5 - Type: per-task deterministic automaton
6 - Author: Daniel Bristot de Oliveira <bristot@kernel.org>
9 -----------
11 This is a per-task sample monitor, with the following
17 wakeup +-------------+
18 +--------- | |
20 +--------> | | <+
21 +-------------+ |
25 +-------------+ |
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dgpio-consumer-common.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/gpio/gpio-consumer-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bartosz Golaszewski <brgl@bgdev.pl>
11 - Linus Walleij <linus.walleij@linaro.org>
20 enable-gpios:
25 reset-gpios:
30 powerdown-gpios:
36 pwdn-gpios:
[all …]
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[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
72 * If the events are really what we want to wakeup the CPU, wake it up
/linux/Documentation/scheduler/
H A Dsched-energy.rst6 ---------------
25 please refer to its documentation (see Documentation/power/energy-model.rst).
29 -----------------------------
32 - energy = [joule] (resource like a battery on powered devices)
33 - power = energy/time = [joule/second] = [watt]
39 --------------------
45 -----------
49 optimization objective to the current performance-only objective for the
50 scheduler. This alternative considers two objectives: energy-efficiency and
54 implications of its decisions rather than blindly applying energy-saving
[all …]
/linux/kernel/locking/
H A Dww_mutex.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 w = list_first_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_first()
14 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_first()
24 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_next()
34 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_prev()
45 w = list_last_entry(&lock->wait_list, struct mutex_waiter, list); in __ww_waiter_last()
46 if (list_entry_is_head(w, &lock->wait_list, list)) in __ww_waiter_last()
55 struct list_head *p = &lock->wait_list; in __ww_waiter_add()
57 p = &pos->list; in __ww_waiter_add()
70 return atomic_long_read(&lock->owner) & MUTEX_FLAG_WAITERS; in __ww_mutex_has_waiters()
[all …]
/linux/Documentation/networking/
H A Ddriver.rst1 .. SPDX-License-Identifier: GPL-2.0
11 ------------------
21 ----------
28 Auto-close
29 ----------
32 if device is still UP.
38 ----------------------
46 for a driver implementing scatter-gather this means:
48 .. code-block:: c
52 u32 used = READ_ONCE(dr->prod) - READ_ONCE(dr->cons);
[all …]
/linux/arch/arm/mach-omap2/
H A Dpowerdomain.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2007-2008, 2010 Texas Instruments, Inc.
6 * Copyright (C) 2007-2011 Nokia Corporation
10 * XXX This should be moved to the mach-omap2/ directory at the earliest
45 * PWRDM_HAS_HDWR_SAR - powerdomain has hardware save-and-restore support
47 * PWRDM_HAS_MPU_QUIRK - MPU pwr domain has MEM bank 0 bits in MEM
50 * PWRDM_HAS_LOWPOWERSTATECHANGE - can transition from a sleep state
51 * to a lower sleep state without waking up the powerdomain
58 * Number of memory banks that are power-controllable. On OMAP4430, the
77 * struct powerdomain - OMAP powerdomain
[all …]
/linux/drivers/scsi/aacraid/
H A Ddpcsup.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (c) 2000-2010 Adaptec, Inc.
10 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com)
11 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com)
30 * aac_response_normal - Handle command replies
35 * all QE there are and wake up all the waiters before exiting. We will
41 struct aac_dev * dev = q->dev; in aac_response_normal()
48 spin_lock_irqsave(q->lock, flags); in aac_response_normal()
50 * Keep pulling response QEs off the response queue and waking in aac_response_normal()
51 * up the waiters until there are no more QEs. We then return in aac_response_normal()
[all …]
/linux/drivers/crypto/
H A Datmel-i2c.c1 // SPDX-License-Identifier: GPL-2.0
22 #include "atmel-i2c.h"
37 * atmel_i2c_checksum() - Generate 16-bit CRC as required by ATMEL ECC.
39 * The checksum is saved in little-endian format in the least significant
47 u8 *data = &cmd->count; in atmel_i2c_checksum()
48 size_t len = cmd->count - CRC_SIZE; in atmel_i2c_checksum()
56 cmd->word_addr = COMMAND; in atmel_i2c_init_read_config_cmd()
57 cmd->opcode = OPCODE_READ; in atmel_i2c_init_read_config_cmd()
62 cmd->param1 = CONFIGURATION_ZONE; in atmel_i2c_init_read_config_cmd()
63 cmd->param2 = cpu_to_le16(DEVICE_LOCK_ADDR); in atmel_i2c_init_read_config_cmd()
[all …]

12345678910