Home
last modified time | relevance | path

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

12345678910>>...33

/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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-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 …]
/kernel/liteos_m/components/power/
Dlos_pm.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
42 * Pm error code: Invalid low-power mode.
51 * Pm error code: Invalid input parameter.
60 * Pm error code: The current mode is unlocked.
69 * Pm error code: The lock limit has been exceeded.
78 * Pm error code: Invalid device node.
87 * Pm error code: Invalid type.
96 * Pm error code: The hook for mode is not implemented.
105 * Pm error code: Deep and shutdown must implement the Tick Timer related interface.
[all …]
/kernel/liteos_a/kernel/include/
Dlos_pm.h2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
65 /* The system performs low-power recovery.
109 * This API is used to register a power management node.
113 * @param type [IN] The types supported by the PM module.
118 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
128 * This API is used to unregister a power management node.
132 * @param type [IN] The types supported by the PM module.
137 * <ul><li>los_pm.h: the header file that contains the API declaration.</li></ul>
147 * This API is used to set the system wake-up flag.
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/Documentation/process/
Dsubmitting-drivers.rst19 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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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()
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/process/
Dsubmitting-drivers.rst3 .. 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 …]
/kernel/linux/linux-5.10/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/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 …]
/kernel/linux/linux-6.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 …]

12345678910>>...33