/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/drivers/powercap/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Generic power capping sysfs interface configuration 9 The power capping sysfs interface allows kernel subsystems to expose power 12 power zones representing parts of the system that can be subject to power 29 This enables support for the Intel Running Average Power Limit (RAPL) 30 technology via MSR interface, which allows power limits to be enforced 35 controller, CPU core (Power Plane 0), graphics uncore (Power Plane 44 This enables support for the Intel Running Average Power Limit (RAPL) 45 technology via TPMI interface, which allows power limits to be enforced 59 CPUs for power capping. Idle period can be injected [all …]
|
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> 54 .limits[RAPL_DOMAIN_PACKAGE] = BIT(POWER_LIMIT2), 55 .limits[RAPL_DOMAIN_PLATFORM] = BIT(POWER_LIMIT2), 65 /* Handles CPU hotplug on multi-socket systems. 70 * per-domain level. 82 cpumask_set_cpu(cpu, &rp->cpumask); in rapl_cpu_online() 95 cpumask_clear_cpu(cpu, &rp->cpumask); in rapl_cpu_down_prep() 96 lead_cpu = cpumask_first(&rp->cpumask); in rapl_cpu_down_prep() [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 | 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 …]
|
/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/drivers/net/ipa/ |
H A D | ipa_data.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 18 * Boot-time configuration data is used to define the configuration of the 22 * channels, memory, power and so on are allocated and used for the 26 * configuration data defines the number (or limits of the number) of various 41 * together, establishing the endpoint_id->(EE, channel_id) mapping. 52 /** enum ipa_qsb_master_id - array index for IPA QSB configuration data */ 59 * struct ipa_qsb_data - Qualcomm System Bus configuration data 62 * @max_reads_beats: Max outstanding read bytes in 8-byte "beats" (if non-zero) [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> 19 #include "blk-rq-qos.h" 20 #include "blk-wbt.h" 24 q->rq_timeout = timeout; in blk_queue_rq_timeout() 29 * blk_set_stacking_limits - set default limits for stacking devices 32 * Prepare queue limits for applying limits from underlying devices using 38 lim->logical_block_size = SECTOR_SIZE; in blk_set_stacking_limits() [all …]
|
/linux/drivers/clk/ |
H A D | clk-axi-clkgen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 11 #include <linux/clk-provider.h> 60 struct axi_clkgen_limits limits; member 126 static void axi_clkgen_calc_params(const struct axi_clkgen_limits *limits, in axi_clkgen_calc_params() argument 144 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params() 145 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params() 148 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params() 149 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params() [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/gpu/drm/i915/gt/ |
H A D | intel_rps_types.h | 1 /* SPDX-License-Identifier: MIT */ 41 * struct intel_rps_freq_caps - rps freq capabilities 42 * @rp0_freq: non-overclocked max frequency 43 * @rp1_freq: "less than" RP0 power/freqency 60 * i915->irq_lock 76 * Soft limits are those which are used for the dynamic reclocking done 78 * lighter loads). Hard limits are those imposed by the hardware. 92 u8 efficient_freq; /* AKA RPe. Pre-determined balanced frequency */ 93 u8 rp1_freq; /* "less than" RP0 power/freqency */ 94 u8 rp0_freq; /* Non-overclocked max frequency. */ [all …]
|
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/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/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/hwmon/ |
H A D | ina2xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for Texas Instruments INA219, INA226 power monitor chips 6 * Zero Drift Bi-Directional Current/Power Monitor with I2C Interface 10 * Bi-Directional Current/Power Monitor with I2C Interface 14 * Bi-Directional Current/Power Monitor with I2C Interface 18 * Bi-directional Current/Power Monitor with I2C Interface 59 /* settings - depend on use case */ 142 bool has_alerts; /* chip supports alerts and limits */ 259 val = DIV_ROUND_CLOSEST((s16)regval, data->config->shunt_div); in ina2xx_get_value() 262 val = (regval >> data->config->bus_voltage_shift) * in ina2xx_get_value() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H A D | channel.c | 41 * maxpwr[0] - channels [34-48] 42 * maxpwr[1] - channels [52-60] 43 * maxpwr[2] - channels [62-64] 44 * maxpwr[3] - channels [100-140] 45 * maxpwr[4] - channels [149-165] 47 #define BAND_5G_PWR_LVLS 5 /* 5 power levels for 5G */ 54 /* macro to get 5 GHz channel group index for tx power */ 60 #define BRCM_2GHZ_2412_2462 REG_RULE(2412-10, 2462+10, 40, 0, 19, 0) 61 #define BRCM_2GHZ_2467_2472 REG_RULE(2467-10, 2472+10, 20, 0, 19, \ 64 #define BRCM_5GHZ_5180_5240 REG_RULE(5180-10, 5240+10, 40, 0, 21, \ [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 …]
|