/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | pmbus_write_vout_command_action.cpp | 30 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() 135 else if (environment.getVolts().has_value()) in getVoltsValue() 138 voltsValue = environment.getVolts().value(); in getVoltsValue() [all …]
|
H A D | i2c_capture_bytes_action.cpp | 29 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 I2CCaptureBytesAction::getErrorDataKey(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 D | pmbus_read_sensor_action.cpp | 31 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 D | run_rule_action.hpp | 65 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 D | if_action.cpp | 24 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 D | pmbus_write_vout_command_action.hpp | 129 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 D | Kconfig | 22 environment. 85 environment. 97 between U-Boot and the environment. 121 the environment. 162 environment. 215 environment. 254 environment. 306 want to use for the environment. 384 environment. This has the benefit of wear-leveling the environment 394 environment in. [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | phase_fault_detection.cpp | 56 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()
|
H A D | configuration.cpp | 60 ActionEnvironment environment{system.getIDMap(), device.getID(), in execute() local 64 environment.setVolts(volts.value()); in execute() 68 action_utils::execute(actions, environment); in execute()
|
/openbmc/u-boot/tools/env/ |
H A D | fw_env.c | 107 struct environment { struct 115 static struct environment environment = { variable 514 *environment.crc = crc32(0, (uint8_t *) environment.data, ENV_SIZE); in fw_env_flush() 619 if (env > environment.data) in fw_env_write() 1168 (*environment.flags)++; in flash_write() 1175 environment.flag_scheme); in flash_write() 1415 environment.image = addr0; in fw_env_open() 1425 environment.flags = NULL; in fw_env_open() 1579 if (environment.image) in fw_env_close() 1580 free(environment.image); in fw_env_close() [all …]
|
H A D | README | 3 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/test/actions/ |
H A D | compare_vpd_action_tests.cpp | 83 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 D | 0003-tests-use-a-dictionaries-for-environment.patch | 4 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. 25 - env = environment() 33 + # meson environment object can't be passed to configure_file and 34 + # installed tests uses configure_file to install the environment. 36 + # to install the environment.
|
/openbmc/u-boot/doc/ |
H A D | README.marubun-pcmcia | 38 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 D | README.enetaddr | 18 - 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. 59 contain these environment variables, i.e. existing variable definitions must 62 During runtime, the ethernet layer will use the environment variables to sync 68 environment directly. The helper functions documented below should make [all …]
|
H A D | README.spear | 36 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 D | working-projects.rst | 79 cross-toolchain environment setup script in the directory that the 88 $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux 114 environment variable provides the minimal arguments for GNU 164 environment variables established when you run the cross-toolchain 165 environment setup script. The environment variables are subject to 182 retain their values based on the environment setup script. 187 results in the environment settings of the variables being 194 environment variables being overwritten. In this case, the 223 $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux 280 $ source /opt/poky/&DISTRO;/environment-setup-i586-poky-linux [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/meta/ |
H A D | meta-environment-extsdk.bb | 1 # meta-environment for extensible SDK 3 require meta-environment.bb 5 PN = "meta-environment-extsdk-${MACHINE}"
|
/openbmc/openbmc/poky/meta/recipes-devtools/cmake/ |
H A D | cmake-native_3.28.3.bb | 7 file://environment.d-cmake.sh \ 58 mkdir -p ${D}${base_prefix}/environment-setup.d 59 install -m 644 ${WORKDIR}/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 D | README | 5 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-devtools/meson/meson/ |
H A D | 0001-Make-CPU-family-warnings-fatal.patch | 11 mesonbuild/environment.py | 6 ++---- 29 diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py 31 --- a/mesonbuild/environment.py 32 +++ b/mesonbuild/environment.py
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-pykickstart/files/ |
H A D | 0003-comment-out-sections-shutdown-and-environment-in-gen.patch | 4 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/openbmc/meta-openembedded/meta-perl/recipes-perl/libenv/ |
H A D | libenv-perl_1.04.bb | 1 SUMMARY = "Perl module that imports environment variables as scalars or arrays" 2 DESCRIPTION = "Perl maintains environment variables in a special hash named %ENV. \ 3 For when this access method is inconvenient, the Perl module Env allows environment \
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | toolchain-scripts.bbclass | 19 # This function creates an environment-setup-script for use in a deployable SDK 21 # Create environment setup script. Remember that $SDKTARGETSYSROOT should 32 script=${1:-${SDK_OUTPUT}/${SDKPATH}/environment-setup-$multimach_target_sys} 72 # This function creates an environment-setup-script in B which enables 76 script=${B}/environment-setup-${REAL_MULTIMACH_TARGET_SYS} 144 # Append environment subscripts 145 if [ -d "\$OECORE_TARGET_SYSROOT/environment-setup.d" ]; then 146 for envfile in \$OECORE_TARGET_SYSROOT/environment-setup.d/*.sh; do 150 if [ -d "\$OECORE_NATIVE_SYSROOT/environment-setup.d" ]; then 151 for envfile in \$OECORE_NATIVE_SYSROOT/environment-setup.d/*.sh; do [all …]
|
/openbmc/u-boot/board/buffalo/lsxl/ |
H A D | README | 8 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
|