Home
last modified time | relevance | path

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

12345678910>>...21

/linux-6.14.4/block/
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-6.14.4/Documentation/ABI/testing/
Dsysfs-devices-power40 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
74 of a device unless it is certain that all of the PM dependencies
75 of the device are known to the PM core. However, for some
86 attribute is read-only. If the device is not capable to wake up
98 is read-only. If the device is not capable to wake up the
110 state in progress. This attribute is read-only. If the device
122 read-only. If the device is not capable to wake up the system
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_drv.c58 * - 3.0.0 - initial driver
59 * - 3.1.0 - allow reading more status registers (GRBM, SRBM, SDMA, CP)
60 * - 3.2.0 - GFX8: Uses EOP_TC_WB_ACTION_EN, so UMDs don't have to do the same
62 * - 3.3.0 - Add VM support for UVD on supported hardware.
63 * - 3.4.0 - Add AMDGPU_INFO_NUM_EVICTIONS.
64 * - 3.5.0 - Add support for new UVD_NO_OP register.
65 * - 3.6.0 - kmd involves use CONTEXT_CONTROL in ring buffer.
66 * - 3.7.0 - Add support for VCE clock list packet
67 * - 3.8.0 - Add support raster config init in the kernel
68 * - 3.9.0 - Add support for memory query info about VRAM and GTT.
[all …]
/linux-6.14.4/Documentation/driver-api/usb/
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-6.14.4/drivers/net/wireless/broadcom/brcm80211/include/
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-6.14.4/drivers/gpu/drm/radeon/
Dradeon_pm.c25 #include <linux/hwmon-sysfs.h>
62 int found_instance = -1; in radeon_pm_get_type_index()
64 for (i = 0; i < rdev->pm.num_power_states; i++) { in radeon_pm_get_type_index()
65 if (rdev->pm.power_state[i].type == ps_type) { in radeon_pm_get_type_index()
72 return rdev->pm.default_power_state_index; in radeon_pm_get_type_index()
77 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_pm_acpi_event_handler()
78 mutex_lock(&rdev->pm.mutex); in radeon_pm_acpi_event_handler()
80 rdev->pm.dpm.ac_power = true; in radeon_pm_acpi_event_handler()
82 rdev->pm.dpm.ac_power = false; in radeon_pm_acpi_event_handler()
83 if (rdev->family == CHIP_ARUBA) { in radeon_pm_acpi_event_handler()
[all …]
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-6.14.4/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
108 * - battery
110 * - balanced
112 * - performance
140 enum amd_pm_state_type pm; in amdgpu_get_power_dpm_state() local
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_if_active(ddev->dev); in amdgpu_get_power_dpm_state()
150 return ret ?: -EPERM; in amdgpu_get_power_dpm_state()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_int_process_v9.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2016-2022 Advanced Micro Devices, Inc.
35 * There are 3 encoding types of interrupts sourced from SQ sent as a 44-bit
37 * Auto - Generated by the SQG (various cmd overflows, timestamps etc)
38 * Wave - Generated by S_SENDMSG through a shader program
39 * Error - HW generated errors (Illegal instructions, Memviols, EDC etc)
41 * The 44-bit packet is mapped as {context_id1[7:0],context_id0[31:0]} plus
42 * 4-bits for VMID (SOC15_VMID_FROM_IH_ENTRY) as such:
44 * - context_id0[27:26]
45 * Encoding type (0 = Auto, 1 = Wave, 2 = Error)
[all …]
/linux-6.14.4/include/ufs/
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 */
100 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
[all …]
/linux-6.14.4/drivers/base/power/
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-6.14.4/sound/pci/hda/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "HD-Audio"
23 This option enables the HD-audio controller. Don't forget
27 will be called snd-hda-intel.
43 will be called snd-hda-tegra.
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
52 This interface can be used for out-of-band communication
58 Say Y here to enable the HD-audio codec re-configuration feature.
60 codec setup, add extra verbs, and re-configure the codec dynamically.
[all …]
Dhda_bind.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()
47 if (codec->bus->shutdown) in hda_codec_unsol_event()
[all …]
/linux-6.14.4/arch/mips/txx9/generic/
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-6.14.4/Documentation/power/
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.
68 Only processes can register a PM QoS request. To provide for automatic
72 To register the default PM QoS target for the CPU latency QoS, the process must
[all …]
/linux-6.14.4/include/uapi/linux/
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.
22 * sport, dport, server-side.
38 * @MPTCP_EVENT_LISTENER_CREATED: A new PM listener is created. Attributes:
40 * @MPTCP_EVENT_LISTENER_CLOSED: A PM listener is closed. Attributes: family,
69 #define MPTCP_PM_ADDR_ATTR_MAX (__MPTCP_PM_ADDR_ATTR_MAX - 1)
87 #define MPTCP_SUBFLOW_ATTR_MAX (__MPTCP_SUBFLOW_ATTR_MAX - 1)
[all …]
/linux-6.14.4/drivers/media/platform/st/sti/delta/
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-6.14.4/sound/soc/amd/
Dacp-rt5645.c33 #include <sound/soc-dapm.h>
66 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params()
73 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params()
86 codec = snd_soc_rtd_to_codec(rtd, 0)->component; in cz_init()
87 card = rtd->card; in cz_init()
97 dev_err(card->dev, "HP jack creation failed %d\n", ret); in cz_init()
111 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.1.auto")));
113 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.2.auto")));
116 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC5650:00", "rt5645-aif1")));
119 DAILINK_COMP_ARRAY(COMP_PLATFORM("acp_audio_dma.0.auto")));
[all …]
/linux-6.14.4/drivers/pmdomain/apple/
Dpmgr-pwrstate.c1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
17 #include <linux/reset-controller.h>
58 ret = regmap_read(ps->regmap, ps->offset, &reg); in apple_pmgr_ps_set()
64 dev_err(ps->dev, "PS %s: powering off with RESET active\n", in apple_pmgr_ps_set()
65 genpd->name); in apple_pmgr_ps_set()
70 dev_dbg(ps->dev, "PS %s: pwrstate = 0x%x: 0x%x\n", genpd->name, pstate, reg); in apple_pmgr_ps_set()
72 regmap_write(ps->regmap, ps->offset, reg); in apple_pmgr_ps_set()
75 ps->regmap, ps->offset, reg, in apple_pmgr_ps_set()
79 dev_err(ps->dev, "PS %s: Failed to reach power state 0x%x (now: 0x%x)\n", in apple_pmgr_ps_set()
80 genpd->name, pstate, reg); in apple_pmgr_ps_set()
[all …]
/linux-6.14.4/drivers/remoteproc/
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 <[email protected]>
12 * Suman Anna <s-[email protected]>
13 * Hari Kanigeri <h-[email protected]>
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-6.14.4/drivers/media/i2c/
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-6.14.4/drivers/gpu/drm/i915/display/
Dintel_display_params.c1 // SPDX-License-Identifier: MIT
27 * Note: As a rule, keep module parameter sysfs permissions read-only
37 "Use /dev/null to disable DMC and runtime PM.");
44 "(0=probe BIOS [default], 1=single-channel, 2=dual-channel)");
48 "(default: auto from VBT)");
52 "(-2=ignore, -1=auto [default], index in VBT BIOS table)");
55 "Enable power-saving display C-states. "
56 "(-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; "
70 "(-1=auto [default], 0=power wells always on, 1=power wells disabled when possible)");
76 "(-1 force normal, 0 machine defaults, 1 force inversion), please "
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/power/
Dapple,pmgr-pwrstate.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/apple,pmgr-pwrstate.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hector Martin <[email protected]>
13 - $ref: power-domain.yaml#
23 Documentation/devicetree/bindings/power/power-domain.yaml.
25 represented via power-domains relationships between these nodes.
28 for the top-level PMGR node documentation.
33 - enum:
[all …]
/linux-6.14.4/sound/soc/codecs/
Dpcm512x-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
21 /* msb needs to be set to enable auto-increment of addresses */ in pcm512x_i2c_probe()
29 return pcm512x_probe(&i2c->dev, regmap); in pcm512x_i2c_probe()
34 pcm512x_remove(&i2c->dev); in pcm512x_i2c_remove()
82 .pm = &pcm512x_pm_ops,
88 MODULE_DESCRIPTION("ASoC PCM512x codec driver - I2C");
/linux-6.14.4/drivers/accel/habanalabs/goya/
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 …]

12345678910>>...21