Home
last modified time | relevance | path

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

1234567

/linux/Documentation/ABI/testing/
H A 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 …]
H A 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/Documentation/devicetree/bindings/net/
H A 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/tools/testing/selftests/bpf/
H A 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/arch/arm/mach-omap2/
H A 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/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/Documentation/driver-api/pm/
H A 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/drivers/net/wireless/marvell/mwifiex/
H A 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/Documentation/tools/rtla/
H A Dcommon_timerlat_options.rst1 **-a**, **--auto** *us*
4 while debugging the system. It is equivalent to use **-T** *us* **-s** *us*
5 **-t**. By default, *timerlat* tracer uses FIFO:95 for *timerlat* threads,
6 thus equilavent to **-P** *f:95*.
8 **-p**, **--period** *us*
12 **-i**, **--irq** *us*
16 **-T**, **--thread** *us*
20 **-s**, **--stack** *us*
25 **-t**, **--trace** \[*file*]
29 **--dma-latency** *us*
[all …]
/linux/tools/power/x86/turbostat/
H A 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…
39 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency
40 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r…
[all …]
/linux/drivers/net/phy/
H A 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 …]
H A 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/Documentation/admin-guide/
H A 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/tools/tracing/rtla/src/
H A Dtimerlat_top.c1 // SPDX-License-Identifier: GPL-2.0
84 * timerlat_free_top - free runtime data
89 free(data->cpu_data); in timerlat_free_top()
94 * timerlat_alloc_histogram - alloc runtime data
105 data->nr_cpus = nr_cpus; in timerlat_alloc_top()
108 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top()
109 if (!data->cpu_data) in timerlat_alloc_top()
114 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top()
115 data->cpu_data[cpu].min_thread = ~0; in timerlat_alloc_top()
116 data->cpu_data[cpu].min_user = ~0; in timerlat_alloc_top()
[all …]
H A Dtimerlat_hist.c1 // SPDX-License-Identifier: GPL-2.0
91 * timerlat_free_histogram - free runtime data
99 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in timerlat_free_histogram()
100 if (data->hist[cpu].irq) in timerlat_free_histogram()
101 free(data->hist[cpu].irq); in timerlat_free_histogram()
103 if (data->hist[cpu].thread) in timerlat_free_histogram()
104 free(data->hist[cpu].thread); in timerlat_free_histogram()
106 if (data->hist[cpu].user) in timerlat_free_histogram()
107 free(data->hist[cpu].user); in timerlat_free_histogram()
112 if (data->hist) in timerlat_free_histogram()
[all …]
/linux/Documentation/sound/
H A 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/Documentation/core-api/
H A 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/drivers/platform/x86/dell/
H A Dalienware-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #define LEGACY_CONTROL_GUID "A90597CE-A997-11DA-B012-B622A1EF5492"
20 #define LEGACY_POWER_CONTROL_GUID "A80593CE-A997-11DA-B012-B622A1EF5492"
21 #define WMAX_CONTROL_GUID "A70591CE-A997-11DA-B012-B622A1EF5492"
47 MODULE_PARM_DESC(force_platform_profile, "Forces auto-detecting thermal profiles without checking i…
51 MODULE_PARM_DESC(force_gmode, "Forces G-Mode when performance profile is selected");
212 quirks = dmi->driver_data; in dmi_matched()
431 .name = "alienware-wmi",
459 /* RGB triplet notation is 24-bit hexadecimal */ in parse_rgb()
461 return -EINVAL; in parse_rgb()
[all …]
/linux/Documentation/power/
H A 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/drivers/usb/host/
H A 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/drivers/gpu/drm/panel/
H A 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/kernel/irq/
H A 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 …]
/linux/sound/soc/codecs/
H A 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/include/ufs/
H A Dufshcd.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2011-2013 Samsung India Software Operations
5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
16 #include <linux/blk-crypto-profile.h>
17 #include <linux/blk-mq.h>
19 #include <linux/fault-inject.h>
23 #include <linux/dma-direction.h>
68 * struct uic_command - UIC command structure
92 /* Host <-> Device UniPro Link state */
94 UIC_LINK_OFF_STATE = 0, /* Link powered down or disabled */
[all …]
/linux/drivers/media/i2c/
H A Dmax9271.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017-2020 Jacopo Mondi
4 * Copyright (C) 2017-2020 Kieran Bingham
5 * Copyright (C) 2017-2020 Laurent Pinchart
6 * Copyright (C) 2017-2020 Niklas Söderlund
11 * chip. This is not a self-contained driver, as MAX9271 is usually embedded in
16 * functions exported from this library driver to maximize code re-use.
29 dev_dbg(&dev->client->dev, "%s(0x%02x)\n", __func__, reg); in max9271_read()
31 ret = i2c_smbus_read_byte_data(dev->client, reg); in max9271_read()
33 dev_dbg(&dev->client->dev, in max9271_read()
[all …]

1234567