Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v6.1/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>
25 #include <linux/firmware/xlnx-zynqmp.h>
26 #include <linux/firmware/xlnx-event-manager.h>
27 #include "zynqmp-debug.h"
29 /* Max HashMap Order for PM API feature check (1<<7 = 128) */
34 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */
36 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */
53 * struct zynqmp_devinfo - Structure for Zynqmp device instance
[all …]
/Linux-v6.1/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
32 * This API will turn on the regulators and configures gpio's
38 * dp_power_deinit() - turn off regulators and gpios.
43 * This API turns off power and regulators.
48 * dp_power_clk_status() - display controller clocks status
51 * @pm_type: type of pm, core/ctrl/phy
54 * This API return status of DP clocks
[all …]
/Linux-v6.1/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.1/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.1/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.1/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.1/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.1/drivers/soc/xilinx/
Dzynqmp_power.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2019 Xilinx, Inc.
18 #include <linux/firmware/xlnx-zynqmp.h>
19 #include <linux/firmware/xlnx-event-manager.h>
20 #include <linux/mailbox/zynqmp-ipi-message.h>
23 * struct zynqmp_pm_work_struct - Wrapper for struct work_struct
46 [PM_SUSPEND_MODE_POWER_OFF] = "power-off",
58 /* First element is callback API ID, others are callback arguments */ in suspend_event_callback()
59 if (work_pending(&zynqmp_pm_init_suspend_work->callback_work)) in suspend_event_callback()
63 memcpy(zynqmp_pm_init_suspend_work->args, &payload[1], in suspend_event_callback()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
100 * backwards compatibility. The amdgpu driver provides a sysfs API for adjusting
104 * - battery
106 * - balanced
108 * - performance
136 enum amd_pm_state_type pm; in amdgpu_get_power_dpm_state() local
140 return -EPERM; in amdgpu_get_power_dpm_state()
141 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state()
142 return -EPERM; in amdgpu_get_power_dpm_state()
144 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state()
[all …]
/Linux-v6.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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 …]
/Linux-v6.1/Documentation/driver-api/soundwire/
Dsummary.rst10 SoundWire is a 2-pin multi-drop interface with data and clock line. It
15 commands over a single two-pin interface.
23 (4) Device status monitoring, including interrupt-style alerts to the Master.
38 +---------------+ +---------------+
40 | Master |-------+-------------------------------| Slave |
42 | |-------|-------+-----------------------| |
43 +---------------+ | | +---------------+
47 +--+-------+--+
52 +-------------+
63 a framework to implement a SoundWire Slave driver with an API allowing
[all …]
/Linux-v6.1/Documentation/driver-api/
Dindex.rst2 The Linux driver implementer's API guide
10 .. class:: toc-title
17 driver-model/index
21 early-userspace/index
22 pm/index
24 device-io
25 dma-buf
28 message-based
31 frame-buffer
61 s390-drivers
[all …]
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dpower.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2022 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
13 * enum iwl_ltr_config_flags - masks for LTR config command flags
39 * struct iwl_ltr_config_cmd_v1 - configures the LTR
53 * struct iwl_ltr_config_cmd - configures the LTR
77 * enum iwl_power_flags - masks for power table command flags
79 * receiver and transmitter. '0' - does not allow.
81 * '1' Driver enables PM (use rest of parameters)
[all …]

12345678910>>...17