/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | gpio-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/gpio-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 19 const: gpio-charger 21 charger-type: 23 - unknown 24 - battery 25 - ups [all …]
|
H A D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 11 - Markus Laine <markus.laine@fi.rohmeurope.com> 12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com> 15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion 16 secondary battery intended to be used in space-constraint equipment such 18 provides a Dual-source Battery Charger, two port BC1.2 detection and a 21 $ref: power-supply.yaml# [all …]
|
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
H A D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
H A D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
H A D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The bq256xx devices are a family of highly-integrated battery charge 15 management and system power management ICs for single cell Li-ion and Li- 19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf 20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf 21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf 22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf [all …]
|
H A D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Voltage/Current Regulators 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: [all …]
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | pids.rst | 6 -------- 9 new tasks from being fork()'d or clone()'d after a certain limit is reached. 11 Since it is trivial to hit the task limit without hitting any kmemcg limits in 17 ----- 21 number of processes currently in the cgroup is given by pids.current. 24 to have pids.current > pids.max. This can be done by either setting the limit to 25 be smaller than pids.current, or attaching enough processes to the cgroup such 26 that pids.current > pids.max. However, it is not possible to violate a cgroup 27 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the 30 To set a cgroup to have no limit, set pids.max to "max". This is the default for [all …]
|
/openbmc/linux/Documentation/power/regulator/ |
H A D | overview.rst | 2 Linux voltage and current regulator framework 9 voltage and current regulators. 13 regulators (where voltage output is controllable) and current sinks (where 14 current limit is controllable). 26 - Regulator 27 - Electronic device that supplies power to other devices. 29 some can control their output voltage and or current. 31 Input Voltage -> Regulator -> Output Voltage 34 - PMIC 35 - Power Management IC. An IC that contains numerous [all …]
|
H A D | consumer.rst | 103 4. Regulator Current Limit Control & Status (dynamic drivers) 107 current limit to match system operating points. e.g. LCD backlight driver can 108 change the current limit to vary the backlight brightness, USB drivers may want 109 to set the limit to 500mA when supplying power. 111 Consumers can control their supply current limit by calling:: 115 Where min_uA and max_uA are the minimum and maximum acceptable current limit in 120 when enabled, then the current limit changes instantly, otherwise the current 121 limit configuration changes and the current limit is physically set when the 124 A regulators current limit can be found by calling:: 129 get_current_limit() will return the current limit whether the regulator [all …]
|
/openbmc/linux/fs/quota/ |
H A D | quotaio_v2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * Definitions of magics and versions of current quota files 35 * (as it appears on disk) - the file is a radix tree whose leaves point 40 __le32 dqb_ihardlimit; /* absolute limit on allocated inodes */ 41 __le32 dqb_isoftlimit; /* preferred inode limit */ 42 __le32 dqb_curinodes; /* current # allocated inodes */ 43 __le32 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */ 44 __le32 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */ 45 __le64 dqb_curspace; /* current space occupied (in bytes) */ 46 __le64 dqb_btime; /* time limit for excessive disk use */ [all …]
|
H A D | quotaio_v1.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * their soft limit, it is reset when they go below their soft limit. 18 * (as it appears on disk) - the file is an array of these structures 22 __u32 dqb_bhardlimit; /* absolute limit on disk blks alloc */ 23 __u32 dqb_bsoftlimit; /* preferred limit on disk blks */ 24 __u32 dqb_curblocks; /* current block count */ 25 __u32 dqb_ihardlimit; /* absolute limit on allocated inodes */ 26 __u32 dqb_isoftlimit; /* preferred inode limit */ 27 __u32 dqb_curinodes; /* current # allocated inodes */ 29 /* below fields differ in length on 32-bit vs 64-bit architectures */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 11 - Kiran Gunda <kgunda@codeaurora.org> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/openbmc/linux/kernel/cgroup/ |
H A D | pids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * after a certain limit is reached. 8 * Since it is trivial to hit the task limit without hitting any kmemcg limits 15 * number of processes currently in the cgroup is given by pids.current. 17 * possible to have pids.current > pids.max. However, it is not possible to 18 * violate a cgroup policy through fork(). fork() will return -EAGAIN if forking 21 * To set a cgroup to have no limit, set pids.max to "max". This is the default 23 * stringent limit in the hierarchy is followed). 25 * pids.current tracks all child cgroup hierarchies, so parent/pids.current is 26 * a superset of parent/child/pids.current. [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | ina209.rst | 6 * Burr-Brown / Texas Instruments INA209 10 Addresses scanned: - 16 - Paul Hays <Paul.Hays@cattail.ca> 17 - Ira W. Snyder <iws@ovro.caltech.edu> 18 - Guenter Roeck <linux@roeck-us.net> 22 ----------- 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 27 calibration multiplier to scale the displayed current and power values. 31 ------------- 44 in0_max shunt voltage max alarm limit (mV) [all …]
|
H A D | max16065.rst | 11 Addresses scanned: - 15 http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf 21 Addresses scanned: - 25 http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf 31 Addresses scanned: - 35 http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf 41 Addresses scanned: - 45 http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf 47 Author: Guenter Roeck <linux@roeck-us.net> 51 ----------- [all …]
|
H A D | acbel-fsg032.rst | 1 Kernel driver acbel-fsg032 6 * ACBEL FSG032-00xG power supply. 11 ----------- 13 This driver supports ACBEL FSG032-00xG Power Supply. This driver 17 ----------- 19 This driver does not auto-detect devices. You will have to instantiate the 20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 24 ------------- 29 curr1_crit Critical maximum current. 30 curr1_crit_alarm Input current critical alarm. [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | energy_scale_utils.robot | 16 Get System Power Cap Limit 17 [Documentation] Get the allowed MAX and MIN power limit of the chassis. 19 # GET request of /redfish/v1/Chassis/chassis/EnvironmentMetrics | grep -A5 Power 38 # Current Limit State: No Active Power Limit 40 # Power Limit: 500 Watts 43 # The power limit setting can be obtained with the following: 55 Get DCMI Power Limit 56 [Documentation] Return the system's current DCMI power_limit 64 Set DCMI Power Limit And Verify 65 [Documentation] Set system power limit via IPMI DCMI command. [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | sc2731_charger.c | 1 // SPDX-License-Identifier: GPL-2.0 46 /* Default current definition (unit is mA) */ 64 u32 limit; member 69 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge() 72 regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_stop_charge() 80 /* Enable charger constant current mode */ in sc2731_charger_start_charge() 81 ret = regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge() 87 return regmap_update_bits(info->regmap, info->base + SC2731_CHG_CFG0, in sc2731_charger_start_charge() 92 u32 limit) in sc2731_charger_set_current_limit() argument 96 if (limit <= SC2731_CURRENT_LIMIT_100) in sc2731_charger_set_current_limit() [all …]
|
/openbmc/qemu/docs/devel/migration/ |
H A D | dirty-limit.rst | 1 Dirty limit 4 The dirty limit, short for dirty page rate upper limit, is a new capability 12 ------------------------------------------------------------------------------ 13 main --------------> throttle thread ------------> PREPARE(1) <-------- 17 -\ CALCULATE(2) | 21 \ SET PENALTY(3) ----- 22 -\ | 25 -> virtual CPU thread -------> ACCEPT PENALTY(4) 26 ------------------------------------------------------------------------------ 32 - PREPARE (1) [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | ratelimit.h | 10 * See the COPYING.LIB file in the top-level directory. 33 * in the current time slice, return 0 (i.e. no delay). Otherwise 40 static inline int64_t ratelimit_calculate_delay(RateLimit *limit, uint64_t n) in ratelimit_calculate_delay() argument 45 QEMU_LOCK_GUARD(&limit->lock); in ratelimit_calculate_delay() 46 if (!limit->slice_quota) { in ratelimit_calculate_delay() 50 assert(limit->slice_ns); in ratelimit_calculate_delay() 52 if (limit->slice_end_time < now) { in ratelimit_calculate_delay() 55 limit->slice_start_time = now; in ratelimit_calculate_delay() 56 limit->slice_end_time = now + limit->slice_ns; in ratelimit_calculate_delay() 57 limit->dispatched = 0; in ratelimit_calculate_delay() [all …]
|
/openbmc/qemu/system/ |
H A D | dirtylimit.c | 2 * Dirty page rate limit implementation code 10 * See the COPYING file in the top-level directory. 14 #include "qemu/main-loop.h" 15 #include "qapi/qapi-commands-migration.h" 95 vcpu_dirty_rate_stat->stat.rates[i].id = i; in vcpu_dirty_rate_stat_collect() 96 vcpu_dirty_rate_stat->stat.rates[i].dirty_rate = in vcpu_dirty_rate_stat_collect() 110 while (qatomic_read(&vcpu_dirty_rate_stat->running)) { in vcpu_dirty_rate_stat_thread() 126 DirtyRateVcpu *rates = vcpu_dirty_rate_stat->stat.rates; in vcpu_dirty_rate_get() 132 if (qatomic_read(&vcpu_dirty_rate_stat->running)) { in vcpu_dirty_rate_stat_start() 136 qatomic_set(&vcpu_dirty_rate_stat->running, 1); in vcpu_dirty_rate_stat_start() [all …]
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | amd_hsmp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 20 HSMP_SET_SOCKET_POWER_LIMIT, /* 05h Set the socket power limit */ 21 HSMP_GET_SOCKET_POWER_LIMIT, /* 06h Get current socket power limit */ 23 HSMP_SET_BOOST_LIMIT, /* 08h Set a core maximum frequency limit */ 25 HSMP_GET_BOOST_LIMIT, /* 0Ah Get current frequency limit */ 29 HSMP_SET_AUTO_DF_PSTATE, /* 0Eh Enable DF P-State Performance Boost algorithm */ 30 HSMP_GET_FCLK_MCLK, /* 0Fh Get FCLK and MEMCLK for current socket */ 31 HSMP_GET_CCLK_THROTTLE_LIMIT, /* 10h Get CCLK frequency limit in socket */ 35 HSMP_GET_DDR_BANDWIDTH, /* 14h Get theoretical maximum and current DDR Bandwidth */ 37 HSMP_GET_DIMM_TEMP_RANGE, /* 16h Get per-DIMM temperature range and refresh rate */ [all …]
|