Searched +full:charging +full:- +full:algorithm (Results 1 – 19 of 19) sorted by relevance
/linux-6.12.1/drivers/power/supply/ |
D | ab8500_chargalg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 6 * Charging algorithm driver for AB8500 34 #include "ab8500-bm.h" 35 #include "ab8500-chargalg.h" 40 /* End-of-charge criteria counter */ 51 * full charging cycle in the case where maintenance charging 169 * struct ab8500_charge_curr_maximization - Charger maximization parameters 171 * @current_iset_ua: the charging current used at this moment 178 * @level: tells in how many steps the charging current has been [all …]
|
D | ab8500_fg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson AB 2012 5 * Main and Back-up battery management driver. 7 * Note: Backup battery management is required in case of Li-Ion battery and not 37 #include <linux/fixp-arith.h> 39 #include "ab8500-bm.h" 49 /* Currents higher than -500mA (dissipating) will make compensation unstable */ 50 #define IGNORE_VBAT_HIGHCUR -500000 63 * struct ab8500_fg_interrupts - ab8500 fg interrupts 140 bool charging; member [all …]
|
D | ab8500-bm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds 275 * @accu_charging: FG accumulation time while charging 317 * struct ab8500_charger_maximization - struct used by the board config. 331 * struct ab8500_bm_capacity_levels - ab8500 capacity level data 347 * struct ab8500_bm_charger_parameters - Charger specific parameters 361 * struct ab8500_bm_data - ab8500 battery management data 364 * @temp_interval_chg temperature measurement interval in s when charging 365 * @temp_interval_nochg temperature measurement interval in s when not charging 371 * @chg_unknown_bat flag to enable charging of unknown batteries [all …]
|
D | ab8500_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 36 #include "ab8500-bm.h" 37 #include "ab8500-chargalg.h" 94 /* Lowest charger voltage is 3.39V -> 0x4E */ 112 /* UsbLineStatus register - usb types */ 174 * struct ab8500_charger_interrupts - ab8500 interrupts 218 * struct ab8500_charger - ab8500 Charger device information 359 dev_dbg(di->dev, "SW Fallback: %d\n", fallback); in ab8500_enable_disable_sw_fallback() 361 if (is_ab8500(di->parent)) { in ab8500_enable_disable_sw_fallback() [all …]
|
D | bq24257_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 211 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq24257_field_read() 221 return regmap_field_write(bq->rmap_fields[field_id], val); in bq24257_field_write() 232 return idx - 1; in bq24257_find_idx() 273 return -ENODATA; in bq24257_get_input_current_limit() 275 val->intval = bq24257_iilimit_map[ret]; in bq24257_get_input_current_limit() 285 * while the charger auto-detection mechanism is active. In this in bq24257_set_input_current_limit() 286 * case we want to abort and go straight to the user-specified value. in bq24257_set_input_current_limit() 288 if (bq->iilimit_autoset_enable) in bq24257_set_input_current_limit() 289 cancel_delayed_work_sync(&bq->iilimit_setup_work); in bq24257_set_input_current_limit() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/power/supply/ |
D | stericsson,ab8500-chargalg.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: AB8500 Charging Algorithm 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 18 const: stericsson,ab8500-chargalg 20 monitored-battery: 29 - compatible [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-power-wilco | 1 What: /sys/class/power_supply/wilco-charger/charge_type 5 What charging algorithm to use: 19 Charging begins when level drops below 24 On Wilco device this mode is pre-configured in the factory 28 What: /sys/class/power_supply/wilco-charger/charge_control_start_threshold 35 What: /sys/class/power_supply/wilco-charger/charge_control_end_threshold
|
D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 14 Contact: linux-pm@vger.kernel.org 23 Contact: linux-pm@vger.kernel.org 32 Contact: linux-pm@vger.kernel.org 43 Contact: linux-pm@vger.kernel.org 61 used for discharging batteries, positive values for charging 66 Contact: linux-pm@vger.kernel.org 81 Contact: linux-pm@vger.kernel.org 94 read-only reporting, unless the 'online' state of the supply 101 used for discharging batteries, positive values for charging [all …]
|
/linux-6.12.1/include/linux/ |
D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 42 /* What algorithm is the charger using? */ 185 POWER_SUPPLY_TYPE_USB_DCP, /* Dedicated Charging Port */ 186 POWER_SUPPLY_TYPE_USB_CDP, /* Charging Downstream Port */ 191 POWER_SUPPLY_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */ 198 POWER_SUPPLY_USB_TYPE_DCP, /* Dedicated Charging Port */ 199 POWER_SUPPLY_USB_TYPE_CDP, /* Charging Downstream Port */ 205 POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID, /* Apple Charging Method */ 226 /* Run-time specific power supply configuration */ 354 * struct power_supply_maintenance_charge_table - setting for maintenace charging [all …]
|
D | damon.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 /* Max priority score for DAMON-based operation schemes */ 25 return l + get_random_u32_below(r - l); in damon_rand() 29 * struct damon_addr_range - Represents an address region of [@start, @end). 39 * struct damon_region - Represents a monitoring target region. 48 * @nr_accesses is reset to zero for every &damon_attrs->aggr_interval and be 49 * increased for every &damon_attrs->sample_interval if an access to the region 55 * (1 in 10,000) that updated for every &damon_attrs->sample_interval in a 56 * manner similar to moving sum. By the algorithm, this value becomes 57 * @nr_accesses * 10000 for every &struct damon_attrs->aggr_interval. This can [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | stericsson,ab8500.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ST-Ericsson Analog Baseband AB8500 and AB8505 10 - Linus Walleij <linus.walleij@linaro.org> 13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit 14 handling power management (regulators), analog-to-digital conversion 15 (ADC), battery charging, fuel gauging of the battery, battery-backed 16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms 21 USB charging handling has changed, and it has an embedded USB-to-serial [all …]
|
/linux-6.12.1/include/linux/platform_data/ |
D | cros_ec_commands.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from 52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff 77 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */ 78 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */ 79 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */ 81 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */ 82 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */ 83 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */ 84 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */ [all …]
|
/linux-6.12.1/Documentation/admin-guide/cgroup-v1/ |
D | memory.rst | 18 we call it "memory cgroup". When you see git-log and source code, you'll 30 Memory-hungry applications can be isolated and limited to a smaller 42 Current Status: linux-2.6.34-mmotm(development version of 2010/April) 46 - accounting anonymous pages, file caches, swap caches usage and limiting them. 47 - pages are linked to per-memcg LRU exclusively, and there is no global LRU. 48 - optionally, memory+swap usage can be accounted and limited. 49 - hierarchical accounting 50 - soft limit 51 - moving (recharging) account at moving a task is selectable. 52 - usage threshold notifier [all …]
|
/linux-6.12.1/Documentation/admin-guide/laptops/ |
D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
/linux-6.12.1/fs/ |
D | fs-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fs/fs-writeback.c 14 * Additions for address_space-based writeback 28 #include <linux/backing-dev.h> 37 #define MIN_WRITEBACK_PAGES (4096UL >> (PAGE_SHIFT - 10)) 90 set_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_populated() 91 WARN_ON_ONCE(!wb->avg_write_bandwidth); in wb_io_lists_populated() 92 atomic_long_add(wb->avg_write_bandwidth, in wb_io_lists_populated() 93 &wb->bdi->tot_write_bandwidth); in wb_io_lists_populated() 100 if (wb_has_dirty_io(wb) && list_empty(&wb->b_dirty) && in wb_io_lists_depopulated() [all …]
|
/linux-6.12.1/block/ |
D | bfq-iosched.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * BFQ is a proportional-share I/O scheduler, with some extra 17 * low-latency capabilities. BFQ also supports full hierarchical 20 * limitations can be found in Documentation/block/bfq-iosched.rst. 22 * BFQ is a proportional-share storage-I/O scheduling algorithm based 23 * on the slice-by-slice service scheme of CFQ. But BFQ assigns 25 * time slices. The device is not granted to the in-service process 31 * B-WF2Q+, to schedule processes according to their budgets. More 33 * process/queue is assigned a user-configurable weight, and B-WF2Q+ 36 * B-WF2Q+, BFQ can afford to assign high budgets to I/O-bound [all …]
|
D | bfq-wf2q.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hierarchical Budget Worst-case Fair Weighted Fair Queueing 4 * (B-WF2Q+): hierarchical scheduling algorithm by which the BFQ I/O 9 #include "bfq-iosched.h" 12 * bfq_gt - compare two timestamps. 20 return (s64)(a - b) > 0; in bfq_gt() 25 struct rb_node *node = tree->rb_node; in bfq_root_active_entity() 34 return bfqq ? bfqq->ioprio_class - 1 : in bfq_class_idx() 35 BFQ_DEFAULT_GRP_CLASS - 1; in bfq_class_idx() 40 return bfqd->busy_queues[0] + bfqd->busy_queues[1] + in bfq_tot_busy_queues() [all …]
|
/linux-6.12.1/Documentation/admin-guide/ |
D | cgroup-v2.rst | 1 .. _cgroup-v2: 11 conventions of cgroup v2. It describes all userland-visible aspects 14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`. 19 1-1. Terminology 20 1-2. What is cgroup? 22 2-1. Mounting 23 2-2. Organizing Processes and Threads 24 2-2-1. Processes 25 2-2-2. Threads 26 2-3. [Un]populated Notification [all …]
|
/linux-6.12.1/mm/ |
D | slub.c | 1 // SPDX-License-Identifier: GPL-2.0 36 #include <linux/fault-inject.h> 43 #include <kunit/test-bug.h> 54 * 2. node->list_lock (Spinlock) 55 * 3. kmem_cache->cpu_slab->lock (Local lock) 73 * A. slab->freelist -> List of free objects in a slab 74 * B. slab->inuse -> Number of objects in use 75 * C. slab->objects -> Number of objects in slab 76 * D. slab->frozen -> frozen state 97 * - node partial slab: PG_Workingset && !frozen [all …]
|