Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v6.6/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"
41 * zynqmp_pm_argument_value() - Extract argument value from a PM-API request
42 * @arg: Entered PM-API argument in string format
61 * get_pm_api_id() - Extract API-ID from a PM-API request
62 * @pm_api_req: Entered PM-API argument in string format
63 * @pm_id: API-ID
79 /* If no name was entered look for PM-API ID instead */ in get_pm_api_id()
[all …]
Dzynqmp.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2022 Xilinx, Inc.
13 #include <linux/arm-smccc.h>
26 #include <linux/firmware/xlnx-zynqmp.h>
27 #include <linux/firmware/xlnx-event-manager.h>
28 #include "zynqmp-debug.h"
30 /* Max HashMap Order for PM API feature check (1<<7 = 128) */
35 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */
37 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */
54 * struct zynqmp_devinfo - Structure for Zynqmp device instance
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/dp/
Ddp_power.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
12 * sruct dp_power - DisplayPort's power related data
26 * dp_power_init() - enable power supplies for display controller
31 * This API will turn on the regulators and configures gpio's
37 * dp_power_deinit() - turn off regulators and gpios.
42 * This API turns off power and regulators.
47 * dp_power_clk_status() - display controller clocks status
50 * @pm_type: type of pm, core/ctrl/phy
53 * This API return status of DP clocks
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fru_eeprom.c41 struct atom_context *atom_ctx = adev->mode_info.atom_context; in is_fru_eeprom_supported()
54 /* VBIOS is of the format ###-DXXXYYYY-##. For SKU identification, in is_fru_eeprom_supported()
60 switch (adev->asic_type) { in is_fru_eeprom_supported()
63 if (strnstr(atom_ctx->vbios_pn, "D161", in is_fru_eeprom_supported()
64 sizeof(atom_ctx->vbios_pn)) || in is_fru_eeprom_supported()
65 strnstr(atom_ctx->vbios_pn, "D163", in is_fru_eeprom_supported()
66 sizeof(atom_ctx->vbios_pn))) { in is_fru_eeprom_supported()
75 if (!strnstr(atom_ctx->vbios_pn, "D673", in is_fru_eeprom_supported()
76 sizeof(atom_ctx->vbios_pn))) in is_fru_eeprom_supported()
81 if (strnstr(atom_ctx->vbios_pn, "D603", in is_fru_eeprom_supported()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/tools/perf/arch/powerpc/util/
Dheader.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <api/fs/fs.h>
26 buffer[nb-1] = '\0'; in get_cpuid()
43 int arch_get_runtimeparam(const struct pmu_metric *pm) in arch_get_runtimeparam() argument
48 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam()
/Linux-v6.6/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
64 * backwards compatibility. The amdgpu driver provides a sysfs API for adjusting
68 * - battery
70 * - balanced
72 * - performance
100 enum amd_pm_state_type pm; in amdgpu_get_power_dpm_state() local
104 return -EPERM; in amdgpu_get_power_dpm_state()
105 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state()
106 return -EPERM; in amdgpu_get_power_dpm_state()
108 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
[all …]
/Linux-v6.6/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
47 [PM_SUSPEND_MODE_POWER_OFF] = "power-off",
59 /* First element is callback API ID, others are callback arguments */ in suspend_event_callback()
60 if (work_pending(&zynqmp_pm_init_suspend_work->callback_work)) in suspend_event_callback()
64 memcpy(zynqmp_pm_init_suspend_work->args, &payload[1], in suspend_event_callback()
[all …]
/Linux-v6.6/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Host AP crypt: host-based CCMP encryption implementation for Host AP driver
5 * Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi>
50 /* scratch buffers for virt_to_page() (crypto API) */
62 priv->key_idx = key_idx; in ieee80211_ccmp_init()
64 priv->tfm = crypto_alloc_aead("ccm(aes)", 0, CRYPTO_ALG_ASYNC); in ieee80211_ccmp_init()
65 if (IS_ERR(priv->tfm)) { in ieee80211_ccmp_init()
66 pr_debug("ieee80211_crypt_ccmp: could not allocate crypto API aes\n"); in ieee80211_ccmp_init()
67 priv->tfm = NULL; in ieee80211_ccmp_init()
75 if (priv->tfm) in ieee80211_ccmp_init()
[all …]
/Linux-v6.6/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-v6.6/drivers/soc/ti/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 Packets are queued/de-queued by writing/reading descriptor address
40 c-states on AM335x. Also required for rtc and ddr in self-refresh low
44 tristate "TI AMx3 Wkup-M3 IPC Driver"
49 low power transitions. This IPC driver provides the necessary API
50 to communicate and use the Wakeup M3 for PM features like suspend
54 tristate "TI SCI PM Domains Driver"
87 tristate "TI PRU-ICSS Subsystem Platform drivers"
91 TI PRU-ICSS Subsystem platform specific support.
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Host AP crypt: host-based CCMP encryption implementation for Host AP driver
4 * Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi>
45 /* scratch buffers for virt_to_page() (crypto API) */
57 priv->key_idx = key_idx; in rtllib_ccmp_init()
59 priv->tfm = crypto_alloc_aead("ccm(aes)", 0, CRYPTO_ALG_ASYNC); in rtllib_ccmp_init()
60 if (IS_ERR(priv->tfm)) { in rtllib_ccmp_init()
61 pr_debug("Could not allocate crypto API aes\n"); in rtllib_ccmp_init()
62 priv->tfm = NULL; in rtllib_ccmp_init()
69 if (priv->tfm) in rtllib_ccmp_init()
[all …]
/Linux-v6.6/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-v6.6/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 <mochel@osdl.org>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (c) 2008-2009 Novell Inc.
8 * Copyright (c) 2012-2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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-v6.6/Documentation/PCI/
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-v6.6/include/uapi/linux/
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 * -------------------------------
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 …]

12345678910>>...18