/openbmc/linux/include/net/ |
H A D | netdev_queues.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * DOC: Lockless queue stopping / waking helpers. 12 * and waking netdev queues without full lock protection. 15 * wake attempts. The try-stop should happen from the xmit handler, 16 * while wake up should be triggered from NAPI poll context. 19 * The try-stop side is expected to run from the xmit handler and therefore 23 * The waking side does not have similar context restrictions. 51 _res = -1; \ 57 * netif_txq_maybe_stop() - locklessly stop a Tx queue, if needed 62 * @start_thrs: minimal number of descriptors to re-enable the queue, can be [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/direct/ |
H A D | kprobe-direct.tc | 2 # 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 D | ftrace-direct.tc | 2 # 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 …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_breadcrumbs_types.h | 1 /* SPDX-License-Identifier: MIT */ 19 * with the herd waking after every interrupt and each doing the 21 * bottom-half of the user interrupt) to the first client. After 22 * every interrupt, we wake up one client, who does the heavyweight 24 * or wakes up all the completed clients in parallel, before then 25 * transferring the bottom-half status to the next client in the queue. 28 * bottom-half, we reduce the latency of the first waiter by avoiding 32 * the overhead of waking that client is much preferred.
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | fsl-tsec-phy.txt | 5 the definition of the PHY node in booting-without-of.txt for an example 9 - reg : Offset and length of the register set for the device, and optionally 14 - compatible : Should define the compatible device type for the 16 - "fsl,gianfar-tbi" 17 - "fsl,gianfar-mdio" 18 - "fsl,etsec2-tbi" 19 - "fsl,etsec2-mdio" 20 - "fsl,ucc-mdio" 21 - "fsl,fman-mdio" 23 - "gianfar" [all …]
|
/openbmc/linux/include/linux/sched/ |
H A D | sd_flags.h | 1 /* 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 …]
|
/openbmc/linux/tools/perf/bench/ |
H A D | futex-wake-parallel.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #include <subcmd/parse-options.h> 48 /* all threads will block on the same futex -- hash bucket chaos ;) */ 64 OPT_UINTEGER('w', "nwakers", ¶ms.nwakes, "Specify amount of waking threads"), 73 "perf bench futex wake-parallel <options>", 86 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 87 if (waker->nwoken != nwakes) in waking_workerfn() 89 waker->nwoken, nwakes); in waking_workerfn() 92 timersub(&end, &start, &waker->runtime); in waking_workerfn() 111 * Thread creation order will impact per-thread latency in wakeup_threads() [all …]
|
H A D | futex-wake.c | 1 // 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> 70 threads_starting--; in workerfn() 91 printf("Wokeup %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary() 177 "waking up %d at a time.\n\n", in bench_futex_wake() 203 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake()
|
/openbmc/linux/drivers/powercap/ |
H A D | idle_inject.c | 1 // SPDX-License-Identifier: GPL-2.0 25 * After all of them have been woken up, a timer is set to start the next idle 28 * The timer interrupt handler will wake up the idle injection kthreads for 34 * It is up to the user of this framework to provide a lock for higher-level 51 * struct idle_inject_thread - task on/off switch structure 61 * struct idle_inject_device - idle injection data 78 * update() - This callback is invoked just before waking up CPUs to inject 79 * idle. If it returns false, CPUs are not woken up to inject idle in the given 96 * idle_inject_wakeup - Wake up idle injection threads 100 * and running on an online CPU will be woken up. [all …]
|
/openbmc/linux/rust/kernel/sync/ |
H A D | condvar.rs | 1 // SPDX-License-Identifier: GPL-2.0 13 /// Creates a [`CondVar`] initialiser with the given name and a newly-created lock class. 24 /// atomically release the given lock and go to sleep. It reacquires the lock when it wakes up. And 25 /// it wakes up when notified by another thread (via [`CondVar::notify_one`] or 26 /// [`CondVar::notify_all`]) or because the thread received a signal. It may also wake up 64 /// fn new_example() -> Result<Pin<Box<Example>>> { 66 /// value <- new_mutex!(0), 67 /// value_changed <- new_condvar!(), 79 /// self-referential, so it cannot be safely moved once it is initialised. 95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | egalax-ts.txt | 4 - compatible: must be "eeti,egalax_ts" 5 - reg: i2c slave address 6 - interrupts: touch controller interrupt 7 - wakeup-gpios: the gpio pin to be used for waking up the controller 15 interrupt-parent = <&gpio1>; 17 wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
|
/openbmc/linux/Documentation/locking/ |
H A D | futex-requeue-pi.rst | 5 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 …]
|
/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | pci.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 31 * PCI-specific Target state 36 * HOST_INTEREST->hi_interconnect_state points here 37 * (and all members are 32-bit quantities in order to 79 /* Per-pipe state. */ 130 * bootup. To do that the original PCI-E Link Control is stored before 131 * device bootup is executed and re-programmed later. 138 /* The device has a special powersave-oriented register. When device is [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-intel-rapid-start | 1 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.
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | samsung,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 - Tomasz Figa <tomasz.figa@gmail.com> 22 - External GPIO interrupts (see interrupts property in pin controller node); 24 - External wake-up interrupts - multiplexed (capable of waking up the system 25 see interrupts property in external wake-up interrupt controller node - 26 samsung,pinctrl-wakeup-interrupt.yaml); [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | mp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2014-2015 Freescale Semiconductor, Inc. 12 #include <asm/arch-fsl-layerscape/soc.h> 53 gur_out32(&gur->scratchrw[6], mpidr); in wake_secondary_core_n() 55 rst->brrl |= 1 << ((cluster * cluster_cores) + core); in wake_secondary_core_n() 59 * when the value becomes zero, this means that this core is up in wake_secondary_core_n() 62 while (gur_in32(&gur->scratchrw[6]) != 0) in wake_secondary_core_n() 90 * observe the correct value after waking up from wfe. in fsl_layerscape_wake_seconday_cores() 97 printf("Waking secondary cores to start from %lx\n", gd->relocaddr); in fsl_layerscape_wake_seconday_cores() 100 gur_out32(&gur->bootlocptrh, (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores() [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | acpi_s3.c | 1 // SPDX-License-Identifier: GPL-2.0+ 22 printf("Jumping to OS waking vector %p\n", vector); in acpi_jump_to_wakeup() 31 enter_acpi_mode(fadt->pm1a_cnt_blk); in acpi_resume() 39 memcpy((void *)0x1000, (const void *)gd->arch.backup_mem, in acpi_resume() 49 gd->start_addr_sp -= S3_RESERVE_SIZE; in acpi_s3_reserve() 50 gd->arch.backup_mem = gd->start_addr_sp; in acpi_s3_reserve() 52 gd->start_addr_sp &= ~0xf; in acpi_s3_reserve() 55 * U-Boot sets up the real mode interrupt handler stubs starting from in acpi_s3_reserve() 56 * address 0x1000. In most cases, the first 640K (0x00000 - 0x9ffff) in acpi_s3_reserve() 61 * If U-Boot is in an S3 resume path, care must be taken not to corrupt in acpi_s3_reserve() [all …]
|
/openbmc/linux/arch/arm/mach-tegra/ |
H A D | reset-handler.S | 1 /* 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 …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | keypad-nomadik-ske.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) ST-Ericsson SA 2010 30 * struct keypad_platform_data - structure for platform specific data 38 * @wakeup_enable: allow waking up the system
|
/openbmc/linux/include/trace/events/ |
H A D | sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 memcpy(__entry->comm, t->comm, TASK_COMM_LEN); 29 __entry->pid = t->pid; 32 TP_printk("comm=%s pid=%d", __entry->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 …]
|
/openbmc/linux/Documentation/trace/rv/ |
H A D | monitor_wwnr.rst | 4 - 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-consumer-common.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | csr.h | 8 * 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 …]
|
/openbmc/linux/arch/mips/loongson2ef/common/ |
H A D | pm.c | 1 // 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
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | pm.c | 1 // 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
|