Home
last modified time | relevance | path

Searched refs:environment (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Dpmbus_write_vout_command_action.cpp30 bool PMBusWriteVoutCommandAction::execute(ActionEnvironment& environment) in execute() argument
35 double voltsValue = getVoltsValue(environment); in execute()
38 i2c::I2CInterface& interface = getI2CInterface(environment); in execute()
41 int8_t exponentValue = getExponentValue(environment, interface); in execute()
54 verifyWrite(environment, interface, linearValue); in execute()
96 ActionEnvironment& environment, i2c::I2CInterface& interface) in getExponentValue() argument
117 environment.getDeviceID(), in getExponentValue()
118 environment.getDevice().getFRU()); in getExponentValue()
126 ActionEnvironment& environment) in getVoltsValue() argument
135 else if (environment.getVolts().has_value()) in getVoltsValue()
[all …]
H A Di2c_capture_bytes_action.cpp29 bool I2CCaptureBytesAction::execute(ActionEnvironment& environment) in execute() argument
35 i2c::I2CInterface& interface = getI2CInterface(environment); in execute()
41 std::string key = getErrorDataKey(environment); in execute()
43 environment.addAdditionalErrorData(key, value); in execute()
64 ActionEnvironment& environment) const in getErrorDataKey()
68 ss << environment.getDeviceID() << "_register_0x" << std::hex in getErrorDataKey()
74 if (environment.getAdditionalErrorData().contains(key)) in getErrorDataKey()
82 if (!environment.getAdditionalErrorData().contains(keyWithSuffix)) in getErrorDataKey()
H A Dpmbus_read_sensor_action.cpp31 bool PMBusReadSensorAction::execute(ActionEnvironment& environment) in execute() argument
36 i2c::I2CInterface& interface = getI2CInterface(environment); in execute()
51 int8_t exponentValue = getExponentValue(environment, interface); in execute()
58 environment.getServices().getSensors().setValue(type, sensorValue); in execute()
97 int8_t PMBusReadSensorAction::getExponentValue(ActionEnvironment& environment, in getExponentValue() argument
119 environment.getDeviceID(), in getExponentValue()
120 environment.getDevice().getFRU()); in getExponentValue()
H A Drun_rule_action.hpp65 virtual bool execute(ActionEnvironment& environment) override in execute() argument
69 environment.incrementRuleDepth(ruleID); in execute()
72 bool returnValue = environment.getRule(ruleID).execute(environment); in execute()
75 environment.decrementRuleDepth(); in execute()
H A Dif_action.cpp24 bool IfAction::execute(ActionEnvironment& environment) in execute() argument
29 if (conditionAction->execute(environment) == true) in execute()
32 returnValue = action_utils::execute(thenActions, environment); in execute()
40 returnValue = action_utils::execute(elseActions, environment); in execute()
H A Dpmbus_write_vout_command_action.hpp129 virtual bool execute(ActionEnvironment& environment) override;
195 int8_t getExponentValue(ActionEnvironment& environment,
210 double getVoltsValue(ActionEnvironment& environment);
223 void verifyWrite(ActionEnvironment& environment,
/openbmc/u-boot/env/
H A DKconfig18 Define this if you don't want to or can't have an environment stored
19 on a storage medium. In this case the environment will still exist
22 environment.
35 environment area within the total memory of your EEPROM.
43 EEPROM, which holds the environment, is on the I2C bus.
52 EEPROM which holds the environment, is reached over
64 Define this if you want to use the FAT file system for the environment.
71 Define this if you want to use the EXT4 file system for the environment.
85 environment.
87 a) The environment occupies one whole flash sector, which is
[all …]
/openbmc/u-boot/tools/env/
H A Dfw_env.c107 struct environment { struct
115 static struct environment environment = { argument
401 for (env = environment.data; *env; env = nxt + 1) { in fw_getenv()
405 if (nxt >= &environment.data[ENV_SIZE]) { in fw_getenv()
467 for (env = environment.data; *env; env = nxt + 1) { in fw_printenv()
469 if (nxt >= &environment.data[ENV_SIZE]) { in fw_printenv()
514 *environment.crc = crc32(0, (uint8_t *) environment.data, ENV_SIZE); in fw_env_flush()
540 for (nxt = env = environment.data; *env; env = nxt + 1) { in fw_env_write()
542 if (nxt >= &environment.data[ENV_SIZE]) { in fw_env_write()
617 for (env = environment.data; *env || *(env + 1); ++env) in fw_env_write()
[all …]
H A DREADME3 the U-Boot's environment variables.
40 that does not have support for redundant environment enabled.
45 be used to access the environment.
47 The DEVICEx_OFFSET constants define the environment offset within the
50 ENVx_SIZE defines the size in bytes taken by the environment, which
51 may be less then flash sector size, if the environment takes less
55 partition where the environment resides.
58 this environment instance. On NAND this is used to limit the range
61 To prevent losing changes to the environment and to prevent confusing the MTD
63 to the environment.
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dphase_fault_detection.cpp56 ActionEnvironment environment{system.getIDMap(), effectiveDeviceID, in execute() local
60 action_utils::execute(actions, environment); in execute()
63 checkForPhaseFault(PhaseFaultType::n, services, regulator, environment); in execute()
65 environment); in execute()
88 ActionEnvironment& environment) in checkForPhaseFault() argument
101 if (environment.getPhaseFaults().count(faultType) == 0) in checkForPhaseFault()
120 logPhaseFault(faultType, services, regulator, environment); in checkForPhaseFault()
129 ActionEnvironment& environment) in logPhaseFault() argument
138 environment.getAdditionalErrorData(); in logPhaseFault()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Dcompare_vpd_action_tests.cpp83 ActionEnvironment environment{idMap, "", services}; in TEST() local
88 EXPECT_TRUE(action.execute(environment)); in TEST()
95 EXPECT_FALSE(action.execute(environment)); in TEST()
101 EXPECT_FALSE(action.execute(environment)); in TEST()
120 ActionEnvironment environment{idMap, "", services}; in TEST() local
125 EXPECT_TRUE(action.execute(environment)); in TEST()
132 EXPECT_FALSE(action.execute(environment)); in TEST()
150 ActionEnvironment environment{idMap, "", services}; in TEST() local
156 action.execute(environment); in TEST()
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0/
H A D0003-tests-use-a-dictionaries-for-environment.patch4 Subject: [PATCH] tests: use a dictionaries for environment
6 meson environment() can't be passed to configure_file and it is needed for installed_tests,
7 use a dictionary as this is simplest solution to install the environment.
24 - env = environment()
32 + # meson environment object can't be passed to configure_file and
33 + # installed tests uses configure_file to install the environment.
35 + # to install the environment.
/openbmc/u-boot/doc/
H A DREADME.marubun-pcmcia38 You should do the setting matched to your environment.
40 ( for MS7722SE01 environment )
44 You should do the setting matched to your environment.
46 ( for MS7722SE01 environment )
50 You should do the setting matched to your environment.
52 ( for MS7722SE01 environment )
56 You should do the setting matched to your environment.
58 ( for MS7722SE01 environment )
H A DREADME.enetaddr18 - environment ("ethaddr", "eth1addr", ...)
34 2. Read from environment in net/eth.c after initialize()
35 3. The environment variable will be compared to the driver initialized
37 environment variable will be used unchanged.
38 If the environment variable is not set, it will be initialized from
44 b) The user hasn't set an 'ethmacskip' environment variable
57 address(es) and initializing the respective environment variable(s) from it.
58 Note that this shall be done if, and only if, the environment does not already
59 contain these environment variables, i.e. existing variable definitions must
62 During runtime, the ethernet layer will use the environment variables to sync
[all …]
H A DREADME.spear36 spear320 build with environment variables placed at default
43 spear320 build with environment variables placed in NAND device
45 spear320 build with usbtty terminal as default and environment
48 spear320 build with usbtty terminal as default and environment
51 Build with usbtty terminal as default and environment placed in
71 usage. Basically, environment has precedence over board specific storage. The
73 environment variables. Although, we can check the mac id programmed in i2c
/openbmc/openbmc/poky/documentation/sdk-manual/
H A Dworking-projects.rst79 cross-toolchain environment setup script in the directory that the
82 the string "environment-setup" and contains the machine architecture,
88 $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux
90 Another example is sourcing the environment setup directly in a Yocto
93 $ source tmp/deploy/images/qemux86-64/environment-setup-core2-64-poky-linux
114 environment variable provides the minimal arguments for GNU
122 is derived from the name of the environment setup script found in the
126 script is ``environment-setup-armv5te-poky-linux-gnueabi``. Thus, the
140 To learn about environment variables established when you run the
141 cross-toolchain environment setup script and how they are used or
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/meson/meson/
H A D0001-Make-CPU-family-warnings-fatal.patch10 mesonbuild/environment.py | 6 ++----
28 diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
30 --- a/mesonbuild/environment.py
31 +++ b/mesonbuild/environment.py
H A D0001-dependencies-dev-prepend-sysroot-when-searching-for-.patch24 def __init__(self, name: str, environment: 'Environment', kwargs: T.Dict[str, T.Any]) -> None:
25 super().__init__(name, environment, kwargs, language='cpp')
29 + sysroot = environment.properties[self.for_machine].get_sys_root() or ""
31 if not self._add_sub_dependency(threads_factory(environment, self.for_machine, {})):
/openbmc/openbmc/poky/meta/recipes-devtools/cmake/
H A Dcmake-native_3.31.4.bb7 file://environment.d-cmake.sh \
58 mkdir -p ${D}${base_prefix}/environment-setup.d
59 install -m 644 ${UNPACKDIR}/environment.d-cmake.sh ${D}${base_prefix}/environment-setup.d/cmake.sh
67 SYSROOT_DIRS_NATIVE += "${datadir}/cmake ${base_prefix}/environment-setup.d"
/openbmc/u-boot/board/keymile/scripts/
H A DREADME5 To load and configure these usecase, two environment variables in the u-boot
6 default environment must be parsed:
7 run develop : setup environment to configure for rootfs via nfs
8 run ramfs : setup environment to configure for rootfs in ram
/openbmc/openbmc/poky/meta/recipes-core/meta/
H A Dmeta-environment-extsdk.bb1 # meta-environment for extensible SDK
3 require meta-environment.bb
5 PN = "meta-environment-extsdk-${MACHINE}"
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/
H A D0003-comment-out-sections-shutdown-and-environment-in-gen.patch4 Subject: [PATCH 3/4] comment out sections shutdown and environment in
40 if self.environment:
41 - pkgs += "@^%s\n" % self.environment
42 + pkgs += "#@^%s\n" % self.environment
/openbmc/u-boot/tools/buildman/
H A Dbuilder.py134 self.environment = {}
137 self.environment[key] = value
215 environment): argument
221 self.environment = environment
642 environment = {}
648 environment[key] = value
652 return environment
673 environment = {}
726 environment = self._ProcessEnvironment(fname)
729 environment)
[all …]
/openbmc/u-boot/board/buffalo/lsxl/
H A DREADME8 bootloader and its environment. The linux kernel and the initial ramdisk
16 to recover from a bad environment setting or an empty environment, you can
20 generated if no valid address could be loaded from the environment variable
33 environment and reset the board. In this case the visual indication will
40 environment by first erasing the environment and then entering the rescue
50 have an empty environment, the board comes up with the amber LED blinking.
87 The environment defines several different boot sources:
122 70000 - 7ffff u-boot environment
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dtoolchain-scripts.bbclass26 # This function creates an environment-setup-script for use in a deployable SDK
28 # Create environment setup script. Remember that $SDKTARGETSYSROOT should
39 script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-$multimach_target_sys}
48 …echo " echo \"Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH'\"…
81 # This function creates an environment-setup-script in B which enables
85 script=${B}/environment-setup-${REAL_MULTIMACH_TARGET_SYS}
153 # Append environment subscripts
154 if [ -d "\$OECORE_TARGET_SYSROOT/environment-setup.d" ]; then
155 for envfile in \$OECORE_TARGET_SYSROOT/environment-setup.d/*.sh; do
159 if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then
[all …]

12345678910>>...42