| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | richtek,rt9455.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 25 richtek,output-charge-current: 29 richtek,end-of-charge-percentage: 32 percent of the output charge current. When the current in constant-voltage phase drops 33 below output_charge_current x end-of-charge-percentage, charge is terminated. 35 richtek,battery-regulation-voltage: [all …]
|
| D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 13 The battery charger of the multifunction device RT5033 has to be instantiated 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: [all …]
|
| D | maxim,max14577.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB 22 - maxim,max14577-charger 23 - maxim,max77836-charger 25 maxim,constant-uvolt: 32 maxim,eoc-uamp: 34 Current in uA for End-Of-Charge mode. [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | rt9455_charger.txt | 4 - compatible: it should contain one of the following: 6 - reg: integer, i2c address of the device. 7 - interrupts: interrupt mapping for GPIO IRQ, it should be 9 - richtek,output-charge-current: integer, output current from the charger to the 11 - richtek,end-of-charge-percentage: integer, percent of the output charge current. 12 When the current in constant-voltage phase drops 13 below output_charge_current x end-of-charge-percentage, 14 charge is terminated. 15 - richtek,battery-regulation-voltage: integer, maximum battery voltage in uV. 16 - richtek,boost-output-voltage: integer, maximum voltage provided to consumer [all …]
|
| D | qcom_smbb.txt | 1 Qualcomm Switch-Mode Battery Charger and Boost 4 - compatible: 7 Description: Must be one of: 8 - "qcom,pm8941-charger" 10 - reg: 12 Value type: <prop-encoded-array> 13 Description: Base address of registers for SMBB block 15 - interrupts: 17 Value type: <prop-encoded-array> 18 Description: The format of the specifier is defined by the binding document [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | page_counter.c | 1 // SPDX-License-Identifier: GPL-2.0 23 if (!c->parent) in propagate_protected_usage() 26 min = READ_ONCE(c->min); in propagate_protected_usage() 27 if (min || atomic_long_read(&c->min_usage)) { in propagate_protected_usage() 29 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage() 30 delta = protected - old_protected; in propagate_protected_usage() 32 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage() 35 low = READ_ONCE(c->low); in propagate_protected_usage() 36 if (low || atomic_long_read(&c->low_usage)) { in propagate_protected_usage() 38 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | page_counter.c | 1 // SPDX-License-Identifier: GPL-2.0 22 if (!c->parent) in propagate_protected_usage() 25 protected = min(usage, READ_ONCE(c->min)); in propagate_protected_usage() 26 old_protected = atomic_long_read(&c->min_usage); in propagate_protected_usage() 28 old_protected = atomic_long_xchg(&c->min_usage, protected); in propagate_protected_usage() 29 delta = protected - old_protected; in propagate_protected_usage() 31 atomic_long_add(delta, &c->parent->children_min_usage); in propagate_protected_usage() 34 protected = min(usage, READ_ONCE(c->low)); in propagate_protected_usage() 35 old_protected = atomic_long_read(&c->low_usage); in propagate_protected_usage() 37 old_protected = atomic_long_xchg(&c->low_usage, protected); in propagate_protected_usage() [all …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/wm8350/ |
| D | supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC 22 * R168 (0xA8) - Battery Charger Control 1 39 * R169 (0xA9) - Battery Charger Control 2 54 * R170 (0xAA) - Battery Charger Control 3 84 #define WM8350_CHG_EOC_mA(x) (((x - 10) & 0x7) << 10) 108 /* charger state machine policy - set in machine driver */ 109 int eoc_mA; /* end of charge current (mA) */ 110 int charge_mV; /* charge voltage */ 111 int fast_limit_mA; /* fast charge current limit */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/wm8350/ |
| D | supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * supply.h -- Power Supply Driver for Wolfson WM8350 PMIC 22 * R168 (0xA8) - Battery Charger Control 1 39 * R169 (0xA9) - Battery Charger Control 2 54 * R170 (0xAA) - Battery Charger Control 3 84 #define WM8350_CHG_EOC_mA(x) (((x - 10) & 0x7) << 10) 108 /* charger state machine policy - set in machine driver */ 109 int eoc_mA; /* end of charge current (mA) */ 110 int charge_mV; /* charge voltage */ 111 int fast_limit_mA; /* fast charge current limit */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | max14577.txt | 1 Maxim MAX14577/77836 Multi-Function Device 3 MAX14577 is a Multi-Function Device with Micro-USB Interface Circuit, Li+ 8 For the description of Fuel Gauge low SOC alert interrupt see: 13 - compatible : Must be "maxim,max14577" or "maxim,max77836". 14 - reg : I2C slave address for the max14577 chip (0x25 for max14577/max77836) 15 - interrupts : IRQ line for the chip. 19 - charger : 22 - compatible : "maxim,max14577-charger" 23 or "maxim,max77836-charger" 24 - maxim,fast-charge-uamp : Current in uA for Fast Charge; [all …]
|
| /kernel/linux/linux-5.10/net/core/ |
| D | skmsg.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017 - 2018 Covalent IO, Inc. http://covalent.io */ 14 if (msg->sg.end > msg->sg.start && in sk_msg_try_coalesce_ok() 15 elem_first_coalesce < msg->sg.end) in sk_msg_try_coalesce_ok() 18 if (msg->sg.end < msg->sg.start && in sk_msg_try_coalesce_ok() 19 (elem_first_coalesce > msg->sg.start || in sk_msg_try_coalesce_ok() 20 elem_first_coalesce < msg->sg.end)) in sk_msg_try_coalesce_ok() 30 u32 osize = msg->sg.size; in sk_msg_alloc() 33 len -= msg->sg.size; in sk_msg_alloc() 40 ret = -ENOMEM; in sk_msg_alloc() [all …]
|
| /kernel/linux/linux-6.6/net/core/ |
| D | skmsg.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017 - 2018 Covalent IO, Inc. http://covalent.io */ 15 if (msg->sg.end > msg->sg.start && in sk_msg_try_coalesce_ok() 16 elem_first_coalesce < msg->sg.end) in sk_msg_try_coalesce_ok() 19 if (msg->sg.end < msg->sg.start && in sk_msg_try_coalesce_ok() 20 (elem_first_coalesce > msg->sg.start || in sk_msg_try_coalesce_ok() 21 elem_first_coalesce < msg->sg.end)) in sk_msg_try_coalesce_ok() 31 u32 osize = msg->sg.size; in sk_msg_alloc() 34 len -= msg->sg.size; in sk_msg_alloc() 41 ret = -ENOMEM; in sk_msg_alloc() [all …]
|
| /kernel/linux/linux-6.6/include/linux/mfd/wm831x/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ 35 int fast_ilim; /** Fast charge current limit, in mA */ 36 int timeout; /** Charge cycle timeout, in minutes */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 44 * support of the devices. This allows MFPs on the device to be 46 * allowing voltage transitions without the expense of an access over
|
| /kernel/linux/linux-5.10/include/linux/mfd/wm831x/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ 35 int fast_ilim; /** Fast charge current limit, in mA */ 36 int timeout; /** Charge cycle timeout, in minutes */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 44 * support of the devices. This allows MFPs on the device to be 46 * allowing voltage transitions without the expense of an access over
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
| D | i915_random.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 8 * and/or sell copies of the Software, and to permit persons to whom the 12 * paragraph) shall be included in all copies or substantial portions of the 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 56 /* Fisher-Yates shuffle courtesy of Knuth */ in i915_prandom_shuffle() 57 while (--count) { in i915_prandom_shuffle() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
| D | i915_random.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 8 * and/or sell copies of the Software, and to permit persons to whom the 12 * paragraph) shall be included in all copies or substantial portions of the 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 56 /* Fisher-Yates shuffle courtesy of Knuth */ in i915_prandom_shuffle() 57 while (--count) { in i915_prandom_shuffle() [all …]
|
| /kernel/linux/linux-6.6/LICENSES/dual/ |
| D | Apache-2.0 | 1 Valid-License-Identifier: Apache-2.0 2 SPDX-URL: https://spdx.org/licenses/Apache-2.0.html 3 Usage-Guide: 4 Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used 5 for dual-licensed files where the other license is GPL2 compatible. 6 If you end up using this it MUST be used together with a GPL2 compatible 11 SPDX-License-Identifier: Apache-2.0 12 License-Text: 25 distribution as defined by Sections 1 through 9 of this document. 30 "Legal Entity" shall mean the union of the acting entity and all other [all …]
|
| /kernel/linux/linux-5.10/LICENSES/dual/ |
| D | Apache-2.0 | 1 Valid-License-Identifier: Apache-2.0 2 SPDX-URL: https://spdx.org/licenses/Apache-2.0.html 3 Usage-Guide: 4 Do NOT use. The Apache-2.0 is not GPL2 compatible. It may only be used 5 for dual-licensed files where the other license is GPL2 compatible. 6 If you end up using this it MUST be used together with a GPL2 compatible 11 SPDX-License-Identifier: Apache-2.0 12 License-Text: 25 distribution as defined by Sections 1 through 9 of this document. 30 "Legal Entity" shall mean the union of the acting entity and all other [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_smi_events.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 3 * Copyright 2020-2022 Advanced Micro Devices, Inc. 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 9 * and/or sell copies of the Software, and to permit persons to whom the 13 * all copies or substantial portions of the Software. 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 23 * µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise 99 /* Properties of type `int' */ 173 /* Properties of type `const char *' */ 226 /* Run-time specific power supply configuration */ 241 /* Description of power supply */ 264 * of power supply. If this happens during device probe then it must 265 * not access internal data of device (because probe did not end). 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 361 * the charge of the battery full as current is consumed after full charging. [all …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/ |
| D | rt5033-private.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 109 /* RT5033 charger property - model, manufacturer */ 115 * RT5033 charger fast-charge current lmits (as in CHGCTRL1 register), 155 /* RT5033 charger constant charge voltage (as in CHGCTRL2 register), uV */ 160 /* RT5033 charger pre-charge current limits (as in CHGCTRL4 register), uA */ 165 /* RT5033 charger fast-charge current (as in CHGCTRL5 register), uA */ 171 * RT5033 charger const-charge end of charger current ( 181 * RT5033 charger pre-charge threshold volt limits
|
| /kernel/linux/linux-6.6/arch/m68k/math-emu/ |
| D | fp_trig.h | 3 fp_trig.h: floating-point math routines for the Linux-m68k 6 Copyright (c) 1998 David Huggins-Daines. 8 I hereby give permission, free of charge, to copy, modify, and 26 is, an "exploded" version of the 96-bit extended fp format used by 29 they return a status code, which should end up in %d0, if all goes
|
| /kernel/linux/linux-5.10/arch/m68k/math-emu/ |
| D | fp_trig.h | 3 fp_trig.h: floating-point math routines for the Linux-m68k 6 Copyright (c) 1998 David Huggins-Daines. 8 I hereby give permission, free of charge, to copy, modify, and 26 is, an "exploded" version of the 96-bit extended fp format used by 29 they return a status code, which should end up in %d0, if all goes
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ring_mux.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 8 * and/or sell copies of the Software, and to permit persons to whom the 12 * all copies or substantial portions of the Software. 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 34 * struct amdgpu_mux_entry - the entry recording software rings copying information. 37 * @end_ptr_in_hw_ring: last end location copied to in the hardware ring. [all …]
|