Home
last modified time | relevance | path

Searched +full:auto +full:- +full:sleep +full:- +full:disabled (Results 1 – 25 of 203) sorted by relevance

123456789

/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-driver-toshiba_acpi8 * 0x1 -> FN-Z
9 * 0x2 -> AUTO (also called TIMER)
10 * 0x8 -> ON
11 * 0x10 -> OFF
14 parameters, kernel 3.15 only accepts the first two (FN-Z and
15 AUTO).
25 whenever the operation mode is set to AUTO (or TIMER),
26 valid values range from 0-60.
29 type and the range accepted for type 2 is 1-60.
37 Description: This file shows the absolute position of the built-in
[all …]
Dsysfs-devices-power15 from sleep states, such as the memory sleep state (suspend to
20 used to activate the system from a sleep state. Such devices
25 + "disabled\n" not to do so;
29 "disabled" to it.
33 be enabled to wake up the system from sleep states.
40 space to control the run-time power management of the device.
45 + "auto\n" to allow the device to be power managed at run time;
48 The default for all devices is "auto", which means that they may
61 with the main suspend/resume thread) during system-wide power
68 + "disabled\n" to forbid it;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dmotorcomm,yt8xxx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Frank Sae <frank.sae@motor-comm.com>
13 - $ref: ethernet-phy.yaml#
18 - ethernet-phy-id4f51.e91a
19 - ethernet-phy-id4f51.e91b
21 rx-internal-delay-ps:
24 internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds.
30 tx-internal-delay-ps:
[all …]
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3328-nanopi-r2c.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com>
9 /dts-v1/;
10 #include "rk3328-nanopi-r2s.dts"
14 compatible = "friendlyarm,nanopi-r2c", "rockchip,rk3328";
18 phy-handle = <&yt8521s>;
23 /delete-node/ ethernet-phy@1;
25 yt8521s: ethernet-phy@3 {
26 compatible = "ethernet-phy-ieee802.3-c22";
29 motorcomm,clk-out-frequency-hz = <125000000>;
[all …]
Drk3328-orangepi-r1-plus-lts.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 * Copyright (c) 2021-2023 Tianling Shen <cnsztl@gmail.com>
9 /dts-v1/;
10 #include "rk3328-orangepi-r1-plus.dts"
14 compatible = "xunlong,orangepi-r1-plus-lts", "rockchip,rk3328";
18 phy-handle = <&yt8531c>;
23 /delete-node/ ethernet-phy@1;
25 yt8531c: ethernet-phy@0 {
26 compatible = "ethernet-phy-ieee802.3-c22";
29 motorcomm,auto-sleep-disabled;
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_tc_tunnel.sh2 # SPDX-License-Identifier: GPL-2.0
4 # In-place tunneling
10 readonly ns_prefix="ns-$$-"
35 ip netns exec "${ns1}" ethtool -K veth1 tso off
37 ip -netns "${ns1}" link set veth1 up
38 ip -netns "${ns2}" link set veth2 up
40 ip -netns "${ns1}" -4 addr add "${ns1_v4}/24" dev veth1
41 ip -netns "${ns2}" -4 addr add "${ns2_v4}/24" dev veth2
42 ip -netns "${ns1}" -6 addr add "${ns1_v6}/64" dev veth1 nodad
43 ip -netns "${ns2}" -6 addr add "${ns2_v6}/64" dev veth2 nodad
[all …]
/linux-6.12.1/arch/arm/mach-omap2/
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-6.12.1/Documentation/driver-api/pm/
Ddevices.rst1 .. SPDX-License-Identifier: GPL-2.0
10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 management (PM) code is also driver-specific. Most drivers will do very
22 This writeup gives an overview of how drivers interact with system-wide
25 background for the domain-specific work you'd do with any specific driver.
31 Drivers will use one or both of these models to put devices into low-power
34 System Sleep model:
36 Drivers can enter low-power states as part of entering system-wide
37 low-power states like "suspend" (also known as "suspend-to-RAM"), or
39 "suspend-to-disk").
[all …]
/linux-6.12.1/Documentation/admin-guide/laptops/
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-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2011-2020 NXP
32 cmd_node->priv = priv; in mwifiex_init_cmd_node()
33 cmd_node->cmd_no = cmd_no; in mwifiex_init_cmd_node()
36 cmd_node->wait_q_enabled = true; in mwifiex_init_cmd_node()
37 cmd_node->cmd_wait_q_woken = false; in mwifiex_init_cmd_node()
38 cmd_node->condition = &cmd_node->cmd_wait_q_woken; in mwifiex_init_cmd_node()
40 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node()
41 cmd_node->cmd_skb = cmd_node->skb; in mwifiex_init_cmd_node()
53 spin_lock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node()
[all …]
/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.83 turbostat \- Report processor frequency and idle statistics
12 .RB [ "\--interval seconds" ]
15 idle power-state statistics, temperature and power on X86 processors.
19 in one-shot upon its completion.
22 The 5-second interval can be changed using the --interval option.
26 Options can be specified with a single or double '-', and only as much of the option
27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv…
29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri…
36 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency
37 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r…
[all …]
/linux-6.12.1/drivers/base/power/
Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
15 * control - Report/change current runtime PM setting of the device
21 * + "auto\n" to allow the device to be power managed at run time;
24 * The default for all devices is "auto", which means that devices may be
30 * wakeup - Report/change current wakeup option for device
37 * + "disabled\n" not to do so; or
44 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events
57 * active, or which may have wakeup disabled. Some drivers rely on
58 * wakeup events internally (unless they are disabled), keeping
60 * saves runtime power, without requiring system-wide sleep states.
[all …]
/linux-6.12.1/drivers/net/phy/
Dmotorcomm.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Author: Frank <Frank.Sae@motor-comm.com>
22 * ------------------------------------------------------------
26 * ------------------------------------------------------------
28 * ------------------------------------------------------------
86 /* Speed Auto Downgrade Control Register */
104 /* FIBER Auto-Negotiation link partner ability */
125 /* TX Gig-E Delay is bits 7:4, default 0x5
126 * TX Fast-E Delay is bits 15:12, default 0xf
127 * Delay = 150ps * N - 250ps
[all …]
Dphy-c45.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "mdio-open-alliance.h"
14 * genphy_c45_baset1_able - checks if the PMA has BASE-T1 extended abilities
21 if (phydev->pma_extable == -ENODATA) { in genphy_c45_baset1_able()
26 phydev->pma_extable = val; in genphy_c45_baset1_able()
29 return !!(phydev->pma_extable & MDIO_PMA_EXTABLE_BT1); in genphy_c45_baset1_able()
33 * genphy_c45_pma_can_sleep - checks if the PMA have sleep support
48 * genphy_c45_pma_resume - wakes up the PMA module
54 return -EOPNOTSUPP; in genphy_c45_pma_resume()
62 * genphy_c45_pma_suspend - suspends the PMA module
[all …]
/linux-6.12.1/Documentation/admin-guide/
Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nospcr -- disable console in ACPI SPCR table as
41 If set to vendor, prefer vendor-specific driver
73 Documentation/firmware-guide/acpi/debug.rst for more information about
[all …]
/linux-6.12.1/include/linux/
Dinput.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 1999-2002 Vojtech Pavlik
16 * In-kernel definitions.
27 * struct input_value - input value representation
46 * struct input_dev - represents an input device
73 * not sleep
104 * by @event_lock and must not sleep
116 * to make sure that dev->open() is only called when the first
117 * user opens device and dev->close() is called when the very
120 * causes input_open_device*() fail with -ENODEV.
[all …]
/linux-6.12.1/Documentation/sound/
Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
64 ------------------
86 regarding opening the device. When this option is non-zero,
90 Module snd-rawmidi
91 ------------------
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
108 * - battery
110 * - balanced
112 * - performance
144 return -EPERM; in amdgpu_get_power_dpm_state()
145 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state()
146 return -EPERM; in amdgpu_get_power_dpm_state()
148 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
150 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state()
156 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state()
[all …]
/linux-6.12.1/Documentation/core-api/
Dkernel-api.rst9 .. kernel-doc:: include/linux/list.h
22 ------------------
24 .. kernel-doc:: lib/vsprintf.c
27 .. kernel-doc:: include/linux/kstrtox.h
30 .. kernel-doc:: lib/kstrtox.c
33 .. kernel-doc:: lib/string_helpers.c
37 -------------------
39 .. kernel-doc:: include/linux/fortify-string.h
42 .. kernel-doc:: lib/string.c
45 .. kernel-doc:: include/linux/string.h
[all …]
/linux-6.12.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,
21 hibernation and resume from system sleep states). pm_wq is declared in
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).
[all …]
/linux-6.12.1/drivers/usb/host/
Dohci-hub.c1 // SPDX-License-Identifier: GPL-1.0+
6 * (C) Copyright 2000-2004 David Brownell <dbrownell@users.sourceforge.net>
11 /*-------------------------------------------------------------------------*/
38 /*-------------------------------------------------------------------------*/
48 __releases(ohci->lock) in ohci_rh_suspend()
49 __acquires(ohci->lock) in ohci_rh_suspend()
53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
54 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_suspend()
57 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend()
58 ohci->hc_control |= OHCI_USB_RESET; in ohci_rh_suspend()
[all …]
/linux-6.12.1/tools/tracing/rtla/src/
Dtimerlat_top.c1 // SPDX-License-Identifier: GPL-2.0
83 * timerlat_free_top - free runtime data
88 free(data->cpu_data); in timerlat_free_top()
93 * timerlat_alloc_histogram - alloc runtime data
104 data->nr_cpus = nr_cpus; in timerlat_alloc_top()
107 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top()
108 if (!data->cpu_data) in timerlat_alloc_top()
113 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top()
114 data->cpu_data[cpu].min_thread = ~0; in timerlat_alloc_top()
115 data->cpu_data[cpu].min_user = ~0; in timerlat_alloc_top()
[all …]
/linux-6.12.1/drivers/gpu/drm/panel/
Dpanel-sony-acx565akm.c1 // SPDX-License-Identifier: GPL-2.0
7 * Based on the omapdrm-specific panel-sony-acx565akm driver
16 * - Update backlight support to use backlight_update_status() etc.
17 * - Use prepare/unprepare for the basic power on/off of the backligt
66 * Next value of jiffies when we can issue the next sleep in/out
88 x->tx_buf = &cmd; in acx565akm_transfer()
89 x->bits_per_word = 9; in acx565akm_transfer()
90 x->len = 2; in acx565akm_transfer()
98 x->bits_per_word = 10; in acx565akm_transfer()
105 x->tx_buf = wbuf; in acx565akm_transfer()
[all …]
/linux-6.12.1/sound/soc/codecs/
Dcs4270.c6 * Copyright 2007-2009 Freescale Semiconductor, Inc. This file is licensed
15 * - Software mode is supported. Stand-alone mode is not supported.
16 * - Only I2C is supported, not SPI
17 * - Support for master and slave mode
18 * - The machine driver's 'startup' function must call
20 * - Only I2S and left-justified modes are supported
21 * - Power management is supported
51 #define CS4270_NUMREGS (CS4270_LASTREG - CS4270_FIRSTREG + 1)
101 /* Power-on default values for the registers
103 * This array contains the power-on default values of the registers, with the
[all …]
/linux-6.12.1/kernel/irq/
Dmanage.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 1992, 1998-2006 Linus Torvalds, Ingo Molnar
4 * Copyright (C) 2005-2006 Thomas Gleixner
50 while (irqd_irq_inprogress(&desc->irq_data)) in __synchronize_hardirq()
53 /* Ok, that indicated we're done: double-check carefully. */ in __synchronize_hardirq()
54 raw_spin_lock_irqsave(&desc->lock, flags); in __synchronize_hardirq()
55 inprogress = irqd_irq_inprogress(&desc->irq_data); in __synchronize_hardirq()
70 raw_spin_unlock_irqrestore(&desc->lock, flags); in __synchronize_hardirq()
77 * synchronize_hardirq - wait for pending hard IRQ handlers (on other CPUs)
91 * This function may be called - with care - from IRQ context.
[all …]

123456789