/linux/drivers/platform/x86/ |
H A D | intel_ips.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2009-2010 Intel Corporation 10 * Some Intel Ibex Peak based platforms support so-called "intelligent 11 * power sharing", which allows the CPU and GPU to cooperate to maximize 14 * power statistics in the platform, and initializes power monitoring 17 * by tracking power and thermal budget; secondarily it can boost turbo 18 * performance by allocating more power or thermal budget to the CPU or GPU 22 * thermal headroom is available, the CPU and/or GPU power clamps may be 34 * - dual MCP configs 37 * - handle CPU hotplug [all …]
|
/linux/Documentation/hwmon/ |
H A D | stpddc60.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: - 14 Datasheet: https://flexpowermodules.com/documents/fpm-techspec-bmr481 20 ----------- 26 Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details 31 ----------- 33 This driver does not auto-detect devices. You will have to instantiate the 34 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 37 The vout under- and over-voltage limits are set in relation to the commanded 39 in 50mV steps. This means that the absolute values of the limits will change [all …]
|
H A D | pmbus.rst | 12 Addresses scanned: - 23 Addresses scanned: - 27 https://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF 29 https://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF 31 https://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF 33 * Lineage Power 37 Addresses scanned: - 55 Addresses scanned: - 73 Addresses scanned: - 83 Addresses scanned: - [all …]
|
H A D | ltc2992.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf 15 ----------- 17 This driver supports hardware monitoring for Linear Technology LTC2992 power monitor. 19 LTC2992 is a rail-to-rail system monitor that measures current, 20 voltage, and power of two supplies. 27 ------------- 29 The following attributes are supported. Limits are read-write, 30 all other attributes are read-only. 50 powerX_input Measured power. [all …]
|
H A D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 22 For this reason, even if we aim at a chip-independent libsensors, it will 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 61 to cause an alarm) is chip-dependent. 69 ---------------- 76 ------------------------------------------------------------------------- 79 `[0-*]` denotes any positive number starting from 0 [all …]
|
H A D | pli1209bc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: 0x50 - 0x5F 14 Datasheet: https://www.vicorpower.com/documents/datasheets/ds-PLI1209BCxyzz-VICOR.pdf 17 - Marcello Sylvester Bauer <sylv@sylv.io> 20 ----------- 22 The Vicor PLI1209BC is an isolated digital power system supervisor that provides 26 can configure, set protection limits, and monitor the BCM. 29 ------------- 62 power1_input Input power. 63 power1_alarm Input power alarm. [all …]
|
H A D | adm1026.rst | 16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing 17 - Justin Thiessen <jthiessen@penguincomputing.com> 20 ----------------- 23 List of GPIO pins (0-16) to program as inputs 26 List of GPIO pins (0-16) to program as outputs 29 List of GPIO pins (0-16) to program as inverted 32 List of GPIO pins (0-16) to program as normal/non-inverted 35 List of GPIO pins (0-7) to program as fan tachs 39 ----------- 45 16 general purpose digital I/O lines, eight (8) fan speed sensors (8-bit), [all …]
|
H A D | ds1621.rst | 47 - Christian W. Zuckschwerdt <zany@triq.net> 48 - valuable contributions by Jan M. Sendler <sendler@sendler.de> 49 - ported to 2.6 by Aurelien Jarno <aurelien@aurel32.net> 53 ------------------ 62 ----------- 65 both high and low temperature limits which can be user defined (i.e. 66 programmed into non-volatile on-chip registers). Temperature range is -55 68 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity 81 of up to +/- 0.5 degrees even when compared against precise temperature 85 The alarm bits are set when the high or low limits are met or exceeded and [all …]
|
H A D | adm9240.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 20 Addresses scanned: I2C 0x2c - 0x2f 24 http://pdfserv.maxim-ic.com/en/ds/DS1780.pdf 30 Addresses scanned: I2C 0x2c - 0x2f 37 - Frodo Looijaard <frodol@dds.nl>, 38 - Philip Edelbrock <phil@netroedge.com>, 39 - Michiel Rook <michiel@grendelproject.nl>, 40 - Grant Coady <gcoady.lk@gmail.com> with guidance 44 --------- 46 chip MSB 5-bit address. Each chip reports a unique manufacturer [all …]
|
H A D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 21 The LTC2947 is a high precision power and energy monitor that measures current, 22 voltage, power, temperature, charge and energy. The device supports both SPI 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). 49 in0_label Channel label (VP-VM) 61 curr1_input IP-IM Sense current (mA) [all …]
|
/linux/include/linux/ |
H A D | intel_rapl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 RAPL_DOMAIN_PP0, /* core power plane */ 57 PL1_ENABLE, /* power limit 1, aka long term */ 59 PL2_ENABLE, /* power limit 2, aka short term, instantaneous */ 61 PL4_ENABLE, /* power limit 4, aka max peak power */ 138 * @reg_unit: Register for getting energy/power/time unit. 140 * @limits: Number of power limits supported by each domain. 154 int limits[RAPL_DOMAIN_MAX]; member 164 * @scale: Scale of 2^-32 Joules for each energy counter increase. 181 /* maximum rapl package domain name: package-%d-die-%d */ [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 66 ----------- 69 hardware-managed P-states (HWP) support. If it works in this mode, the [all …]
|
/linux/block/ |
H A D | blk-settings.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/blk-integrity.h> 11 #include <linux/backing-dev-defs.h> 16 #include <linux/dma-mapping.h> 17 #include <linux/t10-pi.h> 21 #include "blk-rq-qos.h" 22 #include "blk-wbt.h" 26 WRITE_ONCE(q->rq_timeout, timeout); in blk_queue_rq_timeout() 31 * blk_set_stacking_limits - set default limits for stacking devices 34 * Prepare queue limits for applying limits from underlying devices using [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hwmon.c | 1 // SPDX-License-Identifier: MIT 6 #include <linux/hwmon-sysfs.h> 65 * For platforms that support mailbox commands for power limits, REG_PKG_POWER_SKU_UNIT is 73 * SF_* - scale factors for particular quantities according to hwmon spec. 82 * PL*_HWMON_ATTR - mapping of hardware power limits to corresponding hwmon power attribute. 90 * Timeout for power limit write mailbox command. 95 * struct xe_hwmon_energy_info - to accumulate energy 105 * struct xe_hwmon_fan_info - to cache previous fan reading 115 * struct xe_hwmon - xe hwmon data structure 124 /** @scl_shift_power: pkg power unit */ [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | samsung,exynos4210-fimc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,exynos4210-fimc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 20 - samsung,exynos4210-fimc 21 - samsung,exynos4212-fimc 22 - samsung,s5pv210-fimc 30 clock-names: [all …]
|
/linux/include/linux/platform_data/ |
H A D | tsl2772.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org> 30 /* LED Power */ 37 * struct tsl2772_settings - Settings for the tsl2772 driver 40 * (256 - als_time) * 2.73. 47 * (256 - prx_time) * 2.73. 52 * @als_persistence: H/W Filters, Number of 'out of limits' ALS readings. 56 * @prox_persistence: H/W Filters, Number of 'out of limits' proximity 66 * @prox_power The amount of power to use for the external LED(s). 92 * struct tsl2772_platform_data - Platform callback, glass and defaults [all …]
|
/linux/drivers/firmware/arm_scmi/ |
H A D | perf.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018-2023 ARM Ltd. 8 #define pr_fmt(fmt) "SCMI Notifications PERF - " fmt 53 u32 power; member 129 __le32 power; member 140 __le32 power; member 175 if (_opp->indicative_freq == f_) \ 203 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get() 208 attr = t->rx.buf; in scmi_perf_attributes_get() 210 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2010-2011 Linaro Ltd. 20 #include "exynos4-cpu-thermal.dtsi" 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; 34 clock-names = "bus"; 35 operating-points-v2 = <&bus_acp_opp_table>; 38 bus_acp_opp_table: opp-table { 39 compatible = "operating-points-v2"; [all …]
|
H A D | exynos4x12.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "exynos4-cpu-thermal.dtsi" 27 fimc-lite0 = &fimc_lite_0; 28 fimc-lite1 = &fimc_lite_1; 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; 34 clock-names = "bus"; 35 operating-points-v2 = <&bus_acp_opp_table>; 38 bus_acp_opp_table: opp-table { 39 compatible = "operating-points-v2"; [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps.c | 1 // SPDX-License-Identifier: MIT 43 return rps_to_gt(rps)->i915; in rps_to_i915() 48 return rps_to_gt(rps)->uncore; in rps_to_uncore() 55 return >_to_guc(gt)->slpc; in rps_to_slpc() 62 return intel_uc_uses_guc_slpc(>->uc); in rps_uses_slpc() 67 return mask & ~rps->pm_intrmsk_mbz; in rps_pm_sanitize_mask() 90 last = engine->stats.rps; in rps_timer() 91 engine->stats.rps = dt; in rps_timer() 99 last = rps->pm_timestamp; in rps_timer() 100 rps->pm_timestamp = timestamp; in rps_timer() [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Felix Fietkau <nbd@nbd.name> 12 - Lorenzo Bianconi <lorenzo@kernel.org> 13 - Ryder Lee <ryder.lee@mediatek.com> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
/linux/drivers/powercap/ |
H A D | intel_rapl_msr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel Running Average Power Limit (RAPL) Driver via MSR interface 26 #include <asm/intel-family.h> 55 .limits[RAPL_DOMAIN_PACKAGE] = BIT(POWER_LIMIT2), 56 .limits[RAPL_DOMAIN_PLATFORM] = BIT(POWER_LIMIT2), 66 /* Handles CPU hotplug on multi-socket systems. 71 * per-domain level. 83 cpumask_set_cpu(cpu, &rp->cpumask); in rapl_cpu_online() 96 cpumask_clear_cpu(cpu, &rp->cpumask); in rapl_cpu_down_prep() 97 lead_cpu = cpumask_first(&rp->cpumask); in rapl_cpu_down_prep() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-system-cpu | 2 Date: pre-git history 3 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 18 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 19 Description: CPU topology files that describe kernel limits related to 37 See Documentation/admin-guide/cputopology.rst for more information. 43 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 58 Contact: Linux memory management mailing list <linux-mm@kvack.org> 67 /sys/devices/system/cpu/cpu42/node2 -> ../../node/node2 77 Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org> 89 core_siblings_list: human-readable list of the logical CPU [all …]
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu14_driver_if_v14_0.h | 190 SVI_PSI_6, // Power down to 0V (voltage regulation disabled) 517 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 520 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 523 uint16_t FoptimalDc; //Foptimal frequency in DC power mode. 524 uint16_t FoptimalAc; //Foptimal frequency in AC power mode. 975 uint16_t Power[PPT_THROTTLER_COUNT][POWER_SOURCE_COUNT]; // Watts member 1056 …uint8_t TotalPowerConfig; // Determines how PMFW calculates the power. Use defines from Pw… 1061 // SECTION: Infrastructure Limits 1064 …nd SocketPowerLimitDc will be interpreted as legacy programs(i.e absolute power). If 0, all except… 1069 …tMinReportedPptinDcs; //minimum possible active power consumption for this SKU. Used for SmartShif… [all …]
|
/linux/drivers/hwmon/pmbus/ |
H A D | mp2888.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hardware monitoring driver for MPS Multi-phase Digital VR Controllers 46 return -ENODATA; in mp2888_read_byte_data() 56 * Obtain DrMOS current sense gain of power stage from the register in mp2888_current_sense_gain_and_resolution_get() 57 * , bits 0-2. The value is selected as below: in mp2888_current_sense_gain_and_resolution_get() 58 * 00b - 5µA/A, 01b - 8.5µA/A, 10b - 9.7µA/A, 11b - 10µA/A. Other in mp2888_current_sense_gain_and_resolution_get() 67 data->curr_sense_gain = 85; in mp2888_current_sense_gain_and_resolution_get() 70 data->curr_sense_gain = 97; in mp2888_current_sense_gain_and_resolution_get() 73 data->curr_sense_gain = 100; in mp2888_current_sense_gain_and_resolution_get() 76 data->curr_sense_gain = 50; in mp2888_current_sense_gain_and_resolution_get() [all …]
|