/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/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_11_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 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 …]
|
H A D | Port.v1_16_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 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… 43 "longDescription": "This type shall contain CXL-specific properties for a port.", 45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 82 …"longDescription": "This property shall contain the CXL Specification-defined 'Connected Device Mo… 96 …"longDescription": "This property shall contain the CXL Specification-defined 'Connected Device Ty… 110 …"longDescription": "This property shall contain the CXL Specification-defined 'Current Port Config… [all …]
|
H A D | Chassis.v1_27_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 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_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 39 …nts the physical components of a system. This resource represents the sheet-metal confined spaces… 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 57 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Sensor.v1_11_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 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 | Port.v1_16_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 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… 43 "longDescription": "This type shall contain CXL-specific properties for a port.", 45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 82 …"longDescription": "This property shall contain the CXL Specification-defined 'Connected Device Mo… 96 …"longDescription": "This property shall contain the CXL Specification-defined 'Connected Device Ty… 110 …"longDescription": "This property shall contain the CXL Specification-defined 'Current Port Config… [all …]
|
H A D | Chassis.v1_27_0.json | 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2025 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_]*$": { 31 "description": "The available OEM-specific actions for this resource.", 32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 39 …nts the physical components of a system. This resource represents the sheet-metal confined spaces… 42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 57 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" 60 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" 63 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" [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-2025 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.11.0 --> 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-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
H A D | Outlet_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Outlet v1.4.4 --> 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-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
H A D | Port_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Port v1.16.0 --> 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-2025 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 111 * D-Bus inventory item associated with one or more sensors. 121 if (name.empty()) in InventoryItem() 132 int powerSupplyEfficiencyPercent = -1; 207 if (sensorType == "energy") in toReadingUnits() 260 if (sensorType == "energy") in toReadingType() 279 * @param inventoryItem D-Bus inventory item associated with a sensor. 280 * @param sensorAvailable Boolean representing if D-Bus sensor is marked as 287 if ((inventoryItem != nullptr) && !(inventoryItem->isPresent)) in getState() [all …]
|
/openbmc/phosphor-virtual-sensor/src/ |
H A D | virtualSensor.cpp | 5 #include <phosphor-logging/lg2.hpp> 30 {"energy", ValueIface::Unit::Joules}, 41 auto val = p2->getParamValue(); in printParams() 54 return dbusSensor->getSensorValue(); in getParamValue() 99 return std::visit(VariantToNumber<U>(), itr->second); in getNumberFromConfig() 140 if (std::holds_alternative<std::string>(itr->second)) in getSeverityField() 142 severity = std::get<std::string>(itr->second); in getSeverityField() 177 direction = std::get<std::string>(itr->second); in parseThresholds() 190 if (!entityInterface.empty()) in parseThresholds() 203 auto sensors = std::get<std::vector<std::string>>(itr->second); in parseConfigInterface() [all …]
|
/openbmc/dbus-sensors/src/smbpbi/ |
H A D | SmbpbiSensor.cpp | 2 * SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & 4 * SPDX-License-Identifier: Apache-2.0 20 #include <phosphor-logging/lg2.hpp> 40 #include <linux/i2c-dev.h> 90 else if (sensorType == "energy") in SmbpbiSensor() 143 temp = double(intg) - double(frac / 256.0); in convert2Temp() 151 // Power data is encoded as a 4-byt [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.11.0 --> 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-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
H A D | Port_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Port v1.16.0 --> 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-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | sdrutils.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 17 #include "dbus-sdr/sdrutils.hpp" 21 #include <phosphor-logging/lg2.hpp> 69 {"energy", std::make_pair(SensorTypeCodes::other, 82 "/usr/share/ipmi-providers/sensor_filter.json"; in filterSensors() 101 for (auto service = svcFilterit->begin(); in filterSensors() 102 service != svcFilterit->end(); in filterSensors() 107 return serviceToIfaces.empty(); in filterSensors() 141 auto mapperCall = dbus->new_method_call( in getSensorSubtree() 151 auto mapperReply = dbus->call(mapperCall); in getSensorSubtree() [all …]
|
H A D | sensorcommands.cpp | 8 // http://www.apache.org/licenses/LICENSE-2.0 19 #include "dbus-sdr/sensorcommands.hpp" 21 #include "dbus-sdr/sdrutils.hpp" 22 #include "dbus-sdr/sensorutils.hpp" 23 #include "dbus-sdr/storagecommands.hpp" 31 #include <phosphor-logging/lg2.hpp> 63 // Refer Table 6-14, DCMI Entity ID Extension, DCMI v1.5 spec 101 static constexpr size_t maxIPMISensors = ((3 * 256) - (3 * 1)); 110 static constexpr int GENERAL_ERROR = -1; 128 {"energy", SensorUnit [all...] |
/openbmc/pldm/platform-mc/ |
H A D | numeric_sensor.cpp | 8 #include <phosphor-logging/commit.hpp> 44 "Failed to create Entity interface for compact numeric sensor {PATH} error - {ERROR}", in createInventoryPath() 48 entityIntf->entityType(entityType); in createInventoryPath() 49 entityIntf->entityInstanceNumber(entityInstanceNum); in createInventoryPath() 50 entityIntf->containerID(containerId); in createInventoryPath() 141 sensorNameSpace = "/xyz/openbmc_project/sensors/energy/"; in setSensorUnit() 181 sensorId = pdr->sensor_id; in NumericSensor() 184 setSensorUnit(pdr->base_unit); in NumericSensor() 198 if (!tmp.empty()) in NumericSensor() 218 "Failed to create association interface for numeric sensor {PATH} error - {ERRO in NumericSensor() [all...] |
/openbmc/bmcweb/redfish-core/lib/ |
H A D | sensors.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 // SPDX-FileCopyrightText: Copyright 2018 Intel Corporation 26 #include <asm-generic/errno.h> 62 // clang-format off 82 "/xyz/openbmc_project/sensors/energy", in getSensorPaths() 104 // clang-format on 173 if (asyncResp->res.result() == in ~SensorsAsyncResp() 179 asyncResp->res.jsonValue = nlohmann::json::object(); in ~SensorsAsyncResp() 185 if (asyncResp->res.result() == boost::beast::http::status::ok) in ~SensorsAsyncResp() [all …]
|
/openbmc/qemu/target/i386/kvm/ |
H A D | kvm.c | 4 * Copyright (C) 2006-2008 Qumranet Technologies 11 * See the COPYING file in the top-level directory. 16 #include "qapi/qapi-events-run-state.h" 28 #include "standard-headers/asm-x86/kvm_para.h" 29 #include "hw/xen/interface/arch-x86/cpuid.h" 32 #include "host-cpu.h" 39 #include "../confidential-guest.h" 42 #include "xen-emu.h" 44 #include "hyperv-proto.h" 47 #include "qemu/host-utils.h" [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 19 #include "standard-headers/linux/const.h" 20 #include "standard-headers/linux/types.h" 21 #include "standard-headers/linux/if_ether.h" 26 * have the same layout for 32-bit and 64-bit userland. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. 56 * @autoneg: Enable/disable autonegotiation and auto-detection; [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | e1000.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 Copyright(c) 1999 - 2002 Intel Corporation. All rights reserved. 10 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 36 printf("e1000: %s: ERROR: " fmt, (NIC)->name ,##args) 40 printf("e1000: %s: DEBUG: " fmt, (NIC)->name ,##args) 51 writel((value), ((a)->hw_addr + E1000_##reg)) 53 readl((a)->hw_addr + E1000_##reg) 55 writel((value), ((a)->hw_addr + E1000_##reg + ((offset) << 2))) 57 readl((a)->hw_addr + E1000_##reg + ((offset) << 2)) 349 #define IFE_PHY_MDIX_CONTROL 0x1C /* MDI/MDI-X Control register */ [all …]
|