| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| 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 …]
|
| D | bq24257.txt | 1 Binding for TI bq24250/bq24251/bq24257 Li-Ion Charger 4 - compatible: Should contain one of the following: 8 - reg: integer, i2c address of the device. 9 - interrupts: Interrupt mapping for GPIO IRQ (configure for both edges). Use in 10 conjunction with "interrupt-parent". 11 - ti,battery-regulation-voltage: integer, maximum charging voltage in uV. 12 - ti,charge-current: integer, maximum charging current in uA. 13 - ti,termination-current: integer, charge will be terminated when current in 14 constant-voltage phase drops below this value (in uA). 17 - pg-gpios: GPIO used for connecting the bq2425x device PG (Power Good) pin. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | gpio-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 18 #include <linux/power/gpio-charger.h> 58 struct gpio_mapping mapping; in set_charge_current_limit() local 59 int ndescs = gpio_charger->current_limit_gpios->ndescs; in set_charge_current_limit() 60 struct gpio_desc **gpios = gpio_charger->current_limit_gpios->desc; in set_charge_current_limit() 63 if (!gpio_charger->current_limit_map_size) in set_charge_current_limit() 64 return -EINVAL; in set_charge_current_limit() 66 for (i = 0; i < gpio_charger->current_limit_map_size; i++) { in set_charge_current_limit() 67 if (gpio_charger->current_limit_map[i].limit_ua <= val) in set_charge_current_limit() [all …]
|
| D | bq24190_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/extcon-provider.h> 32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */ 50 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */ 57 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */ 69 #define BQ24190_REG_CVC 0x04 /* Charge Voltage Control */ 78 #define BQ24190_REG_CTTC 0x05 /* Charge Term/Timer Control */ 152 * reads return the current value. In order to return the fault status 190 * The tables below provide a 2-way mapping for the value that goes in 191 * the register field and the real-world value that it represents. [all …]
|
| D | bq27xxx_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de> 19 * https://www.ti.com/product/bq27510-g1 20 * https://www.ti.com/product/bq27510-g2 21 * https://www.ti.com/product/bq27510-g3 22 * https://www.ti.com/product/bq27520-g1 23 * https://www.ti.com/product/bq27520-g2 24 * https://www.ti.com/product/bq27520-g3 25 * https://www.ti.com/product/bq27520-g4 26 * https://www.ti.com/product/bq27530-g1 [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | gpio-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> 18 #include <linux/power/gpio-charger.h> 58 struct gpio_mapping mapping; in set_charge_current_limit() local 59 int ndescs = gpio_charger->current_limit_gpios->ndescs; in set_charge_current_limit() 60 struct gpio_desc **gpios = gpio_charger->current_limit_gpios->desc; in set_charge_current_limit() 63 if (!gpio_charger->current_limit_map_size) in set_charge_current_limit() 64 return -EINVAL; in set_charge_current_limit() 66 for (i = 0; i < gpio_charger->current_limit_map_size; i++) { in set_charge_current_limit() 67 if (gpio_charger->current_limit_map[i].limit_ua <= val) in set_charge_current_limit() [all …]
|
| D | bq24190_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <linux/extcon-provider.h> 34 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */ 52 #define BQ24190_REG_CCC 0x02 /* Charge Current Control */ 59 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */ 71 #define BQ24190_REG_CVC 0x04 /* Charge Voltage Control */ 80 #define BQ24190_REG_CTTC 0x05 /* Charge Term/Timer Control */ 154 * reads return the current value. In order to return the fault status 183 * The tables below provide a 2-way mapping for the value that goes in 184 * the register field and the real-world value that it represents. [all …]
|
| D | bq27xxx_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de> 19 * https://www.ti.com/product/bq27510-g1 20 * https://www.ti.com/product/bq27510-g2 21 * https://www.ti.com/product/bq27510-g3 22 * https://www.ti.com/product/bq27520-g1 23 * https://www.ti.com/product/bq27520-g2 24 * https://www.ti.com/product/bq27520-g3 25 * https://www.ti.com/product/bq27520-g4 26 * https://www.ti.com/product/bq27530-g1 [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6dl-b1x5pv2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 // Copyright 2018-2021 General Electric Company 7 // Copyright 2018-2021 Collabora 9 #include <dt-bindings/input/input.h> 10 #include "imx6dl-qmx6.dtsi" 14 stdout-path = &uart3; 20 operating-points = < 25 fsl,soc-operating-points = < 26 /* ARM kHz SOC-PU uV */ 33 operating-points = < [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | page-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mm/page-writeback.c 25 #include <linux/backing-dev.h> 54 #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10)) 100 * The interval between `kupdate'-style writebacks 119 /* End of sysctl-exported parameters */ 137 unsigned long wb_dirty; /* per-wb counterparts */ 147 * reflect changes in current writeout rate. 155 .wb_completions = &(__wb)->completions 161 .wb_completions = &(__wb)->memcg_completions, \ [all …]
|
| D | memcontrol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* memcontrol.c - Memory Controller 19 * Charge lifetime sanitation 35 #include <linux/page-flags.h> 36 #include <linux/backing-dev.h> 107 * Cgroups above their limits are maintained in a RB-Tree, independent of 199 * limit reclaim to prevent infinite loops, if they ever occur. 204 /* for encoding cft->private value on file */ 236 return tsk_is_oom_victim(current) || fatal_signal_pending(current) || in task_is_dying() 237 (current->flags & PF_EXITING); in task_is_dying() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | page-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mm/page-writeback.c 26 #include <linux/backing-dev.h> 54 #define DIRTY_POLL_THRESH (128 >> (PAGE_SHIFT - 10)) 100 * The interval between `kupdate'-style writebacks 119 /* End of sysctl-exported parameters */ 137 unsigned long wb_dirty; /* per-wb counterparts */ 147 * reflect changes in current writeout rate. 155 .wb_completions = &(__wb)->completions 161 .wb_completions = &(__wb)->memcg_completions, \ [all …]
|
| D | memcontrol.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* memcontrol.c - Memory Controller 19 * Charge lifetime sanitation 38 #include <linux/page-flags.h> 39 #include <linux/backing-dev.h> 110 * Cgroups above their limits are maintained in a RB-Tree, independent of 202 * limit reclaim to prevent infinite loops, if they ever occur. 207 /* for encoding cft->private value on file */ 236 return tsk_is_oom_victim(current) || fatal_signal_pending(current) || in task_is_dying() 237 (current->flags & PF_EXITING); in task_is_dying() [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/cgroup-v1/ |
| D | memory.rst | 8 here but make sure to check the current code if you need a deeper 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. [all …]
|
| /kernel/linux/linux-6.6/include/drm/ |
| D | drm_gpuva_mgr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Permission is hereby granted, free of charge, to any person obtaining a 38 * enum drm_gpuva_flags - flags for struct drm_gpuva 51 * Flag indicating that the &drm_gpuva is a sparse mapping. 62 * struct drm_gpuva - structure to track a GPU VA mapping 64 * This structure represents a GPU VA mapping and is associated with a 76 * @flags: the &drm_gpuva_flags for this mapping 116 * @rb: structure containing data to store &drm_gpuvas in a rb-tree 120 * @rb: the rb-tree node 128 * through the rb-tree while doing modifications on the rb-tree [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| D | nouveau_svm.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 70 #define SVM_DBG(s,f,a...) NV_DEBUG((s)->drm, "svm: "f"\n", ##a) 71 #define SVM_ERR(s,f,a...) NV_WARN((s)->drm, "svm: "f"\n", ##a) 89 list_for_each_entry(ivmm, &svm->inst, head) { in nouveau_ivmm_find() 90 if (ivmm->inst == inst) in nouveau_ivmm_find() 97 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a) 99 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a) 111 args->va_start &= PAGE_MASK; in nouveau_svmm_bind() 112 args->va_end = ALIGN(args->va_end, PAGE_SIZE); in nouveau_svmm_bind() 115 if (args->reserved0 || args->reserved1) in nouveau_svmm_bind() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
| D | smu13_driver_if_v13_0_0.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 157 // VR Mapping Bit Defines 403 //This is aligned with RSMU PGFSM Register Mapping 409 //This is aligned with RSMU PGFSM Register Mapping 503 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 506 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 944 …oRun[NUM_FEATURES / 32]; // Features that PMFW will attempt to enable. Use FEATURE_*_BIT as mapping 949 …uint8_t MemoryTemperatureTypeMask; // Bit mapping indicating which methods of memory temperat… 953 …uint16_t SocketPowerLimitAc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to c… 954 …uint16_t SocketPowerLimitDc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to … [all …]
|
| D | smu13_driver_if_v13_0_7.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 158 // VR Mapping Bit Defines 404 //This is aligned with RSMU PGFSM Register Mapping 410 //This is aligned with RSMU PGFSM Register Mapping 504 uint8_t SnapToDiscrete; // 0 - Fine grained DPM, 1 - Discrete DPM 507 LinearInt_t ConversionToAvfsClk; // Transfer function to AVFS Clock (GHz->GHz) 953 …oRun[NUM_FEATURES / 32]; // Features that PMFW will attempt to enable. Use FEATURE_*_BIT as mapping 958 …uint8_t MemoryTemperatureTypeMask; // Bit mapping indicating which methods of memory temperat… 962 …uint16_t SocketPowerLimitAc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to c… 963 …uint16_t SocketPowerLimitDc[PPT_THROTTLER_COUNT]; // In Watts. Power limit that PMFW attempts to … [all …]
|
| D | smu11_driver_if_arcturus.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 44 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1) 45 #define MAX_VCLK_DPM_LEVEL (NUM_VCLK_DPM_LEVELS - 1) 46 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1) 47 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1) 48 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1) 49 #define MAX_UCLK_DPM_LEVEL (NUM_UCLK_DPM_LEVELS - 1) 50 #define MAX_FCLK_DPM_LEVEL (NUM_FCLK_DPM_LEVELS - 1) 51 #define MAX_XGMI_LEVEL (NUM_XGMI_LEVELS - 1) 52 #define MAX_XGMI_PSTATE_LEVEL (NUM_XGMI_PSTATE_LEVELS - 1) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
| D | nouveau_svm.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 78 #define SVM_DBG(s,f,a...) NV_DEBUG((s)->drm, "svm: "f"\n", ##a) 79 #define SVM_ERR(s,f,a...) NV_WARN((s)->drm, "svm: "f"\n", ##a) 97 list_for_each_entry(ivmm, &svm->inst, head) { in nouveau_ivmm_find() 98 if (ivmm->inst == inst) in nouveau_ivmm_find() 105 NV_DEBUG((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a) 107 NV_WARN((s)->vmm->cli->drm, "svm-%p: "f"\n", (s), ##a) 119 args->va_start &= PAGE_MASK; in nouveau_svmm_bind() 120 args->va_end = ALIGN(args->va_end, PAGE_SIZE); in nouveau_svmm_bind() 123 if (args->reserved0 || args->reserved1) in nouveau_svmm_bind() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_flat_memory.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 5 * Permission is hereby granted, free of charge, to any person obtaining a 57 * System Unified Address - SUA 61 * a combination of vidMM/driver software components. The current virtual 81 * HSA64 - ATC/IOMMU 64b 91 * unified address” feature (SUA) is the mapping of GPUVM and ATC address 113 * A 64b pointer is compared to the apertures that are defined (Base/Limit), in 138 * In all cases (no matter where the 64b -> 49b conversion is done), the gfxip 155 * The default aperture isn’t an actual base/limit aperture; it is just the [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
| D | kfd_flat_memory.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 56 * System Unified Address - SUA 60 * a combination of vidMM/driver software components. The current virtual 80 * HSA64 - ATC/IOMMU 64b 90 * unified address” feature (SUA) is the mapping of GPUVM and ATC address 112 * A 64b pointer is compared to the apertures that are defined (Base/Limit), in 137 * In all cases (no matter where the 64b -> 49b conversion is done), the gfxip 154 * The default aperture isn’t an actual base/limit aperture; it is just the 155 * address space that doesn’t hit any defined base/limit apertures. 163 * An aperture register definition consists of a Base, Limit, Mtype, and [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
| D | smu11_driver_if_arcturus.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 44 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1) 45 #define MAX_VCLK_DPM_LEVEL (NUM_VCLK_DPM_LEVELS - 1) 46 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1) 47 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1) 48 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1) 49 #define MAX_UCLK_DPM_LEVEL (NUM_UCLK_DPM_LEVELS - 1) 50 #define MAX_FCLK_DPM_LEVEL (NUM_FCLK_DPM_LEVELS - 1) 51 #define MAX_XGMI_LEVEL (NUM_XGMI_LEVELS - 1) 52 #define MAX_XGMI_PSTATE_LEVEL (NUM_XGMI_PSTATE_LEVELS - 1) [all …]
|