/Linux-v6.1/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 | 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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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). 358 * struct power_supply_maintenance_charge_table - setting for maintenace charging 360 * the charge of the battery full as current is consumed after full charging. [all …]
|
/Linux-v6.1/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
|
D | max8997.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * max8997.h - Driver for the Maxim 8997/8966 5 * Copyright (C) 2009-2010 Samsung Electrnoics 55 MAX8997_CHARGER_CV, /* control MBCCV of MBCCTRL3 */ 75 * @init_data: array of max8997_muic_reg_data 76 * used for initializing registers of MAX8997 MUIC device 77 * @num_init_data: array size of init_data 88 * h/w path of COMP2/COMN1 on CONTROL1 register. 113 * @pwm_channel_id: channel number of PWM device 123 * [0 - 3]: valid pattern number [all …]
|
/Linux-v6.1/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
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dp_trace.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 * 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 30 memset(&link->dp_trace, 0, sizeof(link->dp_trace)); in dp_trace_init() 31 link->dp_trace.is_initialized = true; in dp_trace_init() [all …]
|
D | Makefile | 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 22 # Makefile for the link sub-component of DAL. 23 # It abstracts the control and status of back end pipe such as DIO, HPO, DPIA,
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dpcd.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 * 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 #define END_ADDRESS(start, size) (start + size - 1) 35 #define ADDRESS_RANGE_SIZE(start, end) (end - start + 1) argument [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn10/ |
D | dcn10_fpu.c | 1 // SPDX-License-Identifier: MIT 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 35 * compilation flags and the use of kernel_fpu_begin/end functions; ideally, we [all …]
|
/Linux-v6.1/drivers/power/supply/ |
D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #define RT9455_DRIVER_NAME "rt9455-charger" 166 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 170 * Each array initialised below shows the possible real-world values for a 171 * group of bits belonging to RT9455 registers. The arrays are sorted in 172 * ascending order. The index of each real-world value represents the value 173 * that is encoded in the group of bits belonging to RT9455 registers. 181 * When the charger is in charge mode, REG02[7:2] represent battery regulation 250 * Iterate through each element of the 'tbl' array until an element whose value 251 * is greater than v is found. Return the index of the respective element, [all …]
|
D | max8998_charger.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8998_charger.c - Power supply consumer driver for the Maxim 8998/LP3974 5 // Copyright (C) 2009-2010 Samsung Electronics 15 #include <linux/mfd/max8998-private.h> 24 POWER_SUPPLY_PROP_PRESENT, /* the presence of battery */ 35 struct i2c_client *i2c = max8998->iodev->i2c; in max8998_battery_get_property() 45 val->intval = 0; in max8998_battery_get_property() 47 val->intval = 1; in max8998_battery_get_property() 55 val->intval = 1; in max8998_battery_get_property() 57 val->intval = 0; in max8998_battery_get_property() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_subvp_state.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 77 * @inst: Hardware instance of vertical interrupt. 129 * struct dmub_subvp_vblank_drr_info - Store DRR state when handling [all …]
|
/Linux-v6.1/include/linux/platform_data/ |
D | lp8727.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 37 * @eoc_level : end of charge level setting 47 * @get_batt_present : check battery status - exists or not
|
/Linux-v6.1/include/drm/ |
D | drm_modeset_lock.h | 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 27 #include <linux/types.h> /* stackdepot.h is not self-contained */ 34 * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx) [all …]
|
/Linux-v6.1/drivers/gpu/drm/radeon/ |
D | radeon_mn.c | 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the 9 * distribute, sub license, and/or sell copies of the Software, and to 13 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 18 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 23 * of the Software. 40 * radeon_mn_invalidate - callback to notify about mm change [all …]
|
/Linux-v6.1/Documentation/mhi/ |
D | topology.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------- 15 which is in charge of managing the physical link between the host and device. 20 Below are the roles of the MHI controller driver: 27 * Initiates suspend and resume power management operations of the device. 30 ---------- 32 MHI device is the logical device which binds to a maximum of two MHI channels 33 for bi-directional communication. Once MHI is in powered on state, the MHI 36 couple of channels. 43 ---------- [all …]
|