/openbmc/linux/drivers/mfd/ |
H A D | si476x-prop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/mfd/si476x-prop.c -- Subroutines to access 13 #include <linux/mfd/si476x-core.h> 19 static bool si476x_core_element_is_in_array(u16 element, in si476x_core_element_is_in_array() 32 static bool si476x_core_element_is_in_range(u16 element, in si476x_core_element_is_in_range() 45 static bool si476x_core_is_valid_property_a10(struct si476x_core *core, in si476x_core_is_valid_property_a10() 46 u16 property) in si476x_core_is_valid_property_a10() argument 80 return si476x_core_element_is_in_range(property, valid_ranges, in si476x_core_is_valid_property_a10() 82 si476x_core_element_is_in_array(property, valid_properties, in si476x_core_is_valid_property_a10() 86 static bool si476x_core_is_valid_property_a20(struct si476x_core *core, in si476x_core_is_valid_property_a20() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/phosphor-fan-control-events-config/witherspoon/ |
H A D | events.yaml | 2 - name: poweron_pgood 6 - /power0 7 - name: zone0_control_mode 12 - /0 13 - name: air_cooled_zone0_fans 17 - /system/chassis/motherboard/fan0 18 - /system/chassis/motherboard/fan1 19 - /system/chassis/motherboard/fan2 20 - /system/chassis/motherboard/fan3 21 - name: water_and_air_cooled_zone0_fans [all …]
|
/openbmc/phosphor-host-ipmid/app/ |
H A D | watchdog_service.hpp | 25 * @param[in] enableWatchdog - Should the call also enable the watchdog 27 void resetTimeRemaining(bool enableWatchdog); 34 bool initialized; 35 bool enabled; 50 /** @brief Get the value of the initialized property on the host 53 * @return The value of the property 55 bool getInitialized(); 57 /** @brief Sets the value of the initialized property on the host 60 * @param[in] initialized - The new initializedvalue 62 void setInitialized(bool initialized); [all …]
|
/openbmc/phosphor-dbus-monitor/src/example/ |
H A D | test.yaml | 6 - name: test path group 10 - meta: PATH 12 - meta: PATH 14 - meta: PATH 16 - meta: PATH 19 - name: test byte property group 21 group: property 24 - interface: xyz.openbmc_project.byteIface 25 meta: PROPERTY 26 property: byteValue [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_dbus.hpp | 30 * @brief This is a custom D-Bus object, used to add D-Bus interface and update 54 * @param[in] path - The object path 55 * @param[in] value - The value of the MaxValue property 59 bool setMaxValue(const std::string& path, double value); 63 * @param[in] path - The object path 65 * @return bool - The value of the MaxValue property 71 * @param[in] path - The object path 72 * @param[in] value - The value of the MinValue property 76 bool setMinValue(const std::string& path, double value); 80 * @param[in] path - The object path [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | SwitchMetrics_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: SwitchMetrics v1.0.2 --> 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 | SecurityPolicy_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: SecurityPolicy v1.0.3 --> 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 | OperatingConfig_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: OperatingConfig v1.0.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-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
H A D | ManagerDiagnosticData_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: ManagerDiagnosticData v1.2.3 --> 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 | MemoryRegion_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: MemoryRegion v1.0.3 --> 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/phosphor-fan-presence/control/json/ |
H A D | zone.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 44 * @class Zone - Represents a configured fan control zone 72 * @param[in] jsonObj - JSON object 73 * @param[in] event - sdeventplus event loop 74 * @param[in] mgr - Manager of this zone 155 * @return - The current target of the zone 165 * @return - The current target increase delta 175 * @return - The current target decrease delta 185 * @return - The manager of the zone 196 * dbus property states(if persisted), starting the decrement timer, etc... [all …]
|
/openbmc/qemu/include/qom/ |
H A D | object.h | 10 * See the COPYING file in the top-level directory. 17 #include "qapi/qapi-builtin-types.h" 34 * @obj: the object that owns the property 35 * @v: the visitor that contains the property data 36 * @name: the name of the property 37 * @opaque: the object property opaque 40 * Called when trying to get/set a property. 50 * @obj: the object that owns the property 51 * @opaque: the opaque registered with the property 52 * @part: the name of the property [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | property.aserver.set.hpp.mako | 2 p_name = property.snake_case; 3 p_tag = property.snake_case + "_t" 4 p_type = property.cppTypeParam(interface.name) 7 template <bool EmitSignal = true, typename Arg = ${p_type}> 12 bool changed = static_cast<Instance*>(this)->set_property( 17 _${i_name}.property_changed("${property.name}"); 21 template <bool EmitSignal = true, typename Arg = ${p_type}> 26 bool changed = static_cast<Instance*>(this)->set_property( 31 _${i_name}.property_changed("${property.name}"); 35 template <bool EmitSignal = true, typename Arg = ${p_type}> [all …]
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/fans/phosphor-fan-control-events-config/ |
H A D | events.yaml | 2 - name: air_cooled_zone0_fans 6 - /system/chassis/motherboard/fan0 7 - /system/chassis/motherboard/fan1 8 - /system/chassis/motherboard/fan2 9 - name: zone0_ambient 13 - /temperature/outlet 14 - name: occ0_object 18 - /occ0 19 - name: occ1_object 23 - /occ1 [all …]
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties.c | 2 #include "hw/qdev-properties.h" 4 #include "qapi/qapi-types-misc.h" 7 #include "qemu/error-report.h" 11 #include "qdev-prop-internal.h" 12 #include "qom/qom-qobject.h" 17 if (dev->id) { in qdev_prop_set_after_realize() 18 error_setg(errp, "Attempt to set property '%s' on device '%s' " in qdev_prop_set_after_realize() 19 "(type '%s') after it was realized", name, dev->id, in qdev_prop_set_after_realize() 22 error_setg(errp, "Attempt to set property '%s' on anonymous device " in qdev_prop_set_after_realize() 28 /* returns: true if property is allowed to be set, false otherwise */ [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | OperatingConfig_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: OperatingConfig v1.0.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-2024 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
H A D | ManagerDiagnosticData_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: ManagerDiagnosticData v1.2.3 --> 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/schema/oem/openbmc/csdl/ |
H A D | OpenBMCManager_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> 3 …<edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabular… 22 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCManager"> 32 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="OpenBMCManager.v1_0_0"> 35 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 37 <Property Name="Fan" Type="OpenBMCManager.v1_0_0.Fan"> 40 </Property> 43 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 47 <Property Name="FanControllers" Type="OpenBMCManager.v1_0_0.FanControllers"> [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | functor.hpp | 24 * @param[in] action - The action being adapted. 25 * @returns - The adapted action. 27 * @tparam T - The type of the action being adapted. 39 * @param[in] filter - The filter being adapted. 40 * @returns - The adapted filter. 42 * @tparam T - The type of the filter being adapted. 54 * @param[in] filter - The functor being adapted. 55 * @returns - The adapted functor. 57 * @tparam T - The type of the functor being adapted. 69 * @param[in] method - The functor being adapted. [all …]
|
/openbmc/linux/scripts/dtc/ |
H A D | dtc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 45 extern int auto_label_aliases; /* auto generate labels -> aliases */ 54 static inline bool phandle_is_valid(cell_t phandle) in phandle_is_valid() 94 static inline bool strends(const char *str, const char *suffix) in strends() 102 return streq(str + len - suffix_len, suffix); in strends() 105 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) 120 static inline bool is_type_marker(enum markertype type) in is_type_marker() 144 for (; (m); (m) = (m)->next) 147 if ((m)->type == (t)) 152 if (is_type_marker(m->type)) in next_type_marker() [all …]
|
/openbmc/qemu/include/hw/arm/ |
H A D | armv7m.h | 20 #define TYPE_BITBAND "ARM-bitband-memory" 44 * + Property "cpu-type": CPU type to instantiate 45 * + Property "num-irq": number of external IRQ lines 46 * + Property "num-prio-bits": number of priority bits in the NVIC 47 * + Property "memory": MemoryRegion defining the physical address space 48 * that CPU accesses see. (The NVIC, bitbanding and other CPU-internal 50 * + Property "idau": IDAU interface (forwarded to CPU object) 51 * + Property "init-svtor": secure VTOR reset value (forwarded to CPU object) 52 * + Property "init-nsvtor": non-secure VTOR reset value (forwarded to CPU object) 53 * + Property "vfp": enable VFP (forwarded to CPU object) [all …]
|
/openbmc/libbej/include/libbej/ |
H A D | bej_tree.h | 24 // BEJ sequence number of the property. 42 // BEJ sequence number of the property. 52 * @brief Common attributes of a JSON property. 64 * @brief Used to store parent type property info. 70 // Common property attributes. 88 * @brief Used to store leaf type property info. 91 * property within a JSON tree. Each specific leaf type has its own struct. 101 * @brief bejNull type property node. 109 * @brief bejInteger type property node. 118 * @brief bejEnum type property node. [all …]
|
/openbmc/qemu/include/hw/ |
H A D | qdev-properties.h | 4 #include "hw/qdev-core.h" 7 * Property: 9 * in which case @info->set_default_value must not be NULL 10 * (if false then no default value is set by the property system 12 * @defval: default value for the property. This is used only if @set_default 15 struct Property { struct 21 bool set_default; 36 bool realized_set_allowed; /* allow setting property on realized device */ 37 int (*print)(Object *obj, Property *prop, char *dest, size_t len); argument 38 void (*set_default_value)(ObjectProperty *op, const Property *prop); [all …]
|
/openbmc/linux/include/linux/ |
H A D | of.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 8 * Copyright (C) 1996-2005 Paul Mackerras. 20 #include <linux/property.h> 28 struct property { struct 32 struct property *next; argument 54 struct property *properties; argument 55 struct property *deadprops; /* removed properties */ 96 struct property *prop; 97 struct property *old_prop; 104 * of_node_init - initialize a devicetree node [all …]
|
/openbmc/u-boot/scripts/dtc/ |
H A D | dtc.h | 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 60 extern int auto_label_aliases; /* auto generate labels -> aliases */ 73 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) 99 for (; (m); (m) = (m)->next) 102 if ((m)->type == (t)) 126 bool data_is_one_string(struct data d); 135 bool deleted; 144 struct property { struct 145 bool deleted; 149 struct property *next; argument [all …]
|