Home
last modified time | relevance | path

Searched full:unit (Results 1 – 25 of 2333) sorted by relevance

12345678910>>...94

/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dxor_regs.h11 * to channels 0 & 1 of unit 1
16 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
17 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
20 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
21 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x10 + ((chan) * 4))) argument
22 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x20 + ((chan) * 4))) argument
25 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x30) argument
26 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x40) argument
27 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x50) argument
28 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x60) argument
[all …]
/openbmc/qemu/hw/timer/
H A Dgrlib_gptimer.c39 #define UNIT_REG_SIZE 16 /* Size of memory mapped regs for the unit */
70 GPTimerUnit *unit; member
139 static void grlib_gptimer_set_scaler(GPTimerUnit *unit, uint32_t scaler) in grlib_gptimer_set_scaler() argument
144 assert(unit != NULL); in grlib_gptimer_set_scaler()
147 value = unit->freq_hz / (scaler + 1); in grlib_gptimer_set_scaler()
149 value = unit->freq_hz; in grlib_gptimer_set_scaler()
154 for (i = 0; i < unit->nr_timers; i++) { in grlib_gptimer_set_scaler()
155 ptimer_transaction_begin(unit->timers[i].ptimer); in grlib_gptimer_set_scaler()
156 ptimer_set_freq(unit->timers[i].ptimer, value); in grlib_gptimer_set_scaler()
157 ptimer_transaction_commit(unit->timers[i].ptimer); in grlib_gptimer_set_scaler()
[all …]
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/
H A Dfp5280g3-ipmi-sensors.yaml21 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
42 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
63 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
84 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
106 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
128 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
150 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
172 unit: xyz.openbmc_project.Sensor.Value.Unit.Volts
194 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
216 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
[all …]
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dxor_regs.h11 * mapped to channels 0 & 1 of unit 1
16 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
17 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
20 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
21 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
23 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
27 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x30)) argument
28 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x40)) argument
29 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x50)) argument
30 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x60)) argument
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/
H A Dacx22-ipmi-hwmon-sensors.yaml21 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
42 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
63 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
84 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
105 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
126 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
147 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
168 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
189 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
210 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
[all …]
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/
H A Dg220a-ipmi-sensors.yaml22 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
44 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
66 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
88 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
110 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
132 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
154 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
176 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
198 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
220 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
[all …]
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/
H A Dethanolx-ipmi-sensors.yaml6 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
26 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
46 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
66 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
86 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
106 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
126 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
146 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
169 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
191 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
[all …]
/openbmc/phosphor-objmgr/fail-monitor/
H A Dmonitor.hpp7 namespace unit namespace
15 * This class will analyze a unit to see if it is in the failed
16 * state. If it is, it will either start or stop a target unit.
19 * unit file. If that unit keeps failing and restarting, it will
21 * This application will allow another unit to be started when that
28 * The valid actions - either starting or stopping a unit
46 * @param[in] sourceUnit - the source unit
47 * @param[in] targetUnit - the target unit
57 * Analyzes the source unit to check if it is in a failed state.
58 * If it is, then it runs the action on the target unit.
[all …]
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/
H A Ddaytonax-ipmi-sensors.yaml6 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
26 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
49 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
70 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
91 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
112 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
133 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
154 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
175 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
196 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
[all …]
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/
H A Dnf5280m7-ipmi-sensors.yaml22 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
44 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
67 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
90 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
112 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
133 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
154 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
175 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
196 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
217 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/
H A Dacx22-ipmi-hwmon-sensors.yaml21 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
42 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
63 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
84 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
105 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
126 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
147 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
168 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
189 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
210 unit: xyz.openbmc_project.Sensor.Value.Unit.Watts
[all …]
/openbmc/openbmc/meta-phosphor/classes/
H A Dobmc-phosphor-dbus-service.bbclass36 def make_default_dbus_config(d, unit, user):
37 bus = unit.base
38 if unit.is_template:
43 with open('%s/%s.conf' % (path, unit.base), 'w+') as fd:
55 def make_default_dbus_activation(d, unit, user):
56 dest = unit.base
57 sd_unit = unit.name
58 if unit.is_instance:
59 dest = '%s.%s' % (unit.base, unit.instance)
60 sd_unit = '%s@%s' % (unit.base, unit.instance)
[all …]
H A Dobmc-phosphor-systemd.bbclass13 # INHIBIT_SYSTEMD_RESTART_POLICY_${unit}
14 # Inhibit the warning that is displayed if a service unit without a
25 # SYSTEMD_USER_${unit}.service = "foo"
26 # The user for the unit/package.
38 # A specification for installing unit overrides where:
62 def SystemdUnit(unit):
63 class Unit(object):
64 def __init__(self, unit):
65 self.unit = unit
69 return self.unit
[all …]
/openbmc/openbmc/meta-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/
H A Dconfig.yaml8 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
27 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
46 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
65 unit: xyz.openbmc_project.Sensor.Value.Unit.DegreesC
83 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
119 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
155 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
191 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
227 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
246 unit: xyz.openbmc_project.Sensor.Value.Unit.RPMS
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/
H A DValue.interface.yaml42 - name: Unit
43 type: enum[self.Unit]
45 The unit of the reading. Immutable once set for a sensor. For objects
46 in the airflow namespace, Unit must be "CFM" For objects in the
47 altitude namespace, Unit must be "Meters". For objects in the current
48 namespace, Unit must be "Amperes". For objects in the energy
49 namespace, Unit must be "Joules". For objects in the fan_tach
50 namespace, Unit must be "RPMS". For objects in the humidity namespace,
51 Unit must be "PercentRH" For objects in the power namespace, Unit must
52 be "Watts". For objects in the pressure namespace, Unit must be
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/org/open_power/Sensor/Aggregation/History/
H A DAverage.interface.yaml13 - name: Unit
14 type: enum[self.Unit]
16 The unit of the reading. Immutable once set for a sensor. For objects
17 in the temperature namespace, Unit must be "DegreesC". For objects in
18 the fan_tach namespace, Unit must be "RPMS". For objects in the
19 voltage namespace, Unit must be "Volts". For objects in the altitude
20 namespace, Unit must be "Meters". For objects in the current
21 namespace, Unit must be "Amperes". For objects in the power namespace,
22 Unit must be "Watts". For objects in the energy namespace, Unit must
33 - name: Unit
[all …]
H A DMaximum.interface.yaml13 - name: Unit
14 type: enum[self.Unit]
16 The unit of the reading. Immutable once set for a sensor. For objects
17 in the temperature namespace, Unit must be "DegreesC". For objects in
18 the fan_tach namespace, Unit must be "RPMS". For objects in the
19 voltage namespace, Unit must be "Volts". For objects in the altitude
20 namespace, Unit must be "Meters". For objects in the current
21 namespace, Unit must be "Amperes". For objects in the power namespace,
22 Unit must be "Watts". For objects in the energy namespace, Unit must
33 - name: Unit
[all …]
/openbmc/dbus-sensors/src/
H A DSensorPaths.hpp13 "xyz.openbmc_project.Sensor.Value.Unit.DegreesC";
14 constexpr const char* unitRPMs = "xyz.openbmc_project.Sensor.Value.Unit.RPMS";
15 constexpr const char* unitVolts = "xyz.openbmc_project.Sensor.Value.Unit.Volts";
17 "xyz.openbmc_project.Sensor.Value.Unit.Meters";
19 "xyz.openbmc_project.Sensor.Value.Unit.Amperes";
20 constexpr const char* unitWatts = "xyz.openbmc_project.Sensor.Value.Unit.Watts";
22 "xyz.openbmc_project.Sensor.Value.Unit.Joules";
24 "xyz.openbmc_project.Sensor.Value.Unit.Percent";
25 constexpr const char* unitCFM = "xyz.openbmc_project.Sensor.Value.Unit.CFM";
27 "xyz.openbmc_project.Sensor.Value.Unit.Pascals";
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Ddbus_sensor.cpp77 Unit unit; local
79 getTypeBasedProperties(objectPath, unit, minValue, maxValue);
95 dbusObject->unit(unit, skipSignal);
175 void DBusSensor::getTypeBasedProperties(std::string& objectPath, Unit& unit, in getTypeBasedProperties() argument
183 unit = Unit::Amperes; in getTypeBasedProperties()
192 unit = Unit::Amperes; in getTypeBasedProperties()
200 unit = Unit::Amperes; in getTypeBasedProperties()
208 unit = Unit::Watts; in getTypeBasedProperties()
217 unit = Unit::DegreesC; in getTypeBasedProperties()
226 unit = Unit::DegreesC; in getTypeBasedProperties()
[all …]
/openbmc/phosphor-certificate-manager/test/
H A Dargument_test.cpp18 "def", "--unit", "ghi"}; in TEST()
23 EXPECT_EQ(arguments.unit, "ghi"); in TEST()
31 "def", "--unit", "ghi"}; in TEST()
36 EXPECT_EQ(arguments.unit, "ghi"); in TEST()
44 "def", "--unit", "ghi"}; in TEST()
49 EXPECT_EQ(arguments.unit, "ghi"); in TEST()
61 EXPECT_TRUE(arguments.unit.empty()); in TEST()
69 "def", "--unit", ""}; in TEST()
74 EXPECT_TRUE(arguments.unit.empty()); in TEST()
81 "def", "--unit", "ghi"}; in TEST()
[all …]
/openbmc/phosphor-state-manager/
H A Dsystemd_target_signal.cpp55 const std::string& unit) in logError() argument
65 std::pair<std::string, std::string>({"SYSTEMD_UNIT", unit})})); in logError()
78 std::string SystemdTargetLogging::processError(const std::string& unit, in processError() argument
81 auto targetEntry = this->targetData.find(unit); in processError()
90 "Monitored systemd unit has hit an error, unit:{UNIT}, result:{RESULT}", in processError()
91 "UNIT", unit, "RESULT", result); in processError()
100 if (std::find(this->serviceData.begin(), this->serviceData.end(), unit) != in processError()
106 "Monitored systemd service has hit an error, unit:{UNIT}, result:{RESULT}", in processError()
107 "UNIT", unit, "RESULT", result); in processError()
125 std::string unit{}; in systemdUnitChange() local
[all …]
/openbmc/webui-vue/docs/guide/unit-testing/
H A Dreadme.md1 # Unit Testing
3 The goal of a unit test is to improve code quality and assure future development
8 > Writing unit tests is a constant struggle between writing enough tests and not
9 > writing too many. I call this the unit testing Goldilocks rule—not too many,
18 The OpenBMC Web UI unit test framework uses the Jest test runner and relies on
21 - @vue/cli-plugin-unit-jest
26 - Create the test files in the /tests/unit directory
40 The `test:unit` script will run all the test suites. Until the integration of
48 The `test:unit:debugger` script will help to debug failing tests using the
52 1. Run the unit test in debugger mode
[all …]
/openbmc/openbmc-build-scripts/
H A Drun-unit-test-docker.sh3 # This build script is for running the Jenkins unit test builds using docker.
17 # WORKSPACE: Required, location of unit test scripts and repository
28 # EXTRA_UNIT_TEST_ARGS: Optional, pass arguments to unit-test.py
29 # INTERACTIVE: Optional, run a bash shell instead of unit-test.py
40 UNIT_TEST_PY="unit-test.py"
41 DBUS_UNIT_TEST_PY="dbus-unit-test.py"
51 echo "Unit test build started, $(date)"
53 # Check workspace, build scripts, and package to be unit tested exists
70 echo "Building docker image with build-unit-test-docker"
73 DOCKER_IMG_NAME=$(./scripts/build-unit-test-docker)
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_json_unittest.cpp32 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
36 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
60 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
64 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
89 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
93 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
118 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
122 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
143 "unit" : "phosphor-ipmi-flash-bmc-prepare.target" in TEST()
147 "unit" : "phosphor-ipmi-flash-bmc-verify.target", in TEST()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/systemd/systemd-systemctl/
H A Dsystemctl138 unit_name: name of the unit
163 def __init__(self, path, unit): argument
165 self.unit = unit
169 def __init__(self, root, unit): argument
171 self.unit = unit
174 def _path_for_unit(self, unit): argument
176 path = self.root / location / "system" / unit
180 raise SystemdUnitNotFoundError(self.root, unit)
196 # then figure out what the template unit is
197 template = re.match(r"[^@]+@(?P<instance>[^\.]*)\.", self.unit)
[all …]

12345678910>>...94