| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/powercap/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | intel_rapl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 RAPL_DOMAIN_PP0, /* core power plane */ 45 PL1_ENABLE, /* power limit 1, aka long term */ 47 PL2_ENABLE, /* power limit 2, aka short term, instantaneous */ 49 PL4_ENABLE, /* power limit 4, aka max peak power */ 111 * @reg_unit: Register for getting energy/power/time unit. 113 * @limits: Number of power limits supported by each domain. 125 int limits[RAPL_DOMAIN_MAX]; member 130 /* maximum rapl package domain name: package-%d-die-%d */ 134 unsigned int id; /* logical die id, equals physical 1-die systems */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ipa/ |
| 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-2020 Linaro Ltd. 18 * Boot-time configuration data is used to define the configuration of the 25 * configuration data defines the number (or limits of the number) of various 40 * together, establishing the endpoint_id->(EE, channel_id) mapping. 51 /** enum ipa_resource_type_src - source resource types */ 53 * struct gsi_channel_data - GSI channel configuration data 71 * elements, and the size of this FIFO limits the number of TREs 75 u16 tre_count; /* must be a power of 2 */ [all …]
|
| D | ipa_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 50 * currently supported. Despite that, some resources--including routing 51 * tables and filter tables--are defined in this driver because they must 57 * well-defined communication layer between the AP subsystem and the IPA 74 * ipa_suspend_handler() - Handle the suspend IPA interrupt 89 if (!test_and_set_bit(IPA_FLAG_RESUMED, ipa->flags)) in ipa_suspend_handler() 90 pm_wakeup_dev_event(&ipa->pdev->dev, 0, true); in ipa_suspend_handler() 93 ipa_interrupt_suspend_clear_all(ipa->interrupt); in ipa_suspend_handler() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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 161 /* maximum rapl package domain name: package-%d-die-%d */ 165 unsigned int id; /* logical die id, equals physical 1-die systems */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ipa/ |
| 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-2023 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 …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/pm/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 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 74 provides its own scaling algorithms for P-state selection. Those algorithms [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
| D | perf.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #define pr_fmt(fmt) "SCMI Notifications PERF - " fmt 13 #include <linux/io-64-nonatomic-hi-lo.h> 36 u32 power; member 106 __le32 power; member 190 attr = t->rx.buf; in scmi_perf_attributes_get() 194 u16 flags = le16_to_cpu(attr->flags); in scmi_perf_attributes_get() 196 pi->num_domains = le16_to_cpu(attr->num_domains); in scmi_perf_attributes_get() 197 pi->power_scale_mw = POWER_SCALE_IN_MILLIWATT(flags); in scmi_perf_attributes_get() 198 pi->stats_addr = le32_to_cpu(attr->stats_addr_low) | in scmi_perf_attributes_get() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/regulator/ |
| D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 44 * DO_NOTHING_IN_SUSPEND - the default value 45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states 46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states 60 * struct regulator_state - regulator state during low power system states 62 * This describes a regulators state during a system wide low power 72 * - DO_NOTHING_IN_SUSPEND 73 * - DISABLE_IN_SUSPEND 74 * - ENABLE_IN_SUSPEND [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/firmware/arm_scmi/ |
| 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 50 u32 power; member 126 __le32 power; member 137 __le32 power; member 171 if (_opp->indicative_freq == f_) \ 197 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get() 202 attr = t->rx.buf; in scmi_perf_attributes_get() 204 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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" 32 #address-cells = <1>; 33 #size-cells = <0>; 37 compatible = "arm,cortex-a9"; 40 clock-names = "cpu"; 41 clock-latency = <160000>; 43 operating-points = < [all …]
|
| /kernel/linux/linux-5.10/drivers/powercap/ |
| 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 45 CPUs for power capping. Idle period can be injected
|
| 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> 45 .limits[RAPL_DOMAIN_PACKAGE] = 2, 46 .limits[RAPL_DOMAIN_PLATFORM] = 2, 49 /* Handles CPU hotplug on multi-socket systems. 54 * per-domain level. 66 cpumask_set_cpu(cpu, &rp->cpumask); in rapl_cpu_online() 79 cpumask_clear_cpu(cpu, &rp->cpumask); in rapl_cpu_down_prep() 80 lead_cpu = cpumask_first(&rp->cpumask); in rapl_cpu_down_prep() [all …]
|
| D | intel_rapl_common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Common code for Intel Running Average Power Limit (RAPL) support. 27 #include <asm/intel-family.h> 79 #define NR_RAW_PRIMITIVES (NR_RAPL_PRIMITIVES - 2) 172 return -EIO; in get_energy_counter() 186 struct rapl_package *rp = rd->rp; in release_zone() 191 if (rd->id == RAPL_DOMAIN_PACKAGE) { in release_zone() 193 rp->domains = NULL; in release_zone() 205 if (rd->rpl[i].name) in find_nr_power_limit() 216 if (rd->state & DOMAIN_STATE_BIOS_LOCKED) in set_domain_enable() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_rps_types.h | 2 * SPDX-License-Identifier: MIT 46 * dev_priv->irq_lock 62 * Soft limits are those which are used for the dynamic reclocking done 64 * lighter loads). Hard limits are those imposed by the hardware. 78 u8 efficient_freq; /* AKA RPe. Pre-determined balanced frequency */ 79 u8 rp1_freq; /* "less than" RP0 power/freqency */ 80 u8 rp0_freq; /* Non-overclocked max frequency. */ 93 } power; member
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| 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 …]
|