| /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 …]
|
| H A D | asus-armoury.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * that are present in many gaming and some non-gaming ASUS laptops. 31 #include <linux/platform_data/x86/asus-wmi.h> 36 #include "asus-armoury.h" 39 #define ASUS_NB_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C" 47 /* New modes for devices with 3 mini-led mode types */ 52 /* Power tunable attribute name defines */ 118 kobject_uevent(&asus_armoury.fw_attr_dev->kobj, KOBJ_CHANGE); in asus_set_reboot_and_signal_event() 130 return !strcmp(attr->attr.name, "gpu_mux_mode") || in asus_bios_requires_reboot() 131 !strcmp(attr->attr.name, "panel_hd_mode"); in asus_bios_requires_reboot() [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 | 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 | 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/drivers/accel/ivpu/ |
| H A D | ivpu_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-2025 Intel Corporation 60 …M_DESC(sched_mode, "Scheduler mode: -1 - Use default scheduler, 0 - Use OS scheduler (supported on… 72 struct ivpu_user_limits *limits; in ivpu_user_limits_alloc() local 74 limits = kzalloc_obj(*limits); in ivpu_user_limits_alloc() 75 if (!limits) in ivpu_user_limits_alloc() 76 return ERR_PTR(-ENOMEM); in ivpu_user_limits_alloc() 78 kref_init(&limits->ref); in ivpu_user_limits_alloc() 79 atomic_set(&limits->db_count, 0); in ivpu_user_limits_alloc() 80 limits->vdev = vdev; in ivpu_user_limits_alloc() [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> 9 #include <linux/adi-axi-common.h> 12 #include <linux/clk-provider.h> 66 struct axi_clkgen_limits limits; member 132 static void axi_clkgen_calc_params(const struct axi_clkgen_limits *limits, in axi_clkgen_calc_params() argument 151 d_min = max(DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params() 152 d_max = min(fin / limits->fpfd_min, 80); in axi_clkgen_calc_params() 155 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params() [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/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/ABI/testing/ |
| H A D | sysfs-class-platform-profile | 1 What: /sys/class/platform-profile/platform-profile-X/name 8 What: /sys/class/platform-profile/platform-profile-X/choices 11 Description: This file contains a space-separated list of profiles supported 14 Drivers must use the following standard profile-names: 17 low-power Low power consumption 20 balanced Balance between low power consumption 22 balanced-performance Balance between performance and low 23 power consumption with a slight bias 26 max-power Higher performance operation that may exceed 27 internal battery draw limits when on AC power [all …]
|
| H A D | sysfs-class-net-cdc_ncm | 10 as-is, without any padding, and are terminated with a 14 back-to-back without any interleaving short USB 50 The actual limits are device dependent. See 66 The actual limits are device dependent. See 82 The following read-only attributes all represent fields of the 87 quoted from table 6-3 of CDC NCM: "NTB Parameter Structure". 94 - Bit 0: 16-bit NTB supported (set to 1) 95 - Bit 1: 32-bit NTB supported 96 - Bits 2 – 15: reserved (reset to zero; must be ignored by host) 127 be a power of 2, and shall be at least 4. [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/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 …]
|
| H A D | smu13_driver_if_v13_0_0.h | 181 SVI_PSI_6, // Power down to 0V (voltage regulation disabled) 503 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 506 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 509 uint16_t FoptimalDc; //Foptimal frequency in DC power mode. 510 uint16_t FoptimalAc; //Foptimal frequency in AC power mode. 875 uint16_t Power[PPT_THROTTLER_COUNT][POWER_SOURCE_COUNT]; // Watts member 947 …uint8_t TotalPowerConfig; // Determines how PMFW calculates the power. Use defines from Pw… 952 // SECTION: Infrastructure Limits 953 …itAc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to control to in AC mode. M… 954 …tDc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to control to in DC mode. M… [all …]
|
| H A D | smu13_driver_if_v13_0_7.h | 182 SVI_PSI_6, // Power down to 0V (voltage regulation disabled) 504 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 507 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 510 uint16_t FoptimalDc; //Foptimal frequency in DC power mode. 511 uint16_t FoptimalAc; //Foptimal frequency in AC power mode. 884 uint16_t Power[PPT_THROTTLER_COUNT][POWER_SOURCE_COUNT]; // Watts member 956 …uint8_t TotalPowerConfig; // Determines how PMFW calculates the power. Use defines from Pw… 961 // SECTION: Infrastructure Limits 962 …itAc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to control to in AC mode. M… 963 …tDc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to control to in DC mode. M… [all …]
|
| /linux/drivers/acpi/ |
| H A D | fan.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * ACPI fan device IDs are shared between the fan driver and the device power 14 #include <linux/limits.h> 35 u64 power; member 60 /* A value of 0 means that trippoint-related functions are not supported */ 71 * acpi_fan_speed_valid - Check if fan speed value is valid 77 * implementations return a value larger than the 32-bit integer value defined by 89 * acpi_fan_power_valid - Check if fan power value is valid 90 * @power: Power value returned by the ACPI firmware 92 * Check if the fan power value returned by the ACPI firmware is valid. [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | eeprom.h | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 22 #define AR5K_EEPROM_PCIE_OFFSET 0x02 /* Contains offset to PCI-E infos */ 26 #define AR5K_EEPROM_MAGIC_VALUE 0x5aa5 /* Default - found on EEPROM */ 39 #define AR5K_EEPROM_SIZE_LOWER 0x1b /* size info -- lower */ 40 #define AR5K_EEPROM_SIZE_UPPER 0x1c /* size info -- upper */ 47 #define AR5K_EEPROM_INFO_MAX (0x400 - AR5K_EEPROM_INFO_BASE) 60 #define AR5K_EEPROM_VERSION_4_3 0x4003 /* power calibration changes */ 79 #define AR5K_EEPROM_HDR_T_5GHZ_DBM(_v) (((_v) >> 4) & 0x7f) /* Max turbo power for < 2W power consu… 129 #define AR5K_EEPROM_FCC_MID_EN (((_v) >> 6) & 0x1) /* 5.47-5.7GHz supported */ [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 …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 79 * Acquire il->lock before calling this function ! 83 * il4965_tx_queue_set_status - (optionally) start Tx/Cmd queue 84 * @tx_fifo_id: Tx DMA/FIFO channel (range 0-7) that the queue will feed 87 * NOTE: Acquire il->lock before calling this function ! 181 * The first queue used for block-ack aggregation is #7 (4965 only). 182 * All block-ack aggregation queues should map to Tx DMA/FIFO channel 7. 194 #define IL49_RTC_INST_SIZE (IL49_RTC_INST_UPPER_BOUND - \ [all …]
|
| /linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
| H A D | legacy_dpm.c | 33 ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle)) 36 ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle)) 39 ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle)) 42 ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps))) 45 ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle)) 48 …((adev)->powerplay.pp_funcs->check_state_equal((adev)->powerplay.pp_handle, (cps), (rps), (equal))) 105 rps == adev->pm.dpm.current_ps ? " c" : "", in amdgpu_dpm_dbg_print_ps_status() 106 rps == adev->pm.dpm.requested_ps ? " r" : "", in amdgpu_dpm_dbg_print_ps_status() 107 rps == adev->pm.dpm.boot_ps ? " b" : ""); in amdgpu_dpm_dbg_print_ps_status() 114 if (adev->powerplay.pp_funcs->print_power_state == NULL) in amdgpu_pm_print_power_states() [all …]
|