| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/ivytown/ |
| D | uncore-power.json | 6 …"PublicDescription": "The PCU runs off a fixed 800 MHz clock. This event counts the number of pcl… 14 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 22 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 30 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 38 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 46 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 54 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 62 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 70 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 78 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/83xx/ |
| D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. 47 u32 event; member 49 /* All but PMCI are deep-sleep only */ 61 /* deep-sleep only */ 68 /* deep-sleep only */ 123 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 133 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state() 145 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler() local 151 if (event) { in pmc_irq_handler() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/ |
| D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. 47 u32 event; member 49 /* All but PMCI are deep-sleep only */ 61 /* deep-sleep only */ 68 /* deep-sleep only */ 124 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state() 134 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state() 146 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler() local 152 if (event) { in pmc_irq_handler() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
| D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 20 further details and examples. Sensor hardware configuration (self-capacitive 21 vs. mutual-inductive, etc.) is selected based on the device's firmware. 26 - azoteq,iqs620a-keys [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
| D | t7xx_pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2021-2022, Intel Corporation. 23 #include <linux/dma-mapping.h> 85 if (ret == -ETIMEDOUT) in t7xx_wait_pm_config() 86 dev_err(&t7xx_dev->pdev->dev, "PM configuration timed out\n"); in t7xx_wait_pm_config() 93 struct pci_dev *pdev = t7xx_dev->pdev; in t7xx_pci_pm_init() 95 INIT_LIST_HEAD(&t7xx_dev->md_pm_entities); in t7xx_pci_pm_init() 96 mutex_init(&t7xx_dev->md_pm_entity_mtx); in t7xx_pci_pm_init() 97 spin_lock_init(&t7xx_dev->md_pm_lock); in t7xx_pci_pm_init() 98 init_completion(&t7xx_dev->sleep_lock_acquire); in t7xx_pci_pm_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
| D | rv1_clk_mgr_clk.c | 2 * Copyright 2012-16 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 56 regs->CLK0_CLK8_CURRENT_CNT = REG_READ(CLK0_CLK8_CURRENT_CNT) / 10; //dcf clk in rv1_dump_clk_registers() 58 bypass->dcfclk_bypass = REG_READ(CLK0_CLK8_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 59 if (bypass->dcfclk_bypass < 0 || bypass->dcfclk_bypass > 4) in rv1_dump_clk_registers() 60 bypass->dcfclk_bypass = 0; in rv1_dump_clk_registers() 63 regs->CLK0_CLK8_DS_CNTL = REG_READ(CLK0_CLK8_DS_CNTL) / 10; //dcf deep sleep divider in rv1_dump_clk_registers() 65 regs->CLK0_CLK8_ALLOW_DS = REG_READ(CLK0_CLK8_ALLOW_DS); //dcf deep sleep allow in rv1_dump_clk_registers() 67 regs->CLK0_CLK10_CURRENT_CNT = REG_READ(CLK0_CLK10_CURRENT_CNT) / 10; //dpref clk in rv1_dump_clk_registers() 69 bypass->dispclk_pypass = REG_READ(CLK0_CLK10_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
| D | rv1_clk_mgr_clk.c | 2 * Copyright 2012-16 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 56 regs->CLK0_CLK8_CURRENT_CNT = REG_READ(CLK0_CLK8_CURRENT_CNT) / 10; //dcf clk in rv1_dump_clk_registers() 58 bypass->dcfclk_bypass = REG_READ(CLK0_CLK8_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 59 if (bypass->dcfclk_bypass < 0 || bypass->dcfclk_bypass > 4) in rv1_dump_clk_registers() 60 bypass->dcfclk_bypass = 0; in rv1_dump_clk_registers() 63 regs->CLK0_CLK8_DS_CNTL = REG_READ(CLK0_CLK8_DS_CNTL) / 10; //dcf deep sleep divider in rv1_dump_clk_registers() 65 regs->CLK0_CLK8_ALLOW_DS = REG_READ(CLK0_CLK8_ALLOW_DS); //dcf deep sleep allow in rv1_dump_clk_registers() 67 regs->CLK0_CLK10_CURRENT_CNT = REG_READ(CLK0_CLK10_CURRENT_CNT) / 10; //dpref clk in rv1_dump_clk_registers() 69 bypass->dispclk_pypass = REG_READ(CLK0_CLK10_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap1/ |
| D | pm.c | 2 * linux/arch/arm/mach-omap1/pm.c 25 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 55 #include <linux/soc/ti/omap1-io.h> 57 #include <linux/omap-dma.h> 58 #include <clocksource/timer-ti-dm.h> 91 return -EINVAL; in idle_store() 153 * Configuration of the wakeup event is board specific. For the 163 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade, in omap_pm_wakeup_setup() 204 printk(KERN_INFO "PM: OMAP%x is trying to enter deep sleep...\n", in omap1_pm_suspend() 263 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
| D | pm.c | 2 * linux/arch/arm/mach-omap1/pm.c 25 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 57 #include <linux/omap-dma.h> 58 #include <clocksource/timer-ti-dm.h> 91 return -EINVAL; in idle_store() 153 * Configuration of the wakeup event is board specific. For the 163 * Turn off all interrupts except GPIO bank 1, L1-2nd level cascade, in omap_pm_wakeup_setup() 212 printk(KERN_INFO "PM: OMAP%x is trying to enter deep sleep...\n", in omap1_pm_suspend() 281 /* (Step 3 removed - we now allow deep sleep by default) */ in omap1_pm_suspend() 304 * Step 5: Wakeup Event Setup in omap1_pm_suspend() [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the 50 ------- 58 I/O devices into low-power states, which is done for :ref:`suspend-to-idle [all …]
|
| D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 At least one global system-wide transition needs to be carried out for the 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows 28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and 31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states 33 boils down to the platform-specific actions carried out by the suspend and 37 *platform-dependent suspend* states in what follows. 42 Suspend-to-idle Suspend Code Flow [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/pm/ |
| D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the 50 ------- 58 I/O devices into low-power states, which is done for :ref:`suspend-to-idle [all …]
|
| D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 At least one global system-wide transition needs to be carried out for the 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows 28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and 31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states 33 boils down to the platform-specific actions carried out by the suspend and 37 *platform-dependent suspend* states in what follows. 42 Suspend-to-idle Suspend Code Flow [all …]
|
| /kernel/linux/linux-5.10/kernel/time/ |
| D | tick-broadcast.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains functions which emulate a local clock-event 4 * device via a broadcast event source. 6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 20 #include "tick-internal.h" 79 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 80 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() 81 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device() [all …]
|
| D | tick-broadcast-hrtimer.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Emulate a local clock event device via a pseudo clock device. 16 #include "tick-internal.h" 41 * which is about to enter idle has the earliest broadcast timer event. 67 * The core tick broadcast mode expects bc->bound_on to be set in bc_set_next() 69 * armed from going deep idle. in bc_set_next() 76 bc->bound_on = bctimer.base->cpu_base->cpu; in bc_set_next() 89 .bound_on = -1,
|
| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-sc27xx.c | 1 // SPDX-License-Identifier: GPL-2.0 116 * alarm registers are used to set auxiliary alarm. Both alarm event and 117 * auxiliary alarm event can wake up system from deep sleep, but only alarm 118 * event can power up system from power down status. 128 return regmap_write(rtc->regmap, rtc->base + SPRD_RTC_INT_CLR, in sprd_rtc_clear_alarm_ints() 137 ret = regmap_read(rtc->regmap, rtc->base + SPRD_RTC_SPG_VALUE, &val); in sprd_rtc_lock_alarm() 147 ret = regmap_write(rtc->regmap, rtc->base + SPRD_RTC_SPG_UPD, val); in sprd_rtc_lock_alarm() 152 ret = regmap_read_poll_timeout(rtc->regmap, in sprd_rtc_lock_alarm() 153 rtc->base + SPRD_RTC_INT_RAW_STS, val, in sprd_rtc_lock_alarm() 158 dev_err(rtc->dev, "failed to update SPG value:%d\n", ret); in sprd_rtc_lock_alarm() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
| D | README | 2 # Copyright 2011-2020 NXP 9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 38 Following are some useful iw commands:- 45 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a] 55 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde] 79 mount -t debugfs debugfs /debugfs 98 bss_mode = "Ad-hoc" | "Managed" | "Auto" | "Unknown" 100 mac_address = <6-byte adapter MAC address> [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
| D | README | 1 # Copyright (C) 2011-2014, Marvell International Ltd. 8 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 9 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 11 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 37 Following are some useful iw commands:- 44 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a] 54 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde] 78 mount -t debugfs debugfs /debugfs 97 bss_mode = "Ad-hoc" | "Managed" | "Auto" | "Unknown" 99 mac_address = <6-byte adapter MAC address> [all …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-sc27xx.c | 4 * SPDX-License-Identifier: GPL-2.0 116 * alarm registers are used to set auxiliary alarm. Both alarm event and 117 * auxiliary alarm event can wake up system from deep sleep, but only alarm 118 * event can power up system from power down status. 128 return regmap_write(rtc->regmap, rtc->base + SPRD_RTC_INT_CLR, in sprd_rtc_clear_alarm_ints() 137 ret = regmap_read(rtc->regmap, rtc->base + SPRD_RTC_SPG_VALUE, &val); in sprd_rtc_lock_alarm() 147 ret = regmap_write(rtc->regmap, rtc->base + SPRD_RTC_SPG_UPD, val); in sprd_rtc_lock_alarm() 152 ret = regmap_read_poll_timeout(rtc->regmap, in sprd_rtc_lock_alarm() 153 rtc->base + SPRD_RTC_INT_RAW_STS, val, in sprd_rtc_lock_alarm() 158 dev_err(rtc->dev, "failed to update SPG value:%d\n", ret); in sprd_rtc_lock_alarm() [all …]
|
| /kernel/liteos_a/fs/proc/os_adapt/ |
| D | power_proc.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 44 return -LOS_PmLockRequest(buf); in PowerLockWrite() 65 return -LOS_PmLockRelease(buf); in PowerUnlockWrite() 89 } else if (strcmp(buf, "deep") == 0) { in PowerModeWrite() 95 return -EINVAL; in PowerModeWrite() 98 return -LOS_PmModeSet(mode); in PowerModeWrite() 105 LosBufPrintf(m, "normal light deep shutdown\n"); in PowerModeRead() 136 return -LOS_PmSuspend(weakCount); in PowerCountWrite() [all …]
|
| /kernel/linux/linux-6.6/kernel/time/ |
| D | tick-broadcast-hrtimer.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Emulate a local clock event device via a pseudo clock device. 16 #include "tick-internal.h" 41 * which is about to enter idle has the earliest broadcast timer event. 62 * The core tick broadcast mode expects bc->bound_on to be set in bc_set_next() 64 * armed from going deep idle. in bc_set_next() 71 bc->bound_on = bctimer.base->cpu_base->cpu; in bc_set_next() 84 .bound_on = -1,
|
| D | tick-broadcast.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains functions which emulate a local clock-event 4 * device via a broadcast event source. 6 * Copyright(C) 2005-2006, Thomas Gleixner <tglx@linutronix.de> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 20 #include "tick-internal.h" 89 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 90 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() 91 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device() [all …]
|