/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-dptf | 4 Contact: linux-acpi@vger.kernel.org 6 (RO) The charger type - Traditional, Hybrid or NVDC. 11 Contact: linux-acpi@vger.kernel.org 19 Contact: linux-acpi@vger.kernel.org 27 Contact: linux-acpi@vger.kernel.org 33 - 0x00 = DC 34 - 0x01 = AC 35 - 0x02 = USB 36 - 0x03 = Wireless Charger 43 Contact: linux-acpi@vger.kernel.org [all …]
|
/linux/drivers/thermal/ |
H A D | devfreq_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2014-2015 ARM Limited 9 * - If OPPs are added or removed after devfreq cooling has 28 * struct devfreq_cooling_device - Devfreq cooling device 67 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_max_state() 69 *state = dfc->max_state; in devfreq_cooling_get_max_state() 77 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_get_cur_state() 79 *state = dfc->cooling_state; in devfreq_cooling_get_cur_state() 87 struct devfreq_cooling_device *dfc = cdev->devdata; in devfreq_cooling_set_cur_state() 88 struct devfreq *df = dfc->devfreq; in devfreq_cooling_set_cur_state() [all …]
|
H A D | cpufreq_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2012-2018 Linaro Limited. 29 * Cooling state <-> CPUFreq frequency 37 * level 0 --> 1st Max Freq 38 * level 1 --> 2nd Max Freq 43 * struct time_in_idle - Idle time stats 53 * struct cpufreq_cooling_device - data for cooling device with cpufreq 98 table = em_perf_state_from_pd(cpufreq_cdev->em); in get_level() 99 for (i = cpufreq_cdev->max_level - 1; i >= 0; i--) { in get_level() 105 return cpufreq_cdev->max_level - i - 1; in get_level() [all …]
|
/linux/arch/x86/events/amd/ |
H A D | power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Performance events - AMD Processor Power Reporting Mechanism 16 /* Event code: LSB 8 bits, passed in attr->config any other bit is reserved. */ 45 struct hw_perf_event *hwc = &event->hw; in event_update() 49 prev_pwr_acc = hwc->pwr_acc; in event_update() 50 prev_ptsc = hwc->ptsc; in event_update() 56 * final value (delta) is micro-Watts. Then add it to the event count. in event_update() 60 delta -= prev_pwr_acc; in event_update() 62 delta = new_pwr_acc - prev_pwr_acc; in event_update() 65 tdelta = new_ptsc - prev_ptsc; in event_update() [all …]
|
/linux/Documentation/hwmon/ |
H A D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 25 ----------- 37 available through debugfs are the serial number, firmware version and power-on 39 temperature curves directly from the pump. If it's not connected, the fan-related 65 filled with coolant. Pump RPM and flow can be set to enhance on-device calculations, 87 ----------- 93 ------------- 96 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius) 97 temp[1-8]_offset Temperature sensor correction offset (in millidegrees Celsius) [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | sff,sfp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Small Form Factor (SFF) Committee Small Form-factor Pluggable (SFP) 11 - Russell King <linux@armlinux.org.uk> 16 - sff,sfp # for SFP modules 17 - sff,sff # for soldered down SFF modules 19 i2c-bus: 24 maximum-power-milliwatt: 29 allowable by a module in the slot, in milli-Watts. Presently, modules can [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_mon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1), 43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1), 44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1), 49 SENSOR(IN_1V0, "1.0V supply", IN, -1), 50 SENSOR(IN_1V2, "1.2V supply", IN, -1), 51 SENSOR(IN_1V8, "1.8V supply", IN, -1), 52 SENSOR(IN_2V5, "2.5V supply", IN, -1), 53 SENSOR(IN_3V3, "3.3V supply", IN, -1), [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_mon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1), 43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1), 44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1), 49 SENSOR(IN_1V0, "1.0V supply", IN, -1), 50 SENSOR(IN_1V2, "1.2V supply", IN, -1), 51 SENSOR(IN_1V8, "1.8V supply", IN, -1), 52 SENSOR(IN_2V5, "2.5V supply", IN, -1), 53 SENSOR(IN_3V3, "3.3V supply", IN, -1), [all …]
|
/linux/Documentation/driver-api/thermal/ |
H A D | power_allocator.rst | 6 ----------- 20 -------------- 23 Proportional-Integral-Derivative controller (PID controller) with 29 - e = desired_temperature - current_temperature 30 - err_integral is the sum of previous errors 31 - diff_err = e - previous_error 39 | +----------+ +---+ 40 | +----->| diff_err |-->| X |------+ 41 | | +----------+ +---+ | 47 +---+ | +-------+ +---+ +---+ +---+ +----------+ [all …]
|
/linux/drivers/hwmon/ |
H A D | ibmpowernv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/hwmon-sysfs.h> 46 #define INVALID_INDEX (-1U) 53 "ibm,opal-sensor-cooling-fan", 54 "ibm,opal-sensor-amb-temp", 55 "ibm,opal-sensor-power-supply", 56 "ibm,opal-sensor-power" 60 const char *name; /* matches property 'sensor-type' */ 105 if (sdata->sgrp_data && !sdata->sgrp_data->enable) in show_sensor() 106 return -ENODATA; in show_sensor() [all …]
|
H A D | hp-wmi-sensors.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * hwmon driver for HP (and some HP Compaq) business-class computers that 9 * [1] Hewlett-Packard Development Company, L.P., 12 * [2] Hewlett-Packard Development Company, L.P., 16 * "linuxhw/ACPI - Collect ACPI table dumps", 2018. [Online]. 18 * [4] P. Rohár, "bmfdec - Decompile binary MOF file (BMF) from WMI buffer", 20 * [5] Microsoft Corporation, "Driver-Defined WMI Data Items", 2017. [Online]. 21 … Available: https://learn.microsoft.com/en-us/windows-hardware/drivers/kernel/driver-defined-w… 35 #define HP_WMI_EVENT_GUID "95F24279-4D7B-4334-9387-ACCDC67EF61C" 36 #define HP_WMI_NUMERIC_SENSOR_GUID "8F1F6435-9F42-42C8-BADC-0E9424F20C9A" [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-energy.rst | 6 --------------- 25 please refer to its documentation (see Documentation/power/energy-model.rst). 29 ----------------------------- 32 - energy = [joule] (resource like a battery on powered devices) 33 - power = energy/time = [joule/second] = [watt] 39 -------------------- 45 ----------- 49 optimization objective to the current performance-only objective for the 50 scheduler. This alternative considers two objectives: energy-efficiency and 54 implications of its decisions rather than blindly applying energy-saving [all …]
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | yellow_carp_ppt.c | 153 struct smu_table_context *smu_table = &smu->smu_table; in yellow_carp_init_smc_tables() 154 struct smu_table *tables = smu_table->tables; in yellow_carp_init_smc_tables() 163 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in yellow_carp_init_smc_tables() 164 if (!smu_table->clocks_table) in yellow_carp_init_smc_tables() 167 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in yellow_carp_init_smc_tables() 168 if (!smu_table->metrics_table) in yellow_carp_init_smc_tables() 170 smu_table->metrics_time = 0; in yellow_carp_init_smc_tables() 172 smu_table->watermarks_table = kzalloc(sizeof(Watermarks_t), GFP_KERNEL); in yellow_carp_init_smc_tables() 173 if (!smu_table->watermarks_table) in yellow_carp_init_smc_tables() 176 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v2_1); in yellow_carp_init_smc_tables() [all …]
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | hal.h | 20 /*--------------------------------------------------------------------------- 32 All values are in the range 0..255 (ie they are 8-bit values) 33 ---------------------------------------------------------------------------*/ 91 /* How many frames until we start a-mpdu TX session */ 99 /* Init/De-Init */ 438 /* 20/40MHZ offset-HIGH 40/80MHZ offset HIGH */ 493 /* Added for BT-AMP support */ 496 /* Added for BT-AMP support */ 574 /* BT-AMP Case */ 600 /* BT-AMP events type */ [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) 549 … //Input : ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN: 1-StrobeMode, 0-PerformanceMode 815 // Following function ENABLE sub-function will be used by driver when TMDS/HDMI/LVDS is used, disab… [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 538 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… [all …]
|