Home
last modified time | relevance | path

Searched +full:auto +full:- +full:pm (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/linux/block/
H A Dblk-pm.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/blk-pm.h>
6 #include "blk-mq.h"
9 * blk_pm_runtime_init - Block layer runtime PM initialization routine
14 * Initialize runtime-PM-related fields for @q and start auto suspend for
15 * @dev. Drivers that want to take advantage of request-based runtime PM
17 * request queue @q has been allocated, and runtime PM for it can not happen
21 * This function takes care of setting up using auto suspend for the device,
22 * the autosuspend delay is set to -1 to make runtime suspend impossible
26 * The block layer runtime PM is request based, so only works for drivers
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_drv.c60 * - 3.0.0 - initial driver
61 * - 3.1.0 - allow reading more status registers (GRBM, SRBM, SDMA, CP)
62 * - 3.2.0 - GFX8: Uses EOP_TC_WB_ACTION_EN, so UMDs don't have to do the same
64 * - 3.3.0 - Add VM support for UVD on supported hardware.
65 * - 3.4.0 - Add AMDGPU_INFO_NUM_EVICTIONS.
66 * - 3.5.0 - Add support for new UVD_NO_OP register.
67 * - 3.6.0 - kmd involves use CONTEXT_CONTROL in ring buffer.
68 * - 3.7.0 - Add support for VCE clock list packet
69 * - 3.8.0 - Add support raster config init in the kernel
70 * - 3.9.0 - Add support for memory query info about VRAM and GTT.
[all …]
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
15 * Forms of dynamic PM
16 * The user interface for dynamic PM
17 * Changing the default idle-delay time
23 * Interaction between dynamic PM and system PM
24 * xHCI hardware link PM
31 -------------------------
33 Power Management (PM) is the practice of saving energy by suspending
[all …]
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
101 * amdgpu_pm_dev_state_check - Check if device can be accessed.
110 bool runpm_check = runpm ? adev->in_runpm : false; in amdgpu_pm_dev_state_check()
113 return -EBUSY; in amdgpu_pm_dev_state_check()
115 if (adev->in_suspend && !runpm_check) in amdgpu_pm_dev_state_check()
116 return -EBUSY; in amdgpu_pm_dev_state_check()
122 * amdgpu_pm_get_access - Check if device can be accessed, resume if needed.
125 * Checks the state of the @adev for access. Use runtime pm API to resume if
137 return pm_runtime_resume_and_get(adev->dev); in amdgpu_pm_get_access()
141 * amdgpu_pm_get_access_if_active - Check if device is active for access.
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/include/
H A Ddefs.h1 // SPDX-License-Identifier: ISC
21 #define AUTO (-1) /* Auto = -1 */ macro
50 /* Bit masks for radio disabled status - returned by WL_GET_RADIO */
61 #define BRCM_BAND_AUTO 0 /* auto-select */
75 /* Values for PM */
/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-m
[all...]
/linux/drivers/base/power/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
2 /* sysfs entries for device PM */
14 * control - Report/change current runtime PM setting of the device
20 * + "auto\n" to allow the device to be power managed at run time;
23 * The default for all devices is "auto", which means that devices may be
29 * wakeup - Report/change current wakeup option for device
43 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events
59 * saves runtime power, without requiring system-wide sleep states.
61 * async - Report/change current async suspend setting for the device
63 * Asynchronous suspend and resume of the device during system-wide power
[all …]
/linux/Documentation/power/
H A Dpm_qos_interface.rst2 PM Quality Of Service Interface
9 Two different PM QoS frameworks are available:
11 * The per-device PM QoS framework provides the API to manage the
12 per-device latency constraints and PM QoS flags.
14 The latency unit used in the PM QoS framework is the microsecond (usec).
17 1. PM QoS framework
35 Clients of PM QoS need to save the returned handle for future use in other
36 PM QoS API functions.
61 Only processes can register a PM QoS request. To provide for automatic
65 To register the default PM QoS target for the CPU latency QoS, the process must
[all …]
/linux/arch/mips/txx9/generic/
H A Dpci.c8 * Copyright 2001-2005 MontaVista Software Inc.
9 * Copyright (C) 1996, 97, 2001, 04 Ralf Baechle (ralf@linux-mips.org)
10 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007
36 fake_bus.ops = hose->pci_ops; in early_read_config_word()
52 int cap66 = -1; in txx9_pci66_check()
106 * mem_base, io_base: physical address. 0 for auto assignment.
107 * mem_size and io_size means max size on auto assignment.
126 new->r_mem[0].name = "PCI mem"; in txx9_alloc_pci_controller()
127 new->r_mem[1].name = "PCI mmio"; in txx9_alloc_pci_controller()
128 new->r_io.name = "PCI io"; in txx9_alloc_pci_controller()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_drv.c60 * - 2.0.0 - initial interface
61 * - 2.1.0 - add square tiling interface
62 * - 2.2.0 - add r6xx/r7xx const buffer support
63 * - 2.3.0 - add MSPOS + 3D texture + r500 VAP regs
64 * - 2.4.0 - add crtc id query
65 * - 2.5.0 - add get accel 2 to work around ddx breakage for evergreen
66 * - 2.6.0 - add tiling config query (r6xx+), add initial HiZ support (r300->r500)
67 * 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs
68 …* 2.8.0 - pageflip support, r500 US_FORMAT regs. r500 ARGB2101010 colorbuf, r300->r500 CMASK, cl…
69 * 2.9.0 - r600 tiling (s3tc,rgtc) working, SET_PREDICATION packet 3 on r600 + eg, backend query
[all …]
/linux/include/uapi/linux/
H A Dmptcp_pm.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
4 /* YNL-GEN uapi header */
17 * traffic-patterns it can take a long time until the MPTCP_EVENT_ESTABLISHED
19 * sport, dport, [server-side], [flags].
22 * sport, dport, [server-side], [flags].
30 * saddr6, daddr4 | daddr6, sport, dport, backup, if-idx [, error].
34 * daddr6, sport, dport, backup, if-idx [, error].
37 * saddr6, daddr4 | daddr6, sport, dport, backup, if-idx [, error].
38 * @MPTCP_EVENT_LISTENER_CREATED: A new PM listener is created. Attributes:
[all …]
H A Dwireless.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com>
8 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
16 * Initial APIs (1996 -> onward) :
17 * -----------------------------
44 * New driver API (2002 -> onward) :
45 * -------------------------------
53 * Wireless Events (2002 -> onward) :
54 * --------------------------------
59 * --------------
[all …]
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-cfg.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define DELTA_FW_VERSION "21.1-3"
36 * - at least 1 frame needed for display
37 * - at worst 21
44 #define DELTA_MAX_FRAME_USER 3 /* platform/use-case dependent */
56 /* PM runtime auto power-off after 5ms of inactivity */
/linux/drivers/remoteproc/
H A Domap_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/
8 * Ohad Ben-Cohen <ohad@wizery.com>
12 * Suman Anna <s-anna@ti.com>
13 * Hari Kanigeri <h-kanigeri2@ti.com>
27 #include <linux/dma-mapping.h>
31 #include <linux/omap-iommu.h>
32 #include <linux/omap-mailbox.h>
36 #include <clocksource/timer-ti-dm.h>
38 #include <linux/platform_data/dmtimer-omap.h>
[all …]
/linux/drivers/media/i2c/
H A Dthp7312.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/mtd/spi-nor.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-cci.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-device.h>
30 #include <media/v4l2-fwnode.h>
31 #include <media/v4l2-subdev.h>
129 * enum thp7312_focus_state - State of the focus handler
133 * @THP7312_FOCUS_STATE_AUTO: Continuous auto-focus
[all …]
/linux/arch/arm/mach-imx/
H A Dsuspend-imx6.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/asm-offsets.h>
9 #include <asm/hardware/cache-l2x0.h>
12 .arch armv7-a
38 * which defined in arch/arm/mach-imx/pm-imx6q.c, this
39 * structure contains necessary pm info for low level
135 /* let DDR out of self-refresh */
144 /* enable DDR auto power saving */
190 * put DDR explicitly into self-refresh and
197 /* make the DDR explicitly enter self-refresh. */
[all …]
/linux/drivers/accel/habanalabs/goya/
H A Dgoya_hwmgr.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2016-2022 HabanaLabs, Ltd.
12 struct goya_device *goya = hdev->asic_specific; in goya_set_pll_profile()
14 if (!hdev->pdev) in goya_set_pll_profile()
19 hl_fw_set_frequency(hdev, HL_GOYA_MME_PLL, hdev->high_pll); in goya_set_pll_profile()
20 hl_fw_set_frequency(hdev, HL_GOYA_TPC_PLL, hdev->high_pll); in goya_set_pll_profile()
21 hl_fw_set_frequency(hdev, HL_GOYA_IC_PLL, hdev->high_pll); in goya_set_pll_profile()
29 hl_fw_set_frequency(hdev, HL_GOYA_MME_PLL, goya->mme_clk); in goya_set_pll_profile()
30 hl_fw_set_frequency(hdev, HL_GOYA_TPC_PLL, goya->tpc_clk); in goya_set_pll_profile()
31 hl_fw_set_frequency(hdev, HL_GOYA_IC_PLL, goya->ic_clk); in goya_set_pll_profile()
[all …]
/linux/drivers/iio/pressure/
H A Dzpa2326_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * - address bit 7 must be set to request a register read operation
19 * - address bit 6 must be set to request register address auto increment
38 dev_err(&spi->dev, "failed to init registers map"); in zpa2326_probe_spi()
48 spi->mode = SPI_MODE_3; in zpa2326_probe_spi()
49 spi->max_speed_hz = min(spi->max_speed_hz, 1000000U); in zpa2326_probe_spi()
54 return zpa2326_probe(&spi->dev, spi_get_device_id(spi)->name, in zpa2326_probe_spi()
55 spi->irq, ZPA2326_DEVICE_ID, regmap); in zpa2326_probe_spi()
60 zpa2326_remove(&spi->dev); in zpa2326_remove_spi()
77 .name = "zpa2326-spi",
[all …]
/linux/sound/hda/common/
H A Dbind.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HD-audio codec driver binding
12 #include <linux/pm.h>
28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match()
29 u32 rev_id = codec->core.revision_id; in hda_codec_match()
31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match()
32 if (list->vendor_id == id && in hda_codec_match()
33 (!list->rev_id || list->rev_id == rev_id)) { in hda_codec_match()
34 codec->preset = list; in hda_codec_match()
48 if (codec->card->shutdown || codec->bus->shutdown) in hda_codec_unsol_event()
[all …]
/linux/Documentation/PCI/
H A Dpci-iov-howto.rst1 .. SPDX-License-Identifier: GPL-2.0
9 :Authors: - Yu Zhao <yu.zhao@intel.com>
10 - Donald Dutile <ddutile@redhat.com>
15 What is SR-IOV
16 --------------
18 Single Root I/O Virtualization (SR-IOV) is a PCI Express Extended
34 How can I enable SR-IOV capability
35 ----------------------------------
37 Multiple methods are available for SR-IOV enablement.
39 enabling and disabling of the capability via API provided by SR-IOV core.
[all …]
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A De1000.rst1 .. SPDX-License-Identifier: GPL-2.0+
8 Copyright(c) 1999 - 2013 Intel Corporation.
13 - Identifying Your Adapter
14 - Command Line Parameters
15 - Speed and Duplex Configuration
16 - Additional Configurations
17 - Support
50 -------
54 :Valid Range: 0x01-0x0F, 0x20-0x2F
57 This parameter is a bit-mask that specifies the speed and duplex settings
[all …]
/linux/drivers/ufs/core/
H A Dufs-debugfs.c1 // SPDX-License-Identifier: GPL-2.0
6 #include "ufs-debugfs.h"
8 #include "ufshcd-priv.h"
18 /* @file corresponds to a debugfs attribute in directory hba->debugfs_root. */
21 return d_inode(file->f_path.dentry->d_parent)->i_private; in hba_from_file()
36 struct ufs_hba *hba = hba_from_file(s->file); in ufs_debugfs_stats_show()
37 struct ufs_event_hist *e = hba->ufs_stats.event; in ufs_debugfs_stats_show()
47 PRT("Auto-hibernate errors: %llu\n", AUTO_HIBERN8_ERR); in ufs_debugfs_stats_show()
50 PRT("PM Resume errors: %llu\n", RESUME_ERR); in ufs_debugfs_stats_show()
51 PRT("PM Suspend errors : %llu\n", SUSPEND_ERR); in ufs_debugfs_stats_show()
[all …]
/linux/include/linux/
H A Dmc146818rtc.h1 /* mc146818rtc.h - register definitions for the Real-Time-Clock / CMOS RAM
2 * Copyright Torsten Duwe <duwe@informatik.uni-erlangen.de> 1993
15 #include <linux/rtc.h> /* get the user-level API */
19 #include <linux/pm-trace.h>
31 * a separate wakeup alarm used by some almost-clone chips.
64 /* control registers - Moto names
76 /* update-in-progress - set to "1" 244 microsecs before RTC goes off the bus,
99 # define RTC_UIE 0x10 /* update-finished interrupt enable */
100 # define RTC_SQWE 0x08 /* enable square-wave output */
102 # define RTC_24H 0x02 /* 24 hour mode - else hours bit 7 means pm */
[all …]
/linux/drivers/char/hw_random/
H A Djh7110-trng.c1 // SPDX-License-Identifier: GPL-2.0
113 MODULE_PARM_DESC(autoreq, "Auto-reseeding after random number requests by host reaches specified co…
114 " 0 - disable counter\n"
115 " other - reload value for internal counter");
119 MODULE_PARM_DESC(autoage, "Auto-reseeding after specified timer countdowns to 0:\n"
120 " 0 - disable timer\n"
121 " other - reload value for internal timer");
127 return readl_relaxed_poll_timeout(trng->base + STARFIVE_STAT, stat, in starfive_trng_wait_idle()
136 u32 data = readl(trng->base + STARFIVE_ISTAT); in starfive_trng_irq_mask_clear()
138 writel(data, trng->base + STARFIVE_ISTAT); in starfive_trng_irq_mask_clear()
[all …]
/linux/include/trace/events/
H A Drpm.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * runtime pm internal functions.
37 __entry->flags = flags;
38 __entry->usage_count = atomic_read(
39 &dev->power.usage_count);
40 __entry->disable_depth = dev->power.disable_depth;
41 __entry->runtime_aut
[all...]

12345678910>>...14