| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | uncore-power.json | 7 …"PublicDescription": "The PCU runs off a fixed 800 MHz clock. This event counts the number of pcl… 16 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 25 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 34 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 43 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 52 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 61 …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.", 79 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", 88 …tion": "Number of cycles spent performing core C state transitions. There is one event per core.", [all …]
|
| /linux/arch/powerpc/platforms/83xx/ |
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A 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 …]
|
| H A 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 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 26 - azoteq,iqs269a-d0 [all …]
|
| H A 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 - $ref: input.yaml# 16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 23 further details and examples. Sensor hardware configuration (self-capacitive 24 vs. mutual-inductive, etc.) is selected based on the device's firmware. [all …]
|
| /linux/drivers/net/wwan/t7xx/ |
| H A 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> 80 return -ENODEV; in t7xx_mode_store() 82 mode = READ_ONCE(t7xx_dev->mode); in t7xx_mode_store() 86 return -EBUSY; in t7xx_mode_store() 92 WRITE_ONCE(t7xx_dev->mode, T7XX_FASTBOOT_SWITCHING); in t7xx_mode_store() 114 return -ENODEV; in t7xx_mode_show() 116 mode = READ_ONCE(t7xx_dev->mode); in t7xx_mode_show() 137 return -ENODEV; in t7xx_debug_ports_store() [all …]
|
| /linux/arch/arm/mach-omap1/ |
| H A 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 …]
|
| H A D | sleep.S | 2 * linux/arch/arm/mach-omap1/sleep.S 4 * Low-level OMAP7XX/1510/1610 sleep/wakeUp support 22 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 48 * Forces OMAP into deep sleep state 69 stmfd sp!, {r0 - r12, lr} 86 @ prepare to put SDRAM into self-refresh manually 118 * Let's wait for the next wake up event to wake us up. r0 can't be 133 ldmfd sp!, {r0 - r12, pc} 136 .word . - omap1510_cpu_suspend 144 stmfd sp!, {r0 - r12, lr} [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A 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 …]
|
| H A 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 …]
|
| /linux/drivers/rtc/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A 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 …]
|
| H A D | cmdevt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2011-2020 NXP 32 cmd_node->priv = priv; in mwifiex_init_cmd_node() 33 cmd_node->cmd_no = cmd_no; in mwifiex_init_cmd_node() 36 cmd_node->wait_q_enabled = true; in mwifiex_init_cmd_node() 37 cmd_node->cmd_wait_q_woken = false; in mwifiex_init_cmd_node() 38 cmd_node->condition = &cmd_node->cmd_wait_q_woken; in mwifiex_init_cmd_node() 40 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node() 41 cmd_node->cmd_skb = cmd_node->skb; in mwifiex_init_cmd_node() 53 spin_lock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node() [all …]
|
| /linux/kernel/time/ |
| H A 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 …]
|
| /linux/Documentation/userspace-api/media/cec/ |
| H A D | cec-ioc-adap-g-phys-addr.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 15 CEC_ADAP_G_PHYS_ADDR, CEC_ADAP_S_PHYS_ADDR - Get or set the physical address 57 requested logical addresses have been claimed. If the file descriptor is in non-blocking mode 60 A :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` event is sent when the physical address 63 The physical address is a 16-bit number where each group of 4 bits 68 turn have addresses a.b.0.0, etc. So a topology of up to 5 devices deep 79 On success 0 is returned, on error -1 and the ``errno`` variable is set 81 :ref:`Generic Error Codes <gen-errors>` chapter.
|
| /linux/drivers/cpuidle/governors/ |
| H A D | teo.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018 - 2021 Intel Corporation 10 * DOC: teo-description 15 * Moreover, in principle, the time when the next timer event is going to occur 20 * Of course, non-timer wakeup sources are more important in some use cases, 22 * greater than the time till the next timer event, referred as the sleep 54 * non-timer wakeup events for which the measured idle duration falls into a bin 70 * - The sum of the "hits" metric for all of the idle states shallower than 74 * - The sum of the "intercepts" metric for all of the idle states shallower 76 * likely woken up by a non-timer wakeup source). [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-cros-ec | 1 What: /sys/kernel/debug/<cros-ec-device>/console_log 10 What: /sys/kernel/debug/<cros-ec-device>/panicinfo 18 What: /sys/kernel/debug/<cros-ec-device>/pdinfo 23 information for all the USB PD/type-C ports available. If 27 What: /sys/kernel/debug/<cros-ec-device>/uptime 36 What: /sys/kernel/debug/<cros-ec-device>/last_resume_result 58 What: /sys/kernel/debug/<cros-ec-device>/suspend_timeout_ms 63 a hardware-controlled sleep line, such as Intel's SLP_S0 line, 64 in order to detect cases where a system failed to go into deep 67 timeout event and attempting to wake the system.
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| H A D | bios_parser_types.h | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 158 /* symClock; in 10kHz, pixel clock, in HDMI deep color mode, it should 197 /* Input: Signal Type - to be converted to Encoder mode */ 207 /* Output: If non-zero, this refDiv value should be used to calculate 210 /* Output: If non-zero, this postDiv value should be used to calculate 220 /* signal_type -> Encoder Mode - needed by VBIOS Exec table */ 234 /* VBIOS returns a fixed display clock when DFS-bypass feature 237 /* color depth to support HDMI deep color */ 289 /* 1 = delta-sigma type parameter; 0 = ver1 */
|
| H A D | ddc_service_types.h | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 97 /* Dongle caps: Maximum deep color supported over dongle for HDMI */ 111 indicates 'Frame Sequential-to-lllFrame Pack' conversion capability.*/
|
| /linux/tools/perf/Documentation/ |
| H A D | tips.txt | 1 For a higher level overview, try: perf report --sort comm,dso 2 Sample related events with: perf record -e '{cycles,instructions}:S' 4 Boolean options have negative forms, e.g.: perf report --no-children 5 To not accumulate CPU time of children symbols add --no-children 6 Customize output of perf script with: perf script - [all...] |
| /linux/drivers/gpu/drm/radeon/ |
| H A D | evergreen_hdmi.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 72 struct drm_device *dev = encoder->dev; in evergreen_hdmi_update_acr() 73 struct radeon_device *rdev = dev->dev_private; in evergreen_hdmi_update_acr() 76 if (encoder->crtc) { in evergreen_hdmi_update_acr() 77 struct radeon_crtc *radeon_crtc = to_radeon_crtc(encoder->crtc); in evergreen_hdmi_update_acr() 78 bpc = radeon_crtc->bpc; in evergreen_hdmi_update_acr() 89 WREG32(HDMI_ACR_32_0 + offset, HDMI_ACR_CTS_32(acr->cts_32khz)); in evergreen_hdmi_update_acr() 90 WREG32(HDMI_ACR_32_1 + offset, acr->n_32khz); in evergreen_hdmi_update_acr() 92 WREG32(HDMI_ACR_44_0 + offset, HDMI_ACR_CTS_44(acr->cts_44_1khz)); in evergreen_hdmi_update_acr() 93 WREG32(HDMI_ACR_44_1 + offset, acr->n_44_1khz); in evergreen_hdmi_update_acr() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vm_pt.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 32 * amdgpu_vm_pt_cursor - state for for_each_amdgpu_vm_pt 42 * amdgpu_vm_pt_level_shift - return the addr shift for each level 57 return 9 * (AMDGPU_VM_PDB0 - level) + in amdgpu_vm_pt_level_shift() 58 adev->vm_manager.block_size; in amdgpu_vm_pt_level_shift() 67 * amdgpu_vm_pt_num_entries - return the number of entries in a PD/PT 80 shift = amdgpu_vm_pt_level_shift(adev, adev->vm_manager.root_level); in amdgpu_vm_pt_num_entries() 81 if (level == adev->vm_manager.root_level) in amdgpu_vm_pt_num_entries() 83 return round_up(adev->vm_manager.max_pfn, 1ULL << shift) in amdgpu_vm_pt_num_entries() [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | cht_bsw_max98090_ti.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht-bsw-max98090.c - ASoc Machine driver for Intel Cherryview-based 24 #include <sound/soc-acpi.h> 27 #include "../atom/sst-atom-controls.h" 43 struct snd_kcontrol *k, int event) in platform_clock_control() argument 45 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 46 struct snd_soc_card *card = dapm->card; in platform_clock_control() 52 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in platform_clock_control() 57 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control() 58 return -EIO; in platform_clock_control() [all …]
|
| H A D | bytcr_wm5102.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bytcr_wm5102.c - ASoc Machine driver for Intel Baytrail platforms with a 8 * Copyright (C) 2014-2020 Intel Corp 27 #include <sound/soc-acpi.h> 29 #include "../atom/sst-atom-controls.h" 51 /* Note these values are pre-shifte 100 byt_wm5102_spkvdd_power_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) byt_wm5102_spkvdd_power_event() argument 151 platform_clock_control(struct snd_soc_dapm_widget * w,struct snd_kcontrol * k,int event) platform_clock_control() argument [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | record+probe_libc_inet_pton.sh | 6 # with the a backtrace 3 levels deep, check that it is what we expect. 10 # SPDX-License-Identifier: GPL-2.0 18 libc=$(grep -w libc /proc/self/maps | head -1 | sed -r 's/.*[[:space:]](\/.*)/\1/g') 19 nm -Dg $libc 2>/dev/null | grep -F -q inet_pton || exit 254 25 event_name=$(perf probe -f -x $libc -a inet_pton 2>&1 | tail -n +2 | head -n -5 | \ 26 awk -v ep="$event_pattern" -v l="$libc" '$0 ~ ep && $0 ~ \ 29 if [ $? -ne 0 ] || [ -z "$event_name" ] ; then 30 printf "FAIL: could not add event\n" 37 expected=`mktemp -u /tmp/expected.XXX` 39 echo "ping[][0-9 \.:]+$event_name: \([[:xdigit:]]+\)" > $expected [all …]
|