Home
last modified time | relevance | path

Searched refs:default_value (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/openbmc-test-automation/lib/
H A Dgen_plug_in_utils.py141 default_value = gm.get_mod_global(var_name, "")
142 if type(default_value) is not str:
143 non_string_defaults[var_name] = type(default_value)
144 os.environ[var_name] = os.environ.get(var_name, str(default_value))
146 os.environ[var_name] = str(default_value)
305 default_value = os.environ.get(package_var_name, None)
306 if default_value is not None:
308 return default_value
311 default_value = os.environ.get(plug_var_name, None)
312 if default_value is not None:
[all …]
/openbmc/phosphor-settingsd/
H A Dsettings_manager.mako.hpp25 default_value = None
28 default_value = item['Properties'][prop]['Default']
31 if isinstance(default_value, str) and not \
32 default_value.startswith('"') and '::' in default_value:
35 default_value = "{}::{}".format(ns[:i], default_value)
36 return default_value
39 if isinstance(default_value, list):
43 for val in default_value:
46 default_value = '{' + ', '.join(elems) + '}'
47 return default_value
[all …]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_integer_attribute_test.cpp37 "default_value" : 2, in TEST_F()
70 "default_value" : 0, in TEST_F()
97 "default_value" : 2, in TEST_F()
131 "default_value" : 2, in TEST_F()
183 "default_value" : 2, in TEST_F()
/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl-generic.c160 const char *property, u32 *default_value) in pinconf_prop_name_to_param() argument
176 *default_value = p->default_value; in pinconf_prop_name_to_param()
218 const char *property, u32 *default_value) in pinconf_prop_name_to_param() argument
H A Dpinctrl-at91-pio4.c50 arg = params->default_value; in atmel_pinctrl_get_pinconf()
/openbmc/qemu/python/qemu/utils/
H A Dqom_common.py40 default_value: Optional[object] = None):
44 self.default_value = default_value
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0011-Remove-bionic-specific-calls.patch29 @@ -104,10 +104,10 @@ int32_t property_get_int32(const char *key, int32_t default_value) {
30 return (int32_t)property_get_imax(key, INT32_MIN, INT32_MAX, default_value);
/openbmc/libcper/include/libcper/
H A Dcper-utils.h41 const char *default_value);
46 const char *default_value);
/openbmc/pldm/libpldmresponder/examples/bios/
H A Dinteger_attrs.json27 // scalar_increment=2 and lower_bound=1, default_value must be 1, 3, 5...
/openbmc/gpioplus/src/gpioplus/
H A Dhandle.hpp66 uint8_t default_value; member
H A Dhandle.cpp57 req.default_values[i] = lines[i].default_value; in build()
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dsignal.aserver.emit.hpp.mako8 (p.cppTypeParam(interface.name), p.camelCase, p.default_value(interface.name))
H A Dsignal.prototype.hpp.mako9 r += p.default_value(interface.name)
/openbmc/libcper/
H A Dcper-utils.c141 const char *default_value) in integer_to_readable_pair() argument
147 const char *name = default_value; in integer_to_readable_pair()
163 const char *default_value) in integer_to_readable_pair_with_desc() argument
169 const char *name = default_value; in integer_to_readable_pair_with_desc()
/openbmc/libpldm/src/dsp/
H A Dbios_table.c500 uint64_t default_value; member
516 if (info->default_value != info->lower_bound) { in pldm_bios_table_attr_entry_integer_info_check()
531 if (info->default_value > info->upper_bound || in pldm_bios_table_attr_entry_integer_info_check()
532 info->default_value < info->lower_bound) { in pldm_bios_table_attr_entry_integer_info_check()
541 if ((info->default_value - info->lower_bound) % in pldm_bios_table_attr_entry_integer_info_check()
576 attr_fields->default_value = htole64(info->default_value); in pldm_bios_table_attr_entry_integer_encode()
590 *def = le64toh(fields->default_value); in pldm_bios_table_attr_entry_integer_decode()
/openbmc/qemu/hw/ppc/
H A Dspapr_cpu_core.c279 env->spr_cb[SPR_PIR].default_value = cs->cpu_index; in spapr_realize_vcpu()
280 env->spr_cb[SPR_TIR].default_value = thread_index; in spapr_realize_vcpu()
282 env->spr_cb[SPR_HASHPKEYR].default_value = spapr->hashpkey_val; in spapr_realize_vcpu()
H A Dpnv_core.c326 pir_spr->default_value = pir; in pnv_core_cpu_realize()
327 tir_spr->default_value = tir; in pnv_core_cpu_realize()
/openbmc/openbmc/poky/meta/recipes-gnome/librsvg/librsvg/
H A D0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch21 …rogram(pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_query_loaders', default_value: 'gdk-pixbuf-q…
/openbmc/skeleton/libopenbmc_intf/
H A Dgpio.c350 int gpio_open(GPIO* gpio, uint8_t default_value) in gpio_open() argument
380 req.default_values[0] = default_value; in gpio_open()
/openbmc/qemu/qom/
H A Dqom-qmp-cmds.c232 info->default_value = qobject_ref(prop->defval); in qmp_device_list_properties()
277 info->default_value = qobject_ref(prop->defval); in qmp_qom_list_properties()
/openbmc/u-boot/include/dm/
H A Dpinctrl.h23 u32 default_value; member
/openbmc/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip-core.c541 u32 *default_value) in rockchip_pinconf_prop_name_to_param() argument
551 *default_value = p->default_value; in rockchip_pinconf_prop_name_to_param()
556 *default_value = 0; in rockchip_pinconf_prop_name_to_param()
/openbmc/sdbusplus/tools/sdbusplus/
H A Dmethod.py50 r += p.default_value()
H A Dproperty.py89 def default_value(self, interface): member in Property
/openbmc/libpldm/include/libpldm/
H A Dbios_table.h391 uint64_t default_value; //!< The default value of the integer member

12