Home
last modified time | relevance | path

Searched +full:idle +full:- +full:wait +full:- +full:delay (Results 1 – 25 of 635) sorted by relevance

12345678910>>...26

/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dnvidia,tegra20-usb-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Osipenko <digetx@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
12 - Thierry Reding <thierry.reding@gmail.com>
17 - items:
18 - enum:
19 - nvidia,tegra124-usb-phy
[all …]
/Linux-v6.1/net/rxrpc/
Dmisc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include "ar-internal.h"
20 * How long to wait before scheduling ACK generation after seeing a
26 * How long to wait before scheduling an ACK with subtype DELAY (in jiffies).
29 * all consumed within this time we will send a DELAY ACK if an ACK was not
35 * How long to wait before scheduling an ACK with subtype IDLE (in jiffies).
37 * We use this when we've consumed some previously soft-ACK'd packets when
38 * further packets aren't immediately received to decide when to send an IDLE
50 #if (RXRPC_RXTX_BUFF_SIZE - 1) < RXRPC_INIT_RX_WINDOW_SIZE
/Linux-v6.1/tools/perf/Documentation/
Dperf-sched.txt1 perf-sched(1)
5 ----
6 perf-sched - Tool to trace/measure scheduler properties (latencies)
9 --------
14 -----------
30 of the workload as it occurred when it was recorded - and can repeat
33 'perf sched map' to print a textual context-switching outline of
35 individual CPUs, and the two-letter shortcuts stand for tasks that
37 a dot signals an idle CPU.
42 perf sched record -- sleep 1
[all …]
/Linux-v6.1/drivers/base/power/
Druntime.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/runtime.c - Helper functions for device runtime PM
26 if (dev->pm_domain) in __rpm_get_callback()
27 ops = &dev->pm_domain->ops; in __rpm_get_callback()
28 else if (dev->type && dev->type->pm) in __rpm_get_callback()
29 ops = dev->type->pm; in __rpm_get_callback()
30 else if (dev->class && dev->class->pm) in __rpm_get_callback()
31 ops = dev->class->pm; in __rpm_get_callback()
32 else if (dev->bus && dev->bus->pm) in __rpm_get_callback()
33 ops = dev->bus->pm; in __rpm_get_callback()
[all …]
/Linux-v6.1/drivers/clk/ti/
Dclkt_dflt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2005-2008, 2015 Texas Instruments, Inc.
6 * Copyright (C) 2004-2010 Nokia Corporation
9 * Richard Woodruff <r-woodruff2@ti.com>
11 * Tero Kristo <t-kristo@ti.com>
16 #include <linux/clk-provider.h>
19 #include <linux/delay.h>
24 * MAX_MODULE_ENABLE_WAIT: maximum of number of microseconds to wait
25 * for a module to indicate that it is no longer in idle
37 * _wait_idlest_generic - wait for a module to leave the idle state
[all …]
/Linux-v6.1/arch/arm/mach-omap2/
Dsleep24xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * linux/arch/arm/mach-omap2/sleep.S
7 * Richard Woodruff <r-woodruff2@ti.com>
10 * Fixed idle loop sleep
26 * omap24xx_cpu_suspend() - Forces OMAP into deep sleep state by completing
31 * R0 : DLL ctrl value pre-Sleep
36 * when we get called, but the DLL probably isn't. We will wait a bit more in
37 * case the DPLL isn't quite there yet. The code will wait on DLL for DDR even
40 * For less than 242x-ES2.2 upon wake from a sleep mode where the external
41 * oscillator was stopped, a timing bug exists where a non-stabilized 12MHz
[all …]
/Linux-v6.1/arch/arm/mach-tegra/
Dplatsmp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-tegra/platsmp.c
13 #include <linux/delay.h>
26 #include <asm/mach-types.h>
42 static int tegra20_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra20_boot_secondary() argument
50 * power-gated via the flow controller). This will have no in tegra20_boot_secondary()
58 * power-gate the CPU this will cause the flow controller to in tegra20_boot_secondary()
70 static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle) in tegra30_boot_secondary() argument
84 * power will be resumed automatically after un-halting the in tegra30_boot_secondary()
85 * flow controller of the warm boot CPU. We need to wait for in tegra30_boot_secondary()
[all …]
/Linux-v6.1/arch/arm/mach-mvebu/
Dpmsu.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Gregory Clement <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 #define pr_fmt(fmt) "mvebu-pmsu: " fmt
20 #include <linux/delay.h>
25 #include <linux/mvebu-pmsu.h>
73 /* PMSU delay registers */
104 { .compatible = "marvell,armada-370-pmsu", },
105 { .compatible = "marvell,armada-370-xp-pmsu", },
106 { .compatible = "marvell,armada-380-pmsu", },
[all …]
/Linux-v6.1/kernel/rcu/
Dsrcutree.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Sleepable Read-Copy Update mechanism for mutual exclusion.
11 * For detailed explanation of Read-Copy Update mechanism see -
25 #include <linux/delay.h>
33 /* Holdoff in nanoseconds for auto-expediting. */
38 /* Overflow-check frequency. N bits roughly says every 2**N grace periods. */
63 /* Number of CPUs to trigger init_srcu_struct()-time transition to big. */
71 /* Early-boot callback-management, so early that no lock is required! */
76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
117 * Initialize SRCU per-CPU data. Note that statically allocated
[all …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-s3c2410.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* linux/drivers/i2c/busses/i2c-s3c2410.c
17 #include <linux/delay.h>
35 #include <linux/platform_data/i2c-s3c2410.h>
81 /* Max time to wait for bus to become idle after a xfer (in us) */
97 wait_queue_head_t wait; member
128 .name = "s3c2410-i2c",
131 .name = "s3c2440-i2c",
134 .name = "s3c2440-hdmiphy-i2c",
144 { .compatible = "samsung,s3c2410-i2c", .data = (void *)0 },
[all …]
/Linux-v6.1/include/linux/
Dworkqueue.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * workqueue.h --- work queue handling for Linux.
28 #define work_data_bits(work) ((unsigned long *)(&(work)->data))
67 /* data contains off-queue information when !WORK_STRUCT_PWQ */
80 WORK_OFFQ_LEFT = BITS_PER_LONG - WORK_OFFQ_POOL_SHIFT,
82 WORK_OFFQ_POOL_NONE = (1LU << WORK_OFFQ_POOL_BITS) - 1,
85 WORK_STRUCT_FLAG_MASK = (1UL << WORK_STRUCT_FLAG_BITS) - 1,
114 /* target workqueue and CPU ->timer uses to queue ->work */
123 /* target workqueue ->rcu uses to queue ->work */
128 * struct workqueue_attrs - A struct for workqueue attributes.
[all …]
/Linux-v6.1/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 put their PM-related work items. It is strongly recommended that pm_wq be
20 them to be synchronized with system-wide power transitions (suspend to RAM,
53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks
57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
60 2. Device type of the device, if both dev->type and dev->type->pm are present.
62 3. Device class of the device, if both dev->class and dev->class->pm are
65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
69 dev->driver->pm directly (if present).
73 and bus type. Moreover, the high-priority one will always take precedence over
[all …]
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dtdls.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
5 * Copyright (C) 2018-2020, 2022 Intel Corporation
9 #include "time-event.h"
10 #include "iwl-io.h"
11 #include "iwl-prph.h"
22 lockdep_assert_held(&mvm->mutex); in iwl_mvm_teardown_tdls_peers()
24 for (i = 0; i < mvm->fw->ucode_capa.num_stations; i++) { in iwl_mvm_teardown_tdls_peers()
25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers()
26 lockdep_is_held(&mvm->mutex)); in iwl_mvm_teardown_tdls_peers()
27 if (!sta || IS_ERR(sta) || !sta->tdls) in iwl_mvm_teardown_tdls_peers()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/
Dintel_wakeref.h2 * SPDX-License-Identifier: MIT
74 * Note that @fn is allowed to fail, in which case the runtime-pm wakeref
84 if (unlikely(!atomic_inc_not_zero(&wf->count))) in intel_wakeref_get()
102 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_get()
103 atomic_inc(&wf->count); in __intel_wakeref_get()
118 return atomic_inc_not_zero(&wf->count); in intel_wakeref_get_if_active()
129 might_lock(&wf->mutex); in intel_wakeref_might_get()
141 * Note that @fn is allowed to fail, in which case the runtime-pm wakeref
151 GENMASK(BITS_PER_LONG - 1, __INTEL_WAKEREF_PUT_LAST_BIT__) in __intel_wakeref_put()
153 INTEL_WAKEREF_BUG_ON(atomic_read(&wf->count) <= 0); in __intel_wakeref_put()
[all …]
/Linux-v6.1/net/ipv4/
Dtcp_vegas.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * IEEE Journal on Selected Areas in Communication, 13(8):1465--1480,
17 * using fine-grained timers, NewReno, and FACK.
19 * only every-other RTT during slow start, we increase during
29 * o When the sender re-starts from idle, it waits until it has
32 * assumed senders never went idle.
55 /* There are several situations when we must "re-start" Vegas:
61 * unacknowledged data (restarting an idle connection)
65 * stale info -- both the saved cwnd and congestion feedback are
68 * Instead we must wait until the completion of an RTT during
[all …]
/Linux-v6.1/drivers/md/bcache/
Dwriteback.c1 // SPDX-License-Identifier: GPL-2.0
3 * background writeback - scan btree for dirty data and write it to the backing
15 #include <linux/delay.h>
22 if (c->gc_after_writeback != (BCH_ENABLE_AUTO_GC) || in update_gc_after_writeback()
23 c->gc_stats.in_use < BCH_AUTO_GC_DIRTY_THRESHOLD) in update_gc_after_writeback()
26 c->gc_after_writeback |= BCH_DO_AUTO_GC; in update_gc_after_writeback()
32 struct cache_set *c = dc->disk.c; in __calc_target_rate()
36 * flash-only devices in __calc_target_rate()
38 uint64_t cache_sectors = c->nbuckets * c->cache->sb.bucket_size - in __calc_target_rate()
39 atomic_long_read(&c->flash_dev_dirty_sectors); in __calc_target_rate()
[all …]
/Linux-v6.1/drivers/net/wireless/broadcom/b43/
Dphy_n.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 /* N-PHY registers. */
18 #define B43_NPHY_4WI_ADDR B43_PHY_N(0x00B) /* Four-wire bus address */
19 #define B43_NPHY_4WI_DATAHI B43_PHY_N(0x00C) /* Four-wire bus data high */
20 #define B43_NPHY_4WI_DATALO B43_PHY_N(0x00D) /* Four-wire bus data low */
21 #define B43_NPHY_BIST_STAT0 B43_PHY_N(0x00E) /* Built-in self test status 0 */
22 #define B43_NPHY_BIST_STAT1 B43_PHY_N(0x00F) /* Built-in self test status 1 */
310 #define B43_NPHY_TXMACDELAY B43_PHY_N(0x0B4) /* TX MAC delay */
311 #define B43_NPHY_TXFRAMEDELAY B43_PHY_N(0x0B5) /* TX frame delay */
324 #define B43_NPHY_BPHY_CTL2_MACDEL 0x7FE0 /* MAC delay */
[all …]
/Linux-v6.1/arch/mips/kernel/
Dreset.c6 * Copyright (C) 2001, 06 by Ralf Baechle (ralf@linux-mips.org)
14 #include <linux/delay.h>
17 #include <asm/idle.h>
43 * low power wait state. in machine_hang()
50 * We know that the wait instruction is supported so in machine_hang()
57 "wait\n\t" in machine_hang()
62 * it'll re-enable interrupts, but that ought to be in machine_hang()
77 * In most modern MIPS CPUs interrupts will cause the wait in machine_hang()
81 * wait state, we clear any pending timer interrupt here. in machine_hang()
99 pr_emerg("Reboot failed -- System halted\n"); in machine_restart()
/Linux-v6.1/block/
Dblk-iocost.c1 /* SPDX-License-Identifier: GPL-2.0
17 * useless for the purpose of IO capacity distribution. While on-device
19 * non-queued rotational devices, this is no longer viable with modern
27 * implement a reasonable work-conserving proportional IO resource
37 * Currently, there's only one builtin cost model - linear. Each IO is
47 * device-specific coefficients.
54 * 2-1. Vtime Distribution
66 * If B is idle and only A0 and A1 are actively issuing IOs, as the two are
75 * against the device vtime - an IO which takes 10ms on the underlying
84 * 2-2. Vrate Adjustment
[all …]
/Linux-v6.1/tools/testing/selftests/powerpc/scripts/
Dhmi.sh2 # SPDX-License-Identifier: GPL-2.0-only
9 if [ -x ./getscom ] && [ -x ./putscom ]; then
18 See https://github.com/open-power/skiboot.
19 The tool is in external/xscom-utils
28 dmesg | grep -c 'Harmless Hypervisor Maintenance interrupt'
31 # massively expand snooze delay, allowing injection on all cores
32 ppc64_cpu --smt-snooze-delay=1000000000
35 trap "ppc64_cpu --smt-snooze-delay=100" 0 1
38 # todo - less fragile parsing
39 egrep -o 'OCC: Chip [0-9a-f]+ Core [0-9a-f]' < /sys/firmware/opal/msglog |
[all …]
/Linux-v6.1/drivers/usb/dwc2/
Dcore.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core.c - DesignWare HS OTG Controller common routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
18 #include <linux/dma-mapping.h>
19 #include <linux/delay.h>
31 * dwc2_backup_global_registers() - Backup global controller registers.
41 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers()
44 gr = &hsotg->gr_backup; in dwc2_backup_global_registers()
46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers()
[all …]
/Linux-v6.1/drivers/gpu/drm/radeon/
Drs600.c39 #include <linux/io-64-nonatomic-lo-hi.h>
60 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL
85 * avivo_wait_for_vblank - vblank wait asic callback.
88 * @crtc: crtc to wait for vblank on
90 * Wait for vblank on the requested crtc (r5xx-r7xx).
96 if (crtc >= rdev->num_crtc) in avivo_wait_for_vblank()
103 * wait for another frame. in avivo_wait_for_vblank()
122 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in rs600_page_flip()
123 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in rs600_page_flip()
124 u32 tmp = RREG32(AVIVO_D1GRPH_UPDATE + radeon_crtc->crtc_offset); in rs600_page_flip()
[all …]
/Linux-v6.1/drivers/spi/
Dspi-mpc52xx.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <linux/delay.h>
30 MODULE_DESCRIPTION("MPC52xx SPI (non-PSC) Driver");
103 if (ms->gpio_cs_count > 0) { in mpc52xx_spi_chipsel()
104 cs = ms->message->spi->chip_select; in mpc52xx_spi_chipsel()
105 gpiod_set_value(ms->gpio_cs[cs], value); in mpc52xx_spi_chipsel()
107 out_8(ms->regs + SPI_PORTDATA, value ? 0 : 0x08); in mpc52xx_spi_chipsel()
112 * Start a new transfer. This is called both by the idle state
113 * for the first transfer in a message, and by the wait state when the
118 ms->rx_buf = ms->transfer->rx_buf; in mpc52xx_spi_start_transfer()
[all …]
/Linux-v6.1/drivers/leds/trigger/
Dledtrig-activity.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Partially based on Atsushi Nemoto's ledtrig-heartbeat.c.
37 struct led_classdev *led_cdev = activity_data->led_cdev; in led_activity_function()
40 int delay; in led_activity_function() local
48 if (test_and_clear_bit(LED_BLINK_BRIGHTNESS_CHANGE, &led_cdev->work_flags)) in led_activity_function()
49 led_cdev->blink_brightness = led_cdev->new_blink_brightness; in led_activity_function()
53 led_set_brightness_nosleep(led_cdev, led_cdev->blink_brightness); in led_activity_function()
75 * down to 16us, ensuring we won't overflow 32-bit computations below in led_activity_function()
79 diff_boot = (curr_boot - activity_data->last_boot) >> 16; in led_activity_function()
80 diff_used = (curr_used - activity_data->last_used) >> 16; in led_activity_function()
[all …]
/Linux-v6.1/Documentation/RCU/
Dstallwarn.rst1 .. SPDX-License-Identifier: GPL-2.0
9 options that can be used to fine-tune the detector's operation. Finally,
20 - A CPU looping in an RCU read-side critical section.
22 - A CPU looping with interrupts disabled.
24 - A CPU looping with preemption disabled.
26 - A CPU looping with bottom halves disabled.
28 - For !CONFIG_PREEMPTION kernels, a CPU looping anywhere in the kernel
33 - Booting Linux using a console connection that is too slow to
34 keep up with the boot-time console-message rate. For example,
36 with boot-time message rates, and will frequently result in
[all …]

12345678910>>...26