| /linux/include/linux/mtd/ |
| H A D | platnand.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> 7 * Contains all platform NAND related definitions. 18 * struct platform_nand_chip - chip level device structure 26 * @part_probe_types: NULL-terminated array of probe types 40 * struct platform_nand_ctrl - controller level device structure 41 * @probe: platform specific function to probe/setup hardware 42 * @remove: platform specific function to remove/teardown hardware 43 * @dev_ready: platform specific function to read ready/busy pin 44 * @select_chip: platform specific chip select function [all …]
|
| /linux/Documentation/power/ |
| H A D | basic-pm-debugging.rst | 21 modes causes the PM core to skip some platform-related callbacks which on ACPI 24 "platform" mode:: 26 # echo platform > /sys/power/disk 31 Unfortunately, the "platform" mode of hibernation does not work on some systems 41 If neither "platform" nor "shutdown" hibernation mode works, you will need to 45 ---------------------------- 53 - test the freezing of processes 56 - test the freezing of processes and suspending of devices 58 platform 59 - test the freezing of processes, suspending of devices and platform [all …]
|
| /linux/arch/arm/mach-s3c/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 5 source "arch/arm/mach-s3c/Kconfig.s3c64xx" 13 Base platform code for all Samsung SoC based systems 19 Base platform power management code for samsung code 29 int "S3C UART to use for low-level messages" 33 Choice of which UART port to use for the low-level messages, 36 must have been initialised by the boot-loader before use. 43 Samsung platforms, including static platform devices, legacy 64 chip tracking if the platform requires it. 71 Compile in platform device definitions for HSMMC code [all …]
|
| /linux/include/uapi/linux/ |
| H A D | pfrut.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Platform Firmware Runtime Update header 16 * PFRU_IOC_SET_REV - _IOW(PFRUT_IOCTL_MAGIC, 0x01, unsigned int) 19 * * 0 - success 20 * * -EFAULT - fail to read the revision id 21 * * -EINVAL - user provides an invalid revision id 23 * Set the Revision ID for Platform Firmware Runtime Update. 28 * PFRU_IOC_STAGE - _IOW(PFRUT_IOCTL_MAGIC, 0x02, unsigned int) 31 * * 0 - success 32 * * -EINVAL - stage phase returns invalid result [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 21 Depending on its configuration and the capabilities of the platform it runs on, 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 ------- [all …]
|
| H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
| H A D | intel_idle.rst | 1 .. SPDX-License-Identifier: GPL-2.0 19 Nehalem and later generations of Intel processors, but the level of support for 21 processor model and may also depend on information coming from the platform 24 Documentation/admin-guide/pm/cpuidle.rst if you have not done that yet.] 28 processor's functional blocks into low-power states. That instruction takes two 34 via the platform firmware configuration menu) or which do not support that 38 only way to pass early-configuration-time parameters to it is via the kernel 54 The C1 demotion feature involves the platform firmware demoting deep 55 C-state requests from the OS (e.g., C6 requests) to C1. The idea is that 56 firmware monitors CPU wake-up rate, and if it is higher than a [all …]
|
| /linux/arch/hexagon/kernel/ |
| H A D | irq_cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * First-level interrupt controller model for Hexagon. 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 14 __vmintop_locdis((long) data->irq); in mask_irq() 24 __vmintop_locen((long) data->irq); in unmask_irq() 30 __vmintop_globen((long) data->irq); in eoi_irq() 34 * if this is absent, then an -ENXIO error is returned to the 54 * The hexagon core comes with a first-level interrupt controller 57 * macro cells that provide one or more second-level interrupt 58 * controllers that are cascaded into one or more of the first-level [all …]
|
| /linux/drivers/platform/x86/lenovo/ |
| H A D | wmi-gamezone.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * The GameZone WMI interface provides platform profile and fan curve settings 23 #include "wmi-events.h" 24 #include "wmi-gamezone.h" 25 #include "wmi-helpers.h" 26 #include "wmi-other.h" 28 #define LENOVO_GAMEZONE_GUID "887B54E3-DDDC-4B2C-8B88-68A26A8835D0" 55 * lwmi_gz_mode_call() - Call method for lenovo-wmi-other driver notifier. 57 * @nb: The notifier_block registered to lenovo-wmi-other driver. 75 scoped_guard(spinlock, &priv->gz_mode_lock) { in lwmi_gz_mode_call() [all …]
|
| /linux/Documentation/devicetree/bindings/opp/ |
| H A D | opp-v2-base.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 25 pattern: '^opp-table(-[a-z0-9]+)?$' 27 opp-shared: 36 '^opp(-?[0-9]+)*$': 39 One or more OPP nodes describing voltage-current-frequency combinations. [all …]
|
| /linux/sound/soc/sof/amd/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 29 This option is not user-selectable but automatically handled by 30 'select' statements at a higher level 38 Select this option for SOF support on AMD Renoir platform 47 on AMD Vangogh platform. 57 Select this option for SOF support on AMD Rembrandt platform 65 This option is not user-selectable but automatically handled by 66 'select' statements at a higher level 85 tristate "SOF support for ACP6.3 platform" 93 Say Y if you want to enable SOF on ACP6.3 based platform.
|
| /linux/Documentation/driver-api/thermal/ |
| H A D | intel_dptf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel(R) Dynamic Platform and Thermal Framework Sysfs Interface 12 ------------ 14 Intel(R) Dynamic Platform and Thermal Framework (DPTF) is a platform 15 level hardware/software solution for power and thermal management. 21 Since it is a platform level framework, this has several components. 26 "Linux Thermal Daemon" to read platform specific thermal and power 31 ---------------------------- 33 :file:`/sys/bus/platform/devices/<N>/uuids`, where <N> 43 "42A441D6-AE6A-462b-A84B-4A8CE79027D3" : Passive 1 [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | pmac_pfunc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * Arguments to a platform function call. 42 * ends with an end() call. This allows the low level driver to implement 43 * locking policy or per-function instance data. 116 * Drivers who expose platform functions register at init time, this 117 * causes the platform functions for that device node to be parsed in 119 * partially public so a driver can walk the list of platform functions 135 /* The name is the "xxx" in "platform-do-xxx", this is how 136 * platform functions are identified by this code. Some functions 160 * For platform functions that are interrupts, one can register [all …]
|
| /linux/arch/arm/include/asm/ |
| H A D | mcpm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright: (C) 2012-2013 Linaro Limited 33 * Platform specific code should use this symbol to set up secondary 40 * branch once it is ready to re-enter the kernel using ptr, or NULL if it 59 * mcpm_is_available - returns whether MCPM is initialized and available 66 * mcpm_cpu_power_up - make given CPU in given cluster runable 87 * mcpm_cpu_power_down - power the calling CPU down 92 * then the cluster is prepared for power-down too. 96 * On success this does not return. Re-entry in the kernel is expected 103 * mcpm_wait_for_cpu_powerdown() subsequently returns non-zero for the [all …]
|
| /linux/tools/power/acpi/man/ |
| H A D | pfrut.8 | 5 pfrut \- Platform Firmware Runtime Update and Telemetry tool 11 The PFRUT(Platform Firmware Runtime Update and Telemetry) kernel interface is designed 16 interact with the platform firmware interface defined in the 31 .B \f[B]\-h\f[R], \f[B]\-\-help\f[R] 34 .B \f[B]\-l\f[R], \f[B]\-\-load\f[R] 39 .B \f[B]\-s\f[R], \f[B]\-\-stage\f[R] 43 .B \f[B]\-a\f[R], \f[B]\-\-activate\f[R] 46 .B \f[B]\-u\f[R], \f[B]\-\-update\f[R] 49 .B \f[B]\-q\f[R], \f[B]\-\-query\f[R] 52 .B \f[B]\-d\f[R], \f[B]\-\-setrev\f[R] [all …]
|
| /linux/sound/soc/sof/ |
| H A D | core.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 15 #include "sof-priv.h" 16 #include "sof-of-dev.h" 43 static int override_ipc_type = -1; 45 MODULE_PARM_DESC(ipc_type, "Force SOF IPC type. 0 - IPC3, 1 - IPC4"); 57 "Set the IPC timeout value in ms (0 to use the platform default)"); 60 "Set the DSP boot timeout value in ms (0 to use the platform default)"); 63 /* SOF defaults if not provided by the platform in ms */ 68 * sof_debug_check_flag - check if a given flag(s) is set in sof_core_debug 98 {SOF_IPC_PANIC_PLATFORM, "platform init failed"}, [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Platform support for Chrome OS hardware (Chromebooks and Chromeboxes) 7 bool "Platform support for Chrome hardware" 10 Say Y here to get to see options for platform support for 26 If you have an ACPI-compatible Chromebook, say Y or M here. 47 The range of memory used is 0xf00000-0x1000000, traditionally 73 devices that have multiple drop-in options for one component. 94 EC through an I2C bus. This uses a simple byte-level protocol with 103 through rpmsg. This uses a simple byte-level protocol with a 104 checksum. Also since there's no addition EC-to-host interrupt, this [all …]
|
| /linux/include/linux/ |
| H A D | platform_device.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * platform_device.h - generic, centralized driver model 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 7 * See Documentation/driver-api/driver-model/ for more information. 15 #define PLATFORM_DEVID_NONE (-1) 16 #define PLATFORM_DEVID_AUTO (-2) 47 #define platform_get_device_id(pdev) ((pdev)->id_entry) 49 #define dev_is_platform(dev) ((dev)->bus == &platform_bus_type) 83 return ERR_PTR(-EINVAL); in devm_platform_get_and_ioremap_resource() 91 return ERR_PTR(-EINVAL); in devm_platform_ioremap_resource() [all …]
|
| H A D | scmi_protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2018-2021 ARM Ltd. 21 * struct scmi_revision_info - version information structure 30 * @impl_ver: A vendor-specific implementation version. 32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string) 87 * struct scmi_clk_proto_ops - represents the various operations provided 133 * struct scmi_perf_proto_ops - represent [all...] |
| /linux/drivers/acpi/dptf/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Intel DPTF (Dynamic Platform and Thermal Framework) Support" 7 Intel Dynamic Platform and Thermal Framework (DPTF) is a platform 8 level hardware/software solution for power and thermal management. 17 tristate "Platform Power DPTF Participant" 20 This driver adds support for Dynamic Platform and Thermal Framework 21 (DPTF) Platform Power Participant device (INT3407) support. 22 This participant is responsible for exposing platform telemetry: 36 This driver adds support for Dynamic Platform and Thermal Framework
|
| /linux/Documentation/admin-guide/laptops/ |
| H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 22 2.6.22, and release 0.14. It was moved to drivers/platform/x86 for 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | intel_txt.rst | 6 Technology (Intel(R) TXT), defines platform-level enhancements that 13 - Provides dynamic root of trust for measurement (DRTM) 14 - Data protection in case of improper shutdown 15 - Measurement and verification of launched environment 18 non-vPro systems. It is currently available on desktop systems 30 - LinuxTAG 2008: 31 http://www.linuxtag.org/2008/en/conf/events/vp-donnerstag.html 33 - TRUST2008: 34 http://www.trust-conference.eu/downloads/Keynote-Speakers/ 35 3_David-Grawrock_The-Front-Door-of-Trusted-Computing.pdf [all …]
|
| /linux/drivers/base/ |
| H A D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * platform.c - platform 'pseudo' bus for legacy devices 5 * Copyright (c) 2002-3 Patrick Mochel 6 * Copyright (c) 2002-3 Open Source Development Labs 8 * Please see Documentation/driver-api/driver-model/platform.rst for more 20 #include <linux/dma-mapping.h> 28 #include <linux/clk/clk-conf.h> 34 #include <linux/dma-map-ops.h> 43 .init_name = "platform", 48 * platform_get_resource - get a resource for a device [all …]
|
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | mediatek,bluetooth.txt | 13 - compatible: Must be 14 "mediatek,mt7663u-bluetooth": for MT7663U device 15 "mediatek,mt7668u-bluetooth": for MT7668U device 16 - vcc-supply: Main voltage regulator 18 If the pin controller on the platform can support both pinmux and GPIO 19 control such as the most of MediaTek platform. Please use below properties. 21 - pinctrl-names: Should be "default", "runtime" 22 - pinctrl-0: Should contain UART RXD low when the device is powered up to 24 - pinctrl-1: Should contain UART mode pin ctrl 26 Else, the pin controller on the platform only can support pinmux control and [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | mdesc.c | 1 // SPDX-License-Identifier: GPL-2.0 26 /* Unlike the OBP device tree, the machine description is a full-on 107 {"virtual-device-port", get_vdev_port_node_info, 109 {"domain-services-port", get_ds_port_node_info, 153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init() 156 INIT_LIST_HEAD(&hp->list); in mdesc_handle_init() 157 hp->self_base = base; in mdesc_handle_init() 158 refcount_set(&hp->refcnt, 1); in mdesc_handle_init() 159 hp->handle_size = handle_size; in mdesc_handle_init() 168 handle_size = (sizeof(struct mdesc_handle) - in mdesc_memblock_alloc() [all …]
|