/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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 …]
|
H A D | ti,lp8727.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 debounce-ms: 34 charger-type: 36 - ac 37 - usb 39 eoc-level: [all …]
|
/openbmc/qemu/migration/ |
H A D | cpu-throttle.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 10 * copies of the Software, and to permit persons to whom the Software is 14 * all copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 28 #include "qemu/main-loop.h" [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 7 Reports the name of the device manufacturer. 14 Contact: linux-pm@vger.kernel.org 16 Reports the name of the device model. 23 Contact: linux-pm@vger.kernel.org 25 Reports the serial number of the device. 32 Contact: linux-pm@vger.kernel.org 34 Describes the main type of the supply. 43 Contact: linux-pm@vger.kernel.org 66 Contact: linux-pm@vger.kernel.org [all …]
|
/openbmc/linux/include/linux/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_page_dirty.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2019-2023 VMware, Inc., Palo Alto, CA., USA 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the 10 * distribute, sub license, and/or sell copies of the Software, and to 16 * of the Software. 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 22 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/of.h> 21 #define RT9455_DRIVER_NAME "rt9455-charger" 165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 169 * Each array initialised below shows the possible real-world values for a 170 * group of bits belonging to RT9455 registers. The arrays are sorted in 171 * ascending order. The index of each real-world value represents the value 172 * that is encoded in the group of bits belonging to RT9455 registers. 180 * When the charger is in charge mode, REG02[7:2] represent battery regulation 251 * Iterate through each element of the 'tbl' array until an element whose value [all …]
|
/openbmc/qemu/ui/ |
H A D | cocoa.m | 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 10 * copies of the Software, and to permit persons to whom the Software is 14 * all copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 31 #include "qemu/help-texts.h" 32 #include "qemu-main.h" [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | battery.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * battery.c - ACPI Battery Driver (Revision: 2.0) 6 * Copyright (C) 2004-2007 Vladimir Lebedev <vladimir.p.lebedev@intel.com> 81 * Pre-2010 and 2012 models appear to always report in mWh and 83 * and x230). Also, in mid-2012 Lenovo issued a BIOS update for 85 * post-1.29 BIOS), but as of Nov. 2012, no such update is 90 * on a full charge, but showing degradation in full charge cap. 136 return battery->device->status.battery_present; in acpi_battery_present() 141 if (!strcasecmp("NiCd", battery->type)) in acpi_battery_technology() 143 if (!strcasecmp("NiMH", battery->type)) in acpi_battery_technology() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | job.h | 7 * Permission is hereby granted, free of charge, to any person obtaining a copy 8 * of this software and associated documentation files (the "Software"), to deal 11 * copies of the Software, and to permit persons to whom the Software is 15 * all copies or substantial portions of the Software. 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 29 #include "qapi/qapi-types-job.h" 40 * Long-running operation. [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | apm_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- linux-c -*- 4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) 6 * Initial development of this driver was funded by NEC Australia P/L 16 * (Thanks to Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>) 43 * 1.1: support user-space standby and suspend, power off after system 46 * is only incorrect by 30-60mS (vs. 1S previously) (Gabor J. Toth 48 * screen-blanking and gpm (Stephen Rothwell); Linux 1.99.4 57 * 1.5: Fix segment register reloading (in case of bad segments saved 63 * <echter@informatik.uni-rostock.de> [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | bios_parser.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 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 54 bp->base.ctx->logger [all …]
|
H A D | command_table.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 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 38 …(amdgpu_atom_execute_table(((struct amdgpu_device *)bp->base.ctx->driver_context)->mode_info.atom_… [all …]
|
/openbmc/linux/mm/ |
H A D | mm_init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mm_init.c - Memory initialisation verification and debugging 18 #include <linux/page-isolation.h> 60 zonelist = &pgdat->node_zonelists[listid]; in mminit_verify_zonelist() 61 zone = &pgdat->node_zones[zoneid]; in mminit_verify_zonelist() 68 zone->name); in mminit_verify_zonelist() 72 pr_cont("%d:%s ", zone_to_nid(zone), zone->name); in mminit_verify_zonelist() 84 width = shift - SECTIONS_WIDTH - NODES_WIDTH - ZONES_WIDTH in mminit_verify_pageflags_layout() 85 - LAST_CPUPID_SHIFT - KASAN_TAG_WIDTH - LRU_GEN_WIDTH - LRU_REFS_WIDTH; in mminit_verify_pageflags_layout() 111 "Node/Zone ID: %lu -> %lu\n", in mminit_verify_pageflags_layout() [all …]
|
H A 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)) 72 * Start background writeback (via writeback threads) at this percentage 77 * dirty_background_bytes starts at 0 (disabled) so that it is a function of 78 * dirty_background_ratio * the amount of dirtyable memory 89 * The generator of dirty data starts writeback at this percentage 94 * vm_dirty_bytes starts at 0 (disabled) so that it is a function of 95 * vm_dirty_ratio * the amount of dirtyable memory [all …]
|
/openbmc/linux/Documentation/admin-guide/laptops/ |
H A 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/ 15 supports various features of these laptops which are accessible 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 26 names and log messages, "thinkpad_acpi" is used because of userspace 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | cgroup-v2.rst | 1 .. _cgroup-v2: 11 conventions of cgroup v2. It describes all userland-visible aspects 12 of cgroup including core and specific controller behaviors. All 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 [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu13_driver_if_v13_0_0.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 367 uint8_t SlaveAddress; //Slave address of device 368 uint8_t NumCmds; //Number of commands [all …]
|
H A D | smu13_driver_if_v13_0_7.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 368 uint8_t SlaveAddress; //Slave address of device 369 uint8_t NumCmds; //Number of commands [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 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 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras_eeprom.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 37 * chips strung on the I2C bus, usually by manipulating pins 1-3 of a 38 * set of EEPROM devices. They form a continuous memory space. [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 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 170 /* Maximum size of that FireGL flag string */ [all …]
|
/openbmc/linux/block/ |
H A 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 24 * budgets, measured in number of sectors, to processes instead of 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+ [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Sensor.v1_10_1.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 56 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 58 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 73 "description": "An array of links to the controls that can affect this sensor.", 77 …"longDescription": "This property shall contain an array of links to resources of type `Control` t… 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Sensor.v1_10_1.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 34 "description": "The available OEM-specific actions for this resource.", 35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 56 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 58 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 73 "description": "An array of links to the controls that can affect this sensor.", 77 …"longDescription": "This property shall contain an array of links to resources of type `Control` t… 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" [all …]
|