/Linux-v5.15/drivers/firmware/xilinx/ |
D | zynqmp-debug.c | 1 // 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 …]
|
D | zynqmp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2021 Xilinx, Inc. 13 #include <linux/arm-smccc.h> 25 #include <linux/firmware/xlnx-zynqmp.h> 26 #include "zynqmp-debug.h" 28 /* Max HashMap Order for PM API feature check (1<<7 = 128) */ 35 * struct pm_api_feature_data - PM API Feature data 36 * @pm_api_id: PM API Id, used as key to index into hashmap 37 * @feature_status: status of PM API feature: valid, invalid 53 * zynqmp_pm_ret_code() - Convert PMU-FW error codes to Linux error codes [all …]
|
/Linux-v5.15/drivers/gpu/drm/msm/dp/ |
D | dp_power.h | 1 /* 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-v5.15/Documentation/power/ |
D | pm_qos_interface.rst | 2 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 …]
|
D | pci.rst | 13 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-v5.15/drivers/net/wireless/st/cw1200/ |
D | pm.h | 1 /* 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
|
D | pm.c | 1 // 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-v5.15/Documentation/watchdog/ |
D | index.rst | 1 .. 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-v5.15/include/linux/firmware/imx/svc/ |
D | pm.h | 1 /* 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-v5.15/Documentation/process/ |
D | submitting-drivers.rst | 19 Also read the :ref:`Documentation/process/submitting-patches.rst <submittingpatches>` 24 ------------------------- 31 See :ref:`Documentation/admin-guide/devices.rst <admin_devices>` 39 ------------------------ 54 The same rules apply as 2.4 except that you should follow linux-kernel 55 to track changes in API's. The final contact point for Linux 2.6+ 59 ---------------------------------- 82 If you need to implement a common API over Linux and NT 87 in :ref:`Documentation/process/coding-style.rst <codingStyle>`. 109 PM support: [all …]
|
/Linux-v5.15/drivers/soc/xilinx/ |
D | zynqmp_power.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2019 Xilinx, Inc. 18 #include <linux/firmware/xlnx-zynqmp.h> 19 #include <linux/mailbox/zynqmp-ipi-message.h> 22 * struct zynqmp_pm_work_struct - Wrapper for struct work_struct 44 [PM_SUSPEND_MODE_POWER_OFF] = "power-off", 66 /* First element is callback API ID, others are callback arguments */ in zynqmp_pm_isr() 90 memcpy(payload, msg->data, sizeof(msg->len)); in ipi_receive_callback() 91 /* First element is callback API ID, others are callback arguments */ in ipi_receive_callback() 93 if (work_pending(&zynqmp_pm_init_suspend_work->callback_work)) in ipi_receive_callback() [all …]
|
/Linux-v5.15/Documentation/translations/zh_CN/process/ |
D | submitting-drivers.rst | 3 .. include:: ../disclaimer-zh_CN.rst 5 :Original: :ref:`Documentation/process/submitting-drivers.rst 25 另请参阅 Documentation/translations/zh_CN/process/submitting-patches.rst 文档。 29 ---------- 34 请参阅 Documentation/admin-guide/devices.rst。 40 ------------------ 54 除了遵循和 2.4 版内核同样的规则外,你还需要在 linux-kernel 邮件 55 列表上跟踪最新的 API 变化。向 Linux 2.6 内核提交驱动的顶级联系人 56 是 Andrew Morton <akpm@linux-foundation.org>。 59 ---------------------------- [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 33 #include <linux/hwmon-sysfs.h> 89 * backwards compatibility. The amdgpu driver provides a sysfs API for adjusting 93 * - battery 95 * - balanced 97 * - performance 125 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_get_power_dpm_state() 126 enum amd_pm_state_type pm; in amdgpu_get_power_dpm_state() local 130 return -EPERM; in amdgpu_get_power_dpm_state() 131 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state() 132 return -EPERM; in amdgpu_get_power_dpm_state() [all …]
|
/Linux-v5.15/Documentation/translations/zh_TW/process/ |
D | submitting-drivers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 .. include:: ../disclaimer-zh_TW.rst 7 :Original: :ref:`Documentation/process/submitting-drivers.rst 28 另請參閱 Documentation/translations/zh_TW/process/submitting-patches.rst 文檔。 32 ---------- 37 請參閱 Documentation/admin-guide/devices.rst。 43 ------------------ 57 除了遵循和 2.4 版內核同樣的規則外,你還需要在 linux-kernel 郵件 58 列表上跟蹤最新的 API 變化。向 Linux 2.6 內核提交驅動的頂級聯繫人 59 是 Andrew Morton <akpm@linux-foundation.org>。 [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/soc/ti/ |
D | wkup_m3_ipc.txt | 4 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor 7 C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver 10 API to allow the SoC PM code to execute specific PM tasks. 18 -------------------- 19 - compatible: Should be, 20 "ti,am3352-wkup-m3-ipc" for AM33xx SoCs 21 "ti,am4372-wkup-m3-ipc" for AM43xx SoCs 22 - reg: Contains the IPC register address space to communicate 24 - interrupts: Contains the interrupt information for the wkup_m3 26 - ti,rproc: phandle to the wkup_m3 rproc node so the IPC driver [all …]
|
/Linux-v5.15/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 1 // 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-v5.15/Documentation/sound/soc/ |
D | codec.rst | 11 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-v5.15/Documentation/input/devices/ |
D | yealink.rst | 2 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-v5.15/drivers/soc/ti/ |
D | Kconfig | 1 # 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-v5.15/Documentation/trace/ |
D | events-power.rst | 8 - 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-v5.15/Documentation/admin-guide/media/ |
D | fimc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Copyright |copy| 2012 - 2013 Samsung Electronics Co., Ltd. 17 drivers/media/platform/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-v5.15/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 1 // 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-v5.15/Documentation/translations/zh_CN/doc-guide/ |
D | contributing.rst | 1 .. 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-v5.15/include/linux/device/ |
D | driver.h | 1 // 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> 23 * enum probe_type - device driver probe type to try [all …]
|
/Linux-v5.15/Documentation/driver-api/ |
D | index.rst | 2 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 30 frame-buffer 60 s390-drivers [all …]
|