/openbmc/phosphor-dbus-interfaces/yaml/org/freedesktop/UPower/ |
H A D | Device.interface.yaml | 2 "org.freedesktop.UPower.Device -- Device interface 6 interfaces. Unless otherwise noted, an empty string or the value 0 in a 10 - name: Refresh 13 org.freedesktop.upower.refresh-power-source authorization" 15 - name: GetHistory 20 - name: type 24 - name: timespan 28 - name: resolution 35 - name: data 50 - name: GetStatistics [all …]
|
/openbmc/linux/Documentation/power/ |
H A D | power_supply_class.rst | 8 properties to user-space. 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 63 | **Because both "charge" (µAh) and "energy" (µWh) represents "capacity" | 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 107 "full"/"empty" at normal conditions. Yes, there is no direct relation [all …]
|
H A D | pm_qos_interface.rst | 11 * The per-device PM QoS framework provides the API to manage the 12 per-device latency constraints and PM QoS flags. 87 2. PM QoS per-device latency and flags framework 138 or the list of requests is empty. 168 The per-device PM QoS framework has a per-device notification tree. 185 to energy-saving operation modes on the fly. In those systems, if the operation 186 mode chosen by the hardware attempts to save energy in an overly aggressive way, 199 latency tolerance requirements for the device is empty, the callback is expected
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | other.json | 3 "PublicDescription": "This event counts the occurrence count of the micro-operation split.", 6 "BriefDescription": "This event counts the occurrence count of the micro-operation split." 63 …mmitted and the oldest and uncommitted instruction is an integer or floating-point/SIMD instructio… 66 …mmitted and the oldest and uncommitted instruction is an integer or floating-point/SIMD instructio… 69 …ction was committed and the oldest and uncommitted instruction is a floating-point/SIMD instructio… 72 …ction was committed and the oldest and uncommitted instruction is a floating-point/SIMD instructio… 81 …tion": "This event counts every cycle that no instruction was committed because the CSE is empty.", 84 …ption": "This event counts every cycle that no instruction was committed because the CSE is empty." 87 …t counts every cycle that no instruction was committed because the CSE is empty and the store port… 90 …t counts every cycle that no instruction was committed because the CSE is empty and the store port… [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Circuit.v1_8_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_]*$": { 37 "description": "The available OEM-specific actions for this resource.", 38 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 46 …"longDescription": "This action shall control the state of the circuit breaker or over-current pro… 55 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 71 "format": "uri-reference", 86 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 101 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" [all …]
|
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_]*$": { 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 88 …operties contained in this object shall conform to the Redfish Specification-described requirement… 95 "description": "The available OEM-specific actions for this resource.", [all …]
|
H A D | Outlet.v1_4_4.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… 45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 117 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 119 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 157 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 170 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" [all …]
|
/openbmc/linux/arch/x86/events/ |
H A D | rapl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Support Intel/AMD RAPL energy consumption counters 6 * Intel RAPL interface is specified in the IA-32 Manual Vol3b 12 * RAPL provides more controls than just reporting energy consumption 13 * however here we only expose the 3 energy consumption free running 34 * gpu counter: consumption of the builtin-gpu domain (client only) 38 * psys counter: consumption of the builtin-psys domain (client only) 42 * We manage those counters as free running (read-only). They may be 45 * The events only support system-wide mode counting. There is no 49 * Because we want to avoid floating-point operations in the kernel, [all …]
|
/openbmc/linux/drivers/opp/ |
H A D | of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 34 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node() 35 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node() 41 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node() 50 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp() 55 if (opp_table->np == np) { in _managed_opp() 58 * so will have same node-pointer, np. in _managed_opp() 61 * OPP table contains a "opp-shared" property. in _managed_opp() 63 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) { in _managed_opp() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | apm_power.c | 15 #include <linux/apm-emulation.h> 49 bp->bat = dev_get_drvdata(dev); in __find_main_battery() 51 if (bp->bat->desc->use_for_apm) { in __find_main_battery() 53 bp->main = bp->bat; in __find_main_battery() 57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || in __find_main_battery() 58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { in __find_main_battery() 59 if (bp->full.intval > bp->max_charge) { in __find_main_battery() 60 bp->max_charge_bat = bp->bat; in __find_main_battery() 61 bp->max_charge = bp->full.intval; in __find_main_battery() 63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || in __find_main_battery() [all …]
|
H A 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 …]
|
H A D | ug3105_battery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Note the uG3105 is not a full-featured autonomous fuel-gauge. Instead it is 7 * its coulomb-counter before it can wrap (must be read every 400 seconds!). 9 * Since Linux does not monitor coulomb-counter changes while the device 14 * 2. Reset total_coulomb_count val to 0 when the battery is as good as empty 17 * to when the battery was empty is set. If so we now know the capacity, 24 * things to adjust for drift when empty/full. This should give more accurate 25 * readings, esp. in the 30-70% range and allow userspace to estimate time 26 * remaining till empty/full 28 * capacity during run-time ? [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | smsc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 /* Vendor-specific PHY Definitions */ 70 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in smsc_phy_config_intr() 91 struct smsc_phy_priv *priv = phydev->priv; in smsc_phy_config_edpd() 93 if (priv->edpd_enable) in smsc_phy_config_edpd() 107 if (irq_status != -ENODEV) in smsc_phy_handle_interrupt() 124 struct smsc_phy_priv *priv = phydev->priv; in smsc_phy_config_init() 130 if (!priv->edpd_mode_set_by_user && phydev->irq != PHY_POLL) in smsc_phy_config_init() 131 priv->edpd_enable = false; in smsc_phy_config_init() 161 switch (phydev->mdix_ctrl) { in lan87xx_config_aneg() [all …]
|
/openbmc/linux/Documentation/driver-api/pm/ |
H A D | cpuidle.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 with it, there is an opportunity to save energy for the processor that it 45 select an idle state to ask the processor to enter in order to save some energy. 61 only one in the list (that is, the list was empty before) or the value of its 89 code, and that causes the kernel to run the architecture-specific 91 until the ``->enable()`` governor callback is invoked for that CPU 103 It is expected to reverse any changes made by the ``->enable()`` 143 selection made by the ``->select()`` callback (when it was invoked last 152 :c:func:`cpuidle_governor_latency_req()`. Then, the governor's ``->select()`` 184 enter it (which may be substantial) to save more energy than could [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Circuit_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Circuit v1.8.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.10.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | sensor_utils.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 101 * D-Bus inventory item associated with one or more sensors. 111 if (name.empty()) in InventoryItem() 122 int powerSupplyEfficiencyPercent = -1; 197 if (sensorType == "energy") in toReadingUnits() 242 if (sensorType == "energy") in toReadingType() 253 * @param inventoryItem D-Bus inventory item associated with a sensor. 254 * @param sensorAvailable Boolean representing if D-Bus sensor is marked as 261 if ((inventoryItem != nullptr) && !(inventoryItem->isPresent)) in getState() [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_]*$": { 83 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" 88 …operties contained in this object shall conform to the Redfish Specification-described requirement… 95 "description": "The available OEM-specific actions for this resource.", [all …]
|
/openbmc/linux/include/linux/ |
H A D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 226 /* Run-time specific power supply configuration */ 359 * struct power_supply_maintenance_charge_table - setting for maintenace charging 387 * Energy 392 * +-------------------------------------------------------------------> t 394 * Practically this means that the Li-ions are wandering back and forth in the 400 * Energy 405 * +-------------------------------------------------------------------> t 416 * As an example, a Samsung EB425161LA Lithium-Ion battery is CC/CV charged 431 * the expected stand-by current. Also overvoltage protection will be applied [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl1251/ |
H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 ret = wl1251_acx_default_key(wl, wl->default_key); in wl1251_hw_init_hwenc_config() 42 /* send empty templates for fw memory reservation */ in wl1251_hw_init_templates_config() 76 /* tim templates, first reserve space then allocate an empty one */ in wl1251_hw_init_templates_config() 197 wl->target_mem_map = kzalloc(sizeof(struct wl1251_acx_mem_map), in wl1251_hw_init_mem_config() 199 if (!wl->target_mem_map) { in wl1251_hw_init_mem_config() 201 return -ENOMEM; in wl1251_hw_init_mem_config() 205 ret = wl1251_acx_mem_map(wl, wl->target_mem_map, in wl1251_hw_init_mem_config() 209 kfree(wl->target_mem_map); in wl1251_hw_init_mem_config() 210 wl->target_mem_map = NULL; in wl1251_hw_init_mem_config() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | smsc95xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2007-2008 SMSC 38 /* SCSRs - System Control and Status Registers */ 75 #define HW_CFG_BIR_ (0x00001000) /* Bulk In Empty Response */ 108 #define PM_CTL_ED_EN_ (0x00000004) /* Energy Detect Enable */ 111 #define PM_CTL_WUPS_ED_ (0x00000001) /* Energy Detect */ 167 #define STRAP_STATUS_PWR_SEL_ (0x00000020) /* Device self-powered */ 168 #define STRAP_STATUS_AMDIX_EN_ (0x00000010) /* Auto-MDIX Enabled */ 169 #define STRAP_STATUS_PORT_SWAP_ (0x00000008) /* USBD+/USBD- Swapped */ 209 /* MAC CSRs - MAC Control and Status Registers */ [all …]
|
/openbmc/phosphor-virtual-sensor/ |
H A D | virtualSensor.cpp | 5 #include <phosphor-logging/lg2.hpp> 28 auto val = p2->getParamValue(); in printParams() 41 return dbusSensor->getSensorValue(); in getParamValue() 86 return std::visit(VariantToNumber<U>(), itr->second); in getNumberFromConfig() 127 if (std::holds_alternative<std::string>(itr->second)) in getSeverityField() 129 severity = std::get<std::string>(itr->second); in getSeverityField() 164 direction = std::get<std::string>(itr->second); in parseThresholds() 177 if (!entityInterface.empty()) in parseThresholds() 190 auto sensors = std::get<std::vector<std::string>>(itr->second); in parseConfigInterface() 219 -std::numeric_limits<double>::infinity()); in parseConfigInterface() [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 57 foreground, top-app, etc. Util clamp can be used to constrain how much 60 the ones belonging to the currently active app (top-app group). Beside this 65 1. The big cores are free to run top-app tasks immediately. top-app 106 Note that by design RT tasks don't have per-task PELT signal and must always 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and 115 :ref:`3.4.1 <sched-util-clamp-min-rt-default>` on how to change RT tasks 150 task on the rq to only a subset of tasks on the top-most bucket. 157 uclamp value of the rq. See :ref:`section 2.1 <uclamp-buckets>` for details on 164 For task placement case, only Energy Aware and Capacity Aware Scheduling [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Sensor_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Sensor v1.10.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 60 /* PCI_OUR_REG_3 32 bit Our Register 3 (Yukon-ECU only) */ [all …]
|