Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.14.4/drivers/firmware/xilinx/
Dzynqmp-debug.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2018 Xilinx, Inc.
19 #include <linux/firmware/xlnx-zynqmp.h>
20 #include "zynqmp-debug.h"
62 * zynqmp_pm_ioctl - PM IOCTL for device control and configs
79 * zynqmp_pm_argument_value() - Extract argument value from a PM-API request
80 * @arg: Entered PM-API argument in string format
99 * get_pm_api_id() - Extract API-ID from a PM-API request
100 * @pm_api_req: Entered PM-API argument in string format
101 * @pm_id: API-ID
[all …]
Dzynqmp.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2022 Xilinx, Inc.
6 * Copyright (C) 2022 - 2024, Advanced Micro Devices, Inc.
14 #include <linux/arm-smccc.h>
27 #include <linux/firmware/xlnx-zynqmp.h>
28 #include <linux/firmware/xlnx-event-manager.h>
29 #include "zynqmp-debug.h"
31 /* Max HashMap Order for PM API feature check (1<<7 = 128) */
36 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */
38 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */
[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 …]
Dpci.rst13 power management refer to Documentation/driver-api/pm/devices.rst and
27 1.1. Native and Platform-Based Power Management
28 -----------------------------------------------
31 devices into states in which they draw less power (low-power states) at the
34 Usually, a device is put into a low-power state when it is underutilized or
36 again, it has to be put back into the "fully functional" state (full-power
41 PCI devices may be put into low-power states in two ways, by using the device
44 approach, that is referred to as the native PCI power management (native PCI PM)
50 Devices supporting the native PCI PM usually can generate wakeup signals called
53 to put the device that sent it into the full-power state. However, the PCI Bus
[all …]
/linux-6.14.4/Documentation/translations/zh_CN/driver-api/phy/
Dphy.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: ../../disclaimer-zh_CN.rst
4 :Original: Documentation/driver-api/phy/phy.rst
77 提供了 2 个 API 来创建 PHY。
87 PHY 驱动程序可以使用上述两个 API 之一,通过传递设备指针和 phy_ops
99 控制器必须先获取对 PHY 的引用,然后才能使用 PHY。此框架提供以下 API
122 的时,应使用 _optional_get 变体。这些函数永远不会返回 -ENODEV,而
156 当控制器不再需要 PHY 时,它必须使用上一节中提到的 API 释放对已获得
157 的 PHY 的引用。PHY 框架提供了 2 个 API 来释放对 PHY 的引用。
164 这两个 API 都用于释放对 PHY 的引用,并且 devm_phy_put 会销毁与此
[all …]
/linux-6.14.4/Documentation/driver-api/media/
Dcamera-sensor.rst1 .. SPDX-License-Identifier: GPL-2.0
8 This document covers the in-kernel APIs only. For the best practices on
9 userspace API implementation in camera sensor drivers, please see
12 CSI-2, parallel and BT.656 buses
13 --------------------------------
15 Please see :ref:`transmitter-receiver`.
18 ---------------
29 elsewhere. Therefore only the pre-determined frequencies are configurable by the
35 Read the ``clock-frequency`` _DSD property to denote the frequency. The driver
41 The preferred way to achieve this is using ``assigned-clocks``,
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fru_eeprom.c41 struct atom_context *atom_ctx = adev->mode_info.atom_context; in is_fru_eeprom_supported()
47 if (amdgpu_sriov_vf(adev) || (adev->flags & AMD_IS_APU)) in is_fru_eeprom_supported()
55 /* VBIOS is of the format ###-DXXXYYYY-##. For SKU identification, in is_fru_eeprom_supported()
63 switch (adev->asic_type) { in is_fru_eeprom_supported()
66 if (strnstr(atom_ctx->vbios_pn, "D161", in is_fru_eeprom_supported()
67 sizeof(atom_ctx->vbios_pn)) || in is_fru_eeprom_supported()
68 strnstr(atom_ctx->vbios_pn, "D163", in is_fru_eeprom_supported()
69 sizeof(atom_ctx->vbios_pn))) { in is_fru_eeprom_supported()
81 if (strnstr(atom_ctx->vbios_pn, "D603", in is_fru_eeprom_supported()
82 sizeof(atom_ctx->vbios_pn))) { in is_fru_eeprom_supported()
[all …]
/linux-6.14.4/drivers/net/wireless/st/cw1200/
Dpm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Mac80211 power management interface for ST-Ericsson CW1200 mac80211 drivers
5 * Copyright (c) 2011, ST-Ericsson
13 /* mac80211 API */
26 int cw1200_pm_init(struct cw1200_pm_state *pm,
28 void cw1200_pm_deinit(struct cw1200_pm_state *pm);
33 void cw1200_pm_stay_awake(struct cw1200_pm_state *pm,
36 static inline void cw1200_pm_stay_awake(struct cw1200_pm_state *pm, in cw1200_pm_stay_awake() argument
Dpm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mac80211 power management API for ST-Ericsson CW1200 drivers
5 * Copyright (c) 2011, ST-Ericsson
12 #include "pm.h"
96 int cw1200_pm_init(struct cw1200_pm_state *pm, in cw1200_pm_init() argument
99 spin_lock_init(&pm->lock); in cw1200_pm_init()
101 timer_setup(&pm->stay_awake, cw1200_pm_stay_awake_tmo, 0); in cw1200_pm_init()
106 void cw1200_pm_deinit(struct cw1200_pm_state *pm) in cw1200_pm_deinit() argument
108 del_timer_sync(&pm->stay_awake); in cw1200_pm_deinit()
111 void cw1200_pm_stay_awake(struct cw1200_pm_state *pm, in cw1200_pm_stay_awake() argument
[all …]
/linux-6.14.4/Documentation/watchdog/
Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
11 mlx-wdt
12 pcwd-watchdog
13 watchdog-api
14 watchdog-kernel-api
15 watchdog-parameters
16 watchdog-pm
/linux-6.14.4/include/linux/firmware/imx/svc/
Dpm.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright 2017-2018 NXP
6 * Header file containing the public API for the System Controller (SC)
7 * Power Management (PM) function. This includes functions for power state
8 * control, clock control, reset control, and wake-up event control.
12 * Module for the Power Management (PM) service.
21 * This type is used to indicate RPC PM function calls.
52 * Defines for SC PM Power Mode
56 #define IMX_SC_PM_PW_MODE_LP 2 /* Power in low-power */
60 * Defines for SC PM CLK
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/
DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0-only
12 Add -Werror to the build flags for (and only for) i915.ko.
20 bool "Enable GPU hang replay userspace API"
26 userspace API used for replaying GPU hangs on a running system.
28 This API is intended to be used by userspace graphics stack developers
31 The API needs to be activated at boot time using the
79 down. This sets the default value of i915.mmio_debug to -1 and can
132 ordinary tests, but may be vital for post-mortem debugging when
146 ordinary tests, but may be vital for post-mortem debugging when
203 module initialisation afterwards) use i915.selftest=-1.
[all …]
/linux-6.14.4/drivers/soc/xilinx/
Dzynqmp_power.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2019 Xilinx, Inc.
19 #include <linux/firmware/xlnx-zynqmp.h>
20 #include <linux/firmware/xlnx-event-manager.h>
21 #include <linux/mailbox/zynqmp-ipi-message.h>
24 * struct zynqmp_pm_work_struct - Wrapper for struct work_struct
34 * struct zynqmp_pm_event_info - event related information
37 * PM_NOTIFY_CB - for Error Events,
38 * PM_INIT_SUSPEND_CB - for suspend callback.
39 * @node_id: Node-Id related to event.
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
104 * backwards compatibility. The amdgpu driver provides a sysfs API for adjusting
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()
[all …]
/linux-6.14.4/Documentation/sound/soc/
Dcodec.rst11 Each codec class driver *must* provide the following features:-
14 2. Codec control IO - using RegMap API
20 Optionally, codec drivers can also provide:-
31 -------------------------------
49 .name = "wm8731-hifi",
68 ----------------
71 Regmap API for all codec IO. Please see include/linux/regmap.h and existing
76 -------------------------
83 Defines a single control as follows:-
92 Other macros include:-
[all …]
/linux-6.14.4/tools/perf/arch/powerpc/util/
Dheader.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <api/fs/fs.h>
38 buffer[nb-1] = '\0'; in get_cpuid()
60 * pick events from pmu-events/arch/powerpc/compat in get_cpuid_str()
73 int arch_get_runtimeparam(const struct pmu_metric *pm) in arch_get_runtimeparam() argument
78 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
/linux-6.14.4/Documentation/input/devices/
Dyealink.rst2 Driver documentation for yealink usb-p1k phones
10 - keyboard full support, yealink.ko / input event API
11 - LCD full support, yealink.ko / sysfs API
12 - LED full support, yealink.ko / sysfs API
13 - dialtone full support, yealink.ko / sysfs API
14 - ringtone full support, yealink.ko / sysfs API
15 - audio playback full support, snd_usb_audio.ko / alsa API
16 - audio record full support, snd_usb_audio.ko / alsa API
27 Physical USB-P1K button layout input events
83 '.' : For example like AM, PM, SU, a 'dot' .. or other single segment
[all …]
/linux-6.14.4/Documentation/trace/
Devents-power.rst8 - Power state switch which reports events related to suspend (S-states),
9 cpuidle (C-states) and cpufreq (P-states)
10 - System clock related changes
11 - Power domains related changes and transitions
21 1.1 Trace API
22 -----------------
24 A 'cpu' event class gathers the CPU-related events: cpuidle and
39 Note: the value of '-1' or '4294967295' for state means an exit from the current state,
72 4. PM QoS events
74 The PM QoS events are used for QoS add/update/remove request and for
[all …]
/linux-6.14.4/Documentation/admin-guide/media/
Dfimc.rst1 .. SPDX-License-Identifier: GPL-2.0
8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd.
17 drivers/media/platform/samsung/exynos4-is directory.
20 --------------
22 S5PC100 (mem-to-mem only), S5PV210, Exynos4210
25 ------------------
27 - camera parallel interface capture (ITU-R.BT601/565);
28 - camera serial interface capture (MIPI-CSI2);
29 - memory-to-memory processing (color space conversion, scaling, mirror
31 - dynamic pipeline re-configuration at runtime (re-attachment of any FIMC
[all …]
/linux-6.14.4/Documentation/driver-api/phy/
Dphy.rst8 and how-to-use.
15 such as serialization, de-serialization, encoding, decoding and is responsible
22 all over the Linux kernel to drivers/phy to increase code re-use and for
121 non-dt boot, it should contain the label of the PHY. The two
126 functions will never return -ENODEV, but instead return NULL when
138 Order of API calls
187 PM Runtime
190 This subsystem is pm runtime enabled. So while creating the PHY,
197 pm_runtime_get_sync of PHY provider device because of parent-child relationship.
202 phy_pm_runtime_forbid for performing PM operations.
[all …]
/linux-6.14.4/Documentation/translations/zh_CN/doc-guide/
Dcontributing.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_CN.rst
5 :Original: Documentation/doc-guide/contributing.rst
23 ----------------
41 另一个重点是,文档警告常常由C代码里kernel-doc注释中的问题引起。虽然文档维护
48 - Resource-managed devfreq_register_notifier()
50 - Resource-managed devfreq_unregister_notifier()
54 简单看一下上面给出的源文件,会发现几个kernel-doc注释,如下所示::
58 - Resource-managed devfreq_register_notifier()
70 [PATCH] PM / devfreq: Fix two malformed kerneldoc comments
[all …]
/linux-6.14.4/include/linux/device/
Ddriver.h1 // SPDX-License-Identifier: GPL-2.0
3 * The driver-specific portions of the driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <[email protected]>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <[email protected]>
7 * Copyright (c) 2008-2009 Novell Inc.
8 * Copyright (c) 2012-2019 Greg Kroah-Hartman <[email protected]>
9 * Copyright (c) 2012-2019 Linux Foundation
11 * See Documentation/driver-api/driver-model/ for more information.
19 #include <linux/pm.h>
24 * enum probe_type - device driver probe type to try
[all …]
/linux-6.14.4/Documentation/PCI/
Dpci-iov-howto.rst1 .. SPDX-License-Identifier: GPL-2.0
9 :Authors: - Yu Zhao <[email protected]>
10 - Donald Dutile <[email protected]>
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-6.14.4/include/uapi/linux/
Dwireless.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 * Authors : Jean Tourrilhes - HPL - <[email protected]>
8 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved.
16 * Initial APIs (1996 -> onward) :
17 * -----------------------------
44 * New driver API (2002 -> onward) :
45 * -------------------------------
46 * This file is only concerned with the user space API and common definitions.
47 * The new driver API is defined and documented in :
53 * Wireless Events (2002 -> onward) :
[all …]
/linux-6.14.4/drivers/crypto/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
39 called padlock-aes.
53 called padlock-sha.
61 Say 'Y' here to use the AMD Geode LX processor on-board AES
65 will be called geode-aes.
79 tristate "Kernel API for protected key handling"
82 With this option enabled the pkey kernel modules provide an API
87 - A pkey base and API kernel module (pkey.ko) which offers the
89 and the sysfs API and the in-kernel API to the crypto cipher
91 - A pkey pckmo kernel module (pkey-pckmo.ko) which is automatically
[all …]

12345678910>>...18