| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/ |
| H A D | intel_breadcrumbs_types.h | 1 /* SPDX-License-Identifier: MIT */ 16 * with the herd waking after every interrupt and each doing the 18 * bottom-half of the user interrupt) to the first client. After 19 * every interrupt, we wake up one client, who does the heavyweight 21 * or wakes up all the completed clients in parallel, before then 22 * transferring the bottom-half status to the next client in the queue. 25 * bottom-half, we reduce the latency of the first waiter by avoiding 29 * the overhead of waking that client is much preferred.
|
| /OK3568_Linux_fs/kernel/tools/perf/bench/ |
| H A D | futex-wake-parallel.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #include <subcmd/parse-options.h> 47 /* all threads will block on the same futex -- hash bucket chaos ;) */ 62 OPT_UINTEGER('w', "nwakers", &nwaking_threads, "Specify amount of waking threads"), 69 "perf bench futex wake-parallel <options>", 82 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 83 if (waker->nwoken != nwakes) in waking_workerfn() 85 waker->nwoken, nwakes); in waking_workerfn() 88 timersub(&end, &start, &waker->runtime); in waking_workerfn() 105 * 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 18 #include <subcmd/parse-options.h> 65 threads_starting--; in workerfn() 86 printf("Wokeup %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary() 104 CPU_SET(cpu->map[i % cpu->nr], &cpuset); in block_threads() 145 nthreads = cpu->nr; in bench_futex_wake() 155 "waking up %d at a time.\n\n", in bench_futex_wake() 181 /* Ok, all threads are patiently blocked, start waking folks up */ in bench_futex_wake()
|
| H A D | futex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * futex() - SYS_futex syscall wrapper 34 * like-named arguments in the following wrappers except where noted below. 40 * futex_wait() - block on uaddr with optional timeout 50 * futex_wake() - wake one or more tasks blocked on uaddr 51 * @nr_wake: wake up to this many tasks 60 * futex_lock_pi() - block on uaddr as a PI mutex 69 * futex_unlock_pi() - release uaddr as a PI mutex, waking the top waiter 78 * futex_cmp_requeue() - requeue tasks from uaddr to uaddr2 79 * @nr_wake: wake up to this many tasks [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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. 96 * SHARED_CHILD: Set from the base domain up until spanned CPUs no longer share [all …]
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | sched.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 memcpy(__entry->comm, t->comm, TASK_COMM_LEN); 28 __entry->pid = t->pid; 31 TP_printk("comm=%s pid=%d", __entry->comm, __entry->pid) 48 __entry->ret = ret; 51 TP_printk("ret=%d", __entry->ret) 55 * Tracepoint for waking up a task: 72 memcpy(__entry->comm, p->comm, TASK_COMM_LEN); 73 __entry->pid = p->pid; 74 __entry->prio = p->prio; /* XXX SCHED_DEADLINE */ [all …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/include/asm/ |
| H A D | acpi_table.h | 7 * SPDX-License-Identifier: GPL-2.0+ 11 #define OEM_ID "U-BOOT" /* U-Boot */ 12 #define OEM_TABLE_ID "U-BOOTBL" /* U-Boot Table */ 206 u32 firmware_waking_vector; /* Firmware waking vector */ 209 u32 x_firmware_waking_vector_l; /* X FW waking vector, low */ 210 u32 x_firmware_waking_vector_h; /* X FW waking vector, high */ 269 u8 source; /* Bus-relative int. source (IRQ) */ 322 * enter_acpi_mode() - enter into ACPI mode 324 * This programs the ACPI-defined PM1_CNT register to enable SCI interrupt 333 * acpi_find_fadt() - find ACPI FADT table in the sytem memory [all …]
|
| /OK3568_Linux_fs/kernel/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-desgin.txt] 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
| H A D | mp.c | 2 * Copyright 2014-2015 Freescale Semiconductor, Inc. 4 * SPDX-License-Identifier: GPL-2.0+ 13 #include <asm/arch-fsl-layerscape/soc.h> 54 gur_out32(&gur->scratchrw[6], mpidr); in wake_secondary_core_n() 56 rst->brrl |= 1 << ((cluster * cluster_cores) + core); in wake_secondary_core_n() 60 * when the value becomes zero, this means that this core is up in wake_secondary_core_n() 63 while (gur_in32(&gur->scratchrw[6]) != 0) in wake_secondary_core_n() 91 * observe the correct value after waking up from wfe. in fsl_layerscape_wake_seconday_cores() 98 printf("Waking secondary cores to start from %lx\n", gd->relocaddr); in fsl_layerscape_wake_seconday_cores() 101 gur_out32(&gur->bootlocptrh, (u32)(gd->relocaddr >> 32)); in fsl_layerscape_wake_seconday_cores() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-tegra/ |
| H A D | reset-handler.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <asm/asm-offsets.h> 28 * re-enabling sdram. 72 /* L2 cache resume & re-enable */ 104 * r0=3 for the wake-up notification. 133 * must be position-independent. 154 # Tegra20 is a Cortex-A9 r1p1 170 # Tegra30 is a Cortex-A9 r2p9 191 /* Waking up from LP1? */ 204 /* Waking up from LP2? */ [all …]
|
| /OK3568_Linux_fs/kernel/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 0>;
|
| /OK3568_Linux_fs/kernel/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.
|
| /OK3568_Linux_fs/u-boot/arch/x86/lib/ |
| H A D | acpi_s3.c | 4 * 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_osk_wait_queue.c | 2 * Copyright (C) 2012-2014, 2016-2017 ARM Limited. All rights reserved. 8 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 37 init_waitqueue_head(&ret->wait_queue); in _mali_osk_wait_queue_init() 38 MALI_DEBUG_ASSERT(!waitqueue_active(&ret->wait_queue)); in _mali_osk_wait_queue_init() 47 wait_event(queue->wait_queue, condition(data)); in _mali_osk_wait_queue_wait_event() 54 wait_event_timeout(queue->wait_queue, condition(data), _mali_osk_time_mstoticks(timeout)); in _mali_osk_wait_queue_wait_event_timeout() 61 /* if queue is empty, don't attempt to wake up its elements */ in _mali_osk_wait_queue_wake_up() 62 if (!waitqueue_active(&queue->wait_queue)) return; in _mali_osk_wait_queue_wake_up() 64 MALI_DEBUG_PRINT(6, ("Waking up elements in wait queue %p ....\n", queue)); in _mali_osk_wait_queue_wake_up() 66 wake_up_all(&queue->wait_queue); in _mali_osk_wait_queue_wake_up() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/scheduler/ |
| H A D | sched-energy.rst | 6 --------------- 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/laptops/ |
| H A D | thinkpad-acpi.rst | 9 - 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 …]
|
| /OK3568_Linux_fs/kernel/samples/ftrace/ |
| H A D | ftrace-direct.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 trace_printk("waking up %s-%d\n", p->comm, p->pid); in my_direct_func() 28 " .size my_tramp, .-my_tramp\n"
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | atmel-i2c.c | 1 // 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_cmd() 57 cmd->opcode = OPCODE_READ; in atmel_i2c_init_read_cmd() 62 cmd->param1 = CONFIG_ZONE; in atmel_i2c_init_read_cmd() 63 cmd->param2 = cpu_to_le16(DEVICE_LOCK_ADDR); in atmel_i2c_init_read_cmd() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | powerdomain.h | 1 /* 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 …]
|