Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/firmware/xilinx/
H A 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>
28 #include <linux/firmware/xlnx-zynqmp.h>
29 #include <linux/firmware/xlnx-event-manager.h>
30 #include "zynqmp-debug.h"
32 /* Max HashMap Order for PM API feature check (1<<7 = 128) */
37 /* BOOT_PIN_CTRL- Used to control the mode pins after boot */
39 /* BOOT_PIN_CTRL_MASK- out_val[11:8], out_en[3:0] */
[all …]
/linux/Documentation/power/
H A 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.
61 Only processes can register a PM QoS request. To provide for automatic
65 To register the default PM QoS target for the CPU latency QoS, the process must
[all …]
/linux/Documentation/translations/zh_CN/driver-api/phy/
H A 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/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c33 #include <linux/hwmon-sysfs.h>
101 * amdgpu_pm_dev_state_check - Check if device can be accessed.
110 bool runpm_check = runpm ? adev->in_runpm : false; in amdgpu_pm_dev_state_check()
113 return -EBUSY; in amdgpu_pm_dev_state_check()
115 if (adev->in_suspend && !runpm_check) in amdgpu_pm_dev_state_check()
116 return -EBUSY; in amdgpu_pm_dev_state_check()
122 * amdgpu_pm_get_access - Check if device can be accessed, resume if needed.
125 * Checks the state of the @adev for access. Use runtime pm API to resume if
137 return pm_runtime_resume_and_get(adev->dev); in amdgpu_pm_get_access()
141 * amdgpu_pm_get_access_if_active - Check if device is active for access.
[all …]
/linux/drivers/net/wireless/st/cw1200/
H A 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
H A 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 timer_delete_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/include/linux/firmware/imx/svc/
H A 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/Documentation/watchdog/
H A 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/tools/perf/util/
H A Dprint-events.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <api/fs/tracing_path.h>
12 #include <api/io.h>
18 #include "build-id.h"
22 #include "parse-events.h"
25 #include "print-events.h"
26 #include "probe-file.h"
73 pcache = probe_cache__new(bid_nd->s, NULL); in print_sdt_events()
76 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events()
80 ent->pev.group, ent->pev.event, bid_nd->s); in print_sdt_events()
[all …]
/linux/Documentation/input/devices/
H A 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/Documentation/trace/
H A 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/Documentation/admin-guide/media/
H A 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/Documentation/translations/zh_CN/doc-guide/
H A 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/include/uapi/linux/
H A 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/Documentation/PCI/
H A 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/sound/soc/codecs/
H A Drt9123.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt9123.c -- RT9123 (SW I2C Mode) ALSA SoC Codec driver
25 #include <sound/soc-dai.h>
26 #include <sound/soc-dapm.h>
57 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in rt9123_enable_event()
58 struct device *dev = comp->dev; in rt9123_enable_event()
70 return -EINVAL; in rt9123_enable_event()
96 static const DECLARE_TLV_DB_SCALE(dig_tlv, -10375, 25, 0);
98 0, 0, TLV_DB_SCALE_ITEM(-1200, 0, 0),
111 const char *kctlname = kcontrol->id.name; in rt9123_kcontrol_name_comp()
[all …]
/linux/drivers/base/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
12 Before the switch to the netlink-based uevent source, this was
19 it is known to create out-of-memory situations during bootup.
73 with the PROT_EXEC flag. This can break, for example, non-KMS
77 bool "Select only drivers that don't need compile-time external firmware"
91 kernel firmware API to load firmware (CONFIG_FW_LOADER), instead they
146 non-zero, devres debug messages are printed. Select this if
166 bool "KUnit Test for PM QoS features" if !KUNIT_ALL_TESTS
171 tristate "KUnit Tests for runtime PM" if !KUNIT_ALL_TESTS
173 depends on PM
[all …]
/linux/Documentation/translations/zh_CN/driver-api/
H A Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_CN.rst
5 :Original: Documentation/driver-api/index.rst
30 * driver-model/index
34 * early-userspace/index
35 * pm/index
37 * device-io
38 * dma-buf
41 * message-based
44 * frame-buffer
[all …]
/linux/drivers/clk/samsung/
H A Dclk-exynos-arm64.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include "clk-exynos-arm64.h"
67 * exynos_arm64_init_clocks - Set clocks initial configuration
76 const unsigned long *reg_offs = cmu->clk_regs; in exynos_arm64_init_clocks()
77 size_t reg_offs_len = cmu->nr_clk_regs; in exynos_arm64_init_clocks()
89 if (cmu->manual_plls && is_pll_con1_reg(reg_offs[i])) { in exynos_arm64_init_clocks()
103 * exynos_arm64_enable_bus_clk - Enable parent clock of specified CMU
119 if (!cmu->clk_name) in exynos_arm64_enable_bus_clk()
125 parent_clk = clk_get(dev, cmu->clk_name); in exynos_arm64_enable_bus_clk()
128 data->clk = parent_clk; in exynos_arm64_enable_bus_clk()
[all …]
/linux/drivers/video/fbdev/
H A Dskeletonfb.c2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
4 * Modified to new api Jan 2001 by James Simmons (jsimmons@transvirtual.com)
9 * I have started rewriting this driver as a example of the upcoming new API
61 * Even less warranty that it actually works :-)
107 * This allows when one display changes it video resolution (info->var)
136 * xxxfb_open - Optional function. Called when the framebuffer is
142 * This function is the first function called in the framebuffer api.
155 * xxxfb_release - Optional function. Called when the framebuffer
174 * xxxfb_check_var - Optional function. Validates a var passed in.
191 * function must return -EINVAL.
[all …]
/linux/drivers/hwspinlock/
H A Dhwspinlock_internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com
7 * Contact: Ohad Ben-Cohen <ohad@wizery.com>
19 * struct hwspinlock_ops - platform-specific hwspinlock handlers
24 * @bust: optional, platform-specific bust handler, called by hwspinlock
26 * @relax: optional, platform-specific relax handler, called by hwspinlock
38 * struct hwspinlock - this struct represents a single hwspinlock instance
41 * @priv: private data, owned by the underlying platform-specific hwspinlock drv
50 * struct hwspinlock_device - a device which usually spans numerous hwspinlocks
51 * @dev: underlying device, will be used to invoke runtime PM api
[all …]
/linux/drivers/soc/ti/
H A 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
75 tristate "TI PRU-ICSS Subsystem Platform drivers"
79 TI PRU-ICSS Subsystem platform specific support.
/linux/drivers/media/rc/
H A Dgpio-ir-recv.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <media/rc-core.h>
32 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq()
37 * Invoke asynchronous pm runtime get from interrupt context, in gpio_ir_recv_irq()
42 * respond to interrupt, another is delay introduced by async api. in gpio_ir_recv_irq()
47 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq()
49 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq()
59 struct device *dev = &pdev->dev; in gpio_ir_recv_probe()
60 struct device_node *np = dev->of_node; in gpio_ir_recv_probe()
67 return -ENODEV; in gpio_ir_recv_probe()
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-usb8 not the "USB-Persist" facility is enabled for the device. For
12 For more information, see Documentation/driver-api/usb/persist.rst.
27 The autosuspend delay for newly-created devices is set to
37 connected to the machine. This file is read-only.
49 active, i.e. not in a suspended state. This file is read-only.
63 What: /sys/bus/usb/devices/<busnum>-<port[.port]>...:<config num>-<interface num>/supports_autosus…
76 USB PM tool
77 git://git.moblin.org/users/sarah/usb-pm-tool/
101 device. Writing 0 or -1 to bConfigurationValue will reset the
110 Writing -1 will always unconfigure the device.
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager_v9.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2016-2022 Advanced Micro Devices, Inc.
32 static int pm_map_process_v9(struct packet_manager *pm, in pm_map_process_v9() argument
36 uint64_t vm_page_table_base_addr = qpd->page_table_base; in pm_map_process_v9()
37 struct kfd_node *kfd = pm->dqm->dev; in pm_map_process_v9()
40 struct amdgpu_device *adev = kfd->adev; in pm_map_process_v9()
44 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS, in pm_map_process_v9()
46 if (adev->enforce_isolation[kfd->node_id] == AMDGPU_ENFORCE_ISOLATION_ENABLE) in pm_map_process_v9()
47 packet->bitfields2.exec_cleaner_shader = 1; in pm_map_process_v9()
48 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0; in pm_map_process_v9()
[all …]

12345678910>>...12